:root {
  --oat: #f1eae0;
  --espresso: #3a2e2a;
  --putty: #c4b5a3;
  --terracotta: #9e5944;
  --chalk: #fcfaf6;
  --line: rgba(58, 46, 42, .22);
  --max: 1220px;
  --sans: "Source Sans 3", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
  --wordmark: "Quicksand", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--oat); color: var(--espresso); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--espresso); color: var(--chalk); padding: 8px 12px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-index, .project-kicker, .footer-label { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.eyebrow { color: var(--espresso); }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: 1.06; }
h1 { font-size: clamp(3.6rem, 6.4vw, 6.2rem); margin: 24px 0 26px; }
h2 { font-size: clamp(3rem, 6vw, 6rem); margin: 18px 0 26px; }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); margin: 0 0 16px; }
em { color: var(--terracotta); font-style: italic; }
.hero h1 > span { white-space: nowrap; }
.section { padding: 128px 0; }
.section-putty { background: var(--putty); }
.section-dark { background: var(--espresso); color: var(--chalk); }
.section-terracotta { background: var(--terracotta); color: var(--chalk); }
.section-dark em { color: var(--putty); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(241, 234, 224, .92); border-bottom: 1px solid rgba(58, 46, 42, .12); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font-family: var(--wordmark); font-size: clamp(1.45rem, 1.8vw, 1.62rem); font-weight: 600; letter-spacing: -.06em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: .92rem; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .text-link:hover { color: var(--terracotta); }
.nav-cta { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--espresso); padding: 8px 0; }

.hero { padding: 82px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(42px, 8vw, 120px); align-items: center; }
.hero-copy { padding: 30px 0 15px; }
.hero-lede { max-width: 550px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 0; font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--espresso); color: var(--chalk); }
.button-dark:hover { background: var(--terracotta); }
.button-light { border-color: rgba(252, 250, 246, .55); color: var(--chalk); }
.button-light:hover { background: var(--chalk); color: var(--espresso); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 600; transition: color .2s ease; }
.hero-note { margin: 52px 0 0; color: var(--terracotta); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.hero-visual { margin: 0; background: var(--putty); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center; filter: saturate(.82); }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 16px 18px 18px; font-size: .84rem; }
.hero-visual figcaption span { color: var(--espresso); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.hero-visual figcaption strong { font-weight: 600; }
.hero-meta-row { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; font-size: .82rem; color: rgba(58, 46, 42, .7); }
.rule-label { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.rule-label i { display: block; width: 40px; height: 1px; background: var(--terracotta); }

.intro-grid { display: grid; grid-template-columns: .45fr 1fr; gap: 10%; }
.section-index { color: var(--terracotta); padding-top: 18px; }
.intro-copy { max-width: 780px; }
.intro-copy p { max-width: 670px; font-size: 1.22rem; line-height: 1.55; }
.intro-copy .text-link { margin-top: 18px; }

.audience-grid { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 18px; align-items: stretch; }
.audience-grid > div:first-child { padding: 15px 20px 10px 0; }
.audience-grid h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.audience-card { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 26px; background: rgba(252, 250, 246, .48); border: 1px solid rgba(58, 46, 42, .2); }
.card-number, .service-number { color: var(--espresso); font-size: .78rem; letter-spacing: .14em; font-weight: 700; }
.audience-card h3 { margin-top: auto; font-size: 2.25rem; }
.audience-card p { margin-bottom: 22px; max-width: 300px; }
.card-line { padding-top: 14px; border-top: 1px solid rgba(58, 46, 42, .22); font-family: var(--serif); font-size: .98rem; font-style: italic; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 62px; }
.heading-aside { max-width: 320px; margin-bottom: 15px; font-size: 1.1rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; min-height: 355px; padding: 24px 24px 26px; position: relative; border-right: 1px solid var(--line); color: inherit; transition: background .2s ease, color .2s ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--putty); }
.service-card h3 { margin-top: 72px; font-size: 1.8rem; }
.service-card p { max-width: 230px; font-size: 1rem; }
.service-arrow { position: absolute; right: 24px; bottom: 25px; color: var(--terracotta); font-size: 1.4rem; }
.service-card-dark { background: var(--espresso); color: var(--chalk); border-color: rgba(252, 250, 246, .18); }
.service-card-dark .service-number { color: var(--putty); }
.service-card-dark:hover { background: var(--terracotta); }

.section-heading-light .eyebrow, .section-dark .eyebrow { color: var(--putty); }
.section-terracotta .eyebrow { color: var(--chalk); }
.work-heading-copy { display: grid; justify-items: start; gap: 24px; }
.work-heading-copy .heading-aside { margin: 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.portfolio-card { min-width: 0; display: flex; flex-direction: column; background: rgba(252, 250, 246, .08); border: 1px solid rgba(252, 250, 246, .18); }
.portfolio-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr .65fr; }
.portfolio-media { display: block; overflow: hidden; background: var(--putty); }
.portfolio-media img { width: 100%; height: 280px; object-fit: cover; filter: saturate(.78); transition: transform .5s ease, filter .5s ease; }
.portfolio-card-featured .portfolio-media img { height: 480px; }
.portfolio-card:hover .portfolio-media img { transform: scale(1.025); filter: saturate(.92); }
.portfolio-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 27px 26px 29px; }
.portfolio-card h3 { margin-top: 18px; font-size: clamp(1.8rem, 3vw, 3rem); }
.portfolio-card h3 a { transition: color .2s ease; }
.portfolio-card h3 a:hover { color: var(--putty); }
.portfolio-card p:not(.project-kicker) { max-width: 34rem; margin-bottom: 23px; color: rgba(252, 250, 246, .78); font-size: 1rem; }
.project-kicker { color: var(--putty); }
.project-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--putty); font-weight: 600; }
.project-link:hover { color: var(--chalk); }
.portfolio-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 50px; padding-top: 18px; border-top: 1px solid rgba(252, 250, 246, .27); color: rgba(252, 250, 246, .72); font-size: .9rem; }
.portfolio-footer > span:first-child { color: var(--putty); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

.detail-page .site-header { position: relative; }
.back-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-weight: 600; }
.back-link:hover { color: var(--terracotta); }
.detail-hero { padding-top: 58px; }
.detail-collage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; height: auto; margin-top: 58px; }
.detail-collage > figure, .detail-collage-support figure { min-height: 0; margin: 0; overflow: hidden; }
.detail-collage-feature, .detail-collage-video { background: var(--putty); }
.detail-collage-feature img, .detail-collage-video video { display: block; width: 100%; height: auto; background: var(--putty); object-fit: contain; filter: saturate(.82); }
.detail-collage-video video { background: var(--espresso); filter: none; }
.detail-collage-support { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; }
.detail-collage-support figure { display: flex; flex-direction: column; min-width: 0; background: var(--putty); }
.detail-collage-support img, .detail-collage-support video { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; background: var(--putty); }
.detail-back-link { margin-top: 28px; }

