/* ADWORKS prototype "slash" (2026-11-30)
   One landing split by a literal "/": Creative & Branding on the light left,
   automated marketing (monthly plans) on the dark right. Each side has its own
   page and its own menu. Brand system kept: Fraunces + Archivo, teal = Branding,
   purple = Marketing. Instrument Sans (condensed) is the Marketing side's voice. */

@property --s { syntax: '<number>'; inherits: true; initial-value: 50; }
@property --w { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --d { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  /* light side, Creative */
  --paper: #f4f3ef;
  --paper-2: #e9e7e1;
  --ink: #231f20;          /* brand near-black */
  --ink-2: #4a4647;
  --mute: #75716e;
  --teal: #00bbaf;          /* Branding */
  --teal-deep: #00776f;

  /* dark side, Marketing */
  --night: #141216;
  --night-2: #1d1a20;
  --night-3: #2a2630;
  --moon: #ecebe6;
  --moon-2: #b3aeb8;
  --purple: #9e63b9;        /* Marketing */
  --lilac: #c9a6dc;

  --display: 'Fraunces', Georgia, serif;
  --cond: 'Instrument Sans', 'Archivo', system-ui, sans-serif;
  --ui: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1320px;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --quart: cubic-bezier(.25, 1, .5, 1);
  --inout: cubic-bezier(.87, 0, .13, 1);
  --k: 9;                   /* half the slant of the slash, in % of width */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.t-marketing :focus-visible, .side--dark :focus-visible { outline-color: var(--lilac); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ====================================================================
   LANDING: the slash
   ==================================================================== */
.landing { background: var(--paper); color: var(--ink); overflow: hidden; height: 100svh; }
.landing ::selection { background: var(--teal); color: var(--ink); }

.split {
  --s: 50;
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  --d: 1;                 /* how far the black has flooded out from the slash (0 while loading) */
  transition: --s 1.1s var(--expo), --d 1s var(--inout);
}
.split.is-loading { --d: 0; }
.split[data-hover="light"] { --s: 56; }
.split[data-hover="dark"]  { --s: 41; }
.split[data-pick="light"]  { --s: 112; transition-duration: .8s; transition-timing-function: var(--inout); }
.split[data-pick="dark"]   { --s: -12; transition-duration: .8s; transition-timing-function: var(--inout); }

.side { position: absolute; inset: 0; }
.side--light { background: var(--paper); color: var(--ink); }
.side--dark { color: var(--moon); pointer-events: none; }
/* the dark side clips its background and its text as two still layers; its 3D
   canvas is cut along the slash inside WebGL instead (much cheaper) */
.side--dark .side__bg, .side--dark .side__ui {
  position: absolute; inset: 0;
  clip-path: polygon(calc((var(--s) + var(--k)) * 1%) 0, calc((var(--s) + var(--k) + var(--d) * 120) * 1%) 0, calc((var(--s) - var(--k) + var(--d) * 120) * 1%) 100%, calc((var(--s) - var(--k)) * 1%) 100%);
}
.side--dark .side__bg { background: var(--night); }
.side--dark .side__ui { pointer-events: auto; }
.side--dark ::selection { background: var(--purple); color: var(--moon); }

/* while loading: only the drawing slash shows; 3D, logos and the real slash wait */
.split.is-loading .sidelogo, .split.is-loading .slash { opacity: 0 !important; }
.split:not(.is-ready) .scene3d { opacity: 0 !important; }      /* the 3D arrives with the titles, after the flood */
.slash { transition: opacity .2s; }

/* the slash itself: a hairline from teal (bottom) to purple (top) */
.slash {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(to top, var(--teal), var(--purple));
  clip-path: polygon(calc((var(--s) + var(--k)) * 1% - 1.5px) 0, calc((var(--s) + var(--k)) * 1% + 1.5px) 0, calc((var(--s) - var(--k)) * 1% + 1.5px) 100%, calc((var(--s) - var(--k)) * 1% - 1.5px) 100%);
}

/* each side's top row: its own logo and its own menu.
   Resting and on Creative: the dark logo sits top left, the Creative menu beside it.
   On Marketing: the dark logo leaves to the left (its menu follows into its place)
   and the light logo arrives from the right, pushing the Marketing menu left. */
.sidetop { position: absolute; top: 24px; z-index: 4; display: flex; align-items: center; gap: 2.2rem; --lw: 132px; }
.sidetop--light { left: var(--gutter); }
.sidetop--dark { right: var(--gutter); }
.sidelogo { display: block; width: var(--lw); flex: none; transition: transform .9s var(--expo), opacity .6s var(--quart); }
.sidelogo img { width: 100%; height: auto; }
.sidenav { font-size: 14px; letter-spacing: .01em; transition: transform .9s var(--expo); }
.sidenav__in { display: flex; gap: 1.6rem; }
.sidenav a { text-decoration: none; opacity: .78; transition: opacity .3s var(--quart); }
.sidenav a:hover { opacity: 1; }
.side--dark .sidenav__in { gap: 1.25rem; }
.side--dark .sidenav { font-family: var(--cond); font-stretch: 80%; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }

.sidetop--dark .sidelogo { transform: translateX(calc(100% + var(--gutter) + 24px)); opacity: 0; }
.sidetop--dark .sidenav { transform: translateX(calc(var(--lw) + 2.2rem)); }
.split[data-hover="dark"] .sidetop--dark .sidelogo { transform: none; opacity: 1; }
.split[data-hover="dark"] .sidetop--dark .sidenav { transform: none; }
.split[data-hover="dark"] .sidetop--light .sidelogo { transform: translateX(calc(-100% - var(--gutter) - 24px)); opacity: 0; }
.split[data-hover="dark"] .sidetop--light .sidenav { transform: translateX(calc(-1 * (var(--lw) + 2.2rem))); }

/* 3D: each scene lives in its own side, runs only while that side is hovered */
.scene3d { position: absolute; display: block; pointer-events: none; visibility: hidden; opacity: .5; filter: saturate(.25); transition: opacity .8s var(--quart), filter .8s var(--quart); }
.scene3d.is-on { visibility: visible; }
.side--light .scene3d { left: 0; top: 6%; width: 58%; height: 54%; }
.side--dark .scene3d { right: 0; top: 0; width: 72%; height: 100%; }
.split[data-hover="light"] .side--light .scene3d, .split[data-pick="light"] .side--light .scene3d,
.split[data-hover="dark"] .side--dark .scene3d, .split[data-pick="dark"] .side--dark .scene3d { opacity: 1; filter: none; }

/* side content: each pitch sits in the corner the slash leaves widest */
.pitch { position: absolute; width: min(28vw, 430px); transition: opacity .5s var(--quart), transform .9s var(--expo); }
.side--light .pitch { left: var(--gutter); bottom: max(36px, 6.5vh); }
.side--dark .pitch { width: min(38vw, 580px); right: var(--gutter); bottom: max(36px, 6.5vh); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.side--dark .pitch p { margin-left: auto; }
/* a soft pool of night behind the Marketing copy, so it reads over the office */
.side--dark .pitch { z-index: 2; }
.side--dark .pitch::before { content: ""; position: absolute; z-index: -1; inset: -60px -50px -50px -90px; background: radial-gradient(closest-side, rgba(20,18,22,.92), rgba(20,18,22,.75) 55%, rgba(20,18,22,0)); pointer-events: none; }
.split[data-hover="dark"] .side--light .pitch,
.split[data-hover="light"] .side--dark .pitch { opacity: .38; }


.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.4rem; }
.eyebrow img { width: 22px; height: 22px; }
.side--light .eyebrow { color: var(--teal-deep); }
.side--dark .eyebrow { color: var(--lilac); }

.pitch h2 { margin: 0 0 1.2rem; }
.h-creative { font-family: var(--display); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 50; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: .98; letter-spacing: -.035em; }
.h-creative em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.h-creative { font-size: clamp(2.6rem, 4.3vw, 4.6rem); line-height: 1; }

/* one-line title that follows the 3D scene's steps while Creative is hovered */
.h-creative { align-self: stretch; width: 100%; }
.h-creative .ht { position: relative; display: block; height: 1.12em; overflow: hidden; white-space: nowrap; }
.ht__line { position: absolute; left: 0; top: 0; display: block; white-space: nowrap; transform: translateY(105%); opacity: 0; }
/* one line at a time: the old one is gone (0.3s) before the new one starts */
.ht__line.is-on { transform: none; opacity: 1; transition: transform .7s var(--expo) .3s, opacity .45s var(--quart) .3s; }
.ht__line.is-out { transform: translateY(-105%); opacity: 0; transition: transform .3s cubic-bezier(.7,0,.84,0), opacity .22s cubic-bezier(.7,0,.84,0); }
.h-creative .ht__line em { display: inline; padding: 0; }
.side--light .pitch { width: min(44vw, 640px); }

.h-market { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: clamp(2.3rem, 4.1vw, 4.3rem); line-height: .9; letter-spacing: -.01em; }
.h-market span { color: var(--lilac); }
.side--dark .h-market, .side--dark .h-market span { white-space: nowrap; }
.side--dark .pitch p { max-width: 36ch; }
.pitch p { margin: 0 0 1.4rem; font-size: 16px; max-width: 40ch; }
.side--light .pitch p { color: var(--ink-2); }
.side--dark .pitch p { color: var(--moon-2); }
.terms { display: block; margin-top: 1rem; font-size: 13px; letter-spacing: .02em; }
.terms b { color: var(--moon); font-weight: 600; }
.side--light .terms { color: var(--mute); }
.side--light .terms b { color: var(--ink); }
.side--dark .terms { color: var(--moon-2); }

/* doors */
.door { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 600; font-size: 15px; padding: .95rem 1.4rem; border-radius: 12px; border: 1.5px solid currentColor; transition: background .35s var(--quart), color .35s var(--quart), transform .5s var(--expo); }
.door .arr { display: inline-block; transition: transform .5s var(--expo); }
.door:hover .arr { transform: translateX(5px); }
.side--light .door:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.side--dark .door:hover { background: var(--moon); color: var(--night); border-color: var(--moon); }

/* intro choreography (after the slash sweeps in) */
.split .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--expo), transform .9s var(--expo); }
.split.is-ready .reveal { opacity: 1; transform: none; }
.split.is-ready .reveal.d1 { transition-delay: .35s; }
.split.is-ready .reveal.d2 { transition-delay: .5s; }
.split.is-ready .reveal.d3 { transition-delay: .65s; }
.split.is-ready .reveal.d4 { transition-delay: .8s; }
.split[data-pick] .reveal { opacity: 0; transition-delay: 0s; transition-duration: .3s; }
/* the doors lean toward the cursor without the reveal's delay */
.split.is-ready .door.reveal { transition: opacity .9s var(--expo) .65s, transform .5s var(--expo), background .35s var(--quart), color .35s var(--quart), border-color .35s var(--quart); }

/* phones and small tablets: the slash lies down, Creative on top */
@media (max-width: 860px) {
  :root { --k: 5; }
  .landing, .split { height: 100svh; min-height: 0; }
  .side--dark .side__bg, .side--dark .side__ui { clip-path: polygon(0 calc((var(--s) + var(--k)) * 1%), 100% calc((var(--s) - var(--k)) * 1%), 100% calc((var(--s) - var(--k) + var(--d) * 120) * 1%), 0 calc((var(--s) + var(--k) + var(--d) * 120) * 1%)); }
  .slash { clip-path: polygon(0 calc((var(--s) + var(--k)) * 1% - 1.5px), 100% calc((var(--s) - var(--k)) * 1% - 1.5px), 100% calc((var(--s) - var(--k)) * 1% + 1.5px), 0 calc((var(--s) + var(--k)) * 1% + 1.5px)); background: linear-gradient(to right, var(--teal), var(--purple)); }
  .split[data-hover] { --s: 50; }
  .sidetop { top: 16px; --lw: 110px; }
  .sidetop--dark, .sidenav, .scene3d { display: none; }
  .pitch { width: auto; left: var(--gutter) !important; right: var(--gutter) !important; transform: none !important; }
  .pitch { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .side--light .pitch { top: 56px; bottom: auto; height: calc(45% - 66px); }
  .side--dark .pitch { top: 55%; bottom: auto; height: 45%; text-align: left; align-items: flex-start; }
  .side--dark .pitch p { margin-left: 0; }
  .pitch p { font-size: 14.5px; margin-bottom: 1rem; line-height: 1.5; }
  .eyebrow { margin-bottom: .7rem; font-size: 11.5px; }
  .pitch h2 { margin-bottom: .7rem; }
  .h-creative { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
  .h-market { font-size: clamp(2.1rem, 10vw, 3.3rem); }
  .side--dark .h-market, .side--dark .h-market span { white-space: normal; }
  .side--dark .pitch { width: auto; }
  .side--dark .pitch::before { display: none; }
  .side--light .pitch { width: auto; }
  .door { padding: .75rem 1.1rem; font-size: 14px; }
  .terms { margin-top: .6rem; font-size: 12px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .pitch p { display: none; }
}

/* ====================================================================
   SIDE PAGES: shared frame
   ==================================================================== */
.page { min-height: 100vh; }
.t-creative { background: var(--paper); color: var(--ink); }
.t-creative ::selection { background: var(--teal); color: var(--ink); }
.t-marketing { background: var(--night); color: var(--moon); }
.t-marketing ::selection { background: var(--purple); color: var(--moon); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* header: logo, the side's own menu, the slash switch, the call */
.bar { position: sticky; top: 0; z-index: 50; }
.bar::before { content: ""; position: absolute; inset: 0; opacity: .92; }
.t-creative .bar::before { background: var(--paper); border-bottom: 1px solid rgba(35,31,32,.08); }
.t-marketing .bar::before { background: var(--night); border-bottom: 1px solid rgba(236,235,230,.08); }
.bar__in { position: relative; display: flex; align-items: center; gap: 2rem; height: 72px; }
.bar__logo { display: block; width: 128px; flex: none; }
.bar__menu { display: flex; gap: 1.7rem; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.bar__menu a { text-decoration: none; opacity: .75; transition: opacity .3s var(--quart); }
.bar__menu a:hover, .bar__menu a[aria-current] { opacity: 1; }
.t-marketing .bar__menu { font-family: var(--cond); font-stretch: 80%; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13.5px; }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }

/* the switch reads like the landing: Creative / Marketing */
.switch { display: inline-flex; align-items: baseline; gap: .45rem; font-size: 14px; text-decoration: none; white-space: nowrap; }
.switch b { font-weight: 600; }
.switch i { font-style: normal; font-size: 22px; line-height: 0; transform: translateY(3px); display: inline-block; }
.t-creative .switch i { color: var(--teal-deep); }
.t-marketing .switch i { color: var(--lilac); }
.switch span { opacity: .55; transition: opacity .3s var(--quart); }
.switch:hover span { opacity: 1; }

.btn { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: .8rem 1.2rem; border-radius: 12px; border: 1.5px solid currentColor; transition: background .35s var(--quart), color .35s var(--quart), border-color .35s var(--quart); white-space: nowrap; }
.btn .arr { transition: transform .5s var(--expo); }
.btn:hover .arr { transform: translateX(4px); }
.t-creative .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-marketing .btn:hover { background: var(--moon); color: var(--night); border-color: var(--moon); }
.btn--big { font-size: 16px; padding: 1.05rem 1.6rem; }

.burger { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .4s var(--expo), opacity .2s; }
.bar.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bar.is-open .burger span:nth-child(2) { opacity: 0; }
.bar.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .bar__menu, .bar__end .btn { display: none; }
  .burger { display: block; margin-left: 0; }
  .bar__end { gap: .6rem; }
  .bar.is-open .bar__menu { display: flex; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; padding: 1.5rem var(--gutter); font-size: 26px; }
  .t-creative .bar.is-open .bar__menu { background: var(--paper); font-family: var(--display); }
  .t-marketing .bar.is-open .bar__menu { background: var(--night); font-size: 30px; }
  .bar.is-open .bar__menu li { border-bottom: 1px solid rgba(127,127,127,.18); }
  .bar.is-open .bar__menu a { display: block; padding: .8rem 0; opacity: 1; }
  .bar.is-open .bar__menu .m-only { display: block; }
}
.bar__menu .m-only { display: none; }
@media (max-width: 520px) {
  .bar__logo { width: 108px; }
  .switch { font-size: 13px; }
  .bar__in { gap: .8rem; }
  .burger { padding: .5rem .2rem .5rem .4rem; }
}
@media (max-width: 380px) {
  .bar__logo { width: 92px; }
  .switch { font-size: 12.5px; gap: .3rem; }

}

/* sections */
.sec { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2rem; }
.t-creative .kicker { color: var(--teal-deep); }
.t-marketing .kicker { color: var(--lilac); }
.lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 56ch; }
.t-creative .lede { color: var(--ink-2); }
.t-marketing .lede { color: var(--moon-2); }

.h2c { font-family: var(--display); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 50; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1.4rem; text-wrap: balance; }
.h2c em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.h2m { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: .92; letter-spacing: -.005em; margin: 0 0 1.4rem; text-wrap: balance; }
.h2m span { color: var(--lilac); }

/* scroll reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--expo), transform 1s var(--expo); }
.rv.in { opacity: 1; transform: none; }
.rv.r2 { transition-delay: .1s; } .rv.r3 { transition-delay: .2s; } .rv.r4 { transition-delay: .3s; }

/* the cross-over: a full-screen sweep along the slash when switching sides */
.sweep { position: fixed; inset: 0; z-index: 200; pointer-events: none; --w: 0; transition: --w .75s var(--inout); }
.sweep.to-dark { background: var(--night); clip-path: polygon(calc((100 - var(--w) * 1.25 + 12) * 1%) 0, 100% 0, 100% 100%, calc((100 - var(--w) * 1.25 - 12) * 1%) 100%); }
.sweep.to-light { background: var(--paper); clip-path: polygon(0 0, calc((var(--w) * 1.25 + 12) * 1%) 0, calc((var(--w) * 1.25 - 12) * 1%) 100%, 0 100%); }
.sweep.go { --w: 100; }

/* the page you land on wipes off the colour you came from */
.enter { position: fixed; inset: 0; z-index: 199; pointer-events: none; --w: 100; transition: --w .9s var(--expo); }
.enter.from-dark { background: var(--night); clip-path: polygon(calc((100 - var(--w) * 1.25 + 12) * 1%) 0, 100% 0, 100% 100%, calc((100 - var(--w) * 1.25 - 12) * 1%) 100%); }
.enter.from-light { background: var(--paper); clip-path: polygon(0 0, calc((var(--w) * 1.25 + 12) * 1%) 0, calc((var(--w) * 1.25 - 12) * 1%) 100%, 0 100%); }
.enter.off { --w: 0; }

/* footer */
.foot { padding: 3.5rem 0 2.5rem; font-size: 14px; }
.t-creative .foot { border-top: 1px solid rgba(35,31,32,.1); }
.t-marketing .foot { border-top: 1px solid rgba(236,235,230,.1); }
.foot__row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.foot a { text-decoration: none; opacity: .7; }
.foot a:hover { opacity: 1; }
.foot small { opacity: .55; font-size: 12.5px; }

/* ====================================================================
   CREATIVE PAGE
   ==================================================================== */
.c-hero { padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.c-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.c-hero h1 { font-family: var(--display); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 50; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .94; letter-spacing: -.045em; margin: 0; }
.c-hero h1 em { display: block; font-style: italic; font-weight: 300; color: var(--teal-deep); padding-left: .55em; }
.c-hero__side p { color: var(--ink-2); margin: 0 0 1.8rem; max-width: 42ch; }
.c-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn--fill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-creative .btn--fill:hover { background: var(--teal-deep); border-color: var(--teal-deep); }

/* slanted frames: every picture on this side is cut by the slash */
.slants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(3rem, 6vw, 5rem); height: clamp(260px, 34vw, 460px); }
.slant { position: relative; margin-left: -6%; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); overflow: hidden; }
.slant:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.slant:last-child { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.slant img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--expo); }
.slant:hover img { transform: scale(1.02); }
.slant figcaption { position: absolute; left: 16%; bottom: 14px; max-width: 64%; font-size: 11.5px; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: var(--paper); background: rgba(35,31,32,.82); padding: .35rem .55rem; border-radius: 4px; }
.slant:first-child figcaption { left: 12px; }
.slants { width: calc(100% + 6%); }

/* stages: a real sequence, so it is numbered */
.stages { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.5rem; border-top: 1.5px solid var(--ink); }
.stage { padding: 1.8rem 1.6rem 0 0; position: relative; }
.stage + .stage { padding-left: 1.6rem; border-left: 1px solid rgba(35,31,32,.12); }
.stage__n { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 3rem; line-height: 1; color: var(--teal-deep); }
.stage h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.02em; margin: 1rem 0 .6rem; }
.stage p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* work */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 3rem; }
.work { text-decoration: none; display: block; }
.work figure { margin: 0 0 1rem; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--expo); }
.work:hover img { transform: scale(1.04); }
.work small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.work h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; letter-spacing: -.02em; margin: .3rem 0 .35rem; }
.work p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 44ch; }
.w-a { grid-column: 1 / span 7; } .w-a figure { aspect-ratio: 16 / 10; }
.w-b { grid-column: 9 / span 4; margin-top: 5rem; } .w-b figure { aspect-ratio: 3 / 4; }
.w-c { grid-column: 1 / span 4; } .w-c figure { aspect-ratio: 3 / 4; }
.w-d { grid-column: 6 / span 7; margin-top: 3rem; } .w-d figure { aspect-ratio: 16 / 10; }
.w-e { grid-column: 2 / span 5; } .w-f { grid-column: 8 / span 5; margin-top: 4rem; }

