/* The cinematic introduction releases naturally into this editorial homepage. */
.home-details { position: relative; background: #f7f2e9; color: var(--ink); }
.content-width { width: min(1248px, calc(100% - 96px)); margin-inline: auto; }
.home-details section[id] { scroll-margin-top: 94px; }
.home-nav { position: sticky; top: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; padding: 21px 48px; background: #f7f2e9f5; border-bottom: 1px solid #232b231a; backdrop-filter: blur(14px); }
.home-nav-brand { font: 500 25px/.9 Georgia, serif; }
.home-nav-brand span { margin-left: 7px; font: 10px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .15em; }
.home-nav>div { display: flex; align-items: center; gap: 29px; font-size: 11px; }
.nav-enquire { border: 1px solid #232b2340; padding: 12px 17px; border-radius: 24px; }
.nav-enquire span { margin-left: 20px; }
.portfolio-intro { padding: 100px 0 0; text-align: center; }
.portfolio-intro>.eyebrow { font-size: 9px; margin: 0 0 30px; }
.portfolio-intro>p:not(.eyebrow) { font: 500 clamp(31px, 3.5vw, 53px)/1.17 "Ogg Medium", Georgia, serif; letter-spacing: -.035em; margin: 0 auto 50px; }
.portfolio-proof { display: flex; justify-content: center; gap: 42px; padding: 26px 0; border-top: 1px solid #232b2320; border-bottom: 1px solid #232b2320; font-size: 10px; }
.portfolio-proof span+span:before { content: "·"; margin-right: 42px; }
.portfolio-section { padding: 95px 0 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 65px; margin-bottom: 38px; }
.section-heading .eyebrow, .services-intro .eyebrow, .partner-copy .eyebrow, .faq-section .eyebrow, .enquiry-copy .eyebrow { margin: 0 0 23px; font-size: 9px; }
.home-details h2 { margin: 0; font: 500 clamp(39px, 4.4vw, 64px)/1.03 "Ogg Medium", Georgia, serif; letter-spacing: -.045em; }
.section-heading>p { max-width: 330px; margin: 0 0 3px; font-size: 13px; line-height: 1.75; color: #596155; }
.portfolio-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 30px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.project-filters button { padding: 11px 16px; border: 1px solid #232b2329; background: transparent; color: var(--ink); border-radius: 24px; font-size: 11px; transition: background .2s, color .2s; }
.project-filters button:hover { background: #e5e5d9; }
.project-filters button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.project-filters button span { opacity: .6; margin-left: 8px; }
#filter-count { font-size: 10px; color: #65705f; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 37px 25px; }
.project-tile { grid-column: span 4; min-width: 0; }
.project-tile:first-child { grid-column: span 8; }
.project-tile:nth-child(6), .project-tile:nth-child(7) { grid-column: span 6; }
.project-grid.is-filtered .project-tile { grid-column: span 4; }
.project-tile[hidden] { display: none; }
.project-tile-button { display: block; width: 100%; padding: 0; background: none; color: inherit; text-align: left; }
.project-tile-photo { height: 300px; position: relative; overflow: hidden; background: #deddd0; border-radius: 5px; }
.project-tile:nth-child(-n+2) .project-tile-photo { height: 420px; }
.project-tile:nth-child(6) .project-tile-photo, .project-tile:nth-child(7) .project-tile-photo { height: 360px; }
.project-grid.is-filtered .project-tile-photo { height: 320px; }
.project-tile-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
.project-tile-button:hover img { transform: scale(1.04); }
.project-open { position: absolute; right: 15px; bottom: 15px; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #fdf1e1ed; color: var(--ink); font-size: 19px; }
.project-tile-meta { display: flex; flex-wrap: wrap; gap: 5px 13px; justify-content: space-between; margin: 17px 0 10px; text-transform: uppercase; letter-spacing: .09em; font-size: 8px; color: #626b5d; }
.project-tile-meta>span:last-child { letter-spacing: 0; text-transform: none; }
.project-tile h3 { margin: 0; max-width: 560px; font: 500 25px/1.17 "Ogg Medium", Georgia, serif; letter-spacing: -.027em; }
.portfolio-credit { margin: 44px 0 0; font-size: 10px; line-height: 1.8; color: #64705d; }
.portfolio-credit a { text-decoration: underline; text-underline-offset: 3px; }
.services-section { background: #253229; color: #f7f2e9; padding: 100px 0; }
.services-layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: 110px; }
.services-intro>p:not(.eyebrow) { max-width: 310px; margin: 28px 0 35px; font-size: 13px; line-height: 1.8; color: #d0d5c8; }
.service-image { max-width: 300px; position: relative; margin: 0; }
.service-image img { width: 100%; height: 285px; object-fit: cover; border-radius: 150px 150px 4px 4px; display: block; }
.service-image figcaption { font: italic 21px/1.2 Georgia, serif; margin-top: 15px; }
.services-list { align-self: center; border-top: 1px solid #f7f2e92b; }
.service-row { border-bottom: 1px solid #f7f2e92b; }
.service-row summary { list-style: none; display: flex; align-items: center; gap: 23px; cursor: pointer; padding: 26px 0; }
.service-row summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.service-row summary>span { font-size: 9px; opacity: .6; }
.service-row h3 { margin: 0; font: 500 27px/1.1 "Ogg Medium", Georgia, serif; letter-spacing: -.025em; }
.service-row b { font-size: 24px; font-weight: 400; margin-left: auto; }
.service-row[open] b { transform: rotate(45deg); }
.service-row>div { padding: 0 15px 25px 38px; }
.service-row>div p { font-size: 13px; line-height: 1.8; color: #d0d5c8; margin: 0 0 19px; }
.text-link { display: inline-flex; align-items: center; gap: 26px; padding: 0 0 7px; background: none; color: inherit; font-size: 11px; border-bottom: 1px solid currentColor; }
.text-link span { font-size: 16px; }
.partner-section { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; padding-block: 115px; }
.partner-images { position: relative; height: 510px; }
.partner-main { width: 74%; height: 450px; object-fit: cover; border-radius: 3px; }
.partner-detail { position: absolute; width: 49%; height: 240px; bottom: 0; right: 0; object-fit: cover; border: 9px solid #f7f2e9; border-radius: 3px; }
.photo-label { position: absolute; bottom: 24px; left: 0; font: italic 19px Georgia, serif; }
.partner-copy>p:not(.eyebrow) { font-size: 13px; line-height: 1.85; color: #596155; margin-top: 25px; }
.partner-copy .text-link { margin-top: 9px; }
.partner-reviews { display: block; font-size: 11px; margin-top: 21px; text-decoration: underline; text-underline-offset: 4px; }
.process-section { background: #eaeadd; padding: 85px 0 90px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px; list-style: none; padding: 36px 0 0; margin: 0; }
.process-grid li { border-top: 1px solid #232b2335; padding-top: 24px; }
.step-number { font: 500 49px/1 Georgia, serif; color: #7e8978; }
.process-grid h3 { font: 500 27px/1.1 Georgia, serif; letter-spacing: -.02em; margin: 27px 0 15px; }
.process-grid p { font-size: 12px; line-height: 1.8; max-width: 300px; color: #596155; margin: 0; }
.faq-section { padding-block: 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-section>div>p:not(.eyebrow) { font-size: 12px; line-height: 2; margin-top: 28px; color: #596155; }
.faq-list { border-top: 1px solid #232b232e; }
.faq-list details { border-bottom: 1px solid #232b232e; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 25px; padding: 23px 0; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.4; }
.faq-list summary span { font-size: 20px; line-height: 1; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { font-size: 12px; line-height: 1.85; color: #596155; margin: 0 30px 25px 0; }
.enquiry-section { background: #253229; color: #f7f2e9; padding-block: 100px; }
.enquiry-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.enquiry-copy>p:not(.eyebrow) { font-size: 14px; line-height: 1.8; max-width: 320px; margin: 28px 0; color: #d0d5c8; }
.enquiry-copy .enquiry-note { font-size: 10px!important; margin-top: 22px!important; }
.enquiry-form { background: #f7f2e9; color: var(--ink); padding: 35px; border-radius: 7px; }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 10px; }
.form-heading h3 { font: 500 30px/1 Georgia, serif; letter-spacing: -.03em; margin: 0; }
.form-heading span { white-space: nowrap; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; color: #64705d; border: 1px solid #64705d45; padding: 6px 8px; border-radius: 15px; }
.enquiry-form label { display: block; margin: 0 0 8px; font-size: 10px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { display: block; width: 100%; padding: 13px 12px; border: 1px solid #232b2330; background: transparent; color: var(--ink); font: inherit; font-size: 12px; border-radius: 3px; margin: 0 0 20px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 2px solid #7e8978; outline-offset: 2px; }
.enquiry-form textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.enquiry-submit { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); padding: 15px 19px; border-radius: 28px; width: 100%; font-size: 12px; }
.enquiry-submit span { font-size: 20px; }
.form-disclaimer { font-size: 9px; line-height: 1.7; margin: 15px 0 0; color: #64705d; }
.form-status { font-size: 12px; line-height: 1.6; padding: 15px; background: #e3e9d9; border-radius: 4px; }
.main-footer { background: #19261e; color: #f7f2e9; padding: 58px 0 25px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; padding-bottom: 45px; gap: 35px; }
.footer-top>p { margin: 0; font: 500 29px/1.2 Georgia, serif; letter-spacing: -.02em; }
.footer-top>div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 25px; font-size: 11px; }
.footer-bottom { border-top: 1px solid #f7f2e922; display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: 9px; color: #c2cdbd; line-height: 1.7; }
.footer-bottom p { margin: 0; }
.footer-bottom a { white-space: nowrap; }
/* Longer, verified case-study names fit without colliding with the thumbnails. */
.sight-card { height: 310px; }
.sight-card h3 { bottom: 80px; font-size: 23px; line-height: 1.13; }
.sights-controls { top: calc(var(--sights-screen-top) + 326px); }
.dialog-gallery { position: relative; background: #ddd6c6; min-height: 500px; }
.dialog-visual { min-height: 100%; height: 100%; }
.dialog-visual>img { object-fit: contain; height: 100%; max-height: 650px; }
.gallery-controls { position: absolute; bottom: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.gallery-controls button { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.gallery-counter { background: var(--paper); color: var(--ink); border-radius: 20px; font-size: 11px; padding: 8px 14px; }
.dialog-copy h2 { font-size: 34px; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0; }
.dialog-tags li { font-size: 9px; border: 1px solid #232b2338; border-radius: 20px; padding: 7px 10px; }
.dialog-source { margin: 3px 0 12px; }
.dialog-return { display: flex; }
@media(max-width: 1000px) {
  .content-width { width: calc(100% - 56px); }
  .home-nav { padding-inline: 28px; }
  .section-heading { gap: 30px; }
  .section-heading>p { max-width: 270px; }
  .services-layout, .partner-section, .enquiry-layout { gap: 45px; }
  .faq-section { gap: 45px; }
  .project-tile-photo, .project-tile:nth-child(-n+2) .project-tile-photo { height: 285px; }
  .project-tile h3 { font-size: 23px; }
  .project-tile-meta>span:last-child { display: none; }
  .service-row h3 { font-size: 23px; }
  .portfolio-proof { gap: 20px; }
  .portfolio-proof span+span:before { margin-right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top>div { grid-column: 1 / -1; display: flex; gap: 30px; }
}
@media(max-width: 640px) {
  .content-width { width: calc(100% - 44px); }
  .home-nav { padding: 15px 22px; gap: 10px; }
  .home-nav-brand { font-size: 21px; }
  .home-nav-brand span { display: block; margin: 7px 0 0; font-size: 7px; }
  .home-nav>div { gap: 17px; font-size: 10px; }
  .home-nav a[href="#how-it-works"] { display: none; }
  .nav-enquire { padding: 9px 12px; }
  .nav-enquire span { display: none; }
  .portfolio-intro { padding-top: 64px; }
  .portfolio-intro>p:not(.eyebrow) { font-size: 32px; margin-bottom: 30px; }
  .portfolio-proof { flex-wrap: wrap; font-size: 8px; gap: 12px 18px; padding: 20px 0; }
  .portfolio-proof span+span:before { display: none; }
  .portfolio-proof span:last-child { display: none; }
  .portfolio-section { padding: 64px 0; }
  .section-heading { display: block; margin-bottom: 27px; }
  .home-details h2 { font-size: 40px; }
  .section-heading>p { max-width: none; margin-top: 22px; font-size: 12px; }
  .portfolio-toolbar { gap: 12px; }
  .project-filters { gap: 6px; }
  .project-filters button { padding: 9px 12px; font-size: 10px; }
  #filter-count { font-size: 9px; }
  .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-tile, .project-tile:first-child, .project-tile:nth-child(6), .project-tile:nth-child(7), .project-grid.is-filtered .project-tile { grid-column: 1; }
  .project-tile-photo, .project-tile:nth-child(-n+2) .project-tile-photo, .project-tile:nth-child(6) .project-tile-photo, .project-tile:nth-child(7) .project-tile-photo, .project-grid.is-filtered .project-tile-photo { height: 310px; }
  .project-tile-meta>span:last-child { display: inline; font-size: 7px; }
  .project-tile h3 { font-size: 24px; }
  .portfolio-credit { font-size: 9px; margin-top: 32px; }
  .services-section { padding: 65px 0; }
  .services-layout, .partner-section, .enquiry-layout, .faq-section { grid-template-columns: 1fr; gap: 38px; }
  .services-intro>p:not(.eyebrow) { margin-bottom: 23px; font-size: 12px; }
  .service-image { max-width: none; }
  .service-image img { height: 230px; border-radius: 120px 120px 4px 4px; object-position: center 48%; }
  .service-image figcaption { font-size: 20px; }
  .service-row summary { gap: 15px; padding: 23px 0; }
  .service-row h3 { font-size: 23px; }
  .service-row>div { padding-left: 27px; }
  .service-row>div p { font-size: 12px; }
  .partner-section { padding-block: 65px; }
  .partner-images { height: 380px; }
  .partner-main { height: 330px; }
  .partner-detail { height: 200px; }
  .photo-label { bottom: 15px; font-size: 15px; }
  .partner-copy>p:not(.eyebrow) { font-size: 12px; }
  .process-section { padding: 60px 0; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 10px; }
  .process-grid li { position: relative; padding-left: 68px; }
  .step-number { position: absolute; left: 0; top: 24px; font-size: 39px; }
  .process-grid h3 { margin: 0 0 13px; font-size: 25px; }
  .process-grid p { max-width: none; }
  .faq-section { padding-block: 65px; gap: 25px; }
  .faq-list summary { font-size: 13px; }
  .enquiry-section { padding-block: 65px; }
  .enquiry-copy>p:not(.eyebrow) { font-size: 13px; }
  .enquiry-form { padding: 24px 20px; }
  .form-heading { gap: 6px; }
  .form-heading h3 { font-size: 27px; }
  .form-heading span { font-size: 7px; }
  .enquiry-form input, .enquiry-form textarea, .enquiry-form select { font-size: 16px; }
  .form-row { gap: 12px; }
  .main-footer { padding-top: 45px; }
  .footer-top { gap: 28px; }
  .footer-top>p { font-size: 23px; }
  .footer-top .site-logo-image { width: 145px; }
  .footer-top>div { display: grid; gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 12px; font-size: 8px; }
  .sight-card { height: 286px; }
  .sight-card h3 { font-size: 22px; bottom: 78px; line-height: 1.12; }
  .sight-pin { height: 76px; width: 95px; }
  .sights-controls { top: calc(var(--sights-screen-top) + 302px); }
  .projects-caption { bottom: 16vh; }
  .projects-caption h2 { font-size: 35px; }
  .dialog-gallery { min-height: 290px; height: 290px; }
  .dialog-visual { min-height: 290px; height: 290px; }
  .dialog-visual>img { height: 290px; }
  .dialog-copy h2 { font-size: 29px; }
}
@media(max-height: 750px) and (max-width: 640px) {
  .projects-caption { bottom: 14vh; }
  .projects-caption .eyebrow { display: none; }
  .projects-caption h2 { font-size: 26px; }
  .projects-caption>p:last-child { margin-top: 8px; max-width: 270px; font-size: 10px; }
}
@media(prefers-reduced-motion: reduce) { .project-tile-photo img { transition: none; } }