.detail-lede { max-width: 470px; font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.42; }
.detail-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 19px; border-top: 1px solid var(--line); }
.detail-meta-large { margin-top: 20px; }
.detail-meta div { display: grid; gap: 6px; }
.detail-meta span { color: rgba(58, 46, 42, .62); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.detail-meta strong { font-size: .98rem; font-weight: 600; }
.detail-facts { background: var(--chalk); }
.detail-facts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; align-items: start; }
.detail-facts-grid h1 { margin-top: 18px; }
.detail-facts-copy { max-width: 650px; padding-top: 8px; }
.detail-description { max-width: 620px; margin: 18px 0 34px; font-size: 1.22rem; line-height: 1.55; }
.detail-cta { padding: 92px 0; }
.detail-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.collection-hero { padding-top: 78px; padding-bottom: 96px; }
.collection-hero h1 { max-width: 760px; }
.collection-intro { max-width: 620px; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.portfolio-index-page .collection-hero { padding-top: 54px; padding-bottom: 58px; }
.portfolio-index-page .collection-hero .back-link { margin-bottom: 38px; }
.portfolio-index-page .collection-hero h1 { margin-top: 0; margin-bottom: 18px; }
.portfolio-index-page .collection-intro { margin-bottom: 0; }
.portfolio-index-page .portfolio-collection { padding-top: 58px; }
.portfolio-collection-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.portfolio-collection-bar .eyebrow { color: var(--putty); }
.portfolio-collection-note { max-width: 450px; margin: 0; color: rgba(252, 250, 246, .78); font-size: 1rem; }
.portfolio-index-page .project-link { min-height: 44px; }
.detail-cta h2 { color: var(--chalk); margin-bottom: 0; }
.detail-cta h2 em { color: var(--chalk); }
.detail-cta .eyebrow { color: var(--chalk); }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; }
.process-intro { max-width: 390px; font-size: 1.18rem; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step > span { color: var(--terracotta); font-family: var(--serif); font-size: 1.8rem; }
.step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.step p { margin: 0; max-width: 480px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; }
.contact-copy h2 { color: var(--chalk); }
.contact-copy h2 em { color: var(--chalk); }
.contact-copy > p:not(.eyebrow) { max-width: 440px; color: rgba(252, 250, 246, .86); font-size: 1.1rem; }
.contact-details { display: grid; gap: 6px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(252, 250, 246, .38); font-size: .96rem; }
.contact-details a { width: fit-content; border-bottom: 1px solid rgba(252, 250, 246, .5); }
.contact-details address { margin-top: 14px; color: rgba(252, 250, 246, .8); font-style: normal; }
.contact-details p { margin: 14px 0 0; color: rgba(252, 250, 246, .8); }

.legal-page { min-height: 70vh; padding: 120px 0 96px; }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { max-width: 700px; margin: 18px 0 24px; }
.legal-wrap h2 { margin: 48px 0 14px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.legal-wrap p, .legal-wrap li { max-width: 680px; color: var(--ink-soft); }
.legal-wrap ul { padding-left: 1.25rem; }
.legal-meta { margin-bottom: 48px; color: var(--ink-soft); }
.legal-back { margin-top: 42px; }
.contact-actions { margin-top: 28px; }
.button-whatsapp { background: var(--chalk); color: var(--espresso); gap: 10px; }
.button-whatsapp:hover { background: var(--oat); border-color: var(--espresso); }
.button-whatsapp img { background: #176b49; border-radius: 50%; padding: 2px; flex: 0 0 auto; }
.contact-action-note { font-size: .88rem; margin: 12px 0 0; color: var(--chalk); }
.detail-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.detail-contact-actions .contact-action-note { margin: 0; }
.detail-brief-link { text-decoration: underline; text-underline-offset: 5px; padding-block: 10px; }
.section-terracotta a:focus-visible { outline-color: var(--chalk); box-shadow: 0 0 0 2px var(--espresso); }
.enquiry-form-heading h3 { font-size: 1.7rem; margin: 0 0 10px; }
.enquiry-form-heading p { font-size: .95rem; margin: 0; }
.whatsapp-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 15; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--chalk); border-radius: 50%; background: #176b49; box-shadow: 0 4px 18px rgba(0, 0, 0, .22); }
.whatsapp-float:hover { background: #105137; }
.whatsapp-float:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; }
.whatsapp-float-label { position: absolute; right: 66px; white-space: nowrap; background: var(--espresso); color: var(--chalk); border-radius: 4px; padding: 7px 12px; font-size: .9rem; opacity: 0; visibility: hidden; pointer-events: none; }
.whatsapp-float:hover .whatsapp-float-label, .whatsapp-float:focus-visible .whatsapp-float-label { opacity: 1; visibility: visible; }
.enquiry-form { display: grid; gap: 22px; padding: 31px; background: var(--chalk); color: var(--espresso); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enquiry-form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 700; }
.enquiry-form label span { color: rgba(58, 46, 42, .55); font-weight: 400; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; border: 1px solid rgba(58, 46, 42, .32); border-radius: 0; background: transparent; color: var(--espresso); padding: 12px 13px; font-size: 1rem; }
.enquiry-form input, .enquiry-form select { min-height: 48px; }
.enquiry-form textarea { resize: vertical; min-height: 120px; }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: rgba(58, 46, 42, .72); }
.enquiry-form .privacy-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; font-weight: 400; line-height: 1.4; }
.enquiry-form .privacy-consent input { width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--terracotta); }
.enquiry-form .privacy-consent span { color: var(--espresso); }
.enquiry-form .privacy-consent a { text-decoration: underline; text-underline-offset: 3px; }
.button-wide { width: 100%; border: 0; }
.form-note { margin: -8px 0 0; color: rgba(58, 46, 42, .78); font-size: .86rem; }

