/* Oak & Pixel studio site — shared styles (homepage + concept project pages).
   Tokens follow the redesign brief; notes in the margin are the signature:
   Fraunces soft italic in copper (a problem) or lime/green (what we fixed). */

:root {
  --ink: #111513;       /* near-black — dark sections, body text on light */
  --char: #1B211D;      /* charcoal — raised surfaces on dark */
  --paper: #F5F2ED;     /* warm off-white */
  --stone: #EAE5DE;     /* light stone — panels, rules on light */
  --copper: #BA765A;    /* accents on DARK only (5:1 on ink) */
  --copper-ink: #8A4B31;/* copper for text on LIGHT (6:1 on paper) */
  --lime: #E5FF8B;      /* the primary action, and nothing else */
  --forest: #1F2F26;    /* final call to action */
  --sage: #8A9A8E;      /* supporting labels on dark */
  --sage-ink: #56645A;  /* supporting labels on light */
  --on-dark: #EDE9E2;
  --on-dark-2: #B3BCB5;
  --on-light-2: #474F49;
  --rule-dark: rgba(237, 233, 226, .14);
  --rule-light: #D9D2C7;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --max: 1320px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);   /* vertical rhythm between sections */
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 3px; }
.dark :focus-visible { outline-color: var(--lime); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--lime); color: var(--ink); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── type ─────────────────────────────────────────────────────────────── */
.eyebrow { display: block; font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 1.1rem; }
.dark .eyebrow { color: var(--sage); }
.display { font-family: var(--serif); font-weight: 420; font-variation-settings: 'opsz' 144, 'SOFT' 30; letter-spacing: -.022em; line-height: 1.02; }
h1.display { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2.display { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.04; }
h3 { font-family: var(--serif); font-weight: 520; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; font-variation-settings: 'opsz' 48; }
.accent { color: var(--copper); }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--on-light-2); max-width: 36rem; }
.dark .lede { color: var(--on-dark-2); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
p + p { margin-top: .9rem; }

/* margin notes — the studio's handwriting */
.note { font-family: var(--serif); font-style: italic; font-weight: 380; font-variation-settings: 'opsz' 24, 'SOFT' 100, 'WONK' 1; font-size: 1.05rem; line-height: 1.25; color: var(--copper-ink); }
.dark .note { color: var(--copper); }
.note.fixed { color: #3F6B4B; }
.dark .note.fixed { color: var(--lime); }
.note a { text-underline-offset: .2em; }
.pen { overflow: visible; }
.pen path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 200); stroke-dashoffset: 0; }
.js .draw .pen path { stroke-dashoffset: var(--len, 200); transition: stroke-dashoffset 1.1s cubic-bezier(.6, .1, .3, 1) .15s; }
.js .draw.in .pen path { stroke-dashoffset: 0; }

