@font-face { font-family: 'Ohpixel'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ohpixel.woff2') format('woff2'); }
/* HORIZON design system — tokens + components (synced 10 Oct 2026 version) applied to Product Future Lab.
   Source: "HORIZON Design System" (vovashko/future-report). Fonts are self-hosted. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/fraunces-latin-ext-wght-italic.woff2') format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Faint Era Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/faint-era-script.woff2') format('woff2'); }

/* ---------- tokens ---------- */
:root {
  /* surfaces */
  --ink: #292929;
  --ink-soft: #191919;
  --ink-line: rgba(245, 243, 236, 0.1);
  --paper: #eae6dc;
  --paper-soft: #f2efe6;
  --paper-line: rgba(41, 41, 41, 0.1);
  --sand: #ffe1c3;
  --paper-studio: radial-gradient(62% 50% at 0% 33%, #f7e7dc 0%, rgba(247, 231, 220, 0) 66%), linear-gradient(180deg, #e2d8d8 0%, #dfd6d7 34%, #dad7d8 70%, #d3d2d1 100%);

  /* accents */
  --sky: #a9c6e2;
  --ember: #e2835b;
  --violet: #9089c9;
  --sage: #8fb996;
  --gold: #d1a355;
  --rose: #c98a9c;

  /* text */
  --text-hi: #f5f3ec;
  --text-lo: #9aa0ac;
  --text-dark: #15161c;
  --text-dark-lo: #5c5a52;

  /* radii: one 14px control radius */
  --r-ctl: 14px;
  --r-chip: 12px;
  --r-card: 18px;
  --r-lg: 28px;
  --r-pill: 100px;

  /* type */
  --font-serif: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-script: 'Faint Era Script', cursive;

  /* effects */
  --gradient-signature: linear-gradient(100deg, var(--sky), var(--paper) 55%, var(--ember));
  --gradient-on-paper: linear-gradient(100deg, var(--sky), #c9a68f 55%, var(--ember));
  --glass-bg: rgba(41, 41, 41, 0.06);
  --glass-light: rgba(252, 250, 246, 0.4);
  --glass-blur: blur(24px);
  --glow-corners: -25px -25px 32px 0 var(--sage) inset, 25px 25px 32px 0 var(--gold) inset;

  /* layout */
  --content-max: 1320px;
  --section-pad-y: 130px;
  --section-pad-x: 48px;
  --section-pad-x-mobile: 22px;
  --ease-ui: 0.25s ease;
  --ease-reveal: 0.8s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink-soft); color: var(--text-hi); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; padding: 12px; }
::selection { background: var(--ember); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sky); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* the page floats in a rounded frame */
.frame { background: var(--ink); border-radius: var(--r-lg); overflow: hidden; min-height: calc(100vh - 24px); position: relative; }
@media (max-width: 640px) { body { padding: 6px; } .frame { border-radius: 20px; } }

/* ---------- typography ---------- */
.hz-display { font-family: var(--font-serif); font-weight: 300; font-size: clamp(56px, 8.5vw, 130px); line-height: 1; letter-spacing: -0.01em; }
.hz-headline-xl { font-family: var(--font-serif); font-weight: 300; font-size: clamp(44px, 6vw, 92px); line-height: 1.04; letter-spacing: -0.01em; }
.hz-section-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; max-width: 720px; }
.hz-group-heading { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.hz-card-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; }
.hz-list-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.01em; }
.hz-quote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 4vw, 46px); line-height: 1.28; }
.hz-lead { font-size: 17px; line-height: 1.6; color: rgba(245, 243, 236, 0.88); }
.hz-body { font-size: 15px; line-height: 1.65; color: var(--text-lo); }
.hz-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lo); }
.hz-em { font-style: italic; font-weight: 400; color: var(--sky); }
.hz-em-gradient { font-style: italic; font-weight: 400; background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 0.12em 0.06em 0.14em; margin: 0 -0.12em 0 -0.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-paper .hz-em-gradient { background-image: var(--gradient-on-paper); }
.hz-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-lo); display: flex; align-items: center; gap: 10px; }
.hz-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); flex-shrink: 0; }
.script { font-family: var(--font-script); color: var(--sand); line-height: 1; font-weight: 400; }

/* ---------- layout ---------- */
.sec { padding: var(--section-pad-y) var(--section-pad-x); position: relative; }
.sec--soft { background: var(--ink-soft); }
.sec--paper { background: var(--paper-studio); color: var(--text-dark); }
.sec--paper .hz-eyebrow, .sec--paper .hz-body { color: var(--text-dark-lo); }
.wrap { max-width: var(--content-max); margin: 0 auto; }
.sec-head { max-width: var(--content-max); margin: 0 auto 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head .stack { display: flex; flex-direction: column; gap: 18px; }
.sec-desc { max-width: 340px; color: var(--text-lo); font-size: 15px; line-height: 1.65; }
.sec--paper .sec-desc { color: var(--text-dark-lo); }
@media (max-width: 640px) { .sec { padding-left: var(--section-pad-x-mobile); padding-right: var(--section-pad-x-mobile); --section-pad-y: 84px; } }

/* ---------- glass nav ---------- */
.hz-nav { position: fixed; top: 24px; left: 36px; right: 36px; z-index: 999; min-height: 56px; border-radius: var(--r-chip); background-color: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 22px; transition: background-color 0.35s ease, color 0.35s ease; }
.hz-nav__brand { display: block; color: #fff; line-height: 0; }
.hz-nav__brand:hover { color: #fff; }
.hz-nav__links { display: flex; align-items: center; gap: 8px; }
.hz-nav__item { background: rgba(245, 243, 236, 0.09); font-size: 14px; letter-spacing: 0; font-weight: 500; color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); transition: background 0.2s ease; }
.hz-nav__item:hover { background: rgba(245, 243, 236, 0.2); color: #fff; }
.hz-nav__item.is-active { background: rgba(245, 243, 236, 0.2); }
.hz-nav__menu { display: none; background: rgba(245, 243, 236, 0.09); border: none; color: #fff; font-size: 14px; letter-spacing: 0; font-weight: 500; padding: 10px 16px; border-radius: var(--r-ctl); cursor: pointer; }
@media (max-width: 960px) {
  .hz-nav { left: 22px; right: 22px; top: 18px; padding: 8px 8px 8px 16px; flex-wrap: wrap; }
  .hz-nav__links { display: none; width: 100%; order: 3; flex-direction: column; align-items: stretch; padding: 8px 0 6px; }
  .hz-nav.is-open .hz-nav__links { display: flex; }
  .hz-nav.is-open { background-color: rgba(25, 25, 25, 0.92); }
  .hz-nav__menu { display: block; }
  .hz-nav .hz-nav__cta { display: none; }
  .hz-nav__brand { font-size: 24px; }
}

/* ---------- buttons ---------- */
.hz-btn { display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; font-family: var(--font-sans); transition: transform var(--ease-ui), background var(--ease-ui), opacity var(--ease-ui); }
.hz-btn--primary { background: var(--paper); color: var(--text-dark); padding: 16px 28px; border-radius: var(--r-ctl); font-size: 14px; font-weight: 600; }
.hz-btn--primary:hover { transform: translateY(-2px); color: var(--text-dark); }
.hz-btn--cta { background: #fff; color: var(--text-dark); font-size: 14px; font-weight: 600; letter-spacing: 0; padding: 12px 20px; border-radius: var(--r-ctl); gap: 9px; white-space: nowrap; }
.hz-btn--cta:hover { background: var(--paper); transform: translateY(-1px); color: var(--text-dark); }
.hz-btn--dark { background: var(--text-dark); color: var(--paper); font-size: 14px; font-weight: 600; letter-spacing: 0; padding: 14px 26px; border-radius: var(--r-ctl); }
.hz-btn--dark:hover { background: var(--ink); transform: translateY(-1px); color: var(--paper); }
.hz-btn--ghost { background: rgba(245, 243, 236, 0.09); color: #fff; font-size: 14px; letter-spacing: 0; font-weight: 500; padding: 14px 22px; border-radius: var(--r-ctl); }
.hz-btn--ghost:hover { background: rgba(245, 243, 236, 0.2); color: #fff; }

/* ---------- badge / pill ---------- */
.hz-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-hi); background-color: rgba(245, 243, 236, 0.07); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: none; border-radius: var(--r-chip); padding: 7px 16px; }
.hz-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--sky)); flex-shrink: 0; }
.hz-pill { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: none; border-radius: var(--r-chip); background: rgba(245, 243, 236, 0.09); color: var(--text-hi); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background 0.2s ease; }
.hz-pill:hover { background: rgba(245, 243, 236, 0.18); }
.hz-pill.is-active { background: #fff; color: var(--text-dark); }
.hz-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--sky)); }
.dot-sky { --dot: var(--sky); } .dot-ember { --dot: var(--ember); } .dot-violet { --dot: var(--violet); } .dot-sage { --dot: var(--sage); } .dot-gold { --dot: var(--gold); } .dot-rose { --dot: var(--rose); }

