/* ==========================================================================
   Studio Bonavale — site styles
   Palette: limestone, bone, ink, bronze. Type: Cormorant Garamond + Jost.
   ========================================================================== */

:root {
  --limestone: #f3efe8;
  --bone: #e9e3d9;
  --sand: #d8cfc1;
  --stone: #9b9083;
  --taupe: #6f665c;
  --ink: #2a2622;
  --night: #1b1917;
  --bronze: #8a6a4f;
  --bronze-soft: #b39478;
  --white: #fbf9f5;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --narrow: 760px;
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 1.2s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--sand); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: .005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; text-wrap: pretty; }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.6em;
  display: block;
}
.on-dark .eyebrow, .eyebrow.light { color: rgba(251, 249, 245, .78); }
.lede {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
}
.small { font-size: .88rem; color: var(--taupe); }
.muted { color: var(--taupe); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding: clamp(80px, 12vw, 180px) 0; }
.section.tight { padding: clamp(56px, 8vw, 110px) 0; }
.section.bone { background: var(--bone); }
.section.night, .on-dark { background: var(--night); color: var(--white); }
.section.night .muted, .on-dark .muted { color: rgba(251, 249, 245, .62); }
.rule { height: 1px; background: var(--sand); border: 0; margin: 0; }

.grid-2 { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr 1fr; align-items: center; }
.grid-3 { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.has-hero .site-header:not(.is-solid) { color: var(--white); }
.site-header.is-solid { background: rgba(243, 239, 232, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--sand); }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); align-items: center; }
.nav.right { justify-content: flex-end; }
.nav a, .menu-toggle {
  font-size: .72rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.btn-enquire { border: 1px solid currentColor; padding: 10px 18px; }
.nav a.btn-enquire::after { display: none; }
.nav a.btn-enquire:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.has-hero .site-header:not(.is-solid) .nav a.btn-enquire:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 8px 0; }
/* Logo files are used as masks so they take the current text colour */
.logo-file {
  display: block; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.brand .wordmark.logo-file { width: clamp(150px, 13vw, 196px); }
/* Typeset fallback: A drawn as an inverted serif V (Λ) */
.brand .wordmark:not(.logo-file) {
  font-family: var(--serif); font-weight: 400; font-size: 1.35rem;
  letter-spacing: .42em; margin-right: -.42em; white-space: nowrap;
}
.lam { display: inline-block; transform: rotate(180deg); }
.brand-sub { font-size: .6rem; letter-spacing: .4em; margin: 14px -.4em 0 0; opacity: .8; }
.site-footer .lockup-mark { width: 190px; }

.menu-toggle { display: none; align-items: center; gap: 12px; }
.menu-toggle .bars { width: 22px; height: 9px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }

@media (max-width: 1020px) {
  .nav.left a, .nav.right a:not(.btn-enquire) { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand .wordmark.logo-file { width: 140px; }
}
@media (max-width: 420px) {
  .nav a.btn-enquire { padding: 8px 12px; letter-spacing: .18em; }
  .menu-toggle { font-size: 0; gap: 0; }
  .menu-toggle .bars { width: 24px; }
  .brand .wordmark.logo-file { width: 124px; }
}

/* Mobile / overlay menu */
.menu-panel {
  position: fixed; inset: 0; z-index: 60;
  background: var(--night); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-panel .close {
  position: absolute; top: 30px; left: var(--gutter);
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a {
  font-family: var(--serif); font-size: clamp(2.2rem, 8vw, 3.6rem); font-weight: 300; line-height: 1.35;
  display: inline-block; transition: color .3s, transform .5s var(--ease);
}
.menu-panel li a:hover { color: var(--bronze-soft); transform: translateX(8px); }
.menu-panel .menu-foot { margin-top: 48px; font-size: .86rem; color: rgba(251,249,245,.62); display: grid; gap: 4px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  padding: 18px 34px; border: 1px solid var(--ink); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn.solid { background: var(--ink); color: var(--white); }
.btn.solid:hover { background: var(--bronze); border-color: var(--bronze); }
.btn.light { border-color: var(--white); color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--ink); }
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.text-link {
  font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 40% 1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: var(--white); overflow: hidden; background: var(--night);
}
.hero .slides, .hero .slide { position: absolute; inset: 0; }
.hero .slide { opacity: 0; transition: opacity 2.2s var(--ease); }
.hero .slide.is-active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero .slide.is-active img { animation: drift 12s linear forwards; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,18,16,.45) 0%, rgba(20,18,16,.05) 30%, rgba(20,18,16,.08) 55%, rgba(20,18,16,.6) 100%);
}
.hero .hero-content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(56px, 10vh, 120px);
  text-align: center;
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); margin-bottom: .35em; }
.hero h1, .page-hero h1, .full-bleed blockquote { text-shadow: 0 2px 40px rgba(20, 18, 16, .35); }
.hero .hero-sub { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: 40px; }
.hero .hero-links { display: flex; justify-content: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.hero .scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 38px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero .scroll-cue::after { content: ""; position: absolute; left: 0; top: -38px; width: 1px; height: 38px; background: var(--white); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 38px; } }
.hero .slide-dots { position: absolute; z-index: 2; right: var(--gutter); bottom: 30px; display: flex; gap: 10px; }
.hero .slide-dots button { width: 26px; height: 16px; position: relative; }
.hero .slide-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.45); transition: background .4s; }
.hero .slide-dots button.is-active::after { background: var(--white); }