/* the skill hand-off, and the bridge to the other side */
.skill { background: var(--ink); color: var(--paper); border-radius: 0; }
.skill .kicker { color: var(--teal); }
.skill .h2c { color: var(--paper); }
.skill .h2c em { color: var(--teal); }
.skill__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.skill p { color: #c9c5c2; max-width: 50ch; }
.skill__file { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13.5px; line-height: 1.75; background: #2c2829; border-radius: 10px; padding: 1.4rem 1.6rem; color: #d9d5d0; overflow: hidden; }
.skill__file b { color: var(--teal); font-weight: 500; }
.skill__file i { color: #8f8a86; font-style: normal; }
.bridge { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(244,243,239,.14); text-decoration: none; }
.bridge__slash { font-family: var(--cond); font-stretch: 75%; font-weight: 600; font-size: 64px; line-height: .8; background: linear-gradient(to top, var(--teal), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bridge b { display: block; font-size: 17px; }
.bridge span { color: #c9c5c2; font-size: 14.5px; }
.bridge:hover .arr { transform: translateX(5px); }
.bridge .arr { display: inline-block; transition: transform .5s var(--expo); }

/* founder note */
.note { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; max-width: 860px; }
.note img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.note__big { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; }
.note__who { margin: 1rem 0 0; font-size: 14px; color: var(--mute); }

.endcta { text-align: left; }
.endcta .h2c { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 14ch; }

@media (max-width: 860px) {
  .c-hero__grid, .skill__grid { grid-template-columns: 1fr; }
  .slants { grid-template-columns: repeat(2, 1fr); height: auto; width: 100%; gap: .5rem 0; }
  .slant, .slant:first-child, .slant:last-child { margin-left: 0; height: 220px; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
  .slant:nth-child(even) { margin-left: -8%; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage:nth-child(3) { border-left: 0; padding-left: 0; }
  .stage { padding-bottom: 2rem; }
  .works { grid-template-columns: 1fr 1fr; }
  .w-a, .w-b, .w-c, .w-d, .w-e, .w-f { grid-column: auto / span 2; margin-top: 0; }
  .w-b, .w-c { grid-column: auto / span 1; }
  .w-b figure, .w-c figure { aspect-ratio: 3 / 4; }
}
@media (max-width: 520px) {
  .stages { grid-template-columns: 1fr; }
  .stage + .stage { border-left: 0; padding-left: 0; border-top: 1px solid rgba(35,31,32,.12); }
  .w-b, .w-c { grid-column: auto / span 2; }
  .note { grid-template-columns: 1fr; }
}

/* ---------------------------------------------- Creative: case studies */
@font-face { font-family: 'Inter'; src: url(fonts/inter-normal-latin-bec94a.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Raleway Miller'; src: url(img/miller/raleway.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }
.c-hero__price { margin: 1.3rem 0 0; font-size: 14px; color: var(--mute); }
.c-hero__price b { color: var(--ink); }

.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.teaser { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-height: 300px; padding: 1.8rem 2rem; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; transition: transform .8s var(--expo); }
.teaser:hover { transform: translateY(-4px); }
.teaser--app { background: #2A1F45; }
.teaser--corp { background: #273B64; }
.teaser__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.teaser b { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1; margin: .7rem 0 .5rem; }
.teaser__line { max-width: 26ch; font-size: 15px; opacity: .8; }
.teaser__phones { position: absolute; right: -10px; bottom: -70px; display: flex; gap: 10px; transform: rotate(-8deg); }
.teaser__phones img { width: 92px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.teaser__phones img:nth-child(2) { transform: translateY(-30px); }
.teaser__lockup { position: absolute; right: 2rem; bottom: 2rem; width: 46%; opacity: .95; }

.steps6 { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.steps6 li { padding: 1.6rem 1.6rem 1.8rem 0; border-bottom: 1px solid rgba(35,31,32,.12); }
.steps6 li:not(:nth-child(3n + 1)) { padding-left: 1.6rem; border-left: 1px solid rgba(35,31,32,.12); }
.steps6 span { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 2.2rem; color: var(--teal-deep); line-height: 1; }
.steps6 h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; letter-spacing: -.02em; margin: .7rem 0 .45rem; }
.steps6 p { margin: 0; color: var(--ink-2); font-size: 15px; }

.case { padding: clamp(3rem, 7vw, 6rem) 0; margin-top: 3rem; }
.case-app { background: #F9F6FA; }
.case-corp { background: #F6F7FA; }
.case__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: 3rem; }
.case__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case__badge { display: table; margin-bottom: .9rem; font-family: var(--display); font-style: italic; font-size: 15px; padding: .42rem .9rem; border-radius: 999px; }
.case-app .case__badge { color: #fff; background: #3B2D5C; }
.case-corp .case__badge { color: #fff; background: #273B64; }
.case-app .case__tag { color: #B8287A; }
.case-corp .case__tag { color: #F04923; }
.case__name { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.04em; line-height: .95; margin: .6rem 0 1.2rem; }
.case-app .case__name { color: #3B2D5C; }
.case-corp .case__name { font-family: 'Raleway Miller', var(--ui); font-weight: 300; letter-spacing: -.02em; color: #273B64; }
.case__lede { margin: 0; color: var(--ink-2); max-width: 52ch; }
.case__phones { display: flex; gap: 14px; justify-content: center; }
.case__phones img { width: 30%; max-width: 190px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(42,31,69,.45); }
.case__phones img:nth-child(2) { transform: translateY(-26px); }
.case__photo { width: 100%; border-radius: 14px; }

/* what they needed, what we made */
.needs { columns: 3; column-gap: 1rem; }
.need { break-inside: avoid; margin-bottom: 1rem; background: #fff; border-radius: 16px; padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; }
.need__q { margin: 0 0 .9rem; font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
.made { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.made li { font-size: 13.5px; line-height: 1.35; padding: .38rem .7rem; border-radius: 8px; }
.case-app .made li { background: #F4EDF8; color: #3B2D5C; }
.case-corp .made li { background: #E9EDF5; color: #273B64; }
.need__pic { margin-top: 1rem; width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 16 / 9; }
.need__pic--sketch { aspect-ratio: 4 / 3; }
.need__row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.need__row img { width: 44px; height: 44px; }
.need__row--icons img { width: 54px; height: 54px; border-radius: 12px; }
.need__row--mi img { width: 46px; height: 46px; padding: 9px; border-radius: 10px; background: #273B64; }   /* the icons are drawn for indigo */
.need__row--faces img { width: calc(50% - .25rem); aspect-ratio: 3 / 4; height: auto; object-fit: contain; object-position: center bottom; border-radius: 12px; background: radial-gradient(120% 80% at 50% 90%, #3C527E, #273B64 60%, #1B2A49); }


.need-stack { break-inside: avoid; }   /* the icon and its motion stay together, one under the other */
.need__appicon { width: 96px; height: 96px; margin-top: 1rem; border-radius: 22px; box-shadow: 0 14px 30px -12px rgba(59,45,92,.4); }
.reveal-box { position: relative; margin-top: 1rem; aspect-ratio: 4 / 3; border-radius: 12px; background: #F9F6FA; display: grid; place-items: center; overflow: hidden; }
.reveal-box__anim { width: 62%; height: 80%; }
.reveal-box__still { position: absolute; width: 40%; transition: opacity .3s; }
.reveal-box.is-live .reveal-box__still { opacity: 0; }
.reveal-box__replay { position: absolute; right: .7rem; bottom: .7rem; font: 600 12.5px/1 var(--ui); color: #3B2D5C; background: #fff; border: 1.5px solid #E8E2EE; border-radius: 999px; padding: .5rem .85rem; cursor: pointer; }
.reveal-box__replay:hover { border-color: #3B2D5C; }
.need__logo { margin-top: 1rem; display: grid; place-items: center; padding: 1.6rem; border-radius: 12px; background: #F9F6FA; }
.need__logo img { width: 58%; max-width: 200px; }
.need__pic + .need__pic { margin-top: .6rem; }

/* huddlie: the working prototype, live in a phone */
.case__live { display: flex; align-items: center; gap: 2rem; justify-content: center; }
.live-phone { position: relative; flex: none; width: 300px; height: calc(300px * 844 / 390); margin: 0; border-radius: 40px; padding: 0; background: #15111D; box-shadow: 0 0 0 9px #15111D, 0 40px 80px -30px rgba(42,31,69,.6); overflow: hidden; }
.live-phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform: scale(calc(300 / 390)); transform-origin: 0 0; background: #F9F6FA; }
.live-phone__still { display: none; }
.case__live-note { display: grid; gap: .6rem; max-width: 220px; }
.case__live-note b { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; color: #3B2D5C; }
.case__live-note span { font-size: 14px; color: var(--ink-2); }

/* Miller: Miles, live in 3D */
.miles-stage { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 3 / 4; border-radius: 22px; background: radial-gradient(120% 80% at 50% 90%, #3C527E, #273B64 60%, #1B2A49); overflow: hidden; }
.miles-stage__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: opacity .6s var(--quart); }
.miles-stage canvas { position: absolute; left: -30%; top: -35%; width: 130%; height: 135%; pointer-events: none; opacity: 0; transition: opacity .6s var(--quart); }
.miles-stage.is-live canvas { opacity: 1; }
.miles-stage.is-live .miles-stage__still { opacity: 0; }
.miles-stage__tag { position: absolute; left: 1rem; top: 1rem; font: 600 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(240,73,35,.92); padding: .5rem .7rem; border-radius: 999px; }

/* huddlie: the strip of app screens, as on the full case study */
.hd-strip { margin-top: clamp(2.5rem, 5vw, 4rem); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.hd-strip::-webkit-scrollbar { display: none; }
.hd-strip__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); width: max-content; margin-inline: auto; padding-bottom: 4.5rem; }
.hd-phone { margin: 0; position: relative; flex: none; width: clamp(140px, 11.6vw, 178px); aspect-ratio: 390 / 844; border-radius: clamp(22px, 3.2vw, 34px); background: #15121c; padding: clamp(5px, .6vw, 7px); box-shadow: 0 30px 60px -32px rgba(42,31,69,.5); scroll-snap-align: center; transition: transform .5s var(--expo); }
.hd-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(clamp(22px, 3.2vw, 34px) - 6px); }
.hd-phone:nth-child(even) { transform: translateY(2.2rem); }
.hd-phone:hover { transform: translateY(-.4rem); }
.hd-phone figcaption { position: absolute; left: 0; right: 0; top: calc(100% + .8rem); text-align: center; font-size: .78rem; color: var(--mute); }

/* big case study buttons */
.case__btn { margin-top: 1.8rem; font-size: 17px; padding: 1.15rem 1.7rem; border-radius: 14px; }
.case__btn--app { background: #3B2D5C; color: #fff; border-color: #3B2D5C; }
.case__btn--app:hover { background: #2A1F45 !important; border-color: #2A1F45 !important; color: #fff !important; }
.case__btn--corp { background: #273B64; color: #fff; border-color: #273B64; }
.case__btn--corp:hover { background: #F04923 !important; border-color: #F04923 !important; color: #fff !important; }
.case__live-note .case__btn { margin-top: .6rem; font-size: 15px; padding: .9rem 1.2rem; justify-self: start; }

/* Miles: a wider box with Miller's logo inside */
.case-corp .case__head { grid-template-columns: .82fr 1.18fr; }
.miles-box { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; border-radius: 22px; overflow: hidden; background: url(img/miller/pattern-indigo.svg) center / 220px, radial-gradient(120% 90% at 70% 90%, #3C527E, #273B64 60%, #1B2A49); background-blend-mode: soft-light, normal; min-height: 500px; }
.miles-box__brand { display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; padding: 2rem 0 2rem 2rem; color: #fff; }
.miles-box__brand img { width: 88%; max-width: 230px; }
.miles-box__brand p { margin: auto 0 0; font: 400 15px/1.5 'Raleway Miller', var(--ui); color: #D6DCE9; max-width: 24ch; }
.miles-box__brand p b { display: block; font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: .3rem; }
.miles-box__brand .miles-stage__tag { position: static; align-self: flex-start; }
.miles-box .miles-stage { width: 100%; aspect-ratio: auto; height: 100%; min-height: 460px; background: none; border-radius: 0; justify-self: stretch; }

/* identity boxes: logo systems, typography, avatars */
.idgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1rem; }
.dsys--corp { margin: 0 0 1rem; }   /* Miller: identity first, then the smaller items */
.idbox { background: #fff; border-radius: 18px; padding: clamp(1.4rem, 2.4vw, 2rem); }
.idbox h4 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; margin: .6rem 0 1.2rem; }
.case-corp .idbox h4 { font-family: 'Raleway Miller', var(--ui); font-weight: 300; }
.idbox p { color: var(--ink-2); font-size: 15px; margin: 0 0 1.4rem; max-width: 60ch; }
.idbox--avatars, .idbox--wide { grid-column: 1 / -1; }
.idbox--avatars { background: linear-gradient(135deg, #F4EDF8, #FBE4F1); }
.avatars { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); }
.avatars figure { margin: 0; text-align: center; }
.avatars img { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 14px 22px rgba(59,45,92,.18)); transition: transform .8s var(--expo); }
.avatars figure:hover img { transform: translateY(-6px) rotate(-3deg); }
.avatars figcaption { margin-top: .6rem; font-size: 13px; font-weight: 600; color: #3B2D5C; }
.logos { display: grid; gap: .6rem; }
.logos--3 { grid-template-columns: repeat(3, 1fr); }
.logos--6 { grid-template-columns: repeat(6, 1fr); }
.logos figure { margin: 0; aspect-ratio: 1.25; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; box-shadow: inset 0 0 0 1px rgba(35,31,32,.07); position: relative; }
.logos img { max-width: 52%; max-height: 52%; }
.logos img.wide { max-width: 82%; max-height: 40%; }
.logos img.icon { max-width: 40%; border-radius: 22%; }
.logos figcaption { position: absolute; left: .6rem; bottom: .45rem; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: rgba(35,31,32,.55); }
.logos figure[style*="#273B64"] figcaption, .logos figure[style*="#1B2A49"] figcaption, .logos figure[style*="#F04923"] figcaption, .logos figure[style*="#2A1F45"] figcaption, .logos figure[style*="#3B2D5C"] figcaption { color: rgba(255,255,255,.7); }
.voices { display: grid; gap: 1.1rem; }
.voices div { border-top: 1px solid rgba(35,31,32,.1); padding-top: .9rem; }
.voices p { margin: 0 0 .3rem; line-height: 1.15; max-width: none; }
.voices small { font-size: 12.5px; color: var(--mute); }
.voices small b { color: var(--ink); font-weight: 600; }
.idbox--raleway .voices p { font-family: 'Raleway Miller', var(--ui); }
.idbox--wide .voices { grid-template-columns: 1.3fr .9fr 1.2fr; gap: 1.6rem; align-items: end; }
.weights { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: 2rem; color: #273B64; }

/* design systems */
.dsys { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 1rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 18px; }
.dsys--app { background: #2A1F45; color: #F4EFF8; }
.dsys--corp { background: #273B64; color: #fff; }
.dsys h4 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.025em; line-height: 1.05; margin: .7rem 0 .8rem; }
.dsys--corp h4 { font-family: 'Raleway Miller', var(--ui); font-weight: 300; }
.dsys p { margin: 0; opacity: .82; font-size: 15px; }
.dsys .case__tag { color: inherit; opacity: .75; }
.dsys__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; margin: 1.4rem 0 0; }
.dsys__stats div { display: flex; align-items: baseline; gap: .6rem; }
.dsys__stats dt { font-family: var(--display); font-size: 2rem; line-height: 1; color: #F05BAE; }
.dsys__stats dd { margin: 0; font-size: 13.5px; opacity: .8; }
.tokens { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.tok { background: rgba(255,255,255,.06); border-radius: 12px; padding: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.tok i { height: 54px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tok code { grid-column: 1 / -1; font-size: 12px; opacity: .8; }
.ratio { display: flex; height: 44px; border-radius: 10px; overflow: hidden; margin-top: 1.4rem; }
.ratio i { display: flex; align-items: center; padding-left: .7rem; color: #fff; font-style: normal; font-size: 13px; font-weight: 700; }
.msys__sw { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.msys__sw span { display: flex; flex-direction: column; justify-content: flex-end; min-height: 82px; padding: .6rem .7rem; border-radius: 10px; font: 12px/1.3 'Raleway Miller', var(--ui); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.msys__sw em { font-style: normal; font-weight: 700; }
.msys__type { margin: 1rem 0 0; font-family: 'Raleway Miller', var(--ui); font-size: 2.6rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.msys__type small { font-size: 13px; opacity: .7; }
.case__more { display: inline-flex; gap: .6rem; margin-top: 1.6rem; font-weight: 600; text-decoration: none; }
.case__more .arr { transition: transform .5s var(--expo); }
.case__more:hover .arr { transform: translateX(4px); }

/* add a team member */
.team__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
.team__form { display: grid; gap: .9rem; background: #fff; border-radius: 16px; padding: 1.4rem; }
.team__form label { display: grid; gap: .35rem; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.team__form input { font: 500 16px/1.2 var(--ui); color: var(--ink); text-transform: none; letter-spacing: 0; padding: .7rem .8rem; border-radius: 10px; border: 1.5px solid #e3dfd6; background: var(--paper); outline: none; transition: border-color .3s var(--quart); }
.team__form input:focus { border-color: var(--teal-deep); }
.team__form input.is-over { border-color: #F04923; }
.team__note { margin: .2rem 0 0; font-size: 12.5px; color: var(--mute); }
.mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mcard { position: relative; aspect-ratio: 1.75; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 20px 40px -18px rgba(27,42,73,.35); overflow: hidden; font-family: 'Raleway Miller', var(--ui); color: #273B64; }
.mcard--front { padding: 7% 8%; }
.mcard__logo { width: 42%; }
.mcard__qr { position: absolute; left: 8%; bottom: 9%; width: 27%; aspect-ratio: 1; }
.mcard__qr svg, .msig__qr svg { width: 100%; height: 100%; display: block; }
.mcard__who { position: absolute; right: 11%; bottom: 9%; text-align: right; display: grid; gap: 1px; max-width: 56%; }
.mcard__who b { font-weight: 600; font-size: clamp(11px, 1.15vw, 15px); }
.mcard__who i { font-style: normal; color: #F04923; font-size: clamp(9px, .9vw, 12px); margin-bottom: 3px; }
.mcard__who span { font-size: clamp(8px, .8vw, 11px); }
.mcard__bar { position: absolute; right: 4%; top: 52%; bottom: 0; width: 3.2%; background: #273B64; }
.mcard--back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; }
.mcard--back img { width: 30%; }
.mcard--back span { font-size: clamp(8px, .8vw, 11px); }
.msig { display: flex; gap: 1.4rem; align-items: flex-start; background: #fff; border-radius: 12px; padding: 1.4rem 1.6rem; margin-top: 1rem; font-family: 'Raleway Miller', var(--ui); color: #273B64; }
.msig__mark { width: 60px; }
.msig__body { border-left: 2px solid #F04923; padding-left: 1.2rem; display: grid; gap: 2px; font-size: 13.5px; }
.msig__body b { font-size: 16px; font-weight: 700; }
.msig__body i { font-style: normal; font-weight: 600; color: #383637; margin-bottom: 6px; }
.msig__qr { margin-top: 8px; display: grid; gap: 3px; width: 64px; }
.msig__qr > div { width: 64px; height: 64px; }
.msig__qr small { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: #9AA6C0; white-space: nowrap; }
.checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.checks li { position: relative; padding: .55rem .8rem .55rem 2.2rem; border-radius: 10px; background: #fff; font-size: 14px; }
.checks li::before { content: ""; position: absolute; left: .8rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23231f20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks li.is-fail { background: #FDEDE8; }
.checks li.is-fail::before { background: #F04923 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks li.is-fail::after { content: attr(data-msg); display: block; font-size: 12.5px; color: #B23A1B; margin-top: 2px; }
.team.is-blocked .mcards, .team.is-blocked .msig { opacity: .55; filter: saturate(.4); transition: opacity .3s, filter .3s; }

/* client portal */
.portal { background: var(--paper-2); }
.portal__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.portal p { color: var(--ink-2); max-width: 50ch; }
.portal__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; }
.portal__list li { font-size: 14.5px; color: var(--ink-2); border-top: 1px solid rgba(35,31,32,.14); padding-top: .8rem; }
.portal__list b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: .2rem; }
.portal__shot { position: relative; margin: 0; }
.portal__shot img { width: 100%; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(35,31,32,.45); }
.portal__phone { position: absolute; right: -4%; bottom: -10%; width: 26% !important; border-radius: 18px !important; }

@media (min-width: 861px) and (max-width: 1180px) { .needs { columns: 2; } .logos--6 { grid-template-columns: repeat(4, 1fr); } .case-corp .case__head { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .teasers, .case__head, .dsys, .portal__grid, .team__grid { grid-template-columns: 1fr; }
  .needs { columns: 1; }
  .idgrid { grid-template-columns: 1fr; }
  .idbox--wide .voices { grid-template-columns: 1fr; }
  .avatars { grid-template-columns: repeat(3, 1fr); }
  .logos--6 { grid-template-columns: repeat(3, 1fr); }
  .miles-box { grid-template-columns: 1fr; }
  .miles-box__brand { padding: 1.6rem 1.6rem 0; }
  .miles-box .miles-stage { min-height: 420px; }
  .case__btn { white-space: normal; font-size: 15.5px; padding: 1rem 1.2rem; max-width: 100%; }
  .case__live { flex-direction: column; }
  .live-phone { display: none; }
  .case__live-note { max-width: none; }
  .case__live-note b { display: none; }   /* no live phone on phones: the button opens it */
  .steps6 { grid-template-columns: 1fr 1fr; }
  .steps6 li, .steps6 li:not(:nth-child(3n + 1)) { padding: 1.2rem 1rem 1.4rem 0; border-left: 0; }
  .steps6 li:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(35,31,32,.12); }
  .tokens { grid-template-columns: repeat(2, 1fr); }
  .mcards { grid-template-columns: 1fr; }
  .mcard__who b { font-size: 15px; } .mcard__who i { font-size: 12px; } .mcard__who span, .mcard--back span { font-size: 11px; }
  .portal__list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .steps6 { grid-template-columns: 1fr; } .steps6 li:nth-child(even) { padding-left: 0; border-left: 0; } .msig { flex-direction: column; } }

/* ------------------------------------------------------------- About page */
.ab-top { padding-top: clamp(2.5rem, 6vw, 5rem); }
.ab-top__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ab-portrait { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 958 / 1197; box-shadow: 0 40px 80px -40px rgba(35,31,32,.55); }
.ab-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ab-portrait .lower3 { left: 0; bottom: 9%; }
.ab-top__copy p:not(.kicker) { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 48ch; }
.ab-top__copy .h2c { margin-bottom: 1.6rem; }
.ab-hero { padding: 0; background: #0f0e0f; }
.ab-photo { position: relative; margin: 0; height: min(86vh, 900px); min-height: 460px; overflow: hidden; }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* the lower third: a TV-style name plate across the bottom of the photo */
.lower3 { position: absolute; left: var(--gutter); bottom: clamp(2rem, 7vh, 4.5rem); display: grid; gap: .25rem; padding: .75rem 1.2rem .8rem 1rem; border-left: 4px solid var(--teal); background: rgba(244,243,239,.94); border-radius: 0 12px 12px 0; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); animation: l3in 1s var(--expo) .3s both; }
.lower3__name { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.lower3__role { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
@keyframes l3in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.ab-intro__grid, .ab-lead__grid, .ab-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ab-intro__copy p, .ab-why__grid p { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; margin: 0 0 1.1rem; }
.ab-intro h1 { margin-bottom: 0; }
.ab-role { margin: -.6rem 0 1.6rem; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.ab-quote { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1.4rem; max-width: 24ch; }
.ab-quote em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.ab-lead__grid p { color: var(--ink-2); max-width: 54ch; }
.ab-mail { font-weight: 600; color: var(--ink); }
.ab-stats { margin: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.ab-stats div { display: grid; grid-template-columns: 7rem 1fr; align-items: baseline; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(35,31,32,.12); }
.ab-stats dt { font-family: var(--display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); letter-spacing: -.03em; line-height: 1; color: var(--teal-deep); }
.ab-stats dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ab-why { background: var(--paper-2); }
.ab-why .h2c { margin: 0; }
@media (max-width: 860px) {
  .ab-intro__grid, .ab-lead__grid, .ab-why__grid, .ab-top__grid { grid-template-columns: 1fr; }
  .ab-portrait { max-width: 460px; }
  .ab-photo { height: 70vh; min-height: 380px; }
  .ab-photo img { object-position: 48% 30%; }
  .lower3 { left: 0; right: auto; padding: .7rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .lower3 { animation: none; } }

/* ------------------------------------------------ Blog, posts and Terms */
.post-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 1.4rem; }
.crumbs a { color: var(--teal-deep); text-decoration: none; }
.crumbs i { font-style: normal; color: var(--teal-deep); }
.post-hero h1 { font-family: var(--display); font-weight: 400; font-variation-settings: 'opsz' 144, 'SOFT' 50; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.04em; margin: 0 0 1.4rem; max-width: 16ch; text-wrap: balance; }
.post-hero h1 em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.post-hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 0 0 2rem; }
.byline { display: flex; align-items: center; gap: .9rem; font-size: 14px; color: var(--mute); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; color: var(--ink); font-size: 15px; }
.article-body { max-width: 68ch; margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.7; color: var(--ink-2); }
.article-body .lede { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; letter-spacing: -.015em; color: var(--ink); margin: 0 0 1.8rem; }
.article-body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 2.6rem 0 .8rem; }
.article-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--ink); margin: 2rem 0 .6rem; }
.article-body p { margin: 0 0 1.2rem; }
.article-body a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body ul, .article-body ol { padding-left: 1.2rem; margin: 0 0 1.4rem; }
.article-body li { margin: .3rem 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 1.4rem 0; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { font-size: 13.5px; color: var(--mute); margin-top: -.6rem; }
.article-body blockquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--teal); font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.article-body strong { color: var(--ink); }
.post-cta { max-width: calc(68ch + 4rem); margin: 0 auto clamp(4rem, 8vw, 6rem); padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 18px; background: var(--ink); color: var(--paper); }
.post-cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 .6rem; }
.post-cta p { color: #c9c5c2; margin: 0 0 1.4rem; max-width: 52ch; }
.post-cta .btn { color: var(--paper); }
.post-cta .btn--fill { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.post-cta .btn:hover { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--paper) !important; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.posts li { border-bottom: 1px solid rgba(35,31,32,.12); }
.postrow { display: grid; grid-template-columns: 10rem 1fr auto; gap: 1rem 2rem; align-items: baseline; padding: clamp(1.4rem, 3vw, 2.2rem) 0; text-decoration: none; }
.postrow__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.postrow h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5rem; transition: color .3s var(--quart); }
.postrow h2 em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.postrow p { margin: 0 0 .6rem; color: var(--ink-2); max-width: 60ch; }
.postrow small { color: var(--mute); font-size: 13px; }
.postrow__go { font-size: 1.4rem; transition: transform .5s var(--expo); }
.postrow:hover h2 { color: var(--teal-deep); }
.postrow:hover .postrow__go { transform: translate(4px, -4px); }
.more-posts { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.more-posts h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; letter-spacing: -.02em; margin: 0 0 1rem; }
.legal-meta { font-size: 14px; color: var(--mute); }
@media (max-width: 760px) {
  .postrow { grid-template-columns: 1fr; gap: .4rem; }
  .postrow__go { display: none; }
}

/* ====================================================================
   MARKETING PAGE
   ==================================================================== */
.m-hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.m-hero h1 { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: clamp(3.4rem, 11vw, 11rem); line-height: .86; letter-spacing: -.01em; margin: 0 0 2.2rem; }
.m-hero h1 span { display: block; }
.m-hero h1 .lil { color: var(--lilac); }
.m-hero__row { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: end; }
.m-hero__row p { color: var(--moon-2); margin: 0; max-width: 56ch; font-size: clamp(16px, 1.3vw, 18px); }
.m-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn--lilac { background: var(--lilac); color: var(--night); border-color: var(--lilac); }
.t-marketing .btn--lilac:hover { background: var(--moon); border-color: var(--moon); }
.rhythm { display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(236,235,230,.12); font-family: var(--cond); font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--moon-2); }
.rhythm b { color: var(--moon); font-weight: 600; }

/* signature: this week's queue */
.queue { background: var(--night-2); border: 1px solid rgba(236,235,230,.08); border-radius: 18px; padding: clamp(1rem, 2vw, 1.6rem); margin-top: 3rem; }
.queue__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; padding: .2rem .4rem 1.2rem; font-size: 13px; color: var(--moon-2); }
.queue__top b { font-family: var(--cond); font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; color: var(--moon); font-size: 15px; }
.queue__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.qcol { background: var(--night); border-radius: 12px; padding: .9rem; min-height: 290px; }
.qcol h4 { margin: 0 0 .8rem; font-family: var(--cond); font-stretch: 80%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--moon-2); display: flex; align-items: center; gap: .5rem; }
.qcol h4 i { width: 7px; height: 7px; border-radius: 50%; background: var(--moon-2); }
.qcol--check h4 i { background: var(--lilac); }
.qcol--ok h4 i { background: var(--teal); }
.qcol--out h4 i { background: var(--moon); }
.qcard { background: var(--night-3); border-radius: 9px; padding: .75rem .8rem; margin-bottom: .6rem; font-size: 13.5px; line-height: 1.4; transition: opacity .5s var(--quart); }
.qcard small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); margin-bottom: .25rem; }
.qcard .tick { display: block; margin-top: .45rem; font-size: 11.5px; color: var(--moon-2); }
.qcard.is-moving { animation: qin .7s var(--expo); }
@keyframes qin { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
.queue__note { margin: 1rem .4rem 0; font-size: 12.5px; color: var(--moon-2); }

/* what runs: four lanes */
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(236,235,230,.1); margin-top: 3.5rem; border-radius: 16px; overflow: hidden; }
.lane { background: var(--night); padding: 1.8rem 1.5rem 2rem; }
.lane h3 { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0 0 1.2rem; }
.lane h3 span { display: block; font-family: var(--ui); font-stretch: 100%; text-transform: none; font-weight: 500; font-size: 13px; color: var(--lilac); margin-bottom: .5rem; letter-spacing: .02em; }
.lane ul { list-style: none; margin: 0; padding: 0; }
.lane li { padding: .8rem 0; border-top: 1px solid rgba(236,235,230,.08); font-size: 15px; color: var(--moon-2); }
.lane li b { display: block; color: var(--moon); font-weight: 600; font-size: 15.5px; margin-bottom: .15rem; }

/* install, run, report: a real sequence */
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 3.5rem; }
.cyc { border-top: 2px solid var(--lilac); padding-top: 1.4rem; }
.cyc__when { font-family: var(--cond); font-stretch: 80%; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--lilac); }
.cyc h3 { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: .9; margin: .5rem 0 1rem; }
.cyc p { color: var(--moon-2); margin: 0; font-size: 15.5px; }

/* the promise */
.promise { background: var(--moon); color: var(--night); }
.promise .kicker { color: #6d3f84; }
.promise .h2m span { color: #6d3f84; }
.promise__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.promise p { color: #4a4650; max-width: 50ch; }
.gate { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.gate li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(20,18,22,.12); }
.gate li::before { counter-increment: g; content: counter(g); font-family: var(--cond); font-stretch: 75%; font-weight: 600; font-size: 2rem; line-height: 1; color: #6d3f84; }
.gate b { display: block; font-size: 16px; }
.gate span { color: #4a4650; font-size: 14.5px; }
.promise .bridge { border-top-color: rgba(20,18,22,.14); }
.promise .bridge span { color: #4a4650; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; align-items: stretch; }
.plan { background: var(--night-2); border: 1px solid rgba(236,235,230,.08); border-radius: 18px; padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.plan--mid { background: var(--night-3); border-color: rgba(201,166,220,.4); }
.plan__tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lilac); font-weight: 600; min-height: 1.2em; }
.plan h3 { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: 2.6rem; line-height: 1; margin: .5rem 0 .6rem; }
.plan__for { color: var(--moon-2); font-size: 15px; margin: 0 0 1.4rem; }
.plan__price { font-family: var(--cond); font-stretch: 80%; font-size: 1.15rem; padding: 1rem 0; border-top: 1px solid rgba(236,235,230,.1); border-bottom: 1px solid rgba(236,235,230,.1); margin-bottom: 1.2rem; }
.plan__price small { display: block; font-family: var(--ui); font-stretch: 100%; font-size: 12.5px; color: var(--moon-2); margin-top: .2rem; }
.draft { display: inline-block; font-family: var(--ui); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--night); background: #e9c46a; padding: .15rem .45rem; border-radius: 4px; vertical-align: middle; margin-left: .4rem; }
.plan ul { list-style: none; margin: 0 0 1.6rem; padding: 0; flex: 1; }
.plan li { padding: .45rem 0 .45rem 1.4rem; position: relative; font-size: 14.5px; color: var(--moon); }
.plan li::before { content: "/"; position: absolute; left: 0; color: var(--lilac); font-weight: 600; }
.plan li.plus { color: var(--moon-2); }
.plan .btn { align-self: flex-start; }
.plans__note { margin-top: 1.4rem; font-size: 14px; color: var(--moon-2); max-width: 80ch; }

/* sample report */
.report { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sheet { background: var(--moon); color: var(--night); border-radius: 14px; padding: 1.8rem 1.8rem 1.4rem; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: rotate(-1.6deg); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--night); padding-bottom: .7rem; margin-bottom: 1rem; }
.sheet__head b { font-family: var(--cond); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: 1.6rem; }
.sheet__head span { font-size: 12px; color: #5a5560; }
.sheet h5 { margin: 1rem 0 .3rem; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6d3f84; }
.sheet p { margin: 0; font-size: 14px; line-height: 1.5; color: #2a2630; }
.sheet__foot { margin-top: 1.2rem; padding-top: .7rem; border-top: 1px solid rgba(20,18,22,.15); font-size: 11.5px; color: #5a5560; }

/* faq */
.faq { max-width: 900px; margin-top: 2.5rem; }
.faq details { border-top: 1px solid rgba(236,235,230,.12); }
.faq details:last-child { border-bottom: 1px solid rgba(236,235,230,.12); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "/"; position: absolute; right: .3rem; top: 1.1rem; font-family: var(--cond); font-weight: 600; font-size: 1.6rem; color: var(--lilac); transition: transform .5s var(--expo); }
.faq details[open] summary::after { transform: rotate(-60deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--moon-2); max-width: 70ch; }

.m-end .h2m { font-size: clamp(3rem, 9vw, 8rem); }

@media (max-width: 980px) {
  .queue__cols { grid-template-columns: 1fr 1fr; }
  .lanes { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .report, .promise__grid { grid-template-columns: 1fr; }
  .m-hero__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lanes { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .queue__cols { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .qcol { min-height: 0; padding: .7rem; }
  .qcard { font-size: 12.5px; }
  .sheet { transform: none; }
}

/* ---------------------------------------------------- client portal key
   After the adworks.ca key (keyhole tile, antique-gold hairline, 12px radius),
   made for this page: dark frosted glass that reads on both sides of the slash,
   fixed at the bottom centre so it never moves when the slash leans. */
.portal-key {
  --gold: linear-gradient(115deg, rgba(201,178,132,.95), rgba(140,118,80,.55) 45%, rgba(222,203,163,.9));
  position: fixed; left: 50%; bottom: 22px; z-index: 55; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .75rem; padding: .42rem 1rem .42rem .42rem;
  border-radius: 12px; color: var(--moon); text-decoration: none; isolation: isolate;
  background: rgba(20,18,22,.74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.6);
  transition: opacity .8s var(--expo) .5s, transform .8s var(--expo) .5s;
}
.portal-key::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; transition: opacity .5s var(--quart); pointer-events: none; }
.portal-key__hole { position: relative; flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(201,178,132,.08); box-shadow: inset 0 0 0 1px rgba(201,178,132,.35); }
.portal-key__hole::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, rgba(222,203,163,.55), rgba(222,203,163,0) 70%); animation: keyglow 3.6s var(--inout) infinite; }
.portal-key__hole svg { position: relative; width: 10px; height: 15px; }
.portal-key__hole path { fill: #e2cfa4; }
.portal-key__txt { display: grid; line-height: 1.15; }
.portal-key__txt b { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.portal-key__txt i { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 13px; letter-spacing: .01em; color: #e8dab8; }   /* light, italic, classy */
.portal-key__arw { font-size: 14px; color: #e2cfa4; transition: transform .5s var(--expo); }
.portal-key:hover::before { opacity: 1; }
.portal-key:hover .portal-key__arw { transform: translateX(4px); }
@keyframes keyglow { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.split:not(.is-ready) ~ .portal-key { opacity: 0; transform: translate(-50%, 14px); transition-delay: 0s; }
@media (max-width: 860px) {
  .portal-key { bottom: 14px; padding: .34rem .8rem .34rem .34rem; }
  .portal-key__hole { width: 26px; height: 26px; }
  .side--dark .pitch { height: calc(45% - 62px); }
}
@media (prefers-reduced-motion: reduce) { .portal-key__hole::before { animation: none; } }

/* ---------------------------------------------------------------- preloader */
.loader { position: fixed; inset: 0; z-index: 60; pointer-events: none; transition: opacity .5s var(--quart); }
.loader.is-full { opacity: 0; transition-delay: .45s; }
.loader__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader__track { stroke: rgba(35,31,32,.08); stroke-width: 3; vector-effect: non-scaling-stroke; }
.loader__line { stroke: url(#loader-g); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.loader__pct { position: absolute; left: 41%; top: 100%; transform: translate(16px, -50%); font-family: var(--cond); font-stretch: 80%; font-weight: 600; font-size: 15px; letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .3s; }
.loader.is-full .loader__pct { opacity: 0; transition-delay: 0s; }
@media (max-width: 860px) { .loader__pct { transform: translate(-50%, -170%); } }

/* ------------------------------------------------------------------ cursor
   A thin chevron pointing at the side you are on. Over a door it becomes an
   outline that wraps the button (which leans toward you); over menu links, a dot. */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--quart); will-change: transform; --c: var(--ink); --a: var(--teal-deep); --rw: 0px; --rh: 0px; --rr: 999px; }
.cursor.is-dark { --c: var(--moon); --a: var(--lilac); }
.cursor.is-gold { --a: #c9b284; }   /* same antique gold as the portal key's hairline */
.cursor__chev { position: absolute; left: -14px; top: -28px; width: 28px; height: 56px; color: var(--c); transition: transform .55s var(--expo), opacity .25s var(--quart), color .3s var(--quart); }
.cursor.is-left .cursor__chev { transform: rotate(180deg); }
.cursor__ring { position: absolute; left: 0; top: 0; width: var(--rw); height: var(--rh); transform: translate(-50%, -50%); border: 1.5px solid var(--a); border-radius: var(--rr); opacity: 0; transition: width .5s var(--expo), height .5s var(--expo), border-radius .5s var(--expo), opacity .25s var(--quart), border-color .3s, background-color .3s; }
.cursor.is-pill .cursor__ring, .cursor.is-dot .cursor__ring { opacity: 1; }
.cursor.is-pill .cursor__chev, .cursor.is-dot .cursor__chev { opacity: 0; transform: scale(.4); }
.cursor.is-left.is-pill .cursor__chev, .cursor.is-left.is-dot .cursor__chev { transform: rotate(180deg) scale(.4); }
.cursor.is-dot .cursor__ring { background: var(--a); border-color: transparent; transform: translate(-50%, 13px); }
.has-arrow .cursor.is-on { opacity: 1; }
.has-arrow .landing, .has-arrow .landing a, .has-arrow .landing button { cursor: none; }
.split.is-loading ~ .cursor { opacity: 0 !important; }
.door { will-change: transform; }
@media (max-width: 860px) { .cursor { display: none; } .has-arrow .landing, .has-arrow .landing a { cursor: auto; } }

/* reduced motion: everything is simply there */
@media (prefers-reduced-motion: reduce) {
  .split, .sweep, .enter { transition: none !important; }
  .split .reveal, .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .enter { display: none; }
  .qcard.is-moving { animation: none; }
}
