/* Shared page fades and the restrained editorial About layout. */
@view-transition{navigation:none}
::view-transition-old(root){animation:page-out 350ms ease both}
::view-transition-new(root){animation:page-in 500ms ease both}
@keyframes page-out{to{opacity:0}}
@keyframes page-in{from{opacity:0}to{opacity:1}}
.about-studio-link{color:inherit;text-decoration:none;font-weight:600}
.about-studio-link:hover{text-decoration:underline;text-underline-offset:5px}
.about-page .header{transform:none;background:var(--paper)}
.about-page .header .wordmark{left:var(--gutter);transform:translateY(-50%)}
.about-page .header .logo-line{font-size:1.42439375rem!important;letter-spacing:.01em}
.about-page .header nav{justify-content:flex-end;gap:clamp(2rem,4vw,5rem)}
.about-page .header .nav-left a{font-size:1.42439375rem!important}
.about-main{padding:4rem var(--gutter) 6rem}
.about-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8%;align-items:center}
.about-copy{max-width:600px}
body #about-title{font-size:1.42439375rem!important;font-weight:500;margin-bottom:3rem;line-height:1.35}
.about-copy p+p{margin-top:1.6rem}
.about-copy .project-button{margin-top:2.5rem}
.director-portrait{width:100%;max-width:560px;justify-self:end}
.director-portrait img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 40%}
.director-portrait figcaption{text-align:right}
.about-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem var(--gutter);color:var(--ink)}
.about-footer a{text-decoration:none;min-height:44px;display:flex;align-items:center}
.about-footer a:hover{text-decoration:underline}
@media(max-width:800px){
 .about-main{padding-top:3rem}
 .about-layout{grid-template-columns:1fr;gap:3rem}
 .about-copy{max-width:620px}
 .director-portrait{justify-self:start;max-width:520px}
 .about-page .header .wordmark{left:var(--gutter);width:auto}
 .about-page .header .nav-left{display:none}
 .about-page .header .logo-line{font-size:1rem!important}
}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}

/* Shared typography contract across both pages. */
body,body *{letter-spacing:.02em!important}
body .company-name,body .logo-line,body .story-brand,body .hero .hero-brand,body .hero .hero-brand span{letter-spacing:.03em!important}
/* Identical navigation geometry, independent of homepage reveal state. */
.story-enabled .header,.about-page .header{height:80px;min-height:80px;padding:1rem var(--gutter);align-items:center;background:transparent}
.story-enabled .header .wordmark,.about-page .header .wordmark{position:absolute;left:var(--gutter);top:50%;transform:translateY(-50%);width:auto;height:44px;min-height:44px}
.story-enabled .header .logo-line,.about-page .header .logo-line{font-size:1.42439375rem!important}
.story-enabled .header nav,.about-page .header nav{justify-content:flex-end;align-items:center;gap:clamp(2rem,4vw,5rem);flex-wrap:nowrap}
.story-enabled .header .nav-left,.about-page .header .nav-left{display:flex;align-items:center;gap:1rem}
.story-enabled .header .nav-left a,.about-page .header .nav-left a{font-size:1.42439375rem!important;line-height:1;min-height:44px}
.story-enabled .header nav .project-button,.about-page .header nav .project-button{margin:0;min-height:44px}
.director-portrait{max-width:370px;justify-self:center}
.about-closing{padding:3rem var(--gutter) 1.5rem;background:#30342d;color:#f7f6f1;min-height:0;height:auto;position:static}
.about-closing .site-footer{margin:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:0;background:transparent;color:inherit}
.about-closing .contact-links a{color:inherit}
.about-closing .site-footer .footer-legal{margin-top:1.25rem}
@media(max-width:800px){
 :root{--header-height:120px}
 .story-enabled .header,.about-page .header{height:120px;min-height:120px;align-items:flex-end}
 .story-enabled .header .wordmark,.about-page .header .wordmark{left:var(--gutter);top:16px;transform:none;height:28px;min-height:28px}
 .story-enabled .header nav,.about-page .header nav{gap:1.5rem;justify-content:flex-end;flex-wrap:nowrap}
 .story-enabled .header nav .project-button,.about-page .header nav .project-button{max-width:110px;white-space:normal;text-align:center;line-height:1.35}
 .director-portrait{max-width:340px;justify-self:start}
}

/* About follows the process page's portrait-left, copy-right composition. */
.about-page{min-height:100svh;display:flex;flex-direction:column}
.about-main{flex:1;padding-top:4rem;padding-bottom:5rem}
.about-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:5%;align-items:start}
.about-copy{grid-column:2;grid-row:1;max-width:500px}
.director-portrait{grid-column:1;grid-row:1;width:100%;max-width:620px;justify-self:start}
body #about-title{margin:0 0 3rem}
.about-closing{margin-top:auto;padding-top:2rem;background:transparent;color:var(--ink)}
.about-closing .site-footer{color:var(--ink)}
.about-closing .contact-links a{color:var(--ink)}
@media(max-width:800px){
 .about-layout{grid-template-columns:1fr;gap:2.5rem}
 .about-copy{grid-column:1;grid-row:1;max-width:620px}
 .director-portrait{grid-column:1;grid-row:2;max-width:420px}
}