/* ---------- hero (cover) ---------- */
.cover { position: relative; min-height: 780px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 160px var(--section-pad-x) 110px; overflow: hidden; }
.cover--short { min-height: 560px; padding-bottom: 90px; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) saturate(105%) contrast(1.02) brightness(0.98); }
.cover__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41, 41, 41, 0.55) 0%, rgba(41, 41, 41, 0.45) 32%, rgba(41, 41, 41, 0.62) 66%, rgba(41, 41, 41, 0.94) 88%, #292929 100%); }
.cover__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 1080px; }
.cover__inner .logo-mark { width: min(400px, 80vw); }
.cover__lead { max-width: 560px; }
.cover__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px) { .cover { min-height: 640px; padding-top: 130px; } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink-soft); overflow: hidden; border-block: 1px solid var(--ink-line); }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 36px; padding: 30px 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-hi); white-space: nowrap; }
.ticker__item::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: 72px; align-items: center; max-width: var(--content-max); margin: 0 auto; }
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-soft); aspect-ratio: 482 / 580; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%) contrast(1.02); }
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text .hz-lead + .hz-lead { color: var(--text-lo); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.stat { border-top: 1px solid var(--ink-line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-family: var(--font-serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } .portrait { max-width: 420px; } }

/* ---------- statement ---------- */
.statement { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

/* ---------- list rows on paper (services, career) ---------- */
.trend { border-bottom: 1px solid var(--paper-line); padding: 26px 4px; display: grid; grid-template-columns: 56px 132px 1fr 1.15fr 24px; align-items: center; gap: 24px; color: var(--text-dark); transition: background 0.3s ease; }
.trend:first-child { border-top: 1px solid var(--paper-line); }
.trend:hover { background: rgba(15, 16, 17, 0.035); color: var(--text-dark); }
.trend__num { font-family: var(--font-mono); font-size: 13px; color: var(--text-dark-lo); }
.trend__thumb { width: 132px; height: 92px; border-radius: var(--r-chip); background: var(--ink-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px; }
.trend__thumb img { width: 100%; height: 100%; object-fit: contain; }
.trend__meta { font-size: 14px; color: var(--text-dark-lo); line-height: 1.6; }
.trend__arrow { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--paper-line); display: flex; align-items: center; justify-content: center; font-size: 11px; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.trend:hover .trend__arrow { background: var(--text-dark); color: var(--paper); transform: rotate(45deg); }
.career-row { grid-template-columns: 200px 1fr 1.4fr; }
.career-row .hz-meta { color: var(--text-dark-lo); }
@media (max-width: 860px) { .trend { grid-template-columns: 34px 84px 1fr 24px; gap: 14px; } .trend__thumb { width: 84px; height: 60px; padding: 4px; } .trend__meta { display: none; } .career-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- cards with the travelling gradient ring ---------- */
.ring { position: relative; isolation: isolate; border-radius: var(--r-lg); background: var(--ink-soft); }
@property --ring-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ring-travel { to { --ring-a: 360deg; } }
/* gradient layer (travels) + inner fill leaves a 1.5px ring; no masks, so Safari/Chrome/Firefox all render it */
.ring::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none; background: conic-gradient(from calc(var(--ring-from, 120deg) + var(--ring-a)), rgba(169, 198, 226, 0.14) 0deg, var(--sky) 50deg, var(--paper) 100deg, var(--ember) 150deg, rgba(226, 131, 91, 0.14) 210deg, rgba(169, 198, 226, 0.14) 360deg); animation: ring-travel 9s linear infinite; }
.ring::after { content: ''; position: absolute; inset: 2px; z-index: -1; border-radius: calc(var(--r-lg) - 2px); pointer-events: none; background: var(--ink-soft); }
.pcard:nth-child(2n), .post:nth-child(2n), .res:nth-child(2n) { --ring-from: 200deg; } .pcard:nth-child(3n), .post:nth-child(3n) { --ring-from: 40deg; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.step { padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.pcard:nth-child(2n), .post:nth-child(2n), .res:nth-child(2n) { --ring-from: 200deg; } .pcard:nth-child(3n), .post:nth-child(3n) { --ring-from: 40deg; }
.step:nth-child(2) { --ring-from: 200deg; } .step:nth-child(3) { --ring-from: 40deg; } .step:nth-child(4) { --ring-from: 280deg; } .step:nth-child(5) { --ring-from: 160deg; }
.step__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.step li { font-size: 15px; line-height: 1.6; color: var(--text-lo); padding-left: 18px; position: relative; }
.step li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.step li b { color: var(--text-hi); font-weight: 500; }
.step__deliver { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ink-line); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.7; color: var(--text-lo); }
.step__deliver b { color: var(--sky); font-weight: 500; }
@media (max-width: 640px) { .step { padding: 30px 24px; } }

/* ---------- testimonials ---------- */
.quotes { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 calc(-1 * var(--section-pad-x)); padding-inline: var(--section-pad-x); scrollbar-width: thin; scrollbar-color: rgba(245, 243, 236, 0.2) transparent; }
.quote { flex: 0 0 min(560px, 88vw); scroll-snap-align: start; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.quote p { font-size: 15px; line-height: 1.7; color: rgba(245, 243, 236, 0.88); }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote__name { font-family: var(--font-serif); font-weight: 300; font-size: 22px; }
.quote__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lo); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--ink-line); }
.faq details:last-child { border-bottom: 1px solid var(--ink-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 4px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 18px; transition: transform 0.3s ease, background 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--text-hi); color: var(--text-dark); }
.faq__a { padding: 0 64px 30px 4px; max-width: 800px; }

/* ---------- CTA ---------- */
.cta { max-width: var(--content-max); margin: 0 auto; border-radius: var(--r-lg); background: var(--ink-soft); box-shadow: var(--glow-corners); padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta p { max-width: 520px; }

/* ---------- footer ---------- */
.foot { background: var(--ink-soft); padding: 80px var(--section-pad-x) 48px; }
.foot__grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.logo-mark--foot { width: min(420px, 100%); }
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__col a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-hi); }
.foot__col a:hover { color: var(--sky); }
.foot__col .hz-meta { margin-bottom: 6px; }
.foot__base { max-width: var(--content-max); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } .foot { padding-left: var(--section-pad-x-mobile); padding-right: var(--section-pad-x-mobile); } }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 190px var(--section-pad-x) 70px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 26px; }
.page-head .hz-lead { max-width: 640px; }
.crumb { align-self: flex-start; }
.page-head--cs .wrap { max-width: 1000px; padding: 0 var(--section-pad-x); margin: 0 auto; }
.page-head--cs { padding-left: 0; padding-right: 0; }
@media (max-width: 760px) { .page-head--cs .wrap { padding: 0 var(--section-pad-x-mobile); } }