/* Page hero (interior pages) */
.page-hero { position: relative; height: 86vh; height: 86svh; min-height: 560px; color: var(--white); overflow: hidden; background: var(--night); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.45) 0%, rgba(20,18,16,0) 35%, rgba(20,18,16,.55) 100%), linear-gradient(90deg, rgba(20,18,16,.42) 0%, rgba(20,18,16,0) 60%); }
.page-hero .hero-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); }
.page-hero h1 { max-width: 16ch; }

.page-head { padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(40px, 6vw, 80px); }

/* ---------- Intro statement ---------- */
.statement { text-align: center; }
.statement .lede { max-width: 30ch; margin: 0 auto 1.2em; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.35; }
.statement p.body { max-width: 58ch; margin: 0 auto 2.2em; color: var(--taupe); }
.mark-divider { width: 28px; height: 28px; margin: 0 auto 36px; color: var(--bronze); }

/* ---------- Disciplines split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--limestone); }
.split-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); background: var(--night); }
.split-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease), opacity .8s; opacity: .92; }
.split-card:hover img { transform: scale(1.04); opacity: 1; }
.split-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,0) 40%, rgba(20,18,16,.72) 100%); }
.split-card .card-body { position: absolute; z-index: 2; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(28px, 4vw, 56px); }
.split-card h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: .25em; }
.split-card p { max-width: 42ch; opacity: .86; margin-bottom: 1.6em; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split-card { aspect-ratio: 4 / 5; } }

/* ---------- Media ---------- */
.frame { position: relative; overflow: hidden; background: var(--bone); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.frame.portrait { aspect-ratio: 4 / 5; }
.frame.landscape { aspect-ratio: 3 / 2; }
.frame.wide { aspect-ratio: 16 / 9; }
.frame.square { aspect-ratio: 1; }
a.frame:hover img, a:hover > .frame img { transform: scale(1.035); }
.caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.caption .title { color: var(--ink); }

.full-bleed { position: relative; height: 92vh; min-height: 520px; overflow: hidden; color: var(--white); background: var(--night); }
.full-bleed img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.full-bleed::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 16, .32); }
.full-bleed .quote { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.full-bleed blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.2; max-width: 20ch; }
.full-bleed cite { display: block; margin-top: 28px; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; opacity: .8; }

/* ---------- Selected work (editorial asymmetric) ---------- */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); row-gap: clamp(56px, 8vw, 120px); }
.editorial .item { display: block; }
.editorial .i1 { grid-column: 1 / span 7; }
.editorial .i2 { grid-column: 9 / span 4; align-self: end; }
.editorial .i3 { grid-column: 2 / span 4; }
.editorial .i4 { grid-column: 7 / span 6; align-self: center; }
.editorial .i5 { grid-column: 1 / span 5; }
.editorial .i6 { grid-column: 7 / span 5; margin-top: 18%; }
@media (max-width: 800px) {
  .editorial { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .editorial .item { grid-column: auto / span 2 !important; margin-top: 0 !important; }
  .editorial .i2, .editorial .i3 { grid-column: auto / span 1 !important; }
}

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 7vw, 96px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* ---------- Pillars / services ---------- */
.pillar { border-top: 1px solid var(--sand); padding-top: 28px; }
.on-dark .pillar, .night .pillar { border-color: rgba(251,249,245,.18); }
.pillar .num { font-family: var(--serif); font-size: 1rem; color: var(--bronze); display: block; margin-bottom: 18px; letter-spacing: .1em; }
.night .pillar .num { color: var(--bronze-soft); }
.pillar h3 { margin-bottom: .5em; }
.pillar p { color: var(--taupe); font-size: .98rem; }
.night .pillar p { color: rgba(251,249,245,.66); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sand); }
.service-list li { display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--sand); align-items: baseline; }
.service-list .num { font-family: var(--serif); color: var(--bronze); }
.service-list h3 { margin: 0; }
.service-list p { margin: 0; color: var(--taupe); }
@media (max-width: 760px) { .service-list li { grid-template-columns: 44px 1fr; } .service-list li p { grid-column: 2; } }

