/* ==========================================================================
   Kore Creations · Editorial Magazine
   Layout: magazine spreads. Left-aligned display type, hairline rules,
   chapters that alternate sides, one plum "different issue" for talent.
   Deliberately single-theme (ivory brand world); every colour is set here.
   ========================================================================== */
:root {
  --ivory: #FFFBF6;
  --paper: #F6EEE4;
  --plum: #46295F;
  --plum-deep: #2A1740;
  --purple: #76529F;
  --text: #5E4E6E;
  --gold: #D4A853;
  --gold-soft: #E9CF94;
  --line: rgba(70, 41, 95, .14);
  --line-light: rgba(255, 251, 246, .16);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 1.1s;
  --gutter: clamp(16px, 5vw, 64px);
  --section: clamp(80px, 11vw, 160px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 400 17px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
::selection { background: var(--plum); color: var(--ivory); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--plum); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 16px; }
.select { user-select: all; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); }

/* film grain: one fixed layer, very faint */
.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- Type */
.label {
  font: 500 .72rem/1.4 var(--body);
  letter-spacing: .2em; text-transform: uppercase; color: var(--purple);
}
.display, .title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: var(--plum);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; }
.title { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; }
.display em, .title em, .row-title em, blockquote em, .settled em, .post em {
  font-style: italic; font-weight: 300; color: var(--purple);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 54ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------------------------------------------------------------- Buttons */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.btn-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  font: 500 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-solid { background: var(--plum); color: var(--ivory); }
.btn-solid:hover { background: var(--purple); }
.btn-line { border-color: var(--plum); color: var(--plum); min-height: 42px; padding: 0 20px; }
.btn-line:hover { background: var(--plum); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--plum-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn[disabled] { opacity: .6; cursor: wait; }
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--plum); text-decoration: none; padding-block: 8px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: gap .35s var(--ease);
}
.link:hover { gap: 20px; }
.link-light { color: var(--ivory); }