.faq { background: var(--chalk); }
.faq-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--terracotta); font-size: 1.45rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: -4px 34px 22px 0; color: rgba(58, 46, 42, .78); }

.site-footer { padding: 70px 0 calc(100px + env(safe-area-inset-bottom)); background: var(--espresso); color: var(--chalk); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.wordmark-light { color: var(--chalk); }
.footer-grid p { color: rgba(252, 250, 246, .68); font-size: .95rem; }
.footer-grid > div:first-child p { margin-top: 22px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-label { color: var(--putty) !important; margin-bottom: 10px; }
.footer-small { margin-top: 28px; font-size: .8rem !important; }
.footer-grid a:hover { color: var(--putty); }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .hero-grid, .intro-grid, .process-grid, .contact-grid, .detail-facts-grid, .faq-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding-top: 52px; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid > div:first-child { grid-column: 1 / -1; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .portfolio-card-featured { grid-template-columns: 1fr; }
  .portfolio-card-featured .portfolio-media img { height: 420px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card-featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-collage { margin-top: 52px; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header { position: relative; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; font-size: .9rem; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 70px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--chalk); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(58, 46, 42, .13); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(58, 46, 42, .12); }
  .site-nav .nav-cta { border-bottom: 0; margin-top: 4px; }
  .section { padding: 82px 0; }
  h1 { font-size: clamp(3.05rem, 15vw, 5.3rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-grid { gap: 38px; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .hero-visual figcaption { display: grid; gap: 4px; }
  .hero-meta-row { display: grid; gap: 12px; }
  .detail-hero { padding-top: 38px; }
  .detail-collage { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 42px; }
  .detail-collage-support { gap: 12px; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .detail-meta div:last-child { grid-column: 1 / -1; }
  .detail-description { font-size: 1.1rem; }
  .detail-cta-inner { display: grid; align-items: start; gap: 32px; }
  .audience-grid, .service-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .audience-grid > div:first-child { grid-column: auto; }
  .audience-card { min-height: 230px; }
  .service-card { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .section-heading { display: grid; gap: 14px; margin-bottom: 40px; }
  .heading-aside { margin: 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card-featured { grid-column: auto; }
  .portfolio-card-featured .portfolio-media img, .portfolio-media img { height: 280px; }
  .portfolio-footer { display: grid; justify-content: stretch; gap: 12px; margin-top: 36px; }
  .enquiry-form { padding: 21px; }
  .footer-grid { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Responsive Quiet Craft pass: photography leads, copy supports. */
.hero { position: relative; padding: 0 0 28px; }
.hero-grid { position: relative; display: block; width: min(calc(100% - 64px), var(--max)); }
.hero-copy { position: absolute; z-index: 2; top: clamp(88px, 13vh, 150px); left: clamp(28px, 6vw, 92px); max-width: 650px; padding: 0; color: var(--chalk); }
.hero-copy .eyebrow { color: var(--chalk); }
.hero-copy h1 { margin-top: 20px; }
.hero-copy h1 em { color: var(--putty); }
.hero-copy .hero-lede { max-width: 500px; color: rgba(252, 250, 246, .9); }
.hero-copy .text-link { color: var(--chalk); }
.hero-visual { position: relative; min-height: clamp(620px, calc(100vh - 130px), 820px); overflow: hidden; }
.hero-visual::after { position: absolute; inset: 0; z-index: 1; display: block; background: linear-gradient(90deg, rgba(32, 24, 21, .7), rgba(32, 24, 21, .16) 60%, rgba(32, 24, 21, .04)); content: ""; pointer-events: none; }
.hero-visual img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; filter: saturate(.78); }
.hero-visual figcaption { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 2; color: var(--chalk); }
.hero-visual figcaption span { color: var(--putty); }
.hero-meta-row { position: relative; padding-top: 18px; }
.work .section-heading { margin-bottom: 42px; }
.portfolio-card-body { padding: 22px 24px 24px; }
.portfolio-card-body p:not(.project-kicker) { display: none; }
.portfolio-card h3 { margin-bottom: 22px; }
.intro-copy p { max-width: 700px; }
.testimonials { background: var(--putty); }
.testimonials-heading { align-items: end; margin-bottom: 42px; }
.testimonials-heading h2 { margin-bottom: 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { display: flex; flex-direction: column; min-height: 250px; padding: 24px; background: rgba(252, 250, 246, .62); border: 1px solid rgba(58, 46, 42, .18); }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-stars { color: var(--terracotta); letter-spacing: .08em; font-size: .9rem; }
.review-source { color: rgba(58, 46, 42, .6); font-size: .78rem; }
.review-card blockquote { margin: 42px 0 28px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.25; letter-spacing: -.025em; }
.review-author { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(58, 46, 42, .2); font-size: .86rem; font-weight: 700; }
.menu-toggle { align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; }
.menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-icon { display: grid; gap: 5px; width: 25px; }
.menu-icon i { display: block; width: 25px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .container, .hero-grid { width: min(calc(100% - 40px), var(--max)); }
  .header-inner { position: relative; }
  .header-inner .wordmark { position: absolute; left: 50%; transform: translateX(-50%); }
  .menu-toggle { display: flex; margin-left: auto; }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--chalk); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(58, 46, 42, .13); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(58, 46, 42, .12); }
  .site-nav .nav-cta { border-bottom: 0; margin-top: 4px; }
  .hero-copy { left: clamp(24px, 6vw, 70px); }
  .hero-visual { min-height: min(740px, calc(100vh - 110px)); }
  .portfolio-card-featured { grid-template-columns: 1fr; }
  .portfolio-card-featured .portfolio-media img { height: clamp(360px, 52vw, 560px); }
}

@media (min-width: 1025px) {
  .menu-toggle { display: none; }
}

@media (max-width: 650px) {
  .container, .hero-grid { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .hero-grid { width: 100%; }
  .hero-copy { top: 88px; right: 24px; left: 24px; }
  .hero-copy h1 { margin: 14px 0 16px; font-size: clamp(2.45rem, 9.4vw, 4.2rem); line-height: .98; }
  .hero h1 > span { white-space: normal; }
  .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .hero-copy .hero-lede { max-width: 380px; font-size: .94rem; line-height: 1.35; }
  .hero-actions { gap: 16px; margin-top: 22px; }
  .hero-actions .button { min-height: 44px; padding: 10px 14px; font-size: .86rem; }
  .hero-actions .text-link { font-size: .9rem; }
  .hero-visual { min-height: clamp(460px, 54svh, 500px); }
  .hero-visual img { object-position: 58% center; }
  .hero-visual::after { background: linear-gradient(180deg, rgba(32, 24, 21, .7), rgba(32, 24, 21, .18) 65%, rgba(32, 24, 21, .48)); }
  .hero-visual figcaption { right: 16px; bottom: 16px; left: 16px; }
  .hero-meta-row { padding-top: 12px; font-size: .67rem; letter-spacing: -.01em; }
  .hero-meta-row .rule-label { display: none; }
  .section { padding: 76px 0; }
  .work .section-heading { margin-bottom: 34px; }
  .portfolio-card-featured .portfolio-media img, .portfolio-media img { height: 290px; }
  .portfolio-card-body { padding: 18px 18px 20px; }
  .portfolio-card h3 { margin-top: 12px; margin-bottom: 18px; }
  .portfolio-footer { margin-top: 30px; }
  .portfolio-index-page .collection-hero { padding-top: 34px; padding-bottom: 44px; }
  .portfolio-index-page .collection-hero .back-link { margin-bottom: 28px; }
  .portfolio-index-page .portfolio-collection { padding-top: 46px; }
  .portfolio-collection-bar { display: grid; gap: 10px; margin-bottom: 24px; }
  .portfolio-collection-note { font-size: .98rem; line-height: 1.45; }
  .review-grid { grid-template-columns: 1fr; gap: 12px; }
  .review-card { min-height: 210px; padding: 20px; }
  .review-card blockquote { margin: 32px 0 24px; font-size: 1.3rem; }
}

/* Keep portrait media fully visible without imposing a tall frame on landscape media. */
.detail-collage figure.portrait-media { background: transparent; }
.detail-collage img.is-portrait, .detail-collage video.is-portrait {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 100px);
  margin-inline: auto;
  object-fit: contain;
}

/* Homepage refinement pass: preserve the warm identity while strengthening hierarchy and contrast. */
.home-page .section-index { color: #814634; }
.home-page .hero-meta-row { color: var(--espresso); }
.home-page .testimonials h2 em { color: var(--espresso); }
.home-page .review-source { color: var(--espresso); }
.home-page .contact-copy > p:not(.eyebrow),
.home-page .contact-details address,
.home-page .contact-details p { color: var(--chalk); }
.home-page .contact-details a { border-bottom-color: rgba(252, 250, 246, .78); }
.home-page .enquiry-form label span { color: #80675a; }
.home-page .enquiry-form .field-label { color: var(--espresso); font-weight: 700; }
.home-page .enquiry-form .field-label .optional { color: #80675a; font-weight: 400; }
.home-page .enquiry-form .privacy-consent { min-height: 44px; align-items: center; }
.home-page .text-link,
.home-page .project-link { min-height: 44px; display: inline-flex; align-items: center; }
.home-page .portfolio-footer { justify-content: flex-start; }
.home-page .portfolio-more-link { min-height: 50px; }

@media (max-width: 650px) {
  .home-page h2 { font-size: clamp(2.25rem, 11vw, 4.2rem); line-height: 1.04; }
  .home-page #about h2 { line-height: 1.12; }
  .home-page .section { padding-block: 68px; }
  .home-page .section-heading { gap: 10px; margin-bottom: 32px; }
  .home-page .hero-copy .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  .home-page .hero-copy .hero-lede { font-size: 1rem; line-height: 1.45; }
  .home-page .hero-meta-row { font-size: .75rem; line-height: 1.4; }
  .home-page .contact-details a { min-height: 38px; display: inline-flex; align-items: center; }
  .home-page .footer-grid a { min-height: 36px; display: inline-flex; align-items: center; }
}

@media (max-width: 360px) {
  .home-page .hero-actions { display: grid; justify-items: start; gap: 4px; }
}

/* Portfolio CTA: keep the invitation and actions together as one clear final step. */
.portfolio-index-page .detail-cta { padding-block: 72px; }
.portfolio-index-page .detail-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.portfolio-index-page .detail-cta h2 { max-width: 650px; }
.portfolio-index-page .detail-cta h2 .cta-accent { display: block; color: var(--chalk); font-style: italic; }
.portfolio-index-page .detail-contact-actions { justify-self: end; width: min(100%, 300px); }
.portfolio-index-page .detail-contact-actions .button-whatsapp { width: 100%; }

/* Project pages: introduce the brief before the long visual gallery. */
.detail-page .detail-facts { padding-block: 72px 68px; }
.detail-page .detail-facts-copy { padding-top: 0; }
.detail-page .detail-hero { padding-top: 64px; }
.detail-page .detail-meta span { color: #6f5549; }
.detail-page .detail-back-link,
.detail-page .detail-brief-link { min-height: 44px; display: inline-flex; align-items: center; }
.detail-gallery-section {
  grid-column: 1 / -1;
  padding: 34px 0 2px;
  border-top: 1px solid var(--line);
}
.detail-gallery-section h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.detail-next-project {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.detail-next-project.is-single { justify-content: flex-end; }
.detail-next-project-link {
  min-width: 0;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: inherit;
}
.detail-next-project-link:last-child { align-items: flex-end; text-align: right; }
.detail-next-project-link span { color: #6f5549; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.detail-next-project-link strong { font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; letter-spacing: -.03em; }
.detail-next-project-link:hover strong { color: var(--terracotta); }
.detail-page[data-project-key="trx-2"] .detail-collage-feature { background: transparent; }
.detail-page[data-project-key="trx-2"] .detail-collage-feature img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 100px);
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 650px) {
  .portfolio-index-page .detail-cta { padding-block: 58px; }
  .portfolio-index-page .detail-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .portfolio-index-page .detail-cta h2 { font-size: clamp(2.65rem, 12vw, 4.2rem); line-height: 1.04; }
  .portfolio-index-page .detail-contact-actions { justify-self: stretch; width: 100%; }
  .detail-page .detail-facts { padding-block: 54px 48px; }
  .detail-page .detail-hero { padding-top: 32px; }
  .detail-gallery-section { padding-top: 26px; }
  .detail-next-project { display: grid; gap: 12px; padding-block: 24px; }
  .detail-next-project-link { width: 100%; }
  .detail-next-project-link:last-child { align-items: flex-start; text-align: left; }
}