/* ---------- work: pattern cards ---------- */
.pcards { display: flex; flex-direction: column; gap: 16px; }
.pcard { border-radius: var(--r-lg); background: var(--ink-soft); overflow: hidden; display: flex; min-height: 500px; transition: transform 0.4s ease; }
.pcard:hover { transform: translateY(-3px); color: inherit; }
.pcard:nth-child(even) { flex-direction: row-reverse; }
.pcard__text { flex: 1; min-width: 0; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.pcard__desc { font-size: 16px; line-height: 1.6; color: var(--text-lo); max-width: 420px; }
.pcard__fields { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__go { align-self: flex-start; margin-top: 6px; }
.pcard__visual { flex: 1.05; margin: 28px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); position: relative; display: flex; align-items: center; justify-content: center; }
.pcard__visual img { width: 100%; height: 100%; object-fit: cover; }
.pcard__noimg { width: 100%; height: 100%; min-height: 240px; display: flex; align-items: flex-end; padding: 28px; background: linear-gradient(140deg, var(--violet), var(--sky) 55%, var(--ember)); color: var(--ink); }
.pcard__noimg span { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
@media (max-width: 860px) { .pcard, .pcard:nth-child(even) { flex-direction: column; } .pcard__text { padding: 36px 28px; } .pcard__visual { margin: 0 20px 20px; min-height: 240px; } }

/* ---------- case study ---------- */
.cs { max-width: 1000px; margin: 0 auto; padding: 0 var(--section-pad-x) 120px; display: flex; flex-direction: column; gap: 22px; }
.cs-kv { display: grid; grid-template-columns: 220px 1fr; gap: 0; border-radius: var(--r-card); background: var(--ink-soft); padding: 12px 32px; margin-bottom: 18px; }
.cs-kv dt, .cs-kv dd { padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.cs-kv dt:nth-last-of-type(1), .cs-kv dd:last-of-type { border-bottom: none; }
.cs-kv dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lo); display: flex; align-items: flex-start; padding-top: 22px; }
.cs-kv dd { font-size: 16px; line-height: 1.55; color: var(--text-hi); }
.cs-h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; margin-top: 64px; }
.cs-h3 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.cs-p { font-size: 16px; line-height: 1.7; color: rgba(245, 243, 236, 0.84); max-width: 780px; }
.cs-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-lo); display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.cs-lbl::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.cs-list { list-style: none; display: flex; flex-direction: column; max-width: 860px; }
.cs-list li { padding: 18px 0; border-top: 1px solid var(--ink-line); font-size: 15px; line-height: 1.65; color: var(--text-lo); }
.cs-list li:last-child { border-bottom: 1px solid var(--ink-line); }
.cs-list b { font-family: var(--font-serif); font-weight: 300; font-size: 21px; color: var(--text-hi); display: block; margin-bottom: 4px; letter-spacing: -0.005em; }
.cs-cap { font-size: 14px; line-height: 1.6; color: var(--text-lo); max-width: 780px; padding-left: 16px; border-left: 2px solid var(--ember); }
.cs-cap b { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-hi); display: block; margin-bottom: 4px; }
.cs-img { border-radius: var(--r-card); overflow: hidden; background: var(--ink-soft); border: 1px solid var(--ink-line); }
.cs-img img { width: 100%; height: auto; }
.cs-row { display: grid; gap: 16px; }
.cs-nav { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--section-pad-x) 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-nav a { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--ink-soft); transition: transform 0.3s ease; }
.cs-nav a:hover { transform: translateY(-3px); color: inherit; }
.cs-nav a:last-child { text-align: right; align-items: flex-end; }
@media (max-width: 760px) { .cs { padding-inline: var(--section-pad-x-mobile); } .cs-kv { grid-template-columns: 1fr; padding: 8px 22px; } .cs-kv dt { padding-top: 18px; padding-bottom: 0; border-bottom: none; } .cs-nav { grid-template-columns: 1fr; padding-inline: var(--section-pad-x-mobile); } .cs-nav a:last-child { text-align: left; align-items: flex-start; } }

/* ---------- blog / resources / mentoring ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.post { border-radius: var(--r-lg); background: var(--ink-soft); overflow: hidden; display: flex; flex-direction: column; }
.post.ring, .res.ring { padding: 2px; }
.post__img { aspect-ratio: 413 / 295; overflow: hidden; border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post:hover .post__img img { transform: scale(1.03); }
.post__body { padding: 26px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.res { border-radius: var(--r-lg); background: var(--ink-soft); overflow: hidden; display: flex; flex-direction: column; }
.res__img { aspect-ratio: 640 / 451; overflow: hidden; position: relative; border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
.res__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.res:hover .res__img img { transform: scale(1.03); }
.res__img--video { background: #000; }
.res__img--video img { object-fit: contain; }
.res__play { position: absolute; left: 20px; bottom: 20px; }
.res__body { padding: 24px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.logos { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; justify-content: center; padding: 34px; border-radius: var(--r-card); background: rgba(245, 243, 236, 0.06); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.logos img { height: 30px; width: auto; opacity: 0.85; filter: brightness(0) invert(1); }
.mentor { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: 72px; align-items: center; max-width: var(--content-max); margin: 0 auto; }
@media (max-width: 860px) { .mentor { grid-template-columns: 1fr; gap: 40px; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 40px; display: flex; flex-direction: column; gap: 20px; border-radius: var(--r-lg); background: var(--ink-soft); }
.plan--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px; }
.plan__price { font-family: var(--font-serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan li { font-size: 15px; line-height: 1.6; color: var(--text-lo); padding-left: 18px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.plan .hz-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan--feature { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; } }

/* ---------- password gate (HORIZON form) ---------- */
.gate { position: fixed; inset: 12px; z-index: 2000; border-radius: var(--r-lg); background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.gate__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: grayscale(30%) brightness(0.7); }
.gate__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,41,41,0.7), rgba(41,41,41,0.92)); }
.gate__box { position: relative; width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 44px 36px; border-radius: var(--r-lg); background: rgba(25, 25, 25, 0.72); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: -18px -18px 28px 0 rgba(143, 185, 150, 0.45) inset, 18px 18px 28px 0 rgba(209, 163, 85, 0.45) inset; }
.gate__form { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.gate__field { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--r-ctl); padding: 4px 6px 4px 18px; transition: border-color 0.25s ease; }
.gate__field:focus-within { border-color: var(--sky); }
.gate__field.is-error { border-color: var(--ember); }
.gate__field input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: var(--text-hi); font-family: var(--font-sans); font-size: 15px; padding: 12px 0; }
.gate__eye { border: none; background: transparent; color: var(--text-lo); cursor: pointer; padding: 10px; border-radius: var(--r-chip); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; }
.gate__eye:hover { color: var(--text-hi); }
.gate__err { color: var(--ember); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; min-height: 18px; }
.gate .hz-btn { width: 100%; justify-content: center; }
body.is-locked .frame > :not(.gate) { filter: blur(6px); pointer-events: none; user-select: none; }
body.is-locked { overflow: hidden; }