/* Process timeline */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.process.four { grid-template-columns: repeat(4, 1fr); }
.process.three { grid-template-columns: repeat(3, 1fr); }
[data-group].invalid + [data-radio-err] { display: block !important; }
[data-group].invalid .choice .face { border-color: #a4523a; }
.process .step { position: relative; padding-top: 40px; }
.process .step::before { content: ""; position: absolute; top: 6px; left: 0; right: -28px; height: 1px; background: var(--sand); }
.process .step:last-child::before { right: 0; }
.process .step::after { content: ""; position: absolute; top: 2px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--limestone); border: 1px solid var(--bronze); }
.section.bone .process .step::after { background: var(--bone); }
.process .step .label { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 12px; }
.process .step h4 { font-size: 1.45rem; margin-bottom: .4em; }
.process .step p { font-size: .95rem; color: var(--taupe); margin: 0; }
@media (max-width: 1000px) {
  .process, .process.four, .process.three { grid-template-columns: 1fr; gap: 0; }
  .process .step { padding: 0 0 36px 36px; }
  .process .step::before { top: 8px; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .process .step::after { top: 4px; }
}

/* Tag list (areas / audiences) */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--sand); padding: 9px 16px; font-size: .8rem; letter-spacing: .08em; }
.night .tags li { border-color: rgba(251,249,245,.22); }

/* Packages */
.package { border: 1px solid var(--sand); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; background: var(--limestone); }
.package.featured { background: var(--night); color: var(--white); border-color: var(--night); }
.package.featured .muted, .package.featured li { color: rgba(251,249,245,.72); }
.package h3 { margin-bottom: .2em; }
.package ul { list-style: none; padding: 0; margin: 20px 0 32px; flex: 1; }
.package li { padding: 10px 0; border-bottom: 1px solid rgba(155,144,131,.3); font-size: .95rem; color: var(--taupe); }
.package .btn { align-self: flex-start; }
.package.featured .btn { border-color: var(--white); color: var(--white); }
.package.featured .btn:hover { background: var(--white); color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--sand); }
.faq details:first-child { border-top: 1px solid var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; padding: 28px 48px 28px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq .answer { padding: 0 0 28px; color: var(--taupe); max-width: 68ch; }

/* Quote / testimonial */
.testimonial { text-align: center; max-width: 900px; margin: 0 auto; }
.testimonial blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.35; font-weight: 300; }
.testimonial .who { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); }
.placeholder-note { display: inline-block; margin-top: 18px; font-size: .72rem; letter-spacing: .06em; color: var(--bronze); border: 1px dashed var(--bronze-soft); padding: 6px 12px; }

/* Lead magnet */
.guide { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--bone); }
.guide .frame { aspect-ratio: auto; min-height: 420px; }
.guide .guide-body { padding: clamp(40px, 6vw, 96px); align-self: center; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } .guide .frame { min-height: 300px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.field label, .legend { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--stone);
  padding: 10px 0; border-radius: 0; width: 100%;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f665c'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #a4523a; }
.field .err { font-size: .8rem; color: #a4523a; display: none; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }

.inline-form { display: flex; gap: 0; border-bottom: 1px solid var(--ink); max-width: 480px; }
.inline-form input { flex: 1; font: inherit; border: 0; background: transparent; padding: 14px 0; color: inherit; min-width: 0; }
.inline-form input:focus { outline: none; }
.inline-form button { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; padding: 0 0 0 16px; }
.on-dark .inline-form, .night .inline-form { border-color: rgba(251,249,245,.5); }
.form-note { font-size: .8rem; color: var(--taupe); margin-top: 14px; }
.form-success { display: none; }
.is-sent .form-success { display: block; }
.is-sent .form-fields { display: none; }

/* Choice cards */
.choices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 32px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .face { display: block; border: 1px solid var(--sand); padding: 26px 24px; height: 100%; transition: border-color .3s, background .3s; }
.choice .face strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 6px; }
.choice .face span { font-size: .92rem; color: var(--taupe); }
.choice input:checked + .face { border-color: var(--ink); background: var(--white); }
.choice input:focus-visible + .face { outline: 1px solid var(--bronze); outline-offset: 3px; }
.choices.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choices.compact .face { padding: 14px 16px; font-size: .92rem; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; border: 1px solid var(--sand); padding: 10px 18px; font-size: .9rem; transition: all .3s; }
.pill input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 1px solid var(--bronze); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--taupe); margin-bottom: 14px; cursor: pointer; }
.check input { margin-top: 6px; accent-color: var(--ink); }