/* Copy left; a smaller portrait matches the copy block's overall height. */
@media(min-width:801px){
 .about-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
 .about-copy{grid-column:1;grid-row:1}
 .director-portrait{grid-column:2;grid-row:1;width:min(100%,var(--portrait-width,360px));max-width:440px;justify-self:start}
 .director-portrait img{aspect-ratio:4028/6034;object-fit:cover}
}

/* Shared About anchor and editorial alignment. */
:root{--about-anchor:clamp(15rem,24vw,30rem)}
@media(min-width:801px){
 .story-enabled .header .nav-left,.about-page .header .nav-left{position:absolute;left:var(--about-anchor)}
 .about-main{padding-left:var(--about-anchor)}
 .about-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:8%}
}
.about-page .header .logo-line{color:#a6a79f;transition:color 450ms ease}
.about-page .header .wordmark:hover .logo-line,.about-page .header .wordmark:focus-visible .logo-line{color:#000}
.about-page .header .nav-left a{color:#000;transition:color 450ms ease}
.story-enabled .header .nav-left a{color:#a6a79f;transition:color 450ms ease}
.story-enabled .header .nav-left a:hover,.story-enabled .header .nav-left a:focus-visible{color:var(--ink)}
.story-brand{transition:color 450ms ease}
/* Match the home closing section's lower inset (X). */
.about-closing{padding-bottom:3rem}
.about-closing .site-footer{padding-bottom:0}
@media(max-width:800px){.about-closing{padding-bottom:4rem}}
@media(prefers-reduced-motion:reduce){.about-page .header .logo-line,.header .nav-left a,.story-brand{transition:none}}

/* One fade controller owns the first painted frame on both pages. */
.page-enter body{opacity:0}
@media(min-width:801px){
 .about-main{padding-left:var(--gutter)}
 .about-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:5%}
 .about-copy{max-width:none;width:100%;padding-left:var(--about-copy-inset,0px)}
 .about-closing .site-footer,.contact .site-footer{max-width:none}
 .contact-intro .site-footer .footer-legal{grid-template-columns:var(--legal-inset,14rem) max-content;column-gap:0;width:100%}
 .contact-intro .footer-legal .footer-copyright{justify-self:start;text-align:left}
}
.contact-atmosphere .contact{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:5%}
@media(min-width:801px){.contact-atmosphere .contact-intro{min-height:calc(100svh - 6rem)}}
.about-closing{padding-bottom:3rem}
@media(max-width:800px){.contact-atmosphere .contact{grid-template-columns:1fr}.about-closing{padding-bottom:4rem}}

/* Give the closing conversation clear space below the fixed navigation. */
.contact-atmosphere .contact{padding-top:calc(var(--header-height) + 3rem)}
@media(min-width:801px){.contact-atmosphere .contact-intro{min-height:calc(100svh - var(--header-height) - 6rem)}}
/* Match the home studio paragraph measure without changing its left alignment. */
.about-copy>p{max-width:440px}

.contact-atmosphere .contact{padding-top:calc(var(--header-height) + 7rem)}
@media(min-width:801px){.contact-atmosphere .contact-intro{min-height:calc(100svh - var(--header-height) - 10rem)}}
.hero-start{position:relative;border-radius:999px;padding:.85rem 1.5rem;min-height:52px;text-decoration:none!important}
.hero-start-label{display:inline-flex;align-items:center;gap:1rem}
.hero-start-outline{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hero-start-outline rect{x:1px;y:1px;width:calc(100% - 2px);height:calc(100% - 2px);rx:26px;fill:none;stroke:currentColor;stroke-width:1px;vector-effect:non-scaling-stroke;stroke-dasharray:100;stroke-dashoffset:0}
.hero-start:hover{background:rgba(255,255,255,.08)}

/* Completed outline is a continuous stroke, without a dash seam. */
.hero-start-outline rect{stroke-dasharray:none;stroke-linecap:round;stroke-linejoin:round}
.header nav .project-button{border:1px solid #515c43;border-radius:999px;background:transparent;color:var(--ink);transition:background-color 450ms ease,color 450ms ease,border-color 450ms ease}
.header nav .project-button:hover,.header nav .project-button:focus-visible{background:#515c43;border-color:#515c43;color:#f7f6f1}
/* Native underlines fade in place, including wrapped lines. */
body :is(.header .nav-left a,.contact-links a,.privacy-link,.about-studio-link,.about-footer a){text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:transparent;transition:color 450ms ease,text-decoration-color 450ms ease}
body :is(.header .nav-left a,.contact-links a,.privacy-link,.about-studio-link,.about-footer a):is(:hover,:focus-visible){text-decoration-line:underline;text-decoration-color:currentColor}
/* Centre the stable form footprint in the screen below the navigation. */
.contact-atmosphere .contact{padding-top:calc(var(--header-height) + 2rem);padding-bottom:3rem;min-height:100svh;align-content:center}
@media(min-width:801px){.contact-atmosphere .contact-intro{min-height:0}}
@media(max-width:800px){.contact-atmosphere .contact{align-content:start;padding-top:calc(var(--header-height) + 2rem)}}
@media(prefers-reduced-motion:reduce){.header nav .project-button,body :is(.header .nav-left a,.contact-links a,.privacy-link,.about-studio-link,.about-footer a){transition:none}}

/* Translucent glass surface, with a solid readable fallback. */
.header nav .project-button{background:rgba(247,246,241,.2);backdrop-filter:blur(14px) saturate(115%);-webkit-backdrop-filter:blur(14px) saturate(115%)}
.header nav .project-button:hover,.header nav .project-button:focus-visible{background:rgba(81,92,67,.88);color:#f7f6f1}

/* About enquiry button matches the navigation's frosted capsule. */
.about-copy .project-button{border:1px solid #515c43;border-radius:999px;background:rgba(247,246,241,.2);color:var(--ink);backdrop-filter:blur(14px) saturate(115%);-webkit-backdrop-filter:blur(14px) saturate(115%);padding:.5rem .7rem;min-height:44px;transition:background-color 450ms ease,color 450ms ease,border-color 450ms ease}
.about-copy .project-button:hover,.about-copy .project-button:focus-visible{background:rgba(81,92,67,.88);border-color:#515c43;color:#f7f6f1}
@media(prefers-reduced-motion:reduce){.about-copy .project-button{transition:none}}

/* Mobile-only refinements. Desktop rules remain unchanged. */
@media(max-width:800px){
 html body,html body *{font-size:12.99px!important}
 html body .hero .hero-description,html body .hero .hero-description *,
 html body #services-title,html body #contact-title,html body #about-title,
 html body .visual-process .stage-list .stage-title,html body .visual-process .stage-list .service-number,
 html body .visual-process .stage-description>p:not(.service-tags),
 html body .story-brand,
 html.story-enabled body .header .logo-line,html body.about-page .header .logo-line,
 html.story-enabled body .header .nav-left a,html body.about-page .header .nav-left a{font-size:19.485px!important}
 html body #studio-title{font-size:21px!important}
 /* A single About link at the right of the header. */
 html.story-enabled body .header,html body.about-page .header{height:80px;min-height:80px;align-items:center}
 html.story-enabled body .header .wordmark,html body.about-page .header .wordmark{top:50%;transform:translateY(-50%);height:44px;min-height:44px}
 html.story-enabled body .header nav,html body.about-page .header nav{justify-content:flex-end;align-items:center}
 html body .header nav .project-button{display:none}
 html.story-enabled body .header .nav-left,html body.about-page .header .nav-left{display:flex;position:static}
 html body{--header-height:80px}
 /* Flatten only the left-column wrapper so the footer follows the form. */
 html.contact-atmosphere body .contact{display:flex;flex-direction:column;align-items:stretch;gap:1.5rem}
 html body .contact>.contact-intro{display:contents}
 html body .contact-intro>#contact-title{order:1;margin-bottom:0}
 html body .contact-intro>p{order:2;max-width:440px}
 html body .contact>.enquiry-area{order:3;margin-top:.5rem}
 html body .contact-intro>.site-footer{order:4;margin-top:2rem;padding-top:0;max-width:none}
 html body .contact-intro .footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem}
 html body .contact-intro .footer-legal .privacy-link{order:1}
 html body .contact-intro .footer-legal .footer-copyright{order:2}
}

/* Mobile full-bleed hero follows the visible browser viewport. */
@media(max-width:800px){
 html.story-enabled body .hero{min-height:100vh;min-height:100dvh;padding-top:max(2rem,env(safe-area-inset-top));padding-bottom:max(2rem,env(safe-area-inset-bottom));overflow:hidden}
 html.story-enabled body .hero .hero-intro{min-height:calc(100vh - 4rem);min-height:calc(100dvh - 4rem)}
 html.story-enabled body .hero .hero-background{inset:0;width:100%;height:100%;margin:0}
 html.story-enabled body .hero .hero-background img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;aspect-ratio:auto}
}

/* Mobile uses native scrolling and a simple post-hero navbar fade. */
html.anchor-travelling{scroll-behavior:auto!important}
@media(max-width:800px){
 html.story-enabled body .hero{min-height:100vh;min-height:100lvh;overflow:hidden}
 html.story-enabled body .hero .hero-intro{position:relative;min-height:calc(100svh - 4rem)}
 html.story-enabled body .hero .hero-message{position:static}
 html.story-enabled body .hero .hero-background{position:absolute;inset:0;width:100%;height:100%;min-height:100vh;min-height:100lvh}
 html.story-enabled body .hero .hero-background img{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
 html.story-enabled body .header .logo-line{visibility:visible;color:var(--ink)}
 html.story-enabled body .story-brand{display:none!important}
 html body .studio{padding-top:6rem}
 html.contact-atmosphere body .contact{background:#30342d}
 html body .studio-kitchen img{transform:none;will-change:auto}
}

@media(max-width:800px){html.contact-atmosphere body .contact{background:transparent}}

/* Mobile enquiry anchors land closer to the heading; messages stay in bounds. */
@media(max-width:800px){
 html.contact-atmosphere body .contact{padding-top:calc(var(--header-height) + 2rem - 5.5rem)}
 html body #contact{scroll-margin-top:0}
 html body .contact>.enquiry-area,html body #enquiry-form,html body #enquiry-success{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 html body #enquiry-success,html body #form-status,html body #enquiry-success h3,html body #enquiry-success p{white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;max-width:100%}
 html body #enquiry-success a{white-space:normal;overflow-wrap:anywhere;max-width:100%}
 html body .contact .footer-legal{min-width:0;max-width:100%}
 html body .contact .footer-copyright{white-space:normal;flex-wrap:wrap}
}

@media(max-width:800px){html.contact-atmosphere body main>section:not(#contact){opacity:var(--earlier-section-opacity,1)}}

/* Preserve the blank lines between paragraphs in the home-page copy. */
#hero-title>br{display:none}
#hero-title .hero-line-two{display:block;margin-top:1.7em}
#studio .studio-editorial-copy>p+p{margin-top:1.7em}
#services .stage-description>p+p{margin-top:1.55em}
#contact .contact-intro>p{max-width:440px}
#contact .contact-intro>p+p{margin-top:1.7em}

/* Balance the studio statement and give the opening sentence room on desktop. */
#studio .studio-editorial-copy #studio-title{max-width:22ch;text-wrap:balance}
@media(min-width:801px){
 html.story-enabled body .hero .hero-intro{flex-basis:78%;max-width:960px}
}

/* Transparent planning drawing: retain the complete artwork within the stage frame. */
.visual-process .stage-visual.planning-sketch{background:transparent}
.visual-process .stage-visual.planning-sketch img{object-fit:contain}

/* Two deliberate desktop lines; mobile keeps natural wrapping. */
@media(min-width:801px){
 #studio .studio-editorial-copy #studio-title{max-width:none;font-size:clamp(1.5rem,2.5vw,3.05rem)!important;text-wrap:initial}
 #studio-title .studio-heading-line{display:block;white-space:nowrap;font-size:inherit!important}
}
.mobile-stage-accordion{display:none}
@media(max-width:800px){
 .visual-process.has-mobile-accordion .stage-list{display:none}
 .visual-process.has-mobile-accordion .stage-description{display:none}
 .mobile-stage-accordion{display:block}
 .mobile-stage-toggle{display:flex;align-items:baseline;gap:.65rem;width:100%;border:0;background:none;padding:.65rem 0;text-align:left;color:#a6a79f;cursor:pointer;transition:color .35s ease}
 .mobile-stage-toggle[aria-expanded=true]{color:var(--ink)}
 .mobile-stage-toggle .mobile-read-more{width:5.5em;flex-shrink:0;color:var(--ink);font-size:12.99px!important}
 .mobile-stage-toggle .mobile-stage-number,.mobile-stage-toggle .mobile-stage-name{font-size:19.485px!important;font-weight:500}
 .mobile-stage-reveal{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows 450ms ease,opacity 350ms ease,visibility 450ms}
 .mobile-stage-reveal.is-open{grid-template-rows:1fr;opacity:1;visibility:visible}
 .mobile-stage-copy{min-height:0;overflow:hidden}
 .mobile-stage-copy>p{max-width:100%;line-height:1.55}
 .mobile-stage-copy>p+p{margin-top:1.55em}
 .mobile-stage-copy>p:last-child{margin-bottom:1.5rem}
 .mobile-stage-copy .service-tags{color:var(--muted)}
}
@media(prefers-reduced-motion:reduce){.mobile-stage-reveal,.mobile-stage-toggle{transition:none}}

/* Keep the mobile disclosure hint at the right without moving the stage title. */
@media(max-width:800px){
 .mobile-stage-toggle .mobile-read-more{order:3;margin-left:auto;width:auto;text-align:right;opacity:1;transition:opacity 350ms ease}
 .mobile-stage-toggle[aria-expanded=true] .mobile-read-more{opacity:0}
}
@media(prefers-reduced-motion:reduce){.mobile-stage-toggle .mobile-read-more{transition:none}}

/* Keep nested heading lines at the heading size. */
#studio-title .studio-heading-line{font-size:inherit!important}
@media(max-width:800px){
 html body #studio .studio-editorial-copy #studio-title{font-size:21px!important;max-width:none;width:100%;text-wrap:wrap;white-space:normal}
 #studio-title .studio-heading-line{display:inline;white-space:normal}
 .mobile-stage-toggle.is-current{color:var(--ink)}
 .mobile-stage-toggle .mobile-read-more{color:inherit}
}
