/* VISIO METHOD, site styles (rebrand 2026)
   Radius rule: interactive controls are pills, media/panels 20px, inputs 12px.
   Accent (moss/lichen) is reserved for focus, concept tags and active states. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #eeefec;
  --mist: #e1e3de;
  --ink: #141514;
  --graphite: #272927;
  --slate: #5c5f5a;
  --line: rgba(20, 21, 20, 0.14);
  --on-dark: #eeefec;
  --on-dark-2: #a3a69f;
  --line-dark: rgba(238, 239, 236, 0.16);
  --moss: #56643a;
  --lichen: #c3cda0;

  --r-media: 20px;
  --r-input: 12px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --hdr-h: 72px;

  --fs-display: clamp(3.05rem, 10.4vw, 11.5rem);
  --fs-h1: clamp(2.6rem, 6vw, 6rem);
  --fs-h2: clamp(2.05rem, 4.2vw, 4.1rem);
  --fs-h3: clamp(1.375rem, 1.9vw, 1.8rem);
  --fs-lead: clamp(1.125rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --space-section: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }

h1, h2, h3, .display {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
h3 { letter-spacing: -0.025em; line-height: 1.12; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 6px;
}
.s--dark :focus-visible, .menu :focus-visible { outline-color: var(--lichen); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ---------- Sections ---------- */
.s { padding-block: var(--space-section); }
.s--tight { padding-block: clamp(64px, 8vw, 112px); }
.s--mist { background: var(--mist); }
.s--dark { background: var(--ink); color: var(--on-dark); }
.s--dark .muted, .s--dark .lead { color: var(--on-dark-2); }

.muted { color: var(--slate); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--slate); max-width: 46ch; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.label {
  font-size: var(--fs-small); font-weight: 500; letter-spacing: 0;
  color: var(--slate);
}
.s--dark .label { color: var(--on-dark-2); }

/* section heading row: title left, aside right */
.head {
  display: grid; gap: 28px 48px;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.head .h2 { max-width: 15ch; }
.head__aside { display: grid; gap: 20px; justify-items: start; max-width: 40ch; }
@media (min-width: 900px) {
  .head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* ---------- Icons ---------- */
.i { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 24px;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.975rem; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn .i { font-size: 15px; transition: transform 220ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.9rem; }
.s--dark .btn, .menu .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.s--dark .btn--line { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--graphite); --btn-bd: var(--graphite); }
  .btn:hover .i { transform: translateX(3px); }
  .btn--line:hover { --btn-bg: transparent; --btn-bd: var(--ink); }
  .s--dark .btn:hover { --btn-bg: #ffffff; --btn-bd: #ffffff; }
  .s--dark .btn--line:hover { --btn-bg: transparent; --btn-bd: var(--on-dark); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 260ms var(--ease-out);
}
.tlink .i { font-size: 14px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover .i { transform: translate(2px, -2px); }
  .tlink:hover { background-size: 30% 1px; }
}

/* Concept tag */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.s--dark .tag { border-color: var(--line-dark); }
.s--dark .tag::before { background: var(--lichen); }
.tag--float {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(238, 239, 236, 0.92); color: var(--ink); border-color: transparent;
}
.tag--float::before { background: var(--moss); }

/* Concept notice */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-input);
  border: 1px solid var(--line); font-size: 0.95rem; color: var(--slate);
  max-width: 72ch;
}
.notice::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--moss); }
.s--dark .notice { border-color: var(--line-dark); color: var(--on-dark-2); }
.s--dark .notice::before { background: var(--lichen); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 239, 236, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 30px; height: 30px; color: var(--ink); --mark-fg: var(--paper); }
.brand__word { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.09em; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-size: 0.95rem; font-weight: 450; color: var(--slate);
  transition: color 160ms ease, background-color 160ms ease;
}
.nav a[aria-current="page"] { color: var(--ink); background: var(--mist); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.menu-btn {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 0.95rem; font-weight: 500;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.97); }
.menu-btn .i { font-size: 18px; }
@media (max-width: 899px) {
  .nav, .hdr__cta { display: none; }
  .menu-btn { display: inline-flex; }
  :root { --hdr-h: 64px; }
}

/* Mobile menu (native dialog) */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--on-dark);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out), overlay 300ms allow-discrete, display 300ms allow-discrete;
}
.menu[open] { opacity: 1; transform: none; }
@starting-style { .menu[open] { opacity: 0; transform: translateY(-8px); } }
.menu::backdrop { background: transparent; }
.menu__in { display: flex; flex-direction: column; min-height: 100%; padding: 0 var(--gutter) 32px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); }
.menu__top .brand .mark { color: var(--paper); --mark-fg: var(--ink); }
.menu .menu-btn { display: inline-flex; border-color: var(--line-dark); color: var(--on-dark); }
.menu__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }
.menu__list a {
  display: block; padding: 10px 0; text-decoration: none;
  font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1;
}
.menu__list a[aria-current="page"] { color: var(--lichen); }
.menu__list li { opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-out); }
.menu[open] .menu__list li { opacity: 1; transform: none; }
.menu[open] .menu__list li:nth-child(2) { transition-delay: 40ms; }
.menu[open] .menu__list li:nth-child(3) { transition-delay: 80ms; }
.menu[open] .menu__list li:nth-child(4) { transition-delay: 120ms; }
.menu[open] .menu__list li:nth-child(5) { transition-delay: 160ms; }
@starting-style { .menu[open] .menu__list li { opacity: 0; transform: translateY(10px); } }
.menu__foot { margin-top: auto; display: grid; gap: 20px; padding-top: 40px; }
.menu__foot p { color: var(--on-dark-2); max-width: 30ch; }
html.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(48px, 9vh, 120px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero__title {
  font-size: var(--fs-display);
  letter-spacing: -0.045em;
  line-height: 0.94;
  max-width: 13ch;
}
.hero__title .slot {
  display: inline-block; position: relative; vertical-align: -0.04em;
  width: 1.55em; height: 0.74em; margin-inline: 0.06em 0.02em;
  border-radius: 999px; overflow: hidden; background: var(--mist);
}
.slot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 900ms var(--ease-out), transform 1600ms var(--ease-out);
}
.slot img.is-on { opacity: 1; transform: scale(1); }
.hero__foot {
  display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr); align-items: end;
}
.hero__foot .lead { max-width: 34ch; color: var(--ink); }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; }
}
/* page-load sequence: runs once */
.js .hero [data-load] { opacity: 0; transform: translateY(14px); }
.js .hero.is-loaded [data-load] {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
}
.js .hero.is-loaded [data-load="2"] { transition-delay: 120ms; }
.js .hero.is-loaded [data-load="3"] { transition-delay: 220ms; }