/* ---------- motion ---------- */
.hz-reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--ease-reveal), transform var(--ease-reveal); }
.hz-reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .ring::before { animation: none; } * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .hz-reveal { opacity: 1; transform: none; } }

/* structured project case studies (build_project) */
.cs-tags { margin-bottom: 22px; }
.page-head--cs .hz-lead { max-width: 760px; margin-top: 22px; }
.cs-fig { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-figcap { font-size: 13px; line-height: 1.5; color: var(--text-lo); }
.cs-img video { width: 100%; height: auto; display: block; }
.cs-quote { max-width: 780px; padding: 6px 0 6px 22px; border-left: 2px solid var(--sky); margin: 0; }
.cs-quote p { font-family: var(--font-serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: var(--text-hi); }
.cs-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-lo); }
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cs-stat { border-radius: var(--r-card); background: var(--ink-soft); padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.cs-stat__n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--text-hi); }
.cs-stat__l { font-size: 14px; line-height: 1.5; color: var(--text-lo); }
.cs-table-wrap { overflow-x: auto; border-radius: var(--r-card); background: var(--ink-soft); border: 1px solid var(--ink-line); }
.cs-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.cs-table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); padding: 16px 20px; border-bottom: 1px solid var(--ink-line); white-space: nowrap; }
.cs-table td { padding: 14px 20px; border-bottom: 1px solid var(--ink-line); color: rgba(245, 243, 236, 0.84); vertical-align: top; }
.cs-table tr:last-child td { border-bottom: none; }