/* Stepper */
.stepper { display: flex; gap: 12px; margin-bottom: 48px; }
.stepper li { list-style: none; flex: 1; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); padding-top: 14px; border-top: 1px solid var(--sand); transition: color .3s, border-color .3s; }
.stepper li.is-current, .stepper li.is-done { color: var(--ink); border-top-color: var(--ink); }
.stepper { padding: 0; margin-top: 0; }
.step-pane { display: none; }
.step-pane.is-current { display: block; animation: fadeUp .7s var(--ease); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.enquire-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.enquire-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.enquire-aside .frame { aspect-ratio: 4 / 5; margin-bottom: 32px; }
@media (max-width: 900px) { .enquire-layout { grid-template-columns: 1fr; } .enquire-aside { position: static; } .enquire-aside .frame { display: none; } }

/* ---------- Work grid + filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 48px; }
.filters button { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filters button:hover { color: var(--ink); }
.filters button.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.masonry { columns: 3 340px; column-gap: clamp(16px, 2vw, 28px); }
.masonry .tile { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); display: block; width: 100%; text-align: left; cursor: zoom-in; }
.masonry .tile .frame img { height: auto; }
.masonry .tile.is-hidden { display: none; }
.masonry .tile .caption { margin-top: 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20,18,16,.96); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; animation: fade .4s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(251,249,245,.72); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.lightbox .lb-btn { position: absolute; color: var(--white); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; padding: 14px; }
.lightbox .lb-close { top: 16px; right: 20px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 60px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 54ch; margin: 0 auto 2.4em; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(251,249,245,.72); padding: clamp(72px, 9vw, 130px) 0 36px; font-size: .92rem; }
.site-footer a:hover { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid rgba(251,249,245,.14); }
.site-footer h4 { font-family: var(--sans); font-size: .7rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { align-items: flex-start; color: var(--white); margin-bottom: 26px; display: inline-flex; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: .78rem; color: rgba(251,249,245,.5); }
.footer-bottom nav { display: flex; gap: 24px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Mobile sticky enquiry bar */
.sticky-cta {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
  display: none; justify-content: center; align-items: center;
  background: var(--ink); color: var(--white); padding: 16px;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* ---------- Motion ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }
.js .reveal.d3 { transition-delay: .36s; }
.hero .hero-content > * { animation: fadeUp 1.6s var(--ease) both; }
.hero .hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero .hero-content > *:nth-child(3) { animation-delay: .5s; }

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

/* ---------- Additions: build-driven components ---------- */
.hero .slide { margin: 0; }
.gold-rule { display: block; width: 44px; height: 1px; background: var(--bronze); margin: 0 auto 40px; }
.fee-guide { margin: clamp(40px, 5vw, 64px) 0 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; color: var(--taupe); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }

.cards { row-gap: clamp(40px, 5vw, 64px); }
.project-card { display: block; }
.project-card.is-hidden { display: none; }
.project-card .meta { margin: 6px 0 0; font-size: .86rem; color: var(--stone); }

.project-intro { align-items: start; }
.specs { margin: 0; border-top: 1px solid var(--sand); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.specs dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); padding-top: 4px; }
.specs dd { margin: 0; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.project-gallery.odd > a:first-child { grid-column: 1 / -1; }
.project-gallery a { display: block; overflow: hidden; background: var(--bone); cursor: zoom-in; }
.project-gallery img { width: 100%; transition: transform 1.6s var(--ease); }
.project-gallery a:hover img { transform: scale(1.02); }
@media (max-width: 700px) { .project-gallery { grid-template-columns: 1fr; } }
.hero-lightbox { position: absolute; inset: 0; cursor: zoom-in; }

.next-project { position: relative; display: block; height: 62vh; min-height: 380px; overflow: hidden; color: var(--white); background: var(--night); }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 1.8s var(--ease), opacity .8s; }
.next-project:hover img { transform: scale(1.03); opacity: .85; }
.next-project .next-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 8vh, 90px); display: block; }
.next-project .next-title { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.1; }

.monogram { display: grid; place-items: center; background: var(--bone); }
.monogram span { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 9vw, 7rem); color: var(--sand); }
.team-rest { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); gap: clamp(28px, 4vw, 56px); }
.team-rest .frame { margin-bottom: 20px; }
.team-rest h3 { margin-bottom: .2em; }

fieldset.step-pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.radio-err { color: #a4523a; font-size: .85rem; display: none; }
.check.consent { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.site-footer.minimal { padding: 36px 0; }
.site-footer.minimal .footer-bottom { border: 0; padding-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
.mb-l { margin-bottom: clamp(40px, 5vw, 72px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