/* ---------- Media + reveal ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--mist); }
.s--dark .media { background: var(--graphite); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.js [data-reveal="media"] { clip-path: inset(0 0 100% 0 round var(--r-media)); }
.js [data-reveal="media"] img { transform: scale(1.06); }
.js [data-reveal="media"].is-in {
  clip-path: inset(0 0 0 0 round var(--r-media));
  transition: clip-path 1000ms var(--ease-in-out);
}
.js [data-reveal="media"].is-in img { transform: scale(1); transition: transform 1400ms var(--ease-out); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(16px); }
.js [data-reveal="up"].is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }

/* ---------- Project cards ---------- */
.work-grid { display: grid; gap: clamp(48px, 6vw, 80px) clamp(20px, 2.4vw, 32px); grid-template-columns: minmax(0, 1fr); }
.pcard { display: grid; gap: 22px; text-decoration: none; color: inherit; }
.pcard .media { aspect-ratio: 4 / 5; }
.pcard--wide .media { aspect-ratio: 16 / 8.5; }
.pcard--land .media { aspect-ratio: 4 / 3; }
.pcard__meta { display: grid; gap: 10px; }
.pcard__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.pcard__name { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.pcard__line { font-size: var(--fs-lead); max-width: 36ch; line-height: 1.35; }
.pcard__sub { font-size: var(--fs-small); color: var(--slate); }
.s--dark .pcard__sub { color: var(--on-dark-2); }
.pcard .media img { transition: transform 900ms var(--ease-out); }
.pcard__go {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 500;
}
.pcard__go .i { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .media img { transform: scale(1.03); }
  .pcard:hover .pcard__go .i { transform: translate(2px, -2px); }
}
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work-grid > .pcard--wide { grid-column: 1 / -1; }
  .work-grid > .pcard--a { grid-column: 1 / span 7; }
  .work-grid > .pcard--b { grid-column: 9 / span 4; align-self: end; }
  .work-grid > .pcard--c { grid-column: 1 / span 5; }
  .work-grid > .pcard--d { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 140px); }
}