/* ── buttons & links ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .8rem 1.35rem; border-radius: var(--r); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.btn-go { background: var(--lime); color: var(--ink); }
.btn-go:hover { transform: translateY(-1px); background: #EEFFB0; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(127, 127, 127, .1); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--char); }
.btn[disabled] { opacity: .6; cursor: progress; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.textlink:hover { text-decoration-color: currentColor; }

/* ── header ───────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(17, 21, 19, .94); color: var(--on-dark); border-bottom: 1px solid var(--rule-dark); backdrop-filter: saturate(140%) blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: .93rem; letter-spacing: .2em; }
.brand svg { width: 22px; height: 20px; }
.navlinks { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.navlinks a { text-decoration: none; font-size: .93rem; color: var(--on-dark-2); padding: .5rem 0; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--on-dark); }
.top .btn { min-height: 42px; padding: .55rem 1rem; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule-dark); border-radius: var(--r); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; content: ''; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  #primary-nav { position: fixed; inset: 68px 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--rule-dark); padding: .5rem var(--gut) 1.5rem; display: none; }
  #primary-nav.open { display: block; }
  .navlinks { flex-direction: column; align-items: stretch; gap: 0; }
  .navlinks a { display: block; padding: .95rem 0; font-size: 1.1rem; color: var(--on-dark); border-bottom: 1px solid var(--rule-dark); }
  .navlinks .m-cta { padding-top: 1rem; } .navlinks .m-cta a { border: 0; }
}
@media (min-width: 901px) { .m-cta { display: none; } }

/* ── sections ─────────────────────────────────────────────────────────── */
.sec { padding: var(--sec) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.stone { background: var(--stone); }
.forest { background: var(--forest); color: var(--on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .lede { justify-self: end; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lede { justify-self: start; } }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .accent { display: block; white-space: nowrap; }
.hero .lede { margin-bottom: 2.1rem; max-width: 31rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.hero-ctas .textlink { color: var(--on-dark); }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 2rem; list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.stage { position: relative; aspect-ratio: 16 / 11.5; }
.stage .browser { position: absolute; left: 0; top: 0; width: 86%; }
.stage .phone { position: absolute; right: 0; bottom: -4%; width: 27%; }
.stage .note { position: absolute; left: 1%; top: -3.4rem; max-width: 24rem; display: flex; align-items: flex-end; gap: .4rem; }
.stage .note .pen { flex: none; width: 54px; height: 40px; margin-bottom: -1.6rem; }
.js .hero .rise { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero .rise.d1 { animation-delay: .08s; } .js .hero .rise.d2 { animation-delay: .22s; } .js .hero .rise.d3 { animation-delay: .4s; } .js .hero .rise.d4 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* fail-safe: if animations are paused (background tab, power saving), show everything anyway */
.js.settled .hero .rise { opacity: 1; transform: none; animation: none; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { aspect-ratio: 16 / 13; margin-top: 1rem; }
  .stage .note { top: -2.8rem; }
}
/* phones: recompose rather than shrink: the concept on a phone, as a phone */
@media (max-width: 560px) { .stage { aspect-ratio: auto; display: flex; justify-content: center; margin-top: 2.2rem; } .stage .browser { display: none; } .stage .phone { position: relative; right: auto; bottom: auto; width: min(64%, 250px); } .stage .note { display: none; } }

/* device frames (real HTML screens inside) */
.browser { border-radius: 10px; overflow: hidden; background: #0C0F0D; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #1E2420; }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3A433D; }
.browser .bar b { margin-left: 10px; font: 500 10px/1 var(--mono); color: #8C968F; letter-spacing: 0; }
.phone { border-radius: 26px; padding: 7px; background: #0A0C0B; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1); }
.phone .screen { border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 19.5; position: relative; }

/* image slots: art-directed placeholders until the AI images are supplied
   (see references/IMAGE-BRIEF.md — each slot id maps to a prompt there) */
.img-slot { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 70% 30%, rgba(186, 118, 90, .45), transparent 60%),
  radial-gradient(90% 80% at 20% 90%, rgba(229, 255, 139, .07), transparent 70%),
  linear-gradient(160deg, #2A2420, #141815); }
.img-slot::after { content: attr(data-slot); position: absolute; right: 8px; bottom: 6px; font: 500 9px/1 var(--mono); letter-spacing: .04em; color: rgba(255, 255, 255, .45); }
.img-slot.light { background: radial-gradient(120% 90% at 30% 30%, rgba(186, 118, 90, .25), transparent 60%), linear-gradient(160deg, #D9CFC2, #BFB3A4); }
.img-slot.light::after { color: rgba(17, 21, 19, .45); }
.img-slot > img { width: 100%; height: 100%; object-fit: cover; }

/* the Ember & Rye concept screen (shared by hero browser + phone + slider) */
.er { --er-bg: #15110E; --er-ink: #F1E9DD; --er-gold: #D49A6A; background: var(--er-bg); color: var(--er-ink); font-family: var(--serif); height: 100%; }
.er-nav { display: flex; justify-content: space-between; align-items: center; padding: 4.5% 6%; font-size: clamp(7px, .75vw, 10px); font-family: var(--sans); color: #CFC3B3; }
.er-nav strong { font-family: var(--serif); font-weight: 500; letter-spacing: .14em; color: var(--er-ink); font-size: 1.25em; }
.er-nav span { display: flex; gap: 1.4em; align-items: center; }
.er-nav em { font-style: normal; background: var(--er-gold); color: #1A120C; padding: .45em .9em; border-radius: 3px; font-weight: 600; }
.er-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 5%; padding: 2% 6% 6%; align-items: center; }
.er-hero h4 { font-weight: 400; font-size: clamp(14px, 1.9vw, 26px); line-height: 1.08; letter-spacing: -.01em; }
.er-hero p { font-family: var(--sans); font-size: clamp(6.5px, .7vw, 9.5px); color: #BFB2A2; margin: .8em 0 1.2em; }
.er-hero .er-btn { display: inline-block; font-family: var(--sans); font-size: clamp(6.5px, .7vw, 9.5px); font-weight: 600; background: var(--er-gold); color: #1A120C; padding: .7em 1.2em; border-radius: 3px; }
.er-hero .img-slot { aspect-ratio: 4 / 3; border-radius: 4px; }
.er-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding: 0 6% 5%; font-family: var(--sans); font-size: clamp(6px, .62vw, 8.5px); color: #CFC3B3; }
.er-menu div { border-top: 1px solid rgba(241, 233, 221, .16); padding-top: .8em; display: flex; justify-content: space-between; gap: .5em; }
.er-menu b { font-weight: 500; color: var(--er-ink); }
.er-m { display: flex; flex-direction: column; height: 100%; }
.er-m .er-nav { padding: 9% 8% 6%; font-size: 8px; }
.er-m .img-slot { flex: 0 0 38%; }
.er-m .body { padding: 9% 8%; }
.er-m h4 { font-weight: 400; font-size: 17px; line-height: 1.08; }
.er-m p { font-family: var(--sans); font-size: 8px; color: #BFB2A2; margin: .7em 0 1.1em; }
.er-m .er-btn { display: block; text-align: center; font-family: var(--sans); font-size: 9px; font-weight: 600; background: var(--er-gold); color: #1A120C; padding: .9em; border-radius: 4px; }
.er-m .er-list { margin-top: 1.1em; font-family: var(--sans); font-size: 8px; }
.er-m .er-list div { display: flex; justify-content: space-between; padding: .55em 0; border-top: 1px solid rgba(241, 233, 221, .14); }

/* ── concept work ─────────────────────────────────────────────────────── */
.work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.5rem); }
.work .card:first-child { grid-row: span 2; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 8px; overflow: hidden; background: var(--ink); color: var(--on-dark); text-decoration: none; isolation: isolate; }
.card .img-slot { position: absolute; inset: 0; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
/* text always sits on a dark base, even over pale imagery (Hollis) */
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 21, 19, .05) 0%, rgba(17, 21, 19, .5) 38%, rgba(17, 21, 19, .9) 66%, rgba(17, 21, 19, .96) 100%); }
.card:hover .img-slot, .card:focus-visible .img-slot { transform: scale(1.03); }
.card .meta { padding: clamp(1.25rem, 2.4vw, 2rem); display: grid; gap: .45rem; }
.card .kind { font-size: .78rem; color: var(--on-dark-2); }
.card .kind .tag { display: inline-block; margin-right: .6rem; padding: .18rem .5rem; border: 1px solid rgba(237, 233, 226, .4); border-radius: 3px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.card h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.card p { color: var(--on-dark-2); max-width: 30rem; font-size: .98rem; }
.card .go { margin-top: .4rem; font-weight: 600; font-size: .93rem; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(237, 233, 226, .4); }
.work .card:first-child { min-height: clamp(420px, 52vw, 640px); }
.work-note { margin-top: 1.4rem; font-size: .92rem; color: var(--sage-ink); }
@media (max-width: 820px) { .work { grid-template-columns: 1fr; } .work .card:first-child { grid-row: auto; min-height: 420px; } }

/* ── before / after ───────────────────────────────────────────────────── */
.ba .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ba .lede { margin: 1.4rem 0 2rem; }
.ba-label { font-size: .85rem; color: var(--sage); margin-top: 1.4rem; max-width: 26rem; }
.compare { position: relative; --pos: 50%; display: grid; grid-template-columns: 1fr minmax(0, 260px) 1fr; align-items: center; gap: 1.2rem; }
.compare .side { display: grid; gap: 1.6rem; }
.compare .side .note { font-size: .98rem; transition: opacity .25s ease; }
.compare .side.left { text-align: right; }
.compare .phone { position: relative; width: 100%; }
.compare .screen { touch-action: pan-y; }
.compare .layer { position: absolute; inset: 0; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lime); pointer-events: none; }
.compare .handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--lime); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23111513' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 20px; background-repeat: no-repeat; background-position: center; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.compare:has(input:focus-visible) .handle::after { outline: 3px solid var(--on-dark); outline-offset: 3px; }
.side-tag { justify-self: start; font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 3px; }
.side.left .side-tag { justify-self: end; background: rgba(237, 233, 226, .12); color: var(--on-dark); }
.side-tag.a { background: var(--lime); color: var(--ink); }
/* notes stay full-strength at every slider position (contrast) */
@media (max-width: 980px) { .ba .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .compare { grid-template-columns: minmax(0, 260px); justify-content: center; } .compare .side { display: none; } .ba-notes-m { display: grid !important; } }
.ba-notes-m { display: none; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.ba-notes-m .note { font-size: .95rem; }

/* the dated "before" page (illustrative): deliberately cramped */
.old { background: #fff; color: #333; height: 100%; font-family: Arial, Helvetica, sans-serif; font-size: 7px; overflow: hidden; }
.old .ohead { background: #5b1a1a; color: #f3d9b1; padding: 10px 8px 8px; font-family: 'Times New Roman', serif; }
.old .ohead b { display: block; font-size: 15px; font-weight: 400; letter-spacing: .02em; }
.old .onav { display: flex; gap: 6px; padding: 4px 8px; background: #e8dcc6; font-size: 6px; color: #5b1a1a; flex-wrap: wrap; }
.old .obody { padding: 8px; display: grid; gap: 6px; }
.old .obody .img-slot { height: 70px; }
.old .obody h5 { font-family: 'Times New Roman', serif; font-size: 11px; font-weight: 400; color: #5b1a1a; }
.old .obody p { font-size: 6.5px; line-height: 1.35; color: #555; }
.old .opdf { display: inline-block; background: #ddd; border: 1px solid #aaa; padding: 3px 5px; font-size: 6.5px; color: #224; text-decoration: underline; }
.old .otel { display: inline-block; background: #f6eedd; border: 1px dashed #b9a27a; padding: 3px 5px; font-family: 'Comic Sans MS', cursive; font-size: 7px; color: #5b1a1a; }
.old .ocookie { position: absolute; left: 0; right: 0; bottom: 0; background: #222; color: #eee; padding: 10px 8px 12px; font-size: 6.5px; line-height: 1.35; }
.old .ocookie span { display: block; margin-top: 6px; } .old .ocookie i { font-style: normal; display: inline-block; background: #3b7d3b; color: #fff; padding: 4px 8px; margin-right: 4px; }

/* ── how it works ─────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--rule-light); }
.steps li { padding: 2rem clamp(1rem, 2.5vw, 2.25rem) 2rem 0; border-right: 1px solid var(--rule-light); counter-increment: step; }
.steps li + li { padding-left: clamp(1rem, 2.5vw, 2.25rem); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 3.2rem; font-weight: 300; line-height: 1; color: var(--copper-ink); margin-bottom: 1.2rem; font-variation-settings: 'opsz' 144; }
.steps h3 { margin-bottom: .55rem; }
.steps p { color: var(--on-light-2); max-width: 22rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { border-right: 0; border-bottom: 1px solid var(--rule-light); padding: 1.6rem 0; } .steps li::before { font-size: 2.4rem; margin-bottom: .6rem; } }
.alt-route { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.6rem clamp(1.25rem, 3vw, 2.25rem); background: var(--stone); border-radius: 8px; }
.alt-route .badge { font-family: var(--serif); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-size: 1.25rem; color: var(--copper-ink); }
.alt-route p { color: var(--on-light-2); max-width: 44rem; }
.alt-route p b { color: var(--ink); }
@media (max-width: 820px) { .alt-route { grid-template-columns: 1fr; } }

/* ── checks ───────────────────────────────────────────────────────────── */
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); list-style: none; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .2rem .8rem; padding: 1.15rem 0; border-top: 1px solid var(--rule-light); }
.checks li svg { width: 1.2rem; height: 1.2rem; margin-top: .2rem; color: #3F6B4B; }
.checks b { font-weight: 600; display: block; }
.checks span { grid-column: 2; color: var(--on-light-2); font-size: .96rem; }
@media (max-width: 980px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.checks-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline; color: var(--on-light-2); }
.checks-foot .note { font-size: 1.15rem; }

/* ── pricing ──────────────────────────────────────────────────────────── */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-light); border-radius: 8px; background: #FBF9F5; }
.tier { padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .8rem; }
.tier + .tier { border-left: 1px solid var(--rule-light); }
.tier .name { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.tier .name h3 { font-size: 1.3rem; }
.tier .scope { font-size: .85rem; color: var(--sage-ink); }
.tier .price { font-family: var(--serif); font-size: 2.6rem; font-weight: 420; line-height: 1; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; }
.tier .price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--sage-ink); margin-right: .3rem; letter-spacing: 0; }
.tier .for { color: var(--on-light-2); font-size: .95rem; }
.tier ul { list-style: none; display: grid; gap: .45rem; font-size: .94rem; border-top: 1px solid var(--rule-light); padding-top: .9rem; }
.tier li { display: grid; grid-template-columns: 1rem 1fr; gap: .55rem; }
.tier li::before { content: ''; width: .5rem; height: .5rem; margin-top: .5rem; border-radius: 50%; background: var(--copper-ink); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier.pick { background: #fff; box-shadow: inset 0 3px 0 var(--copper-ink); }
.care { margin-top: 1rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.3rem clamp(1.4rem, 2.5vw, 2rem); border: 1px solid var(--rule-light); border-radius: 8px; background: #FBF9F5; }
.care h3 { font-size: 1.15rem; }
.care .price { font-family: var(--serif); font-size: 1.7rem; font-variation-settings: 'opsz' 144; }
.care .price small { font-family: var(--sans); font-size: .82rem; color: var(--sage-ink); }
.price-small { margin-top: 1.4rem; color: var(--on-light-2); font-size: .95rem; max-width: 60rem; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier + .tier { border-left: 0; border-top: 1px solid var(--rule-light); } .care { grid-template-columns: 1fr; } }

/* ── why us ───────────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.why h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.why p { color: var(--on-light-2); font-size: .96rem; }
.why .mark { width: 30px; height: 30px; color: var(--copper-ink); margin-bottom: 1rem; }
@media (max-width: 980px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ── faqs ─────────────────────────────────────────────────────────────── */
.faqs { max-width: 58rem; border-top: 1px solid var(--rule-light); }
.faqs details { border-bottom: 1px solid var(--rule-light); }
.faqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.3rem 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 480; font-variation-settings: 'opsz' 36; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faqs details[open] summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
.faqs .a { padding: 0 0 1.4rem; max-width: 46rem; color: var(--on-light-2); }

/* ── final cta + form ─────────────────────────────────────────────────── */
.final .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.final h2 { margin-bottom: 1.2rem; }
.final .lede { margin-bottom: 1.8rem; }
.final .after-click { margin-top: 2rem; display: grid; gap: .7rem; list-style: none; color: var(--on-dark-2); max-width: 28rem; }
.final .after-click li { display: grid; grid-template-columns: 1.6rem 1fr; }
.final .after-click li span { font-family: var(--serif); color: var(--lime); }
.form { background: #F5F2ED; color: var(--ink); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form h3 { grid-column: 1 / -1; font-size: 1.45rem; }
.dark .form :focus-visible { outline-color: var(--ink); }
.form fieldset { grid-column: 1 / -1; border: 0; display: grid; gap: .5rem; }
.form legend { font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.form .choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.form .choice label { display: grid; grid-template-columns: auto 1fr; gap: .2rem .6rem; align-items: start; padding: .8rem .9rem; border: 1.5px solid var(--rule-light); border-radius: var(--r); cursor: pointer; background: #fff; font-size: .92rem; }
.form .choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form .choice input { margin-top: .3rem; accent-color: var(--ink); width: 1rem; height: 1rem; }
.form .choice b { font-weight: 600; } .form .choice small { grid-column: 2; color: var(--on-light-2); font-size: .82rem; line-height: 1.4; }
.form .f { display: grid; gap: .35rem; }
.form .f.full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: .9rem; }
.form label small { font-weight: 400; color: var(--sage-ink); }
.form input[type=text], .form input[type=email], .form input:not([type]), .form textarea { width: 100%; min-height: 46px; padding: .7rem .8rem; border: 1.5px solid #C9C0B3; border-radius: var(--r); background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: #A3271B; }
.form .err { color: #A3271B; font-size: .85rem; min-height: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center; }
.form .foot small { color: var(--on-light-2); max-width: 22rem; }
.form .status { grid-column: 1 / -1; font-size: .95rem; }
.form .status:empty { display: none; }
.form .status.ok { padding: .9rem 1rem; background: #E3EEDD; border-radius: var(--r); color: #22401F; }
.form .status.bad { padding: .9rem 1rem; background: #F6E1DC; border-radius: var(--r); color: #7A1E13; }
@media (max-width: 980px) { .final .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .choice { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot-site { background: var(--ink); color: var(--on-dark-2); padding: 3.5rem 0 2.5rem; font-size: .93rem; }
.foot-site .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.foot-site .brand { color: var(--on-dark); margin-bottom: .8rem; }
.foot-site ul { list-style: none; display: grid; gap: .4rem; }
.foot-site a { text-decoration: none; } .foot-site a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-site .colophon { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-dark); padding-top: 1.5rem; margin-top: 1rem; font-size: .86rem; }
@media (max-width: 760px) { .foot-site .wrap { grid-template-columns: 1fr; } }

/* ── phones: the same content with less scrolling ─────────────────────────
   Measured Oct 2026: the homepage was 18.8 phone screens. Rows of cards swipe
   sideways instead of stacking, the checks show four with a button for the
   rest, and spacing is tightened. Desktop is unchanged. */
.checks-more { display: none; }
@media (max-width: 620px) {
  :root { --sec: 3.25rem; }
  .sec-head { margin-bottom: 1.6rem; gap: .9rem; }
  h2.display { font-size: clamp(1.9rem, 8.4vw, 2.2rem); }
  .lede { font-size: 1.02rem; }
  .hero { padding: 2.4rem 0 3rem; }
  .hero h1 { margin-bottom: 1.1rem; }
  .hero .lede { margin-bottom: 1.5rem; }
  .trust { margin-top: 1.3rem; }
  .stage { margin-top: 1.6rem; }
  .stage .phone { width: min(54%, 215px); }

  /* concept work + price plans: one row you swipe; the next card peeks in */
  .work, .tiers { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) .3rem; scroll-padding: 0 var(--gut); }
  .work::-webkit-scrollbar, .tiers::-webkit-scrollbar { display: none; }
  .work .card, .work .card:first-child { flex: 0 0 84%; min-height: 360px; scroll-snap-align: start; }
  .work-note { margin-top: 1rem; font-size: .86rem; }
  .tiers { border: 0; border-radius: 0; background: none; align-items: stretch; }
  .tier, .tier + .tier { flex: 0 0 84%; scroll-snap-align: start; border: 1px solid var(--rule-light); border-radius: 8px; background: #FBF9F5; }
  .tier.pick { order: -1; background: #fff; }      /* the plan most people choose comes first */
  .swipe { display: block; margin: .7rem 0 0; font-size: .84rem; color: var(--sage-ink); }
  .care { margin-top: 1rem; padding: 1.1rem 1.2rem; gap: .5rem; }
  .price-small { font-size: .88rem; margin-top: 1rem; }

  /* checks: the first four, then a button for the rest */
  .js .checks:not(.all) li:nth-child(n+5) { display: none; }
  .js .checks-more { display: inline-flex; margin-top: 1.1rem; }
  .checks li { padding: .85rem 0; }
  .checks-foot { margin-top: 1.4rem; gap: .6rem; }

  .ba .lede { margin: 1rem 0 1.4rem; }
  .ba-label { margin-top: 1rem; font-size: .8rem; }
  .ba-notes-m { margin-top: 1.1rem; }
  .steps li, .steps li + li { padding: 1.1rem 0; display: grid; grid-template-columns: 2.1rem 1fr; column-gap: .5rem; }
  .steps li::before { grid-row: span 2; font-size: 2rem; margin: -.15rem 0 0; }
  .alt-route { margin-top: 1.8rem; padding: 1.25rem; gap: .7rem; }
  /* why us: a swipe row like the work cards */
  .why { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) .3rem; scroll-padding: 0 var(--gut); }
  .why::-webkit-scrollbar { display: none; }
  .why > div { flex: 0 0 76%; scroll-snap-align: start; background: #F3EFE8; border-radius: 8px; padding: 1.2rem; }
  .why .mark { width: 26px; height: 26px; margin-bottom: .6rem; }
  .form .choice small { display: none; }
  .faqs summary { padding: 1.05rem 0; }

  .final .wrap > div > .btn-go { display: none; }   /* jumps to the form, which is right below on a phone */
  .final .after-click { margin-top: 0; gap: .45rem; font-size: .95rem; }
  .final .lede { margin-bottom: 1.3rem; }
  .form { padding: 1.3rem; gap: .9rem; }
  .form .choice label { padding: .65rem .75rem; }
  .form textarea { min-height: 84px; }

  .foot-site { padding: 2.4rem 0 1.8rem; }
  .foot-site .wrap { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .foot-site .wrap > div:first-child, .foot-site .colophon { grid-column: 1 / -1; }
  .foot-site .colophon { margin-top: .4rem; padding-top: 1.1rem; font-size: .8rem; }
}
@media (min-width: 621px) { .swipe { display: none; } }

/* ── concept project (case study) pages ───────────────────────────────── */
.cs-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.cs-hero .crumbs { font-size: .9rem; color: var(--on-dark-2); margin-bottom: 2rem; }
.cs-hero .crumbs a { text-decoration: underline; text-underline-offset: .2em; }
.cs-hero .kind { display: inline-block; margin-bottom: 1.2rem; padding: .25rem .6rem; border: 1px solid rgba(237, 233, 226, .4); border-radius: 3px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.cs-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 1.2rem; }
.cs-visual { margin-top: clamp(2rem, 5vw, 3.5rem); position: relative; }
.cs-visual .browser { width: min(100%, 980px); }
.cs-visual .phone { position: absolute; right: 0; bottom: -8%; width: min(24%, 230px); }
.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.cs-body + .cs-body { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule-light); }
.cs-body h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -.01em; }
.cs-body .text { max-width: 42rem; color: var(--on-light-2); }
.cs-body .text ul { margin: .8rem 0 0 1.1rem; display: grid; gap: .45rem; }
.cs-body .text b { color: var(--ink); }
.cs-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
@media (max-width: 820px) { .cs-body { grid-template-columns: 1fr; } .cs-next { grid-template-columns: 1fr; } .cs-visual .phone { width: 30%; } }

/* Hollis concept screen — salon: pale, airy, plum accents */
.hl { --hl-bg: #F4EEE8; --hl-ink: #2E1F2A; --hl-plum: #6E2F57; background: var(--hl-bg); color: var(--hl-ink); font-family: var(--serif); height: 100%; }
.hl-nav { display: flex; justify-content: space-between; align-items: center; padding: 4.5% 6%; font: 500 clamp(7px, .75vw, 10px) var(--sans); }
.hl-nav strong { font: 400 1.5em var(--serif); letter-spacing: .3em; }
.hl-nav em { font-style: normal; background: var(--hl-plum); color: #fff; padding: .45em .9em; border-radius: 99px; }
.hl-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; padding: 1% 6% 5%; align-items: end; }
.hl-hero .img-slot { aspect-ratio: 4 / 5; border-radius: 120px 120px 4px 4px; }
.hl-hero h4 { font-weight: 300; font-size: clamp(15px, 2.1vw, 28px); line-height: 1.05; font-style: italic; }
.hl-prices { margin-top: 1em; font: 400 clamp(6.5px, .68vw, 9px) var(--sans); display: grid; gap: .4em; }
.hl-prices div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(46, 31, 42, .15); padding-bottom: .35em; }
.hl-m .hl-nav { padding: 9% 8% 6%; font-size: 8px; } .hl-m .img-slot { margin: 0 8%; aspect-ratio: 4 / 4.4; border-radius: 80px 80px 4px 4px; }
.hl-m .body { padding: 8%; } .hl-m h4 { font-weight: 300; font-style: italic; font-size: 18px; line-height: 1.05; }
.hl-m .hl-prices { font-size: 8px; } .hl-m .hl-btn { display: block; margin-top: 1em; text-align: center; background: var(--hl-plum); color: #fff; font: 600 9px var(--sans); padding: .9em; border-radius: 99px; }

/* Brightline Electrical concept screen — trades: navy, signal yellow, phone first */
.bl { --bl-bg: #0E1B2E; --bl-ink: #F2F5F9; --bl-y: #FFD23F; background: var(--bl-bg); color: var(--bl-ink); font-family: var(--sans); height: 100%; }
.bl-nav { display: flex; justify-content: space-between; align-items: center; padding: 4% 6%; font-size: clamp(7px, .75vw, 10px); }
.bl-nav strong { font-weight: 700; letter-spacing: -.01em; font-size: 1.35em; } .bl-nav strong i { font-style: normal; color: var(--bl-y); }
.bl-nav em { font-style: normal; background: var(--bl-y); color: var(--bl-bg); padding: .5em 1em; border-radius: 3px; font-weight: 700; }
.bl-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5%; padding: 2% 6% 5%; align-items: center; }
.bl-hero h4 { font-weight: 700; font-size: clamp(14px, 2vw, 27px); line-height: 1.04; letter-spacing: -.02em; }
.bl-hero p { font-size: clamp(6.5px, .7vw, 9.5px); color: #B9C4D3; margin: .8em 0 1.1em; }
.bl-call { display: inline-block; background: var(--bl-y); color: var(--bl-bg); font-weight: 700; font-size: clamp(8px, .95vw, 13px); padding: .6em 1em; border-radius: 3px; }
.bl-hero .img-slot { aspect-ratio: 4 / 3; border-radius: 4px; }
.bl-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; padding: 0 6% 5%; font-size: clamp(6px, .62vw, 8.5px); color: #B9C4D3; }
.bl-trust div { border-left: 2px solid var(--bl-y); padding-left: .7em; } .bl-trust b { display: block; color: var(--bl-ink); }
.bl-m { display: flex; flex-direction: column; height: 100%; } .bl-m .bl-nav { padding: 9% 7% 5%; font-size: 8px; }
.bl-m .body { padding: 4% 7%; } .bl-m h4 { font-weight: 700; font-size: 17px; line-height: 1.04; letter-spacing: -.02em; }
.bl-m .bl-call { display: block; text-align: center; margin: .9em 0 .6em; font-size: 12px; padding: .8em; }
.bl-m .bl-quote { display: block; text-align: center; border: 1px solid rgba(242, 245, 249, .4); font-size: 9px; font-weight: 600; padding: .8em; border-radius: 3px; }
.bl-m .img-slot { flex: 1; margin-top: 6%; }

/* a filled image slot: no placeholder tint or slot label */
.img-slot.has-img { background: #141815; }
.img-slot.has-img::after { content: none; }
