/* ============================================================ Atelier — Wapis Group
   Editorial marketing site. Colour + type mirror the commission studio. */

:root {
  --paper:   #efeae0;   /* warm cream ground */
  --paper-2: #e7e0d3;   /* alt band */
  --panel:   #f5f1e9;   /* raised card */
  --ink:     #1c1b18;
  --muted:   #5c5a51;   /* darkened for AA contrast on --paper */
  --faint:   #6b6960;   /* darkened for AA contrast on --paper */
  --green:   #22382c;   /* deep british racing green */
  --green-2: #172a20;
  --gold:    #9c7b4a;   /* brand gold — decorative / large text (nums, arrows) */
  --gold-ink: #7a5c33;  /* darker gold for small text labels that need AA contrast */
  --line:    rgba(28, 27, 24, .14);
  --line-2:  rgba(28, 27, 24, .08);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }

.micro, .num, .film-tag, .nav a, .cta, .spec dt, .scene-ico li, .process b, .bp b, figcaption {
  font-family: var(--sans);
}

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 234, 224, .55); backdrop-filter: blur(8px);
}
.head-inner { display: flex; align-items: center; gap: 28px; height: 66px; padding: 0 var(--pad); }
.brand { display: flex; align-items: baseline; gap: 16px; }
.brand-word { height: 60px; width: auto; display: block; }
.brand-by { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.monogram { display: flex; align-items: center; padding-left: 20px; border-left: 1px solid var(--line); }
.monogram img { height: 30px; width: auto; display: block; }

/* ---------------------------------------------------------------- hero */
.hero {
  margin-top: -66px;                 /* sit under the sticky header */
  min-height: 100vh;
  background: #efeae0 url(assets/hero.webp) center right / cover no-repeat;
  display: flex; flex-direction: column; padding-top: 66px; position: relative;
}
.hero::before {                       /* left legibility scrim so the copy holds on any crop */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(240,236,227,.9) 0%, rgba(240,236,227,.35) 32%, transparent 52%);
}
.hero > * { position: relative; }
.hero-copy {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); max-width: 46ch;
}
.hero-copy h1 {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 82px); line-height: .96; letter-spacing: -.01em;
  margin: 0 0 24px; color: var(--green-2);
}
.hero-copy .lede { font-size: clamp(15px, 1.4vw, 19px); color: #3d473e; margin: 0 0 30px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--gold); align-self: flex-start;
}
.cta span { transition: transform .25s ease; }
.cta:hover span { transform: translateX(5px); }
.hero-tags {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 20px 0 34px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #42473f;
}
.hero-tags i { color: var(--gold); font-style: normal; }