/* ---------- Services (home) ---------- */
.svc-feature {
  display: grid; gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.svc-feature__text { display: grid; gap: 22px; align-content: start; max-width: 44ch; }
.svc-feature__text h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -0.04em; line-height: 1; }
.svc-pair { display: grid; gap: clamp(48px, 5vw, 72px) clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1fr); padding-top: clamp(56px, 7vw, 96px); }
.svc { display: grid; gap: 20px; align-content: start; }
.svc h3 { font-size: var(--fs-h3); }
.svc p { max-width: 42ch; color: var(--slate); }
@media (min-width: 900px) {
  .svc-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .svc-pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Browser frame built in HTML (shows a concept homepage) */
.browser {
  border-radius: var(--r-media); overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(20, 21, 20, 0.04), 0 30px 60px -30px rgba(40, 44, 36, 0.35);
  border: 1px solid var(--line);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f6f6f4; border-bottom: 1px solid #e6e6e2; }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d6d7d2; }
.browser__url { margin-left: 12px; flex: 1; max-width: 260px; height: 18px; border-radius: 999px; background: #ebebe7; }
.site-mock { position: relative; aspect-ratio: 16 / 10; color: #f4efe6; background: #2b211b; overflow: hidden; container-type: inline-size; }
.site-mock img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-mock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, 0.5), rgba(20, 14, 10, 0) 38%, rgba(20, 14, 10, 0) 55%, rgba(20, 14, 10, 0.6)); }
.site-mock__nav, .site-mock__hero { position: absolute; z-index: 1; left: 5%; right: 5%; }
.site-mock__nav { top: 5%; display: flex; justify-content: space-between; align-items: center; font-size: max(6px, 1.45cqi); letter-spacing: 0.18em; }
.site-mock__nav i { font-style: normal; display: flex; gap: 2.2em; letter-spacing: 0.06em; opacity: 0.85; }
.site-mock__hero { bottom: 7%; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.site-mock__hero b { font-weight: 400; font-size: max(11px, 4.6cqi); letter-spacing: -0.03em; line-height: 1.02; max-width: 12ch; }
.site-mock__hero em { font-style: normal; font-size: max(6px, 1.3cqi); border: 1px solid rgba(244, 239, 230, 0.6); padding: 0.7em 1.2em; border-radius: 999px; white-space: nowrap; }

/* Presentation spread mock */
.spread { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1.25; border-radius: var(--r-media); overflow: hidden; background: var(--sp-bg, #f3f0ea); box-shadow: 0 30px 60px -34px rgba(40, 44, 36, 0.4); border: 1px solid var(--line); container-type: inline-size; }
.spread--navy { --sp-bg: #1d2b3a; --sp-fg: #e9edf2; }
.spread--dusk { --sp-bg: #f4efe9; --sp-fg: #3b2f2a; }
.spread--sea { --sp-bg: #eef0ec; --sp-fg: #2f4a4c; }
.spread__img { position: relative; }
.spread__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spread__page { padding: 9% 10%; display: flex; flex-direction: column; color: var(--sp-fg, #2a241f); font-size: clamp(7px, 1.5cqi, 14px); line-height: 1.5; }
.spread__page b { font-weight: 500; font-size: 1.9em; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.2em; }
.spread__page small { letter-spacing: 0.16em; font-size: 0.82em; opacity: 0.6; margin-bottom: auto; }
.spread__page dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5em 1.4em; margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.spread__page dt { opacity: 0.6; }

/* Social grid mock */
.social { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.social > * { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; position: relative; }
.social img { width: 100%; height: 100%; object-fit: cover; }
.social .post { display: flex; flex-direction: column; justify-content: space-between; padding: 12%; font-size: clamp(9px, 1vw, 13px); line-height: 1.25; }
.social .post b { font-weight: 500; font-size: 1.45em; letter-spacing: -0.02em; }

/* ---------- Value (definition rows) ---------- */
.value { display: grid; gap: 40px 64px; grid-template-columns: minmax(0, 1fr); }
.value .h2 { max-width: 16ch; }
.value__body { display: grid; gap: 40px; align-content: start; }
.pillars { display: grid; border-top: 1px solid var(--line); }
.pillars > div { display: grid; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
.pillars dt { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.015em; }
.pillars dd { color: var(--slate); }
@media (min-width: 640px) { .pillars > div { grid-template-columns: 12rem minmax(0, 1fr); } }
@media (min-width: 1000px) { .value { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- Comparison (concept transformation) ---------- */
.compare { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 9; background: var(--graphite); user-select: none; --pos: 50%; }
.compare__pane { 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(--paper); pointer-events: none; z-index: 3;
}
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--paper);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23141514' d='M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z' transform='translate(-34 0)'/%3E%3Cpath fill='%23141514' d='M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z' transform='translate(34 0)'/%3E%3C/svg%3E");
  background-size: 22px; background-repeat: no-repeat; background-position: center;
}
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 4;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.compare:has(input:focus-visible) .compare__handle::after { outline: 2px solid var(--lichen); outline-offset: 3px; }
.compare__caps { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: var(--fs-small); color: var(--on-dark-2); }

/* "before": a deliberately dated, generic site */
.old { position: absolute; inset: 0; display: flex; flex-direction: column; background: #dcdcdc; color: #222; font-family: "Times New Roman", Times, serif; font-size: clamp(8px, 1.15vw, 16px); }
.old__top { background: #1d3f7a; color: #fff; padding: 1.4% 3%; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.old__top b { font-size: 1.6em; font-weight: 700; font-family: Arial, sans-serif; }
.old__top span { font-family: Arial, sans-serif; text-decoration: underline; }
.old__strip { background: #ffef5a; color: #b00000; font-family: Arial, sans-serif; font-weight: 700; padding: 0.5em 3%; white-space: nowrap; overflow: hidden; }
.old__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 22% 1fr; gap: 2.5%; padding: 2.5% 3%; }
.old__side { background: #f2f2f2; border: 1px solid #aaa; padding: 1em; line-height: 2; color: #1a0dab; text-decoration: underline; }
.old__main { background: #fff; border: 1px solid #aaa; padding: 2.5% 3%; overflow: hidden; }
.old__main .old__h { font-size: 1.9em; margin: 0 0 0.35em; color: #8a1c1c; font-weight: 700; }
.old__main p { margin: 0.4em 0; max-width: 60ch; }
.old__main u { color: #1a0dab; }
.old__gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2%; margin: 0.8em 0; }
.old__gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.5) contrast(0.8) brightness(1.08); border: 3px ridge #999; }
.old__foot { background: #1d3f7a; color: #c9d3e6; font-family: Arial, sans-serif; font-size: 0.8em; text-align: center; padding: 0.7em; }

@media (max-width: 699px) {
  .compare { aspect-ratio: 4 / 5; }
  .old { font-size: 10px; }
  .old__top span { display: none; }
  .old__body { grid-template-columns: minmax(0, 1fr); }
  .old__side { display: none; }
  .old__gal { grid-template-columns: 1fr 1fr; }
}
.compare .site-mock__hero { flex-direction: column; align-items: flex-end; text-align: right; }
.compare .site-mock__hero b { font-size: max(16px, 4.2cqi); }

/* "after": the concept homepage */
.newsite { position: absolute; inset: 0; }
.newsite .site-mock { aspect-ratio: auto; height: 100%; }

/* ---------- Email module ---------- */
.email-mod { display: grid; gap: clamp(40px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.email-mod__text { display: grid; gap: 22px; max-width: 42ch; }
@media (min-width: 900px) { .email-mod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.mail {
  max-width: 440px; width: 100%; margin-inline: auto; border-radius: var(--r-media); overflow: hidden;
  background: #fbfbf9; color: #2c2f2b; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(40, 44, 36, 0.4);
  font-size: 14px;
}
.mail__head { padding: 14px 18px; border-bottom: 1px solid #e7e8e4; display: grid; gap: 2px; background: #f4f5f2; }
.mail__head b { font-weight: 500; }
.mail__head span { color: #6d716a; font-size: 13px; }
.mail__body { padding: 22px 22px 26px; display: grid; gap: 16px; text-align: center; }
.mail__logo { font-size: 12px; letter-spacing: 0.32em; font-weight: 500; }
.mail__img { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.mail__img img { width: 100%; height: 100%; object-fit: cover; }
.mail__body .mail__h { color: #2c2f2b; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 0; }
.mail__body p { color: #5d625b; }
.mail__cta { justify-self: center; background: #3f4a3c; color: #f3f4ef; padding: 12px 22px; border-radius: 999px; font-size: 13px; font-weight: 500; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
.step { position: relative; display: grid; gap: 12px; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--ink); transform-origin: left; transform: scaleX(0);
}
.js .steps.is-in .step::before { transform: scaleX(1); transition: transform 900ms var(--ease-in-out); }
.js .steps.is-in .step:nth-child(2)::before { transition-delay: 120ms; }
.js .steps.is-in .step:nth-child(3)::before { transition-delay: 240ms; }
.js .steps.is-in .step:nth-child(4)::before { transition-delay: 360ms; }
.step__n { font-size: var(--fs-small); color: var(--slate); font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--fs-h3); }
.step p { color: var(--slate); max-width: 30ch; }
.s--dark .step { border-color: var(--line-dark); }
.s--dark .step::before { background: var(--on-dark); }
.s--dark .step__n, .s--dark .step p { color: var(--on-dark-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .step { padding-right: 12px; } }

/* ---------- Contact / form ---------- */
.cta-split { display: grid; gap: clamp(48px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
.cta-split__text { display: grid; gap: 24px; align-content: start; }
.cta-split__text .h2 { max-width: 13ch; }
@media (min-width: 1000px) { .cta-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .cta-split__text { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; } }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--slate); }
.s--dark .field .opt { color: var(--on-dark-2); }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border-radius: var(--r-input); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55); font-size: 1rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #7d807a; }
.input:focus { outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 3px rgba(86, 100, 58, 0.2); }
.s--dark .input { background: rgba(238, 239, 236, 0.05); border-color: var(--line-dark); color: var(--on-dark); }
.s--dark .input::placeholder { color: #8b8e87; }
.s--dark .input:focus { border-color: var(--lichen); background: rgba(238, 239, 236, 0.08); box-shadow: 0 0 0 3px rgba(195, 205, 160, 0.2); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.s--dark .input[aria-invalid="true"] { border-color: #f2a39b; }
.err { font-size: 0.875rem; color: #b3261e; }
.s--dark .err { color: #f2a39b; }
.err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--line); font-size: 0.9375rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.chip span .i { font-size: 14px; width: 0; margin-right: 0; opacity: 0; transition: width 200ms var(--ease-out), margin-right 200ms var(--ease-out), opacity 160ms ease; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span .i { width: 14px; margin-right: 8px; opacity: 1; }
.chip input:active + span { transform: scale(0.97); }
.chip input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: 2px; }
.s--dark .chip span { border-color: var(--line-dark); }
.s--dark .chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.s--dark .chip input:focus-visible + span { outline-color: var(--lichen); }
.form__note { font-size: 0.875rem; color: var(--slate); max-width: 52ch; }
.s--dark .form__note { color: var(--on-dark-2); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { border-radius: var(--r-input); padding: 18px 20px; display: grid; gap: 6px; }
.form__status[hidden] { display: none; }
.form__status b { font-weight: 500; font-size: 1.1rem; }
.form__status--ok { background: rgba(86, 100, 58, 0.12); }
.form__status--err { background: rgba(179, 38, 30, 0.08); }
.s--dark .form__status--ok { background: rgba(195, 205, 160, 0.12); }
.s--dark .form__status--err { background: rgba(242, 163, 155, 0.12); }
.form.is-sending .btn { opacity: 0.6; pointer-events: none; }

/* ---------- Page heroes (inner pages) ---------- */
.phero { padding-top: clamp(56px, 9vw, 128px); padding-bottom: clamp(56px, 7vw, 104px); }
.phero__grid { display: grid; gap: 32px 64px; grid-template-columns: minmax(0, 1fr); align-items: end; }
.phero .h1 { max-width: 13ch; }
.phero__aside { display: grid; gap: 28px; justify-items: start; }
@media (min-width: 1000px) { .phero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.crumb { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; font-size: var(--fs-small); color: var(--slate); text-decoration: none; }
.crumb .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .crumb:hover { color: var(--ink); } }

/* ---------- Services overview rows ---------- */
.srow { display: grid; gap: 28px 64px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__name { display: grid; gap: 14px; align-content: start; }
.srow__name .label { font-size: 0.95rem; color: var(--ink); }
.srow__name h2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); max-width: 14ch; }
.srow__body { display: grid; gap: 24px; align-content: start; max-width: 54ch; }
.srow__body p { color: var(--slate); }
.srow--primary .srow__name h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.srow--secondary { opacity: 1; }
.srow--secondary .srow__name h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
@media (min-width: 900px) { .srow { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.list-plain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.list-plain li { padding: 7px 13px; border-radius: 999px; background: var(--mist); font-size: 0.875rem; }
.s--mist .list-plain li { background: var(--paper); }
.s--dark .list-plain li { background: var(--graphite); }

/* ---------- Service detail ---------- */
.split { display: grid; gap: 32px 64px; grid-template-columns: minmax(0, 1fr); }
.split .h2 { max-width: 15ch; }
.split__body { display: grid; gap: 24px; align-content: start; max-width: 58ch; }
.split__body p { color: var(--slate); font-size: 1.125rem; }
.s--dark .split__body p { color: var(--on-dark-2); }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

.items { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.items > li { display: grid; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
.items h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.items p { color: var(--slate); max-width: 56ch; }
.s--dark .items, .s--dark .items > li { border-color: var(--line-dark); }
.s--dark .items p { color: var(--on-dark-2); }
@media (min-width: 760px) { .items > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks .i { margin-top: 4px; color: var(--moss); font-size: 16px; }
.s--dark .checks .i { color: var(--lichen); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 1.2rem; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { font-size: 20px; transition: transform 240ms var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--slate); max-width: 64ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Closing CTA band */
.band { display: grid; gap: 32px; justify-items: start; }
.band .h2 { max-width: 18ch; }
.band p { max-width: 46ch; }

/* ---------- Work index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filter {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: 0.9375rem; font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work-index { display: grid; gap: clamp(56px, 6vw, 88px) clamp(20px, 2.4vw, 32px); grid-template-columns: minmax(0, 1fr); }
.work-index .pcard .media { aspect-ratio: 5 / 4; }
.work-index .pcard[hidden] { display: none; }
@media (min-width: 900px) {
  .work-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-index .pcard:nth-child(even) { margin-top: clamp(40px, 7vw, 120px); }
}
.work-empty { color: var(--slate); }

/* ---------- Case study blocks ---------- */
.case-hero { position: relative; }
.case-hero .media { aspect-ratio: 16 / 8; }
@media (max-width: 699px) { .case-hero .media { aspect-ratio: 4 / 5; } }
.case-meta { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-block: 28px; border-block: 1px solid var(--line); }
.case-meta dt { font-size: var(--fs-small); color: var(--slate); margin-bottom: 6px; }
.case-meta dd { font-weight: 500; }
.s--dark .case-meta { border-color: var(--line-dark); }
.s--dark .case-meta dt { color: var(--on-dark-2); }
.frames { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .frames--hl { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; }
  .frames--hl .media:first-child { aspect-ratio: 4 / 5; }
  .frames--hl .media:last-child { aspect-ratio: 5 / 6; }
}
.frames .media { aspect-ratio: 4 / 5; }
.mosaic { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: minmax(0, 1fr); }
.mosaic .media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .mosaic .media:nth-child(1) { grid-column: 1 / span 8; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; }
  .mosaic .media:nth-child(2) { grid-column: 9 / span 4; aspect-ratio: 4 / 4.2; }
  .mosaic .media:nth-child(3) { grid-column: 9 / span 4; aspect-ratio: 4 / 4.2; }
}
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swatch { aspect-ratio: 1 / 1.2; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 0.78rem; border: 1px solid var(--line); }
.swatch b { font-weight: 500; }
.specimen { border-radius: var(--r-media); padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; }
.specimen__big { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; font-weight: 400; }

.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 640px; }
.phone { border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 18; background: #fbf8f4; color: #4a4038; border: 1px solid rgba(74, 64, 56, 0.16); display: flex; flex-direction: column; font-size: clamp(10px, 1.05vw, 13px); }
.phone__bar { display: flex; justify-content: space-between; padding: 14px 16px 10px; font-size: 0.85em; letter-spacing: 0.24em; }
.phone__img { aspect-ratio: 4 / 3.3; margin: 0 10px; border-radius: 14px; overflow: hidden; }
.phone__img img { width: 100%; height: 100%; object-fit: cover; }
.phone__body { padding: 16px; display: grid; gap: 10px; align-content: start; }
.phone__body b { font-weight: 500; font-size: 1.6em; letter-spacing: -0.02em; line-height: 1.08; }
.phone__list { display: grid; margin-top: 4px; }
.phone__list span { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(74, 64, 56, 0.14); }
.phone__btn { margin: auto 16px 18px; text-align: center; padding: 12px; border-radius: 999px; background: #4a4038; color: #fbf8f4; font-size: 0.95em; }

.sheet { max-width: 980px; margin-inline: auto; border-radius: var(--r-media); background: #fff; color: #222524; border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); display: grid; gap: 22px; box-shadow: 0 30px 60px -36px rgba(40, 44, 36, 0.35); }
.sheet__top { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.2em; color: #6b6f6c; }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.sheet__grid .media { border-radius: 8px; aspect-ratio: 4 / 5; }
.sheet dl { display: grid; gap: 14px; align-content: start; font-size: 0.875rem; }
.sheet dt { color: #6b6f6c; font-size: 0.75rem; }
.sheet__h { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }

.shop { border-radius: var(--r-media); overflow: hidden; background: #f4f5f3; color: #2d302c; border: 1px solid var(--line); }
.shop__nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font-size: 0.8rem; border-bottom: 1px solid #e1e3df; }
.shop__nav b { letter-spacing: 0.3em; font-weight: 500; }
.shop__nav span { display: flex; gap: 18px; color: #61655f; }
.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.shop__item { display: grid; gap: 8px; font-size: 0.82rem; }
.shop__item .media { border-radius: 8px; aspect-ratio: 4 / 5; background: #e7e9e5; }
.shop__item span { color: #61655f; }

.explored { list-style: none; padding: 0; margin: 0; counter-reset: ex; display: grid; }
.explored li { display: grid; grid-template-columns: 3rem 1fr; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: ex; }
.explored li::before { content: counter(ex, decimal-leading-zero); color: var(--slate); font-variant-numeric: tabular-nums; font-size: var(--fs-small); padding-top: 3px; }
.s--dark .explored li { border-color: var(--line-dark); }
.s--dark .explored li::before { color: var(--on-dark-2); }

.next-case { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; text-decoration: none; }
.next-case .media { aspect-ratio: 16 / 9; }
.next-case__t { display: grid; gap: 12px; }
@media (min-width: 900px) { .next-case { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (hover: hover) and (pointer: fine) { .next-case:hover .media img { transform: scale(1.03); } }
.next-case .media img { transition: transform 900ms var(--ease-out); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--on-dark); padding-top: clamp(64px, 8vw, 112px); padding-bottom: 32px; }
.ftr__top { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(56px, 7vw, 96px); }
.ftr__brand { display: grid; gap: 20px; align-content: start; }
.ftr__brand .brand .mark { color: var(--paper); --mark-fg: var(--ink); }
.ftr__brand p { font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.15; max-width: 18ch; font-weight: 500; }
.ftr__cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr__h { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; color: var(--on-dark-2); line-height: 1.4; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ftr ul a { text-decoration: none; display: inline-block; padding: 5px 0; }
@media (hover: hover) and (pointer: fine) { .ftr ul a:hover { color: var(--lichen); } }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--on-dark-2); }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ftr__bottom a { padding: 4px 0; }
@media (min-width: 900px) {
  .ftr__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ftr__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

/* ---------- Utilities ---------- */
.stack-s > * + * { margin-top: 16px; }
.stack-m > * + * { margin-top: 28px; }
.nowrap { white-space: nowrap; }
.mt-l { margin-top: clamp(48px, 6vw, 88px); }
.mt-m { margin-top: clamp(28px, 3vw, 44px); }
.center-col { max-width: 60ch; }

/* ---------- Round 2: broader sectors, services chapters ---------- */

/* Hero sector index: the bridge from hero into the work */
.sectors { margin-top: clamp(56px, 7vw, 104px); }
.sectors__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px); align-items: end;
}
.sectors__item a { display: grid; gap: 12px; text-decoration: none; }
.sectors__img { display: block; overflow: hidden; border-radius: 14px; background: var(--mist); aspect-ratio: 4 / 5; }
.sectors__item:nth-child(even) .sectors__img { aspect-ratio: 4 / 4.3; }
.sectors__item:nth-child(3n + 1) .sectors__img { aspect-ratio: 4 / 5.6; }
.sectors__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.sectors__label { font-size: 0.875rem; color: var(--slate); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .sectors__item a:hover img { transform: scale(1.04); }
  .sectors__item a:hover .sectors__label { color: var(--ink); }
}
.js .hero .sectors__item { opacity: 0; transform: translateY(18px); }
.js .hero.is-loaded .sectors__item {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(320ms + var(--i) * 60ms);
}
@media (max-width: 899px) {
  .sectors__list {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    padding-bottom: 6px; scrollbar-width: none;
  }
  .sectors__list::-webkit-scrollbar { display: none; }
  .sectors__item { flex: 0 0 clamp(150px, 42vw, 220px); scroll-snap-align: start; }
}

.work-intro { padding-top: clamp(72px, 9vw, 136px); }

/* Website mock tones */
.site-mock--sea { background: #31403f; }
.site-mock--navy { background: #1d2b3a; }
.site-mock--navy::after { background: linear-gradient(90deg, rgba(14, 22, 32, 0.72), rgba(14, 22, 32, 0.15) 60%), linear-gradient(180deg, rgba(14, 22, 32, 0.5), rgba(14, 22, 32, 0) 30%); }
.site-mock--dusk { background: #2a2e3d; }

/* Desktop + phone pair */
.duo { position: relative; margin: 0; padding: 0 clamp(36px, 9%, 120px) clamp(28px, 6%, 72px) 0; container-type: inline-size; }
.duo .pmock { position: absolute; right: 0; bottom: 0; width: clamp(104px, 25%, 230px); }
.pmock {
  --pm-bg: #f4f2ee; --pm-fg: #2a2a28;
  aspect-ratio: 9 / 19; border-radius: 26px; overflow: hidden;
  border: 5px solid #121312; background: var(--pm-bg); color: var(--pm-fg);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  font-size: clamp(6px, 1.05cqi, 12px);
}
.pmock--navy { --pm-bg: #f3f2ee; --pm-fg: #1d2b3a; }
.pmock--sea { --pm-bg: #eef0ec; --pm-fg: #2f4a4c; }
.pmock--dusk { --pm-bg: #f4efe9; --pm-fg: #3b2f2a; }
.pmock__bar { display: flex; justify-content: space-between; align-items: center; padding: 1.6em 1.4em 1.1em; letter-spacing: 0.22em; font-size: 0.85em; }
.pmock__menu { width: 1.7em; height: 0.75em; border-block: 1.5px solid currentColor; }
.pmock__img { margin: 0 0.9em; border-radius: 0.9em; overflow: hidden; aspect-ratio: 4 / 4.6; }
.pmock__img img { width: 100%; height: 100%; object-fit: cover; }
.pmock__body { padding: 1.2em 1.4em; }
.pmock__body b { display: block; font-weight: 500; font-size: 1.7em; line-height: 1.1; letter-spacing: -0.02em; }
.pmock__btn { margin: auto 1.2em 1.6em; padding: 1.1em; border-radius: 999px; text-align: center; background: var(--pm-fg); color: var(--pm-bg); }

/* Document compositions */
.docs { display: grid; gap: clamp(16px, 2vw, 28px); }
.docs:not(.docs--wide):not(.docs--single) .spread:first-child { width: 90%; }
.docs:not(.docs--wide):not(.docs--single) .spread:nth-child(2) { width: 72%; margin-left: auto; margin-top: -16%; position: relative; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.docs--wide { max-width: 1240px; margin-inline: auto; align-items: center; }
.docs--single { max-width: 1000px; margin-inline: auto; }
@media (min-width: 900px) { .docs--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Instagram-style feed */
.ig {
  max-width: 440px; width: 100%; margin: 0 auto; padding-top: 18px; overflow: hidden;
  background: #fff; color: #1f2628; border-radius: var(--r-media); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(40, 44, 36, 0.4); font-size: 13px; line-height: 1.4;
}
.ig__head { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.ig__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #2f3a3f; color: #e8eeef; font-weight: 500; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #b9c6c9; }
.ig__id { display: grid; }
.ig__id b { font-weight: 600; }
.ig__id span { color: #6b7477; }
.ig__follow { margin-left: auto; padding: 6px 14px; border-radius: 8px; background: #2f3a3f; color: #fff; font-size: 12px; font-weight: 500; }
.ig__bio { padding: 10px 16px 0; color: #3c4548; }
.ig__hl { list-style: none; display: flex; gap: 14px; margin: 0; padding: 14px 16px 16px; font-size: 11px; color: #4b5558; }
.ig__hl li { display: grid; justify-items: center; gap: 6px; }
.ig__ring { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfd8da; box-shadow: inset 0 0 0 3px #fff; }
.ig__ring--0 { background: #dfe5e6; } .ig__ring--1 { background: #2f3a3f; } .ig__ring--2 { background: #b9c6c9; } .ig__ring--3 { background: #f1f4f4; }
.ig__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.ig--compact .ig__grid { padding-top: 14px; }
.ig--compact .ig__bio, .ig--compact .ig__hl { display: none; }
.ig__post { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #dfe5e6; container-type: inline-size; }
.ig__post img { width: 100%; height: 100%; object-fit: cover; }
.ig__post--type { display: flex; flex-direction: column; justify-content: space-between; padding: 11%; }
.ig__post--type span { font-size: max(6px, 7cqi); letter-spacing: 0.06em; opacity: 0.7; }
.ig__post--type b { font-weight: 500; font-size: max(8px, 10.5cqi); line-height: 1.14; letter-spacing: -0.01em; }
.ig__post--type i { position: absolute; top: 9%; right: 9%; font-style: normal; font-size: max(6px, 6.5cqi); opacity: 0.65; }
.ig__post--mist { background: #dfe5e6; color: #24302f; }
.ig__post--slate { background: #2f3a3f; color: #e8eeef; }
.ig__post--white { background: #f4f7f7; color: #24302f; }
.ig__post--over::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 30, 32, 0.6)); }
.ig__post--over b { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 9%; color: #fff; font-weight: 500; font-size: max(8px, 10cqi); line-height: 1.15; }

.feed-stage { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.feed-stage__notes { display: grid; gap: 22px; max-width: 44ch; }
.feed-stage__img { aspect-ratio: 4 / 5; max-width: 520px; width: 100%; }
@media (min-width: 900px) { .feed-stage { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); justify-content: center; } }

/* Retention email journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.journey__meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex: none; }
.journey__meta b { font-weight: 500; }
.journey__meta span { margin-left: auto; color: var(--slate); font-variant-numeric: tabular-nums; }
.s--dark .journey__meta { border-color: var(--line-dark); }
.s--dark .journey__meta::before { background: var(--lichen); }
.s--dark .journey__meta span { color: var(--on-dark-2); }
.jmail { display: grid; gap: 10px; padding: 12px; background: #fff; color: #1f2628; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -30px rgba(40, 44, 36, 0.35); }
.jmail__img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #dfe5e6; }
.jmail__img img { width: 100%; height: 100%; object-fit: cover; }
.jmail__subject { font-weight: 500; font-size: 0.95rem; line-height: 1.3; }
.jmail__note { font-size: 0.85rem; color: #5c6365; line-height: 1.45; }
.journey--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journey--compact .jmail__subject { font-size: 0.875rem; }
@media (max-width: 899px) {
  .journey:not(.journey--compact) {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .journey:not(.journey--compact)::-webkit-scrollbar { display: none; }
  .journey:not(.journey--compact) .journey__step { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
}

/* Services overview */
.svc-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-index a {
  display: grid; grid-template-columns: 3rem minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 12px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.svc-index__n { font-size: var(--fs-small); color: var(--slate); font-variant-numeric: tabular-nums; }
.svc-index__name { font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; transition: transform 260ms var(--ease-out); }
.svc-index__line { color: var(--slate); }
.svc-index .i { font-size: 18px; transform: rotate(90deg); transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc-index a:hover .svc-index__name { transform: translateX(8px); }
  .svc-index a:hover .i { transform: rotate(90deg) translateX(3px); }
}
@media (max-width: 699px) {
  .svc-index a { grid-template-columns: 2rem minmax(0, 1fr) auto; padding: 18px 0; }
  .svc-index__line { display: none; }
}
.chapter { scroll-margin-top: var(--hdr-h); }
.chapter__grid { display: grid; gap: clamp(40px, 5vw, 88px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.chapter__text { display: grid; gap: 22px; align-content: start; max-width: 46ch; }
.chapter__text .h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.s--dark .chapter__text .label { color: var(--on-dark-2); }
.chapter__cap { margin-top: 18px; text-align: center; }
@media (min-width: 1000px) {
  .chapter__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .chapter__grid--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (max-width: 999px) { .chapter__grid--flip .docs { order: 2; } }

.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.thumb { display: grid; gap: 14px; text-decoration: none; }
.thumb .browser { transition: transform 320ms var(--ease-out); box-shadow: 0 20px 40px -30px rgba(40, 44, 36, 0.4); }
.thumb__t { display: grid; gap: 2px; font-size: 0.9375rem; }
.thumb__t b { font-weight: 500; }
.thumb__t span { color: var(--slate); font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) { .thumb:hover .browser { transform: translateY(-4px); } }
@media (max-width: 899px) {
  .thumbs {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
}

.joined { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); align-items: end; }
.joined__item { margin: 0; display: grid; gap: 10px; container-type: inline-size; }
.joined__item figcaption { font-size: var(--fs-small); color: var(--on-dark-2); }
.joined__item--web .site-mock { aspect-ratio: 4 / 3.1; border-radius: 14px; }
.joined__menu, .joined__mail { aspect-ratio: 3 / 4; border-radius: 14px; display: flex; flex-direction: column; text-align: center; }
.joined__menu { background: #eef0ec; color: #2f4a4c; padding: 14% 12%; gap: 0.7em; font-size: max(9px, 5.4cqi); }
.joined__menu small, .joined__mail small { letter-spacing: 0.22em; font-size: 0.8em; opacity: 0.8; }
.joined__menu b { font-weight: 400; font-size: 2.3em; letter-spacing: -0.02em; margin: 0.4em 0 0.5em; }
.joined__menu span { padding-top: 0.7em; border-top: 1px solid rgba(47, 74, 76, 0.2); }
.joined__post { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; container-type: inline-size; }
.joined__post img { width: 100%; height: 100%; object-fit: cover; }
.joined__post::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 26, 28, 0.65)); }
.joined__post b { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 8%; color: #fff; font-weight: 500; font-size: max(10px, 8cqi); line-height: 1.15; }
.joined__mail { background: #fff; color: #2f4a4c; padding: 10%; gap: 0.6em; font-size: max(9px, 5.4cqi); }
.joined__mail div { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.joined__mail div img { width: 100%; height: 100%; object-fit: cover; }
.joined__mail b { font-weight: 500; font-size: 1.5em; line-height: 1.15; margin-top: 0.3em; }
.joined__mail span { margin: auto auto 0; padding: 0.7em 1.2em; border-radius: 999px; background: #2f4a4c; color: #eef0ec; font-size: 0.85em; }
@media (max-width: 899px) {
  .joined {
    display: flex; align-items: flex-end; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .joined::-webkit-scrollbar { display: none; }
  .joined__item { flex: 0 0 min(56vw, 240px); scroll-snap-align: start; }
  .joined__item--web { flex-basis: min(84vw, 420px); }
}

/* Direct email */
.direct { display: grid; gap: 6px; margin-top: 8px; }
.direct__mail, .mail-link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.direct__mail { font-size: var(--fs-h3); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.s--dark .mail-link { color: var(--on-dark); }
.ftr__mail { color: var(--on-dark-2); text-decoration: none; width: fit-content; padding-block: 4px; }
@media (hover: hover) and (pointer: fine) { .ftr__mail:hover, .mail-link:hover, .direct__mail:hover { color: var(--moss); } .ftr__mail:hover, .s--dark .mail-link:hover { color: var(--lichen); } }

/* Mobile refinements (375 to 430) */
@media (max-width: 599px) {
  .hero { padding-top: 40px; }
  .hero__foot { margin-top: 32px; gap: 24px; }
  .hero__foot .actions .btn { flex: 1 1 auto; }
  .head { margin-bottom: 40px; }
  .duo { padding: 0 20% 16% 0; }
  .duo .pmock { width: 32%; border-width: 3px; border-radius: 16px; }
  .svc-feature { padding-bottom: 56px; }
  .work-grid { gap: 56px; }
  .pcard { gap: 16px; }
  .ig { font-size: 12px; }
  .ig__hl { gap: 10px; }
  .ig__ring { width: 40px; height: 40px; }
  .band .btn, .cta-split .form .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .hero [data-load], .js [data-reveal="up"] { opacity: 1; transform: none; }
  .js [data-reveal="media"] { clip-path: none; }
  .js [data-reveal="media"] img { transform: none; }
  .js .steps .step::before { transform: scaleX(1); }
  .slot img { transform: none; }
  .js .hero .sectors__item { opacity: 1; transform: none; }
}

/* Services section on dark (home) */
.s--dark .svc-feature { border-color: var(--line-dark); }
.s--dark .svc p { color: var(--on-dark-2); }
/* keep visually-hidden captions inside their scrollers */
.browser, .thumbs, .sectors__list, .journey { position: relative; }
.steps, .items { list-style: none; margin: 0; padding: 0; }
.joined { position: relative; }