/* ---------------------------------------------------------------- Header */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; gap: 40px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: rgba(255, 251, 246, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.bar.scrolled { border-bottom-color: var(--line); }
.logo img { height: 46px; width: auto; }
.bar nav { margin-left: auto; }
.links { display: flex; gap: 36px; }
.links a {
  font: 500 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding-block: 6px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.links a:hover, .links a[aria-current] { color: var(--plum); background-size: 100% 1px; }
.menu-btn { display: none; }
.menu { display: none; }

@media (max-width: 860px) {
  .bar { gap: 16px; }
  .bar nav, .bar-cta { display: none; }
  .logo img { height: 38px; }
  .menu-btn {
    display: grid; place-content: center; gap: 7px; margin-left: auto;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .menu-btn i { display: block; width: 26px; height: 1.5px; background: var(--plum); transition: transform .4s var(--ease); }
  .menu-btn.menu-open i:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn.menu-open i:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
  .menu {
    display: flex; flex-direction: column; justify-content: center; gap: 48px;
    position: fixed; inset: 0; z-index: 190; padding: 100px var(--gutter) 40px;
    background: var(--ivory); opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s .45s;
  }
  .menu.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .menu ul { display: grid; gap: 8px; }
  .menu a { font: 300 clamp(2.4rem, 11vw, 3.4rem)/1.15 var(--display); color: var(--plum); text-decoration: none; }
  .menu a[aria-current] { font-style: italic; color: var(--purple); }
  .menu-foot { display: grid; gap: 6px; font-size: .9rem; }
}

/* ---------------------------------------------------------------- Reveal + gold marks
   Content is visible by default. Only once JS has run (html.js) and marked
   the page as ready do below-the-fold pieces wait for their moment. */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }

.mark { position: absolute; pointer-events: none; overflow: visible; }
.mark path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.motion .mark path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.motion .in .mark path, .motion .mark.in path { stroke-dashoffset: 0; }
.mark-under { left: -2%; bottom: -.12em; width: 104%; height: .3em; }
.mark-circle { left: -14%; top: -18%; width: 128%; height: 136%; }
.circled { position: relative; display: inline-block; white-space: nowrap; }

/* ---------------------------------------------------------------- Home 1: the orbit hero
   One rounded plum panel. The phone feed sits in the middle, glossy service
   tiles float around it and lean toward the cursor, the headline overlaps. */
.hero { padding: calc(86px + env(safe-area-inset-top, 0px)) clamp(10px, 1.6vw, 22px) 0; }
.panel {
  position: relative; overflow: hidden; border-radius: clamp(20px, 2.4vw, 34px);
  min-height: clamp(640px, calc(100svh - 104px), 920px);
  display: grid; grid-template-rows: 1fr auto; padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(36px, 4vw, 56px);
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(157, 78, 221, .45), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(212, 168, 83, .22), transparent 70%),
    radial-gradient(50% 50% at 8% 10%, rgba(118, 82, 159, .5), transparent 70%),
    var(--plum-deep);
  color: rgba(255, 251, 246, .8);
  --mx: 0; --my: 0;
}
.stage { position: relative; min-height: clamp(360px, 52svh, 560px); }
.orbs { position: absolute; inset: 0; }
.orb {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  transform: translate(calc(var(--mx) * var(--d) * 22px), calc(var(--my) * var(--d) * 16px)) rotate(var(--r));
  transition: opacity .9s var(--ease), scale .9s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(.25s + var(--i) * 70ms);
}
/* Four finishes that repeat around the orbit: violet, pearl, gold and frosted glass.
   Each tile carries a coloured icon disc and a top sheen so it reads as a glossy object. */
.orb-in {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 9px;
  width: calc(clamp(96px, 8.8vw, 132px) * var(--s, 1)); aspect-ratio: 1; border-radius: 30%;
  font: 600 clamp(.66rem, .8vw, .8rem)/1.15 var(--body); text-align: center; padding: 8px; letter-spacing: .01em;
  color: var(--o-ink); background: var(--o-bg);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .9), inset 0 -10px 18px var(--o-depth), 0 0 0 1px var(--o-rim), 0 26px 44px -18px rgba(10, 0, 20, .75);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s);
}
.orb-in::before { content: ''; position: absolute; inset: 5% 9% auto; height: 40%; border-radius: 40% 40% 50% 50%; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); pointer-events: none; }
.orb-ic { position: relative; display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--o-disc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 12px -6px rgba(20, 0, 40, .5); }
.orb-ic svg { width: 56%; height: auto; stroke: var(--o-icon); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.orb-violet { --o-bg: linear-gradient(150deg, #D9A6FF 0%, #A65BE6 52%, #6E3AA8 100%); --o-ink: #FFFFFF; --o-depth: rgba(50, 10, 90, .35); --o-rim: rgba(255, 255, 255, .25); --o-disc: #FFFBF6; --o-icon: #7A3FC0; }
.orb-pearl { --o-bg: linear-gradient(150deg, #FFFFFF 0%, #F4ECF8 55%, #DCCBEA 100%); --o-ink: var(--plum); --o-depth: rgba(118, 82, 159, .2); --o-rim: rgba(255, 255, 255, .5); --o-disc: linear-gradient(150deg, #B67CF0, #76529F); --o-icon: #FFFFFF; }
.orb-gold { --o-bg: linear-gradient(150deg, #FFF5DC 0%, #EECD87 55%, #CF9F45 100%); --o-ink: var(--plum-deep); --o-depth: rgba(140, 90, 10, .25); --o-rim: rgba(255, 255, 255, .45); --o-disc: var(--plum-deep); --o-icon: #F3D99B; }
.orb-glass { --o-bg: linear-gradient(150deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08)); --o-ink: #FFFFFF; --o-depth: rgba(255, 255, 255, .06); --o-rim: rgba(255, 255, 255, .45); --o-disc: linear-gradient(150deg, #FFE7A8, #D4A853); --o-icon: var(--plum-deep); }
.orb-glass .orb-in { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bead { position: absolute; left: var(--x); top: var(--y); width: var(--z); aspect-ratio: 1; border-radius: 50%; z-index: 1;
  transform: translate(calc(var(--mx) * 1.4 * 22px), calc(var(--my) * 1.4 * 16px));
  animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s);
  box-shadow: inset -3px -4px 8px rgba(0, 0, 0, .25), 0 10px 20px -8px rgba(0, 0, 0, .6);
  transition: opacity .9s var(--ease) calc(.9s + var(--i) * 80ms); }
.bead-violet { background: radial-gradient(circle at 32% 28%, #F1DBFF, #B06EF0 45%, #5B2A92); }
.bead-gold { background: radial-gradient(circle at 32% 28%, #FFF6DE, #E7C277 45%, #A87A26); }
.bead-pearl { background: radial-gradient(circle at 32% 28%, #FFFFFF, #E7DAF0 50%, #A992BF); }
.motion .stage:not(.in) .bead { opacity: 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.motion .stage:not(.in) .orb { opacity: 0; scale: .5; }
.panel .hero-phone {
  position: absolute; left: 50%; top: 4%; z-index: 1; translate: -50% 0;
  width: clamp(170px, 17vw, 250px); aspect-ratio: 9 / 18.5; padding: 24px 9px 9px;
  border: 0; border-radius: 34px; background: #FFFBF6;
  box-shadow: 0 0 0 6px rgba(255, 251, 246, .14), 0 50px 90px -30px rgba(0, 0, 0, .8);
}
.panel .hero-phone .feed { border-radius: 24px; }
.motion .hero-phone .feed-track { animation: feed 18s linear infinite; }
.hero-copy { position: relative; z-index: 3; display: grid; justify-items: center; gap: 22px; text-align: center; margin-top: clamp(-150px, -11vw, -80px); }
.hero-copy::before { content: ''; position: absolute; inset: -70px 12% -40px; z-index: -1; background: radial-gradient(50% 60% at 50% 60%, var(--plum-deep) 35%, transparent 80%); }
.hero-title {
  font: 300 clamp(3rem, 8.4vw, 8rem)/.95 var(--display); color: var(--ivory); letter-spacing: -.035em;
  font-variation-settings: 'opsz' 144, 'SOFT' 50; text-wrap: balance;
}
.hero-copy .lede { max-width: 50ch; color: rgba(255, 251, 246, .78); }
.swap { position: relative; display: inline-block; white-space: nowrap; }
.swap-word {
  display: inline-block; font-style: italic; color: var(--gold-soft);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease);
}
.swap-word.out { opacity: 0; transform: translateY(-.35em); filter: blur(4px); }
.swap-word.pre { opacity: 0; transform: translateY(.35em); filter: blur(4px); transition: none; }
@media (max-width: 760px) {
  .panel { min-height: 0; }
  .stage { min-height: 400px; }
  .orb { left: var(--xm, var(--x)); top: var(--ym, var(--y)); }
  .orb-desk { display: none; }
  .orb-in { width: calc(76px * var(--s, 1)); font-size: .58rem; gap: 5px; border-radius: 26%; }
  .bead { display: none; }
  /* Phones: the mockup and tiles get their own stage, the headline sits fully below it */
  .stage { min-height: 0; height: clamp(330px, 92vw, 400px); }
  .panel .hero-phone { width: clamp(128px, 38vw, 156px); top: 0; padding: 18px 7px 7px; border-radius: 26px; }
  .panel .hero-phone .feed { border-radius: 18px; }
  .orb-in { width: calc(clamp(68px, 19vw, 78px) * var(--s, 1)); }
  .hero-copy { margin-top: 18px; gap: 18px; }
  .hero-copy::before { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); line-height: 1; }
}

/* ---------------------------------------------------------------- Home 2: how we help (bento) */
.help-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.help-head p { max-width: 44ch; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
/* Each tile owns one colour family (tint, edge, ink) drawn from the brand violets and gold,
   so the grid has range but still reads as one set. */
.tile {
  --t-bg: var(--paper); --t-art: var(--ivory); --t-edge: var(--line); --t-ink: var(--purple);
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--t-bg); border: 1.5px solid var(--t-edge); border-radius: 26px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.fam-lilac { --t-bg: #F6F0FB; --t-art: #EDE2F8; --t-edge: #CDB5EA; --t-ink: #7A3FC0; }
.fam-honey { --t-bg: #FCF6EA; --t-art: #F8EBCF; --t-edge: #E3C27F; --t-ink: #8A5F17; }
.fam-blush { --t-bg: #FCF2EE; --t-art: #F8E3DA; --t-edge: #E6B7A4; --t-ink: #9C4A2E; }
.fam-orchid { --t-bg: #FBF1F8; --t-art: #F5E1F0; --t-edge: #DFAAD3; --t-ink: #9A3C88; }
.fam-plum { --t-bg: #F3EEF5; --t-art: #E8DFEE; --t-edge: #A68DBE; --t-ink: var(--plum); }
.tile:hover { transform: translateY(-6px); border-color: var(--t-ink); box-shadow: 0 30px 60px -34px var(--t-edge), 0 18px 40px -30px rgba(46, 26, 64, .5); }
.tile.wide { grid-column: span 2; }
.tile-art { padding: 14px 14px 0; }
.tile .piece { max-width: none; aspect-ratio: 16 / 10; border: 1px solid var(--t-edge); border-radius: 18px; background: var(--t-art); }
.tile:not(.wide) .piece { aspect-ratio: 1 / 1.02; }
.tile-copy { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px 24px 26px; }
.tile h3 { font: 300 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--display); color: var(--plum); letter-spacing: -.02em; }
.tile-what { font-weight: 500; font-size: .86rem; color: var(--t-ink); background: var(--t-art); border: 1px solid var(--t-edge); border-radius: 999px; padding: 4px 12px; }
.tile-creators { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; background: var(--plum-deep); color: rgba(255, 251, 246, .78); grid-column: 1 / -1; min-height: 360px; }
.tile-creators h3 { color: var(--ivory); font-size: clamp(2rem, 3.4vw, 3rem); }
.tile-creators h3 em { font-style: italic; color: var(--gold-soft); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.tile-creators .tile-copy { gap: 18px; padding: clamp(28px, 4vw, 56px); justify-items: start; }
.tile-creators .kit { height: 340px; }
.help .piece-voice .scatter { grid-template-columns: repeat(2, auto); column-gap: 28px; justify-content: start; align-self: start; margin-top: 8%; }
.help .piece-voice .settled { bottom: 16%; }
.help .piece-voice .piece-line { bottom: 12%; width: 40%; }
.help .tile .piece .tasks li, .help .tile .piece .dash { border-color: var(--t-edge); }
.help .piece-run { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.help .piece-run { padding: 6%; gap: 10px; }
.help .piece-run .tasks li { padding: 7px 10px; font-size: .78rem; }
.help .piece-run .chart { height: 44px; }
.help .piece-run .bars { height: 34px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-head { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .tile:not(.wide) .piece { aspect-ratio: 16 / 12; }
  .tile-creators { grid-template-columns: 1fr; }
  .tile-creators .kit { height: 300px; margin-bottom: 20px; }
}

/* ---------------------------------------------------------------- Home 3: close */
.close { padding-top: 0; }
.close-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.close-photo { border-radius: 999px 999px 26px 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); transform: rotate(-2deg); }
.close-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.close-copy { display: grid; gap: 26px; justify-items: start; }
.close-copy .display { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.close-quote { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); font: italic 300 1.3rem/1.4 var(--display); color: var(--plum); max-width: 40ch; }
.close-quote span { display: block; margin-top: 8px; font: 500 .8rem/1.4 var(--body); font-style: normal; color: var(--purple); }
@media (max-width: 760px) { .close-grid { grid-template-columns: 1fr; } .close-photo { max-width: 300px; } }

/* ---------------------------------------------------------------- Arches (founder photos) */
.arch { border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--paper); aspect-ratio: 3 / 4; max-width: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.motion .arch.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 999px 999px 6px 6px); transition: clip-path 1.6s var(--ease); }
.motion .arch.reveal img { transform: scale(1.12); transition: transform 2.2s var(--ease); }
.motion .arch.reveal.in { clip-path: inset(0 0 0 0 round 999px 999px 6px 6px); }
.motion .arch.reveal.in img { transform: scale(1); }


/* ---------------------------------------------------------------- Closing + marquee + footer */
.closing { background: var(--plum); text-align: center; color: rgba(255, 251, 246, .75); }
.closing-inner { display: grid; justify-items: center; gap: 28px; }
.closing .display { color: var(--ivory); font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; }
.closing .display em { color: var(--gold-soft); }

.marquee { overflow: hidden; background: var(--plum-deep); border-top: 1px solid var(--line-light); padding-block: 26px; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: italic 300 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); color: var(--ivory); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 400; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.foot { background: var(--plum-deep); color: rgba(255, 251, 246, .62); padding-block: 64px 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr); gap: 40px; }
.foot-logo { height: 54px; width: auto; margin-bottom: 18px; }
.foot .label { color: var(--gold); margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ivory); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .8rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Inner page heroes */
.page-hero { padding-top: calc(160px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero .wrap > *, .page-hero-grid > div > * { margin-bottom: 26px; }
.page-hero .display { max-width: 17ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: end; }
.contents { border-top: 1px solid var(--plum); padding-top: 18px; }
.contents ol { display: grid; margin-top: 10px; }
.contents a {
  display: flex; gap: 18px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--line);
  font: 400 1.15rem/1.3 var(--display); color: var(--plum); text-decoration: none; transition: padding .4s var(--ease), color .3s;
}
.contents a span { width: 28px; font-style: italic; color: var(--gold); }
.contents a:hover { padding-left: 10px; color: var(--purple); }
.contents-talent a { font-style: italic; }
@media (max-width: 860px) { .page-hero { padding-top: calc(120px + env(safe-area-inset-top, 0px)); } .page-hero-grid { grid-template-columns: 1fr; } }
/* Services hero: the five chapters climb like steps, each in its own colour, with creators set apart in plum. */
.journey ol { display: grid; gap: 10px; }
.journey li { margin-left: calc((4 - var(--i)) * 7%); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.2s + var(--i) * 110ms); }
.journey li.j-talent { margin-left: 0; margin-top: 8px; }
.motion .journey:not(.in) li { opacity: 0; transform: translateX(24px); }
.journey a {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px; text-decoration: none;
  background: var(--t-bg, var(--paper)); border: 1.5px solid var(--t-edge, var(--line)); color: var(--plum);
  box-shadow: 0 14px 28px -24px rgba(46, 26, 64, .6);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.journey a:hover { transform: translateX(-6px); border-color: var(--t-ink, var(--plum)); box-shadow: 0 18px 34px -22px var(--t-edge, rgba(46, 26, 64, .5)); }
.j-num { font: italic 300 1.35rem/1 var(--display); color: var(--t-ink, var(--gold)); }
.j-name { font: 400 1.12rem/1.2 var(--display); }
.j-ic { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 50%; background: var(--t-art); border: 1px solid var(--t-edge); }
.j-ic svg { width: 16px; height: 16px; stroke: var(--t-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.j-talent a { grid-template-columns: 34px minmax(0, 1fr); background: var(--plum-deep); border-color: rgba(212, 168, 83, .45); color: var(--ivory); }
.j-talent .j-num { color: var(--gold-soft); font-style: normal; }
.j-talent .j-name { font-style: italic; color: var(--gold-soft); }
@media (max-width: 860px) { .journey li { margin-left: 0; } }

/* ---------------------------------------------------------------- Chapters */
.chapter { border-top: 1px solid var(--line); }
.chapter:nth-of-type(even) { background: var(--paper); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.chapter.flip .chapter-copy { order: 2; }
.chapter-copy { display: grid; gap: 26px; justify-items: start; }
.chapter-copy .display { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.svcs { display: grid; gap: 30px; width: 100%; }
.svc { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; }
.svc h3 { font: 400 1.45rem/1.2 var(--display); color: var(--plum); }
.svc ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc li { font-size: .84rem; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--plum); }
.chapter-art { position: sticky; top: 120px; }
@media (max-width: 860px) {
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter.flip .chapter-copy { order: 0; }
  .chapter-art { position: static; }
}

/* Every piece sits in the same framed panel. At rest each shows its finished
   state; with motion on it plays once when it scrolls in (.in). */
.piece {
  position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; width: 100%; margin-inline: auto; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
  display: grid; place-items: center;
}
.chapter:nth-of-type(even) .piece { background: #FFFDF9; }
.chapter[class*="fam-"] { background: linear-gradient(180deg, var(--t-bg), var(--ivory) 85%); border-top: 1.5px solid var(--t-edge); }
.chapter[class*="fam-"] .chapter-copy > .label { color: var(--t-ink); }
.chapter[class*="fam-"] .piece { background: var(--t-art); border: 1.5px solid var(--t-edge); border-radius: 22px; }
.chapter[class*="fam-"] .svc { border-color: var(--t-edge); }
.piece svg path, .piece svg rect { stroke: var(--plum); stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* I. scattered questions settle into one line */
.scatter { position: relative; width: 78%; display: grid; gap: 6px; justify-items: start; }
.scatter span {
  font: italic 300 clamp(1.1rem, 2.2vw, 1.6rem)/1.3 var(--display); color: var(--purple);
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(var(--i) * 80ms + .2s);
  text-decoration: line-through; text-decoration-color: rgba(212, 168, 83, .7); opacity: .55;
}
.motion .piece-voice:not(.in) .scatter span { transform: translate(var(--x), calc(var(--y) * 3)) rotate(var(--r)); opacity: 1; text-decoration-color: transparent; }
.settled { position: absolute; bottom: 14%; left: 11%; font: 300 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); color: var(--plum); transition: opacity 1s var(--ease) 1.2s; }
.piece-line { position: absolute; bottom: 11%; left: 11%; width: 60%; height: 6px; }
.piece-line path { stroke: var(--gold) !important; stroke-width: 2.4 !important; stroke-dasharray: 1 1; transition: stroke-dashoffset 1.2s var(--ease) 1.4s; }
.motion .piece-voice:not(.in) .settled { opacity: 0; }
.motion .piece-voice:not(.in) .piece-line path { stroke-dashoffset: 1; }

/* II. a website wireframe draws itself, type and colour arrive */
.piece-look .wire { position: absolute; width: 82%; left: 9%; top: 12%; }
.piece-look .wire * { stroke-dasharray: 1 1; transition: stroke-dashoffset 1.8s var(--ease); }
.piece-look .wire *:nth-child(n+3) { transition-delay: .5s; }
.motion .piece-look:not(.in) .wire * { stroke-dashoffset: 1; }
.specimen { position: absolute; left: 16%; top: 27%; font: 300 clamp(4rem, 9vw, 6.4rem)/1 var(--display); color: var(--plum); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; font-style: italic; transition: opacity 1s var(--ease) 1s, transform 1s var(--ease) 1s; }
.motion .piece-look:not(.in) .specimen { opacity: 0; transform: translateY(14px); }
.swatches { position: absolute; right: 16%; top: 32%; display: grid; grid-template-columns: repeat(2, 34px); gap: 10px; }
.swatches i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 1px solid var(--line); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(1.3s + var(--i) * 120ms); }
.motion .piece-look:not(.in) .swatches i { transform: scale(0); }
.piece-look:hover .swatches i { transform: scale(1.12) rotate(8deg); transition-delay: calc(var(--i) * 50ms); }

/* III. a phone feed scrolls inside a camera viewfinder; the shutter blinks */
.phone { position: relative; width: 44%; aspect-ratio: 9 / 18.5; border: 1.5px solid var(--plum); border-radius: 26px; padding: 22px 8px 8px; background: var(--ivory); }
.notch { position: absolute; top: 9px; left: 50%; width: 30%; height: 5px; border-radius: 4px; background: var(--plum); transform: translateX(-50%); opacity: .8; }
.feed { height: 100%; overflow: hidden; border-radius: 16px; }
.feed-track { display: grid; gap: 8px; }
.motion .piece-story.in .feed-track { animation: feed 16s linear infinite; }
.piece-story:hover .feed-track { animation-play-state: paused; }
@keyframes feed { to { transform: translateY(calc(-50% - 4px)); } }
.post { aspect-ratio: 4 / 5; border-radius: 10px; display: grid; place-items: end start; padding: 12px; }
.post span { font: 300 clamp(.95rem, 1.6vw, 1.2rem)/1.15 var(--display); }
.post.p0 { background: var(--plum); color: var(--ivory); } .post.p0 em { color: var(--gold-soft); }
.post.p1 { background: var(--paper); color: var(--plum); border: 1px solid var(--line); }
.post.p2 { background: var(--gold-soft); color: var(--plum-deep); }
.finder { position: absolute; inset: 8%; pointer-events: none; }
.finder i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--gold); }
.finder i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; } .finder i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.finder i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .finder i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.rec { position: absolute; top: 4px; right: 40px; font: 500 .66rem/1 var(--body); letter-spacing: .2em; color: var(--plum); display: flex; gap: 6px; align-items: center; }
.rec::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #B4405A; }
.motion .piece-story.in .rec::before { animation: blink 1.4s steps(2, start) infinite; }
.flash { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; }
.motion .piece-story.in .flash { animation: flash 7s var(--ease) 1.2s infinite; }
@keyframes blink { to { visibility: hidden; } }
@keyframes flash { 0%, 92%, 100% { opacity: 0; } 94% { opacity: .85; } }

/* IV. a lead's real path: ad, page, follow-up, booked call. A dot rides the gold line. */
.piece-grow { place-items: center; padding: 6%; }
.g-steps { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4%; align-items: end; }
.g-step { display: grid; justify-items: center; gap: 10px; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.3s + var(--i) * .45s); }
.motion .piece-grow:not(.in) .g-step { opacity: 0; transform: translateY(14px); }
.g-card {
  width: 100%; aspect-ratio: 3 / 4; display: grid; align-content: start; gap: 7%; padding: 10%;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 30px -22px rgba(46, 26, 64, .5);
}
.g-name { font: 500 .7rem/1.2 var(--body); color: var(--plum); text-align: center; }
.g-ad-img { aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(150deg, #D9A6FF, #76529F); }
.g-ad-line, .g-field { height: 7px; border-radius: 4px; background: var(--paper); }
.g-field { height: 12px; border: 1px solid var(--line); background: #FFFFFF; }
.g-ad-btn { justify-self: start; padding: 3px 7px; border-radius: 999px; background: var(--plum); color: var(--ivory); font: 600 .5rem/1.2 var(--body); white-space: nowrap; }
.g-page .g-ad-btn { background: var(--gold); color: var(--plum-deep); }
.g-msg { padding: 8px; border-radius: 10px 10px 10px 3px; background: #F5E1F0; font: 500 .56rem/1.35 var(--body); color: var(--plum); }
.g-cal { align-self: center; justify-self: center; display: grid; place-items: center; width: 74%; aspect-ratio: 1; border-radius: 10px; border: 1.5px solid var(--gold); background: #FFF8E6; }
.g-cal b { font: 600 .62rem/1 var(--body); color: var(--purple); letter-spacing: .1em; text-transform: uppercase; }
.g-cal i { font: italic 300 1.2rem/1 var(--display); color: var(--plum); }
.g-call .g-card { display: grid; place-items: center; background: linear-gradient(160deg, #FFFFFF, #FFF6E2); border-color: rgba(212, 168, 83, .5); }
.g-path { position: absolute; left: 6%; right: 6%; top: 50%; width: 88%; height: 30px; translate: 0 -50%; z-index: 0; }
.piece .g-path path { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1 1; transition: stroke-dashoffset 2s var(--ease) .2s; }
.motion .piece-grow:not(.in) .g-path path { stroke-dashoffset: 1; }
.g-dot { position: absolute; z-index: 2; top: 50%; left: 9%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 168, 83, .25); opacity: 0; }
.motion .piece-grow.in .g-dot { animation: lead 5s var(--ease) 2.2s infinite; }
@keyframes lead { 0% { left: 9%; opacity: 0; } 8% { opacity: 1; } 85% { left: 91%; opacity: 1; } 100% { left: 91%; opacity: 0; } }
@media (max-width: 520px) { .g-name { font-size: .6rem; } .g-msg { font-size: .5rem; padding: 5px; } }

/* V. a dashboard draws in and tasks tick themselves off */
.piece-run { align-content: center; gap: 18px; padding: 9%; }
.dash { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 16px; background: #FFFFFF; }
.dash-top { display: flex; justify-content: space-between; font: 500 .66rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--plum); margin-bottom: 12px; }
.live { display: flex; align-items: center; gap: 6px; color: var(--purple); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3E9A6B; }
.chart { width: 100%; height: 70px; }
.chart path { stroke: var(--gold) !important; stroke-width: 2.2 !important; stroke-dasharray: 1 1; transition: stroke-dashoffset 2s var(--ease) .3s; }
.motion .piece-run:not(.in) .chart path { stroke-dashoffset: 1; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 10px; }
.bars i { flex: 1; height: var(--h); background: var(--paper); border-top: 2px solid var(--purple); transform-origin: bottom; transition: transform .8s var(--ease); transition-delay: calc(.6s + var(--i) * 80ms); }
.motion .piece-run:not(.in) .bars i { transform: scaleY(0); }
.tasks { width: 100%; display: grid; gap: 8px; }
.tasks li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--plum); padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; }
.tick { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1px solid var(--purple); position: relative; background: var(--purple); transition: background .4s var(--ease); transition-delay: calc(2s + var(--i) * .5s); }
.tick::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--ivory); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.motion .piece-run:not(.in) .tick { background: transparent; }

/* ---------------------------------------------------------------- Ways to work */
.ways { padding-block: clamp(64px, 8vw, 110px); }
.ways-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 28px; }
.ways-list li { border-top: 1px solid var(--plum); padding-top: 20px; display: grid; gap: 8px; }
.ways-list h3 { font: italic 300 1.7rem/1.2 var(--display); color: var(--plum); }
@media (max-width: 760px) { .ways-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Talent: a different issue (plum, gold, centred) */
.talent { background: var(--plum-deep); color: rgba(255, 251, 246, .76); position: relative; overflow: hidden; }
.talent::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(212, 168, 83, .35); pointer-events: none; }
.talent-head { display: grid; justify-items: center; gap: 24px; text-align: center; max-width: 860px; margin-inline: auto; }
.talent-head .lede { margin-inline: auto; }
.talent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; margin-block: clamp(56px, 8vw, 100px); }
.kit { position: relative; height: 380px; cursor: pointer; }
/* A small deck: the front card is fully readable, the next two peek out behind it.
   JS rotates data-pos every few seconds; without JS the first card simply stays in front. */
.kit-card {
  position: absolute; left: 50%; top: 50%; width: 240px; height: 300px; margin: -150px 0 0 -170px;
  background: var(--ivory); border-radius: 6px; padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  transition: transform .9s var(--ease), opacity .9s var(--ease), background .9s var(--ease);
}
.kit-card .label { color: var(--purple); }
.kit-card b { align-self: end; font: 300 1.45rem/1.2 var(--display); color: var(--plum); }
.kit-n { font: italic 300 .95rem/1 var(--display); color: var(--purple); }
.kit-card:nth-child(1) { background: var(--gold-soft); }
.kit-card:nth-child(2) { background: #E4D0F7; }
.kit-card:nth-child(3) { background: #F2D6EC; }
.kit-card:nth-child(4) { background: var(--ivory); }
.kit-card[data-pos="0"] { z-index: 4; transform: none; }
.kit-card[data-pos="1"] { z-index: 3; transform: translate(26%, -5%) rotate(7deg) scale(.94); }
.kit-card[data-pos="2"] { z-index: 2; transform: translate(50%, -10%) rotate(14deg) scale(.88); }
.kit-card[data-pos="3"] { z-index: 1; transform: translate(50%, -10%) rotate(14deg) scale(.82); opacity: 0; }
.kit-card:not([data-pos="0"]) b, .kit-card:not([data-pos="0"]) .kit-n { opacity: 0; transition: opacity .3s; }
.motion .kit:not(.in) .kit-card { transform: translateY(30px); opacity: 0; }
.handles { display: grid; gap: 26px; }
.handles li { border-top: 1px solid var(--line-light); padding-top: 18px; }
.handles h3 { font: italic 300 1.7rem/1.2 var(--display); color: var(--gold-soft); margin-bottom: 6px; }
.talent-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-bottom: 56px; }
.talent-steps li { display: grid; gap: 8px; }
.talent-steps span { font: italic 300 2.4rem/1 var(--display); color: var(--gold); }
.talent-steps strong { font: 400 1.2rem/1.3 var(--display); color: var(--ivory); }
@media (max-width: 860px) {
  .talent-grid { grid-template-columns: 1fr; }
  .kit { height: 330px; }
  .kit-card { width: 200px; height: 260px; margin: -130px 0 0 -150px; padding: 18px; }
  .kit-card b { font-size: 1.2rem; }
  .talent-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .talent-steps { grid-template-columns: 1fr; } .talent::before { inset: 8px; } }

/* ---------------------------------------------------------------- About */
.story-grid, .note-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.note-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.story-copy, .note-copy { display: grid; gap: 22px; max-width: 58ch; }
.arch-tall { aspect-ratio: 2 / 3; }
.story { padding-top: 0; }
.values { background: var(--paper); }
.values-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 32px; }
.values-list li { border-top: 1px solid var(--plum); padding-top: 20px; display: grid; gap: 10px; }
.values-list h3 { font: italic 300 1.6rem/1.2 var(--display); color: var(--plum); }
.signature { font: italic 300 2rem/1.1 var(--display); color: var(--plum); }
.signature span { display: block; margin-top: 8px; font: 500 .72rem/1.4 var(--body); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.note .arch { transform: rotate(2deg); }
.motion .note .arch.reveal.in { transform: rotate(2deg); }
@media (max-width: 860px) {
  .story-grid, .note-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .arch, .note .arch { max-width: 360px; }
}
@media (max-width: 480px) { .values-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Contact */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.form { display: grid; gap: 22px; }
.who { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.who legend { float: left; margin-right: 8px; }
.who label { cursor: pointer; }
.who input { position: absolute; opacity: 0; }
.who span { display: inline-block; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; font: italic 300 1.15rem/1 var(--display); color: var(--plum); transition: background .3s, color .3s, border-color .3s; }
.who input:checked + span { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.who input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field label { font: 500 .72rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--body); color: var(--plum);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; border: 1px solid var(--line); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B4405A; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #2F7A55; } .form-status.error { color: #A3354E; }
.contact-side { display: grid; gap: 18px; padding: 32px; background: var(--paper); }
.details { display: grid; gap: 14px; margin-bottom: 14px; }
.details li { display: grid; gap: 2px; color: var(--plum); }
.details .label { font-size: .64rem; }
.next { display: grid; gap: 14px; counter-reset: n; }
.next li { display: grid; gap: 2px; padding-left: 36px; position: relative; counter-increment: n; }
.next li::before { content: counter(n); position: absolute; left: 0; top: -2px; font: italic 300 1.5rem/1 var(--display); color: var(--gold); }
.next strong { font-weight: 500; color: var(--plum); }
@media (max-width: 860px) { .contact-grid, .field-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Reduced motion: everything still, finished */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Cookie notice (only when the Meta Pixel is on) */
.consent {
  position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(640px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px; padding: 16px 18px 16px 22px; border-radius: 20px;
  background: var(--plum-deep); color: rgba(255, 251, 246, .85); font-size: .9rem; line-height: 1.45;
  box-shadow: 0 30px 60px -24px rgba(20, 0, 40, .6); border: 1px solid rgba(212, 168, 83, .35);
  transform: translate(-50%, 24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.consent.show { transform: translate(-50%, 0); opacity: 1; }
.consent a { color: var(--gold-soft); }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent .btn { padding: 10px 16px; font-size: .7rem; }
.consent .btn-line { color: var(--ivory); border-color: rgba(255, 251, 246, .4); }
.consent .btn-solid { background: var(--gold); color: var(--plum-deep); border-color: var(--gold); }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent-btns .btn { flex: 1; } }

/* ---------------------------------------------------------------- Privacy page */
.legal { padding-bottom: clamp(64px, 8vw, 110px); }
.legal-copy { display: grid; gap: 16px; max-width: 68ch; }
.legal-copy h2 { font: 400 1.5rem/1.2 var(--display); color: var(--plum); margin-top: 18px; }
.foot-base a { color: inherit; }