/* ---------------------------------------------------------------- placeholders */
.ph {
  position: relative; width: 100%; border-radius: 2px;
  background:
    repeating-linear-gradient(135deg, rgba(28,27,24,.03) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, var(--panel), #ece6da);
  border: 1px solid var(--line);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint);
}
.ph-hero { box-shadow: 0 40px 80px -50px rgba(28,27,24,.5); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph:has(img)::after { display: none; }   /* drop the placeholder label once a real image is in */

/* ---------------------------------------------------------------- value band (what it is) */
.value { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.value .eyebrow { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.value-lead { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.01em; margin: 16px 0 0; max-width: 20ch; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.value-grid .vg-num { display: block; font-size: 10px; letter-spacing: .2em; color: var(--gold-ink); margin-bottom: 16px; }
.value-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; margin: 0 0 12px; }
.value-grid p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------------------------------------------------------------- see it in action (video) */
.demo { padding: clamp(48px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.video-frame { margin: 28px 0 0; }
.video-poster {
  position: relative; display: grid; place-items: center; align-content: center; gap: 16px;
  width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); border-radius: 3px; color: #f2efe6;
  background: #1c2620 url(assets/hero.webp) center / cover no-repeat;
  box-shadow: 0 40px 80px -55px rgba(28,27,24,.55);
}
.video-poster::before { content: ''; position: absolute; inset: 0; background: rgba(20,26,21,.5); }
.video-poster > * { position: relative; }
.play {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(3px); transition: transform .25s ease, background .25s ease;
}
.play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.video-poster:hover .play { transform: scale(1.07); background: rgba(255,255,255,.24); }
.video-note { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(242,239,230,.85); }

/* ---------------------------------------------------------------- bands / chapters */
.band { padding: clamp(48px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.band-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.band-head h2 { font-size: clamp(24px, 3.2vw, 40px); margin: 0; }
.band-sub { max-width: 560px; color: var(--muted); margin: 20px 0 44px; }
.engine-badge {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 40px; padding: 9px 16px;
}
.engine-badge svg { fill: var(--gold); }

.film { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.film li { display: flex; flex-direction: column; gap: 10px; }
.film-tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.film-tag em { font-style: normal; color: var(--gold); margin-right: 6px; }

.chapter { padding: clamp(52px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.chapter.alt { background: var(--paper-2); }
.chapter.tight { padding-bottom: clamp(40px, 6vw, 80px); }
.chapter-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; margin-bottom: clamp(34px, 5vw, 64px); }
.chapter-head .num { font-family: var(--serif); font-size: clamp(40px, 6vw, 76px); line-height: .8; color: var(--gold); font-weight: 300; }
.chapter-head h2 { font-size: clamp(26px, 3.6vw, 46px); margin: 0; }
.chapter-sub { color: var(--muted); max-width: 620px; margin: 16px 0 0; }

/* ---------------------------------------------------------------- 01 flow */
.flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.flow li { text-align: center; }
.flow li:not(.flow-arrow) { max-width: 210px; }
.flow li b { display: block; margin-top: 16px; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.flow li small { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.flow-note { text-align: center; color: var(--faint); font-size: 14px; letter-spacing: .01em; margin: clamp(30px, 4vw, 52px) auto 0; max-width: 60ch; }
.flow-ico { width: 170px;  margin: 0 auto; display: grid; place-items: center; }
.flow-ico svg { width: 78px; height: auto; stroke: var(--ink); stroke-width: 1.4; fill: none; }
.flow-ico svg [fill]:not([fill="none"]) { fill: none; stroke: var(--ink); }
.flow-arrow { color: var(--gold); font-size: 20px; }

/* ---------------------------------------------------------------- 02 architecture */
/* height-based so all three read at one real-world scale: same roofline, only length varies */
.arch { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(12px, 2.5vw, 36px); }
.arch figure { margin: 0; }
.bp { position: relative; padding: 18px 0 46px; }
.bp svg { width: 100%; height: auto; stroke: var(--ink); stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; }
.bp img { display: block; height: clamp(66px, 10vw, 122px); width: auto; max-width: none; }
.bp::before { content: attr(data-caption); position: absolute; top: -6px; left: 0; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bp::after  { content: attr(data-dim); position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .1em; color: var(--faint); }

/* ---------------------------------------------------------------- 03 / 04 spec */
.stance, .cabin { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.spec { margin: 0; }
.spec > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.spec dd { margin: 0; }
.sw-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.chip { width: 22px; height: 22px; border-radius: 3px; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.chip.round { border-radius: 50%; }
.chip.on { outline: 1px solid var(--gold); outline-offset: 2px; }
.wheel-ico { width: 26px; height: 26px; }
.range { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 11px; color: var(--muted); }
.range .track { position: relative; height: 2px; background: var(--line); }
.range .track b { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); }

/* ---------------------------------------------------------------- 03 / 04 exploded */
.explode { display: grid; grid-template-columns: minmax(230px, 320px) 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.ex-side .num { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 76px); line-height: .8; color: var(--gold); display: block; margin-bottom: 14px; }
.ex-side .kicker { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.ex-side h2 { font-size: clamp(24px, 3vw, 38px); margin: 0 0 18px; }
.ex-desc { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; max-width: 34ch; }
.modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modules li {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 2px; border-bottom: 1px solid var(--line-2);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s;
}
.modules li svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.3; fill: none; }
.modules li b { color: var(--gold); font-weight: 400; font-size: 16px; }
.modules li:hover { color: var(--gold); }
.modules li:hover svg { stroke: var(--gold); }
.ex-note { color: var(--faint); font-size: 12px; margin: 22px 0 0; }
.ex-media { margin: 0; }
.ex-media img { width: 100%; height: auto; border-radius: 2px; }

.cap-index, .material-families { margin-top: clamp(38px, 6vw, 76px); padding-top: 28px; border-top: 1px solid var(--line); }
.cap-title { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 20px; }
.cap > span { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--green); }
.cap-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cap-chip { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 40px; padding: 9px 16px; }
.cap-chip b { color: var(--gold); font-weight: 400; margin-right: 6px; }
.material-families { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.mf-row { display: flex; gap: 12px; }
.mf { width: 58px; height: 40px; border-radius: 3px; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* ---------------------------------------------------------------- 05 dark panels */
.chapter.dark { background: var(--green); color: #e8e5db; }
.chapter.dark .num.gold { color: var(--gold); }
.chapter.dark .display.light { color: #f2efe6; }
.chapter.dark .chapter-sub { color: #b3c0b2; }
.panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 44px); }
.panels figure { margin: 0; }
.panels figcaption { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #b7c3b6; margin-bottom: 16px; }
.panels img { width: 100%; height: auto; display: block; border-radius: 3px; }
.panels svg { width: 100%; height: auto; stroke: rgba(232,229,219,.7); stroke-width: 1.1; fill: none; }
.panels svg .arrow { stroke: var(--gold); }

/* ---------------------------------------------------------------- 06 scenes */
.scene-ico { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: clamp(18px, 5vw, 64px); flex-wrap: wrap; }
.scene-ico li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scene-ico svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 1.3; fill: none; }
.scenes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* ---------------------------------------------------------------- 07 paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.paths h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 22px 0 8px; }
.paths p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- 08 / 09 process */
.process { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.process > li:not(.proc-arrow) { flex: 1; min-width: 150px; max-width: 230px; }
.process .proc-ico { height: 46px; display: flex; align-items: center; }
.process .proc-ico svg { width: 40px; height: 40px; stroke: var(--ink); stroke-width: 1.2; fill: none; }
.process b { display: block; margin: 14px 0 6px; font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.process small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.proc-arrow { color: var(--gold); align-self: center; font-size: 18px; }
.process-note { color: var(--muted); font-size: 14px; max-width: 640px; margin: 34px 0 0; }

/* ---------------------------------------------------------------- closer */
.closer { padding: clamp(60px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.closer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.closer h2 { font-size: clamp(30px, 4.6vw, 60px); margin: 0 0 22px; }
.closer p { color: var(--muted); max-width: 460px; margin: 0 0 28px; }
.closer-mark { display: flex; flex-direction: column; align-items: center; justify-self: end; }
.big-mono { font-family: var(--serif); font-size: clamp(90px, 14vw, 180px); line-height: .8; color: var(--gold); font-weight: 300; }
.closer-mono { height: clamp(96px, 14vw, 168px); width: auto; display: block; }
.mono-name { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

.site-foot { border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; height: 60px; align-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .stance, .cabin, .closer-inner, .explode { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 30px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hero { min-height: 90vh; background-position: center right -80px; }
  .hero::before { background: linear-gradient(180deg, rgba(240,236,227,.96) 0%, rgba(240,236,227,.78) 32%, rgba(240,236,227,.2) 60%, transparent 78%); }
  .hero-copy { justify-content: flex-start; padding-top: 46px; max-width: 100%; }
  .hero-copy h1 { font-size: clamp(32px, 8.4vw, 62px); }
  .chapter-head { grid-template-columns: 1fr; gap: 12px; }
  .arch { flex-direction: column; align-items: center; gap: 30px; }
  .arch .bp img { height: auto; width: min(80vw, 440px); }
  .panels { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: 1fr; }

  /* mobile nav: burger + dropdown panel */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(28,27,24,.5);
    padding: 6px 0; display: none;
  }
  .site-head.nav-open .nav { display: flex; }
  .nav a { padding: 14px var(--pad); font-size: 12px; }
  .site-head.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-head.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-head.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .flow, .process { flex-direction: column; align-items: center; }
  .flow li:not(.flow-arrow), .process > li:not(.proc-arrow) { max-width: 360px; text-align: center; }
  .process .proc-ico { width: 100%; justify-content: center; }   /* centre the step icons */
  .flow-arrow, .proc-arrow { transform: rotate(90deg); align-self: center; }
  .closer-mark { align-items: flex-start; justify-self: start; }
}

@media (max-width: 560px) {
  .chapter, .band, .demo, .value, .closer { padding-top: 54px; padding-bottom: 54px; }
  .scenes { grid-template-columns: 1fr; }
  .scene-ico { gap: 20px 28px; justify-content: flex-start; }
  .material-families { justify-content: flex-start; }
  .head-inner { gap: 12px; }
  .brand-word { height: 40px; }
  .brand-by { display: none; }
  .hero-copy h1 { font-size: clamp(30px, 9vw, 48px); }
  .value-lead { font-size: clamp(23px, 7.4vw, 32px); }
  .ex-desc { max-width: none; }
}

/* ---------------------------------------------------------------- contact modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(12,14,12,.55); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(28px, 5vw, 52px); box-shadow: 0 50px 100px -40px rgba(12,14,12,.6);
  max-height: 90vh; overflow-y: auto;
}
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--ink); }
.modal-card .eyebrow { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.modal-title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 38px); line-height: 1.05; margin: 12px 0 0; }
.modal-intro { color: var(--muted); margin: 14px 0 28px; }
.cf { display: flex; flex-direction: column; gap: 16px; }
.cf-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cf input, .cf textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; width: 100%;
  transition: border-color .18s ease;
}
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--gold); }
.cf textarea { resize: vertical; min-height: 96px; }
.cf input.invalid, .cf textarea.invalid { border-color: #a3452f; }
.cf-submit { align-self: flex-start; margin-top: 6px; }
.cf-note { font-size: 12px; color: var(--faint); margin: 2px 0 0; letter-spacing: 0; text-transform: none; }
button.cta { background: none; border: 0; border-bottom: 1px solid var(--gold); cursor: pointer; font-family: var(--sans); }
.cf-success { text-align: left; }

@media (max-width: 560px) {
  .cf-row.two { grid-template-columns: 1fr; }
  .modal { padding: 14px; }
  .panels { grid-template-columns: 1fr; }
}

/* contact form: spam honeypot + error/loading states */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cf-error { color: #a3452f; font-size: 13px; margin: 2px 0 0; letter-spacing: 0; text-transform: none; }
.cf-submit[disabled] { opacity: .55; cursor: default; }