/* visual blocks: cards, flow, matrix, timeline */
.cs-cards { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 14px; }
.cs-card { position: relative; border-radius: var(--r-card); background: var(--ink-soft); border: 1px solid var(--ink-line); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.cs-card__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-lo); }
.cs-card__tag { align-self: flex-start; }
.cs-card h4 { font-family: var(--font-serif); font-weight: 300; font-size: 24px; line-height: 1.12; color: var(--text-hi); }
.cs-card p { font-size: 14.5px; line-height: 1.62; color: var(--text-lo); }
.cs-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.cs-card li { font-size: 14px; line-height: 1.55; color: rgba(245, 243, 236, 0.84); padding-left: 16px; position: relative; }
.cs-card li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.cs-flow { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.cs-step { position: relative; border-radius: var(--r-card); background: var(--ink-soft); border: 1px solid var(--ink-line); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.cs-step--soft { border-style: dashed; opacity: 0.78; }
.cs-step__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ember); }
.cs-step h4 { font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--text-hi); }
.cs-step p { font-size: 13px; line-height: 1.55; color: var(--text-lo); }
.cs-step__meta { margin-top: auto; padding-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.cs-matrix th, .cs-matrix td { text-align: center; }
.cs-matrix th:first-child, .cs-matrix td:first-child { text-align: left; }
.cs-matrix tbody th { font-weight: 400; color: var(--text-hi); font-family: var(--font-sans, inherit); letter-spacing: 0; text-transform: none; font-size: 14px; white-space: normal; padding: 14px 20px; border-bottom: 1px solid var(--ink-line); }
.cs-matrix .mx-note { text-align: left; color: var(--text-lo); font-size: 13px; min-width: 220px; }
.cs-matrix thead th:last-child { text-align: left; }
.mx { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.mx--yes { background: var(--sage); box-shadow: 0 0 0 4px rgba(143, 185, 150, 0.18); }
.mx--maybe { background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); border: 1.5px solid var(--gold); }
.mx--no { width: 12px; height: 2px; border-radius: 2px; background: var(--text-lo); opacity: 0.45; }
.cs-matrix { table-layout: fixed; min-width: 760px; }
.cs-matrix th:first-child { width: 22%; }
.cs-matrix thead th:not(:first-child):not(:last-child) { width: 11%; white-space: normal; line-height: 1.35; }
.cs-matrix .mx-note { width: 33%; min-width: 0; }
.cs-timeline { border-radius: var(--r-card); background: var(--ink-soft); border: 1px solid var(--ink-line); padding: 28px 28px 20px; display: flex; flex-direction: column; gap: 14px; overflow-x: auto; }
.cs-timeline > div { min-width: 640px; }
.tl-axis, .tl-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.tl-axis .tl-track { height: 30px; position: relative; }
.tl-tick { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--text-lo); padding-top: 14px; }
.tl-tick i { position: absolute; top: 0; left: 50%; width: 1px; height: 10px; background: var(--ink-line); }
.tl-mark { position: absolute; top: -2px; transform: translateX(-50%); }
.tl-mark b { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); background: var(--ink-soft); padding: 0 6px; white-space: nowrap; }
.tl-lbl { font-size: 14px; color: var(--text-hi); display: flex; flex-direction: column; gap: 2px; }
.tl-lbl small { font-size: 12px; color: var(--text-lo); }
.tl-track { position: relative; height: 56px; border-radius: 10px; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255,255,255,0.05) calc(8.333% - 1px), rgba(255,255,255,0.05) 8.333%); }
.tl-axis .tl-track { background: none; }
.tl-seg { position: absolute; top: 4px; bottom: 4px; border-radius: 9px; padding: 0 12px; display: flex; flex-direction: column; justify-content: center; gap: 1px; overflow: hidden; color: #1c1c1c; }
.tl-seg b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.tl-seg small { font-size: 11px; opacity: 0.75; white-space: nowrap; }
.tl-seg--a { background: linear-gradient(120deg, var(--sky), #b9d4f2); }
.tl-seg--b { background: linear-gradient(120deg, var(--ember), #f1c2a3); }
.tl-seg--c { background: linear-gradient(120deg, var(--sage), #cfe3c5); }
.tl-row .tl-track::after { content: ''; position: absolute; top: -6px; bottom: -6px; left: var(--mid, 50%); width: 0; border-left: 1px dashed rgba(226, 131, 91, 0.7); pointer-events: none; }
@media (max-width: 760px) { .cs-cards { grid-template-columns: 1fr; } }

/* code block: a JSON sample, optionally with numbered notes beside it */
.cs-code { display: grid; gap: 14px; }
.cs-code--notes { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.cs-code__panel { border-radius: var(--r-card); background: #0c0d0f; border: 1px solid var(--ink-line); overflow: hidden; }
.cs-code__head { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--ink-line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-lo); }
.cs-code__head::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.cs-code__pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--text-hi); tab-size: 4; }
.cs-code__pre .j-k { color: #e8dcae; }
.cs-code__pre .j-s { color: #e2a07f; }
.cs-code__pre .j-n { color: var(--sky); }
.cs-code__pre .j-p { color: var(--text-lo); }
.cs-code__notes { list-style: none; counter-reset: cn; display: flex; flex-direction: column; gap: 10px; }
.cs-code__notes li { counter-increment: cn; border-radius: var(--r-card); background: var(--ink-soft); border: 1px solid var(--ink-line); padding: 16px 18px 16px 52px; position: relative; }
.cs-code__notes li::before { content: counter(cn, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ember); }
.cs-code__notes b { display: block; font-size: 15px; font-weight: 500; color: var(--text-hi); margin-bottom: 4px; }
.cs-code__notes p { font-size: 13.5px; line-height: 1.55; color: var(--text-lo); }
@media (max-width: 860px) { .cs-code--notes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cs-code__pre { font-size: 11.5px; padding: 16px; } }
.cs-img { position: relative; }
.cs-img__badge { position: absolute; bottom: 14px; left: 14px; z-index: 2; --dot: var(--ember); background-color: rgba(25, 25, 25, 0.78); }

/* icons in buttons and links */
.ico { flex: none; width: 14px; height: 14px; transition: transform var(--ease-ui, 0.25s ease); }
.hz-btn .ico { width: 15px; height: 15px; }
.hz-btn:hover .ico, a:hover > .ico { transform: translate(1px, -1px); }
.crumb:hover .ico, .cs-nav a:first-child:hover .ico, .hz-meta:hover .ico { transform: translateX(-2px); }
.trend__arrow .ico { width: 11px; height: 11px; }
.hz-meta .ico { width: 13px; height: 13px; vertical-align: -2px; }
.hz-meta .ico--l { margin-right: 8px; }
.hz-meta .ico--r { margin-left: 8px; }

/* nav over a light (paper) section: lighter fill, ink type, inverted chips and CTA (as in the HORIZON report) */
.hz-nav.is-on-light { background-color: rgba(252, 250, 246, 0.4); color: var(--text-dark); }
.hz-nav.is-on-light .hz-nav__brand { color: var(--text-dark); }
.hz-nav.is-on-light .hz-nav__item, .hz-nav.is-on-light .hz-nav__menu { background: rgba(41, 41, 41, 0.055); color: var(--text-dark); }
.hz-nav.is-on-light .hz-nav__item:hover { background: rgba(41, 41, 41, 0.11); color: var(--text-dark); }
.hz-nav.is-on-light .hz-nav__item.is-active { background: rgba(41, 41, 41, 0.11); }
.hz-nav.is-on-light .hz-nav__cta { background: var(--text-dark); color: var(--paper); }
.hz-nav.is-on-light .hz-nav__cta:hover { background: var(--ink); color: var(--paper); }

/* the Product Future Lab logo (assets/logo.svg), painted in the current text colour so it follows the nav flip */
.logo-mark { display: block; aspect-ratio: 9.4000 / 1; background-color: currentColor; -webkit-mask: url('/assets/logo.svg') center / contain no-repeat; mask: url('/assets/logo.svg') center / contain no-repeat; }
.hz-nav__brand .logo-mark { width: 210px; }
.logo-mark--gate { width: 220px; max-width: 100%; color: #fff; }
@media (max-width: 860px) { .hz-nav__brand .logo-mark { width: 160px; } }
.logo-mark--foot, .cover__inner .logo-mark { color: #fff; }

/* crayon-flowers header image: a light picture, so no photo filter and a stronger veil to carry the white type */
.cover--flowers .cover__img { filter: none; }
.cover--flowers .cover__veil { background:
  radial-gradient(ellipse 52% 46% at 50% 52%, rgba(34, 32, 30, 0.72) 0%, rgba(34, 32, 30, 0.5) 55%, rgba(34, 32, 30, 0) 100%),
  linear-gradient(180deg, rgba(34, 32, 30, 0.6) 0%, rgba(34, 32, 30, 0.3) 22%, rgba(34, 32, 30, 0.3) 62%, rgba(41, 41, 41, 0.92) 90%, #292929 100%); }

/* ---- message card (cta_block) ---- */
.cta2-sec { padding-block: 24px; }
.cta2 { position: relative; max-width: none; margin: 0 4px; border-radius: 110px; overflow: hidden; min-height: 620px; display: flex; align-items: center; justify-content: center; background: var(--ink-soft); }
.cta2__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta2__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 55% at 50% 52%, rgba(34, 32, 30, 0.5) 0%, rgba(34, 32, 30, 0.2) 70%, rgba(34, 32, 30, 0.1) 100%); }
.cta2__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: 80px 24px; max-width: 860px; color: #fff; }
.cta2__logo { width: min(300px, 70vw); color: #fff; }
.cta2__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(36px, 5vw, 66px); line-height: 1.04; letter-spacing: -0.01em; color: #fff; }
.cta2__title em { font-style: italic; font-weight: 300; }
.cta2__lead { max-width: 520px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.cta2__form { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.28); width: min(430px, 100%); }
.cta2__form input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; font: inherit; font-size: 15px; padding: 12px 14px; }
.cta2__form input::placeholder { color: rgba(255, 255, 255, 0.8); }
.cta2__form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 12px; }
.cta2__form .hz-btn { background: #fff; color: var(--text-dark); font-size: 14px; font-weight: 500; padding: 13px 20px; border-radius: 14px; white-space: nowrap; }
.cta2__form.is-invalid { box-shadow: 0 0 0 2px rgba(226, 131, 91, 0.9); }
@media (max-width: 640px) { .cta2 { min-height: 560px; border-radius: 70px; } }

/* ---- footer: paper panel + the big logo on a sky gradient ---- */
.foot2 { position: relative; background: var(--ink); margin-top: 24px; }
.foot2__panel { position: relative; z-index: 2; background: #f6f3ec; color: var(--text-dark); border-radius: 72px; padding: 110px var(--section-pad-x) 56px; }
.foot2__top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.foot2__head { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.foot2__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -0.01em; color: var(--text-dark); max-width: 780px; }
.foot2__title em { display: block; font-style: italic; }
.foot2__btn { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; padding: 15px 24px; }
.foot2__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot2__col { display: flex; flex-direction: column; gap: 10px; }
.foot2__lbl { font-size: 15px; color: rgba(21, 22, 28, 0.55); margin-bottom: 4px; }
.foot2__col a { font-size: 16px; color: var(--text-dark); transition: opacity 0.2s ease; }
.foot2__col a:hover { opacity: 0.55; color: var(--text-dark); }
.foot2__base { max-width: 1280px; margin: 120px auto 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
.foot2__base > * { grid-column: 2; }
.foot2__logo { width: 150px; color: var(--text-dark); margin-bottom: 18px; }
.foot2__base p { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--text-dark); }
.foot2__scene { position: relative; z-index: 1; margin-top: -72px; padding: 72px 0 0; background: linear-gradient(180deg, #eaf2f8 0%, #c9dcec 45%, #98bbd9 100%); overflow: hidden; }
.foot2__mark { display: flex; justify-content: center; padding: 48px 0 56px; }
.foot2__mark .logo-mark { width: calc((100vw - 24px) * 0.84); color: #fff; }
@media (max-width: 860px) {
  .foot2__panel { border-radius: 48px; padding: 72px var(--section-pad-x-mobile) 40px; }
  .foot2__top, .foot2__base { grid-template-columns: 1fr; gap: 44px; }
  .foot2__base > * { grid-column: 1; }
  .foot2__base { margin-top: 64px; }
  .foot2__scene { margin-top: -48px; padding-top: 48px; padding-bottom: 28px; }
  .foot2__mark { padding: 32px 0 36px; }
}

.cta2__title .hz-em-gradient { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* ---- hero title set as pastel chips of pixel words (see build_horizon.pixel_title) ---- */
.pixtitle { --wh: clamp(46px, 7.2vw, 110px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(var(--wh) * 0.07); max-width: min(1180px, 100%); margin: 0; font-size: 0; line-height: 0; }
.pw { display: inline-flex; align-items: center; justify-content: center; padding: calc(var(--wh) * 0.07) calc(var(--wh) * 0.26) calc(var(--wh) * 0.07); color: #111; background: #e9e7e1; }
.pw--pill { border-radius: 999px; }
.pw--rect { border-radius: calc(var(--wh) * 0.05); }
.pw--lav { background: #e6e2f2; }
.pw--pink { background: #f7dcf1; }
.pw--grey { background: #e9e7e1; }
.pw__g { display: block; height: var(--wh); aspect-ratio: var(--ar); background-color: currentColor; -webkit-mask: var(--src) center / 100% 100% no-repeat; mask: var(--src) center / 100% 100% no-repeat; }
.cover--flowers .pixtitle ~ .cover__lead { margin-top: 6px; }
@media (max-width: 640px) { .pixtitle { --wh: clamp(38px, 12.5vw, 60px); } }

/* message card on the halftone-cloud picture: a bright, light-blue image, so a blue wash behind the white type */
.cta2__img { image-rendering: auto; }
.cta2__veil { background: radial-gradient(ellipse 58% 60% at 50% 52%, rgba(34, 58, 140, 0.55) 0%, rgba(34, 58, 140, 0.34) 60%, rgba(34, 58, 140, 0.12) 100%); }

.cta2__inner { width: 100%; min-width: 0; box-sizing: border-box; }
.cta2__form input { width: 100%; }
@media (max-width: 640px) { .cta2__title { font-size: clamp(30px, 9vw, 44px); } .cta2__inner { padding: 64px 20px; } }

/* header picture is pastel: keep it colourful. The title sits on its own chips, so the veil only backs the nav/logo,
   the paragraph + buttons, and the fade into the page below. */
.cover--flowers .cover__veil { background:
  radial-gradient(ellipse 40% 9% at 50% 21%, rgba(26, 34, 72, 0.42) 0%, rgba(26, 34, 72, 0) 100%),
  radial-gradient(ellipse 44% 20% at 50% 76%, rgba(26, 34, 72, 0.5) 0%, rgba(26, 34, 72, 0) 100%),
  linear-gradient(180deg, rgba(26, 34, 72, 0.4) 0%, rgba(26, 34, 72, 0.1) 17%, rgba(26, 34, 72, 0.04) 52%, rgba(41, 41, 41, 0.5) 80%, rgba(41, 41, 41, 0.94) 93%, #292929 100%); }
.cover--flowers .hz-badge { background: rgba(26, 34, 72, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }

/* light cover (mentoring): a near-white picture, so dark type; the nav flips to its light state over it (data-surface="light") */
.cover--light { color: var(--text-dark); }
.cover--light .cover__img { filter: none; }
.cover--light .hz-headline-xl { color: var(--text-dark); }
.cover--light .hz-lead { color: var(--text-dark-lo); }
.cover--light .hz-badge { background: rgba(41, 41, 41, 0.07); color: var(--text-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
.cover--light .hz-btn--dark { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; padding: 15px 24px; }

/* vivid cover (mentoring): saturated pink/blue picture, white type on a soft navy veil */
.cover--vivid .cover__img { filter: none; }
/* the glow fades to nothing and the bottom ramp is long, like the home cover, so the picture melts into the page instead of ending on a hard edge */
.cover--vivid .cover__veil { background: radial-gradient(ellipse 60% 62% at 50% 46%, rgba(22, 24, 58, 0.42) 0%, rgba(22, 24, 58, 0.2) 60%, rgba(22, 24, 58, 0) 100%), linear-gradient(180deg, rgba(22, 24, 58, 0.34) 0%, rgba(22, 24, 58, 0.08) 18%, rgba(22, 24, 58, 0.04) 44%, rgba(41, 41, 41, 0.22) 60%, rgba(41, 41, 41, 0.5) 72%, rgba(41, 41, 41, 0.78) 84%, rgba(41, 41, 41, 0.95) 94%, #292929 100%); }
.cover--vivid .hz-em-gradient { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.cover--vivid .hz-badge { background: rgba(22, 24, 58, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }

/* ---- chip in the hero: same glass fill as the nav, no dot ---- */
.hz-badge--nav::before { display: none; }
.cover .hz-badge.hz-badge--nav { background-color: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: none; color: #fff; }

/* ---- home background rhythm (as on horizonaiplaybook.com): dark -> dark with soft colour glows -> long fade -> light studio paper -> light with warm glow ---- */
.sec--glow-a { background: radial-gradient(ellipse 46% 40% at 94% 46%, rgba(144, 137, 201, 0.17) 0%, rgba(144, 137, 201, 0) 100%), radial-gradient(ellipse 40% 34% at 4% 70%, rgba(226, 131, 91, 0.1) 0%, rgba(226, 131, 91, 0) 100%); }
.sec--glow-b { background: radial-gradient(ellipse 50% 46% at 50% 50%, rgba(169, 198, 226, 0.13) 0%, rgba(169, 198, 226, 0) 100%); }
.sec--glow-c { background: radial-gradient(ellipse 44% 36% at 6% 40%, rgba(143, 185, 150, 0.11) 0%, rgba(143, 185, 150, 0) 100%), radial-gradient(ellipse 46% 38% at 96% 62%, rgba(169, 198, 226, 0.14) 0%, rgba(169, 198, 226, 0) 100%); }
.sec--turn { padding-bottom: 260px; }
.sec--turn > * { position: relative; z-index: 1; }
.sec--turn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 340px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(226, 216, 216, 0) 0%, rgba(226, 216, 216, 0.04) 12.5%, rgba(226, 216, 216, 0.16) 25%, rgba(226, 216, 216, 0.34) 37.5%, rgba(226, 216, 216, 0.55) 50%, rgba(226, 216, 216, 0.74) 62.5%, rgba(226, 216, 216, 0.89) 75%, rgba(226, 216, 216, 0.97) 87.5%, #e2d8d8 100%); }
.sec--paper-up { background: radial-gradient(62% 50% at 0% 67%, #f7e7dc 0%, rgba(247, 231, 220, 0) 66%), linear-gradient(0deg, #e2d8d8 0%, #dfd6d7 34%, #dad7d8 70%, #d3d2d1 100%); }
.sec--paper .faq details { border-top-color: var(--paper-line); }
.sec--paper .faq details:last-child { border-bottom-color: var(--paper-line); }
.sec--paper .faq summary::after { border-color: var(--paper-line); }
.sec--paper .faq details[open] summary::after { background: var(--text-dark); color: var(--paper); }
@media (max-width: 640px) { .sec--turn { padding-bottom: 200px; } }

/* message card on the pale flowers picture: soft navy wash behind the white type */
.cta2__veil { background: radial-gradient(ellipse 62% 64% at 50% 52%, rgba(30, 44, 96, 0.5) 0%, rgba(30, 44, 96, 0.3) 62%, rgba(30, 44, 96, 0.12) 100%); }

/* home: the message card and footer flow on from the light FAQ (no dark band, flat-topped footer panel, only its bottom corners round) */
.sec--paper + .cta2-sec { background: linear-gradient(180deg, #d3d2d1 0%, #f6f3ec 100%); padding-bottom: 48px; }
.sec--paper + .cta2-sec ~ .foot2 { margin-top: 0; background: #f6f3ec; }
.sec--paper + .cta2-sec ~ .foot2 .foot2__panel { border-radius: 0 0 72px 72px; padding-top: 64px; }
@media (max-width: 860px) { .sec--paper + .cta2-sec ~ .foot2 .foot2__panel { border-radius: 0 0 48px 48px; padding-top: 48px; } }

/* chips set in the Ohpixel webfont: 1em box = ascender (1000) to descender (-250) = the same --wh glyph height as the traced hero words */
.pw--t { font-family: 'Ohpixel', monospace; font-size: calc(var(--wh) / 1.25); line-height: 1.25; font-weight: 400; white-space: nowrap; letter-spacing: 0; text-rendering: geometricPrecision; -webkit-font-smoothing: none; padding-inline: calc(var(--wh) * 0.2) calc(var(--wh) * 0.16); }
.cover--vivid .pixtitle ~ .cover__lead { margin-top: 6px; }

/* chips carry no dots */
.hz-badge::before, .hz-pill__dot { display: none; }

/* chips are set in the logo's pixel font (Ohpixel) */
.hz-badge, .hz-pill { font-family: 'Ohpixel', monospace; text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.25; text-rendering: geometricPrecision; }
.hz-badge { font-size: 17px; padding: 8px 16px; }
.hz-pill { font-size: 18px; padding: 12px 20px; }

/* paper FAQ + message card on the mentoring page flow into the footer like the home page */

/* process step cards keep the original mono badge (not the pixel font) */
.step .hz-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; line-height: normal; }

/* testimonials: lighter cards. Larger, airier type, clamped to a few lines with a Read more toggle */
.quotes { align-items: flex-start; }
.quote { flex: 0 0 min(500px, 88vw); padding: 36px 36px 32px; gap: 22px; }
.quote p { font-size: 18px; line-height: 1.75; color: rgba(245, 243, 236, 0.9); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.quote.is-open p { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.quote__more { align-self: flex-start; background: none; border: none; padding: 0; margin-top: -6px; color: var(--sky); font-family: var(--font-sans); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.quote__more:hover { color: var(--text-hi); }
.quote__who { margin-top: 6px; }

/* tag badges keep the original mono style (the pixel font stays on the pill chips and the hero chip) */
.hz-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; line-height: normal; }
.hz-badge--nav { font-family: 'Ohpixel', monospace; font-size: 17px; letter-spacing: 0; text-transform: none; padding: 8px 16px; line-height: 1.25; }

/* blog and resource cards: no gradient outline */
.post.ring, .res.ring { padding: 0; }
.post.ring::before, .post.ring::after, .res.ring::before, .res.ring::after { display: none; }
.post__img, .res__img { border-radius: var(--r-lg) var(--r-lg) 0 0; }

.hz-pill { font-size: 15px; padding: 11px 18px; }
.blog-empty { margin-bottom: 8px; }
.post[hidden] { display: none; }

/* hero chip: original mono style, not the pixel font */
.hz-badge--nav { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; line-height: normal; }

/* email field in the message card: no border */
.cta2__form { border: none; }

/* plan chips hug their text instead of stretching across the card */
.plan .hz-badge { align-self: flex-start; width: fit-content; }

/* cards inside light (paper) sections are light too, with dark type */
.sec--paper .res, .sec--paper .post { background: var(--paper-soft); color: var(--text-dark); }
.sec--paper .res .hz-meta, .sec--paper .post .hz-meta { color: var(--text-dark-lo); }
.sec--paper .res .hz-list-title, .sec--paper .post .hz-list-title { color: var(--text-dark); }

/* footer straight after a light section (e.g. Resources): no dark band, the panel fades up from the section's grey, flat top, rounded bottom */
.sec--paper + .foot2 { margin-top: 0; background: #f6f3ec; }
.sec--paper + .foot2 .foot2__panel { border-radius: 0 0 72px 72px; padding-top: 96px; background: linear-gradient(180deg, #d3d2d1 0%, #f6f3ec 160px); }
@media (max-width: 860px) { .sec--paper + .foot2 .foot2__panel { border-radius: 0 0 48px 48px; padding-top: 64px; } }

/* ---- case study: 3-line brief, decision cards, video slot ---- */
.cs-brief { display: grid; gap: 28px; padding: 28px 0 8px; border-top: 1px solid var(--ink-line); }
.cs-brief__lines { list-style: none; display: grid; gap: 22px; counter-reset: b; }
.cs-brief__lines li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline; }
.cs-brief__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); }
.cs-brief__lines p { font-family: var(--font-serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; color: var(--text-hi); }
.cs-brief__facts { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.cs-brief__facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); }
.cs-brief__facts dd { font-size: 15px; color: var(--text-hi); margin-top: 4px; }
.cs-decision { background: var(--ink-soft); border-radius: var(--r-lg); padding: 32px 36px; margin: 22px 0; }
.cs-decision__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.cs-decision__n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-chip); background: var(--text-hi); color: var(--text-dark); font-family: var(--font-mono); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.cs-decision__head h3 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.cs-decision__rows { display: grid; gap: 14px; }
.cs-decision__rows > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.cs-decision__rows dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); padding-top: 3px; }
.cs-decision__rows dd { font-size: 16px; line-height: 1.65; color: rgba(245, 243, 236, 0.9); }
.cs-video-slot { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(135deg, #23262f 0%, #1b1b1b 100%); border: 1px dashed rgba(245, 243, 236, 0.22); border-radius: var(--r-lg); }
.cs-video-slot__play { width: 64px; height: 64px; border-radius: 50%; background: rgba(245, 243, 236, 0.1); position: relative; }
.cs-video-slot__play::after { content: ''; position: absolute; left: 25px; top: 20px; border-left: 18px solid var(--text-hi); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.cs-video-slot__t { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lo); }
@media (max-width: 760px) { .cs-brief__lines li, .cs-decision__rows > div { grid-template-columns: 1fr; gap: 6px; } .cs-decision { padding: 24px 22px; } }

.cs-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* overnight timeline: midnight line sits behind the shift bars */
.tl-row .tl-track::after { z-index: 0; }
.tl-seg { z-index: 1; }

/* ---- case study: YouTube embed ---- */
.cs-yt { aspect-ratio: 16 / 9; }
.cs-yt iframe { width: 100%; height: 100%; border: 0; display: block; }

/* resources: a website card has no screenshot, so its visual is a gradient tile with the domain in the pixel font */
.res__img--site { display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--gradient-signature); }
.res__domain { font-family: 'Ohpixel', monospace; font-size: clamp(22px, 3.4vw, 40px); line-height: 1.2; color: var(--ink-soft); text-align: center; overflow-wrap: anywhere; transition: transform 0.6s ease; }
.res:hover .res__domain { transform: scale(1.03); }

/* case studies: answer chips in tables (e.g. a review checklist's "Yes") */
.cs-tchip { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.3; padding: 4px 10px; border-radius: var(--r-chip); background: rgba(143, 185, 150, 0.18); color: var(--sage); white-space: nowrap; }
.cs-table td:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-lo); white-space: normal; overflow-wrap: break-word; width: 30%; min-width: 150px; }
.cs-table td:not(:first-child) { min-width: 140px; }

/* case studies: image rows stack on small screens */
@media (max-width: 720px) { .cs-row { grid-template-columns: 1fr !important; } }

/* case studies: images shown smaller than their file open full size on click */
.cs-zoom { cursor: zoom-in; }
.cs-zoom:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.cs-img:has(.cs-zoom) { position: relative; }
.cs-img:has(.cs-zoom)::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: var(--r-chip); background: rgba(25, 25, 25, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ec' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; pointer-events: none; opacity: 0; transition: opacity var(--ease-ui); }
.cs-img:has(.cs-zoom):hover::after, .cs-img:has(.cs-zoom:focus-visible)::after { opacity: 1; }
@media (hover: none) { .cs-img:has(.cs-zoom)::after { opacity: 1; } }
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(12, 12, 12, 0.98); overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; padding: 72px 24px 32px; opacity: 0; transition: opacity 0.2s ease; }
.lb.is-open { opacity: 1; }
.lb__img { width: auto; max-width: min(100%, 1800px); height: auto; border-radius: var(--r-chip); margin: auto 0; cursor: zoom-out; }
.lb--fit .lb__img { max-height: calc(100vh - 140px); }
.lb__cap { max-width: 860px; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--text-lo); text-align: center; }
.lb__close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; border: none; border-radius: var(--r-ctl); background: rgba(245, 243, 236, 0.12); color: var(--text-hi); font-size: 24px; line-height: 1; cursor: pointer; }
.lb__close:hover { background: rgba(245, 243, 236, 0.2); }
body.lb-lock { overflow: hidden; }
@media (max-width: 720px) {
  .lb { align-items: flex-start; padding: 72px 16px 24px; }
  .lb__img, .lb--fit .lb__img { width: 960px; max-width: none; max-height: none; }
  .lb__cap { position: sticky; left: 0; max-width: calc(100vw - 32px); text-align: left; }
}

/* 4-column card grids drop to 2 columns on tablet widths */
@media (max-width: 1100px) and (min-width: 761px) { .cs-cards[style*="--cols:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* mobile: the open menu also offers "Email me" (the nav CTA is hidden on small screens otherwise) */
@media (max-width: 960px) {
  .hz-nav.is-open .hz-nav__cta { display: flex; justify-content: center; width: 100%; order: 4; margin-bottom: 6px; }
}

/* service rows are links (pre-filled email); career and service descriptions stay visible on phones */
a.trend { cursor: pointer; }
a.trend:focus-visible { outline: 2px solid var(--text-dark); outline-offset: 2px; }
@media (max-width: 860px) {
  .trend__meta { display: block; font-size: 13px; }
  .trend:not(.career-row) { row-gap: 4px; }
  .trend:not(.career-row) .trend__num, .trend:not(.career-row) .trend__thumb { grid-row: 1 / span 2; }
  .trend:not(.career-row) .hz-list-title { grid-column: 3; grid-row: 1; align-self: end; }
  .trend:not(.career-row) .trend__arrow { grid-column: 4; grid-row: 1; align-self: end; }
  .trend:not(.career-row) .trend__meta { grid-column: 3 / -1; grid-row: 2; align-self: start; }
}

/* Work cards: a measured result as a glass chip on the card image (card_metric; only where there is a real number) */
.pcard__metric { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-radius: var(--r-chip); background: rgba(14, 16, 28, 0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 14px; line-height: 1.35; }
.pcard__metric b { font-family: var(--font-serif); font-weight: 300; font-size: 28px; line-height: 1; }
@media (max-width: 860px) { .pcard__metric { left: 12px; bottom: 12px; padding: 10px 14px; font-size: 13px; } .pcard__metric b { font-size: 22px; } }

/* ---------- work page: founder side-project band ---------- */
.pcards--resume .pcard:nth-child(odd) { flex-direction: row-reverse; } .pcards--resume .pcard:nth-child(even) { flex-direction: row; }
.building { position: relative; isolation: isolate; overflow: hidden; margin: 16px 0; border-radius: var(--r-lg); padding: 72px 56px; border: 1px solid rgba(245, 243, 236, 0.1);
  /* soft mesh: warm taupe left, slate blue top centre, periwinkle low centre, mauve and dusty rose right */
  background:
    radial-gradient(55% 75% at 8% 35%, #a89e94 0%, rgba(168, 158, 148, 0) 70%),
    radial-gradient(45% 60% at 52% 0%, #4f6684 0%, rgba(79, 102, 132, 0) 70%),
    radial-gradient(40% 55% at 45% 95%, #7f88b4 0%, rgba(127, 136, 180, 0) 70%),
    radial-gradient(45% 70% at 92% 30%, #a58fa8 0%, rgba(165, 143, 168, 0) 70%),
    radial-gradient(50% 60% at 95% 100%, #b4908a 0%, rgba(180, 144, 138, 0) 70%),
    #6e6f86; }
/* darkening veil behind the text so the light type keeps its contrast */
.building::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(25, 25, 25, 0.48) 0%, rgba(25, 25, 25, 0.26) 45%, rgba(25, 25, 25, 0) 100%); }
.building__inner { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.building__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.building__problem, .building__body, .building__approach { font-size: 16px; line-height: 1.6; color: var(--text-hi); max-width: 560px; }
.building__role { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 20px; line-height: 1.4; color: var(--text-hi); max-width: 560px; }
.building--visual { display: flex; align-items: stretch; gap: 56px; padding-right: 0; padding-bottom: 0; }
.building--visual .building__inner { flex: 1; min-width: 0; align-self: center; padding-bottom: 72px; }
.building__visual { flex: 1.15; min-width: 0; margin-top: 24px; border-radius: 18px 0 0 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(245, 243, 236, 0.1), 0 30px 80px rgba(0, 0, 0, 0.45); }
.building__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 860px) {
  .building { padding: 44px 28px; }
  .building--visual { flex-direction: column; gap: 36px; padding-right: 0; padding-bottom: 0; }
  .building--visual .building__inner { padding: 0 28px 0 0; }
  .building__visual { margin-top: 0; max-height: 360px; }
  .building::before { background: linear-gradient(180deg, rgba(25, 25, 25, 0.46) 0%, rgba(25, 25, 25, 0.3) 60%, rgba(25, 25, 25, 0) 100%); }
}
