/* =========================================================
   Vijay — Portfolio
   Palette: Glacier Clear (near-white, deep blue, clear blue)
   Note: variable names (--ink, --ivory, --gold) are kept from the
   first draft; see the comments for what each colour is used for.
   ========================================================= */

:root {
  /* Glacier Clear */
  --ink: #F8FBFD;          /* page background */
  --ink-2: #EFF5F9;        /* alternate section background */
  --ink-3: #E6F1F8;        /* light blue tint */
  --line: #E3ECF2;
  --line-strong: #CFDDE7;
  --ivory: #12324A;        /* main text (deep blue) */
  --ivory-dim: #557085;    /* muted text */
  --ivory-faint: #56708A;  /* small labels (darkened slightly so it passes WCAG AA on every background) */
  --paper: #FFFFFF;
  --paper-ink: #12324A;
  --gold: #1A74B0;         /* accent blue */
  --gold-2: #155F91;       /* deeper accent */
  --gold-soft: #E6F1F8;
  --on-accent: #FFFFFF;
  --ok: #2E9468;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 80px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-optical-sizing: auto;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

em { font-style: italic; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { display: none; }
/* Magnetic outline cursor: a soft rounded outline that wraps itself around buttons and links */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input:not([type="range"]), html.has-cursor textarea { cursor: text !important; }
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none;
    width: 30px; height: 30px; border: 1.5px solid var(--gold); border-radius: 999px;
    opacity: 0; transition: opacity .3s, background-color .35s, border-color .35s;
    will-change: transform, width, height;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-snap { background-color: rgba(26,116,176,.06); }
  .cursor.is-hidden { opacity: 0; }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 401; pointer-events: none;
    width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold);
    opacity: 0; transition: opacity .25s;
  }
  .cursor-dot.is-on { opacity: 1; }
  .cursor-dot.is-snap, .cursor-dot.is-hidden { opacity: 0; }
}

/* ---------- Curtain intro ----------
   Hidden by default (so it never shows with JavaScript off). The script in <head> adds .show-curtain on the first
   page view of a session; the curtain then holds for 0.5s and wipes away, all in CSS, without locking the page. */
.curtain { display: none; }
.show-curtain .curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); pointer-events: none;
  display: grid; place-items: center; text-align: center; padding: 0 16px;
  clip-path: inset(0 0 0 0);
  animation: curtainOut .6s var(--ease-out) .5s forwards;
}
@keyframes curtainOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.curtain__logo { display: block; width: 84px; height: 84px; margin: 0 auto 22px; overflow: visible; }
.curtain__logo .cl-ring, .curtain__logo .cl-line { fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.curtain__logo .cl-ring { stroke-width: 3; animation: draw .5s 0s var(--ease-out) forwards; }
.curtain__logo .cl-line { stroke-width: 6; animation: draw .4s .12s var(--ease-out) forwards; }
.curtain__logo .cl-node { fill: var(--ink); stroke: var(--gold); stroke-width: 3; opacity: 0; transform-origin: 28px 32px; transform: scale(.4); animation: pop-in .3s .05s var(--ease-out) forwards; }
.curtain__logo .cl-dia { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; animation: dia-in .3s .4s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop-in { to { opacity: 1; transform: none; } }
@keyframes dia-in { from { opacity: 0; transform: rotate(45deg) scale(.2); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.curtain__kicker {
  display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(10px); animation: rise .4s .05s var(--ease-out) forwards;
}
.curtain__greet {
  margin: 14px 0 22px; font-family: var(--serif); font-weight: 340; font-size: clamp(42px, 8.4vw, 112px); line-height: 1.05; letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px); animation: rise .5s .1s var(--ease-out) forwards;
}
.curtain__greet em { color: var(--gold); }
.curtain__line { display: block; height: 1px; width: 0; margin: 0 auto; background: var(--gold); animation: grow .6s .15s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { width: 160px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .5s, padding .5s var(--ease), border-color .5s, transform .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(248,251,253,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__mark { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
/* Logo: open ring + one continuous V + signature diamond */
.logo-mark { width: 40px; height: 40px; flex: none; color: var(--gold); --logo-bg: var(--ink); transition: transform .6s var(--ease-out); }
.nav__mark:hover .logo-mark { transform: rotate(-12deg); }
.logo-mark--sm { width: 22px; height: 22px; }
.nav__links { display: flex; gap: 34px; font-size: 14px; color: var(--ivory-dim); }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 600; transition: border-color .3s, background .3s, color .3s;
}
.nav__cta:hover { border-color: var(--gold); background: var(--gold); color: var(--on-accent); }
/* Envelope icon: the flap lifts and a letter peeks out on hover */
.env { flex: none; width: 20px; height: 16px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.env__body { fill: var(--ink); transition: fill .35s; }
.env__flap { fill: var(--ink); transform-origin: 10px 4.5px; transition: transform .5s var(--ease-out), fill .35s; }
.env__paper { fill: #FFFFFF; opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .55s var(--ease-out) .08s; }
.nav__cta:hover .env__body, .nav__cta:hover .env__flap { fill: var(--gold); }
.nav__cta:hover .env__flap, .env--open .env__flap { transform: scaleY(-1); }
.nav__cta:hover .env__paper, .env--open .env__paper { opacity: 1; transform: translateY(-4.5px); }
.nav__cta:hover .env__paper { stroke: var(--gold); }
.env--open { color: var(--gold); }
.env--open .env__body, .env--open .env__flap { fill: #FFFFFF; }
.nav__burger { display: none; width: 42px; height: 42px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 24px; }
.nav__burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  clip-path: circle(0 at calc(100% - 37px) 37px); transition: clip-path .8s var(--ease-out); visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 37px) 37px); visibility: visible; }
.menu a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-weight: 340; font-size: clamp(40px, 11vw, 64px); line-height: 1.15; border-bottom: 1px solid var(--line); padding: 8px 0; }
.menu a i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--gold); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .hide-sm { display: none; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold-2); }
.display {
  margin: 22px 0 0; font-family: var(--serif); font-weight: 340; font-size: clamp(34px, 5.3vw, 80px);
  line-height: 1.02; letter-spacing: -.02em;
}
.display em { color: var(--gold); }
.section-sub { max-width: 520px; margin: 24px 0 0; color: var(--ivory-dim); font-size: 17px; }
.mini-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-faint); margin-bottom: 14px; }

section { position: relative; padding: clamp(96px, 13vw, 180px) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto clamp(56px, 7vw, 96px); }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.section-head--split .section-sub { justify-self: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 0; } .section-head--split .section-sub { justify-self: start; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--on-accent); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--sm svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.link-arrow { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--gold); font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(26,116,176,.35); padding-bottom: 4px; }
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Reveal ----------
   Only hidden when JavaScript is running (html.js), so the page is fully readable without it. */
.reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }

/* Hero entrance: pure CSS, so nothing above the fold waits for JavaScript */
.hero-in { animation: heroIn 1s var(--ease-out) both; }
.hero__lede.hero-in { animation-delay: .25s; }
.hero__actions.hero-in { animation-delay: .35s; }
.hero__greeting.hero-in { animation-delay: .6s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.show-curtain .hero-in { animation-delay: .6s; }
.show-curtain .hero__lede.hero-in { animation-delay: .8s; }
.show-curtain .hero__actions.hero-in { animation-delay: .9s; }
.show-curtain .hero__greeting.hero-in { animation-delay: 1.1s; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; padding-top: 140px; padding-bottom: 64px;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-content: center; align-items: center; column-gap: 40px;
  overflow: hidden;
  background: var(--ink);
}
.hero__content { position: relative; z-index: 2; align-self: start; max-width: 760px; }
.hero__greeting {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 34px;
  padding: 8px 16px 8px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 14px; line-height: 1.4; color: var(--ivory-dim); background: #FFFFFF;
}
.hero__greeting b { color: var(--ivory); font-weight: 600; }
.hero__greeting-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.hero__greeting-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 340; letter-spacing: -.025em;
  font-size: clamp(34px, 4.9vw, 84px); line-height: 1.04;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .2em 0; margin-bottom: -.14em; } /* room for descenders (g, y) and italic overhang */
.hero__title .line > span { display: inline-block; animation: lineUp 1.3s var(--ease-out) .05s both; }
.hero__title .line:nth-child(2) > span { animation-delay: .17s; }
.hero__title .line:nth-child(3) > span { animation-delay: .29s; }
.show-curtain .hero__title .line > span { animation-delay: .55s; }
.show-curtain .hero__title .line:nth-child(2) > span { animation-delay: .67s; }
.show-curtain .hero__title .line:nth-child(3) > span { animation-delay: .79s; }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
.hero__eyebrow { margin: 0 0 26px; line-height: 1.5; letter-spacing: .14em; }
@media (max-width: 560px) { .hero__eyebrow { font-size: 11px; letter-spacing: .1em; } .hero__eyebrow::before { display: none; } }
.hero__title em { color: var(--gold); }
.swap { display: inline-block; transition: opacity .5s, transform .5s var(--ease-out), filter .5s; }
.swap.is-out { opacity: 0; transform: translateY(-.25em); filter: blur(6px); }

.hero__lede { margin: 34px 0 0; max-width: 600px; font-size: clamp(16px, 1.35vw, 19px); color: var(--ivory-dim); }
.hero__lede strong { color: var(--ivory); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.reply-ic { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 54px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-faint); writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 60px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 1100px) { .hero__scroll { display: none; } }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Marquee ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- NOTE (paper) ---------- */
.note {
  background: var(--paper); color: var(--paper-ink); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 120px);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.note__aside { position: relative; }
.note__stamp { position: relative; width: 150px; height: 150px; margin-top: 48px; color: var(--paper-ink); }
.note__stamp > svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.note__stamp text { font-family: var(--mono); font-size: 7.6px; letter-spacing: .14em; fill: currentColor; }
.note__stamp span { position: absolute; inset: 0; display: grid; place-items: center; }
.note-logo { width: 62px; height: 62px; color: var(--gold); --logo-bg: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }

.note__letter { position: relative; max-width: 760px; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.5; font-weight: 340; letter-spacing: -.005em; }
.note__letter p { margin: 0 0 .9em; }
.note__salute { font-style: italic; color: var(--gold-2); }
.note__sign { margin-top: 1.4em !important; margin-bottom: 0 !important; font-style: italic; font-size: 1.9em; line-height: 1; color: var(--paper-ink); }
.note__role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-faint); margin-top: 10px !important; }
@media (max-width: 860px) {
  .note { grid-template-columns: 1fr; }
  .note__stamp { width: 110px; height: 110px; margin-top: 28px; }
  .note-logo { width: 44px; height: 44px; }
}

/* ---------- HELP / PERSONA ---------- */
.help { max-width: none; }
.persona { max-width: var(--max); margin: 0 auto; }
.persona__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.persona__tab {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; color: var(--ivory-dim);
  transition: all .4s var(--ease-out);
}
.persona__tab i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--serif); font-size: 15px; transition: all .4s; }
.persona__tab:hover { color: var(--ivory); border-color: var(--ivory-faint); }
.persona__tab.is-active { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.persona__tab.is-active i { background: #FFFFFF; color: var(--gold); border-color: #FFFFFF; }

.persona__panel {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: #FFFFFF;
  min-height: 420px;
}
.persona__col { padding: clamp(28px, 3.4vw, 52px); transition: opacity .45s, transform .55s var(--ease-out); }
.persona__col + .persona__col { border-left: 1px solid var(--line); }
.persona__panel.is-switching .persona__col { opacity: 0; transform: translateY(14px); }
.persona__panel.is-switching .persona__col:nth-child(2) { transition-delay: .04s; }
.persona__who { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.persona__title { margin: 18px 0 0; font-family: var(--serif); font-weight: 360; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.015em; }
.persona__title em { color: var(--gold); }
.persona__body { margin: 22px 0 0; color: var(--ivory-dim); }
.persona__outcome { margin: 0 0 30px; font-family: var(--serif); font-weight: 340; font-size: 24px; line-height: 1.3; font-style: italic; color: var(--ivory); }
.persona__proof { margin: 0; color: var(--ivory-dim); font-size: 15px; }
.persona__col--out { background: var(--ink-2); }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ivory); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

@media (max-width: 980px) {
  .persona__panel { grid-template-columns: 1fr; }
  .persona__col + .persona__col { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .persona__tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .persona__tabs::-webkit-scrollbar { display: none; }
  .persona__tab { flex: none; }
}

/* Services list */
.services { max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; }
.services__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 60px; border-top: 1px solid var(--line); }
.services__list li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.services__list li span { font-family: var(--mono); font-size: 12px; color: var(--gold); padding-top: 8px; grid-row: span 2; }
.services__list h4 { margin: 0; font-family: var(--serif); font-weight: 360; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; transition: color .3s, transform .5s var(--ease-out); }
.services__list p { margin: 6px 0 0; font-size: 14px; color: var(--ivory-faint); }
.services__list li:hover h4 { color: var(--gold); transform: translateX(6px); }
@media (max-width: 760px) { .services__list { grid-template-columns: 1fr; } }

/* ---------- WORK LEDGER ---------- */
.work { max-width: none; }
.ledger { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); border-top: 1px solid var(--line); }
.ledger__row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 40px; align-items: center; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid var(--line); cursor: pointer; isolation: isolate;
}
.ledger__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; background: var(--ink-3);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.ledger__row:hover::before, .ledger__row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.ledger__row:focus-visible { outline: none; }
.ledger__no { font-family: var(--mono); font-size: 12px; color: var(--gold); transition: color .4s; }
.ledger__title { font-family: var(--serif); font-weight: 360; font-size: clamp(23px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.015em; transition: color .4s, transform .6s var(--ease-out); }
.ledger__cat { font-size: 14px; color: var(--ivory-faint); transition: color .4s; }
.ledger__tag { justify-self: start; font-family: var(--mono); font-size: 11.5px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ivory-dim); transition: all .4s; white-space: nowrap; }
.ledger__go { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: all .45s var(--ease-out); }
.ledger__row:hover .ledger__no, .ledger__row:focus-visible .ledger__no { color: var(--gold-2); }
.ledger__row:hover .ledger__title, .ledger__row:focus-visible .ledger__title { color: var(--gold-2); transform: translateX(10px); }
.ledger__row:hover .ledger__cat, .ledger__row:focus-visible .ledger__cat { color: var(--ivory-dim); }
.ledger__row:hover .ledger__tag, .ledger__row:focus-visible .ledger__tag { color: var(--gold-2); border-color: var(--line-strong); background: #FFFFFF; }
.ledger__row:hover .ledger__go, .ledger__row:focus-visible .ledger__go { background: var(--gold); color: var(--on-accent); border-color: var(--gold); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .ledger__row { grid-template-columns: 40px 1fr 40px; row-gap: 8px; padding: 24px 0; }
  .ledger__cat { grid-column: 2; grid-row: 2; }
  .ledger__tag { display: none; }
  .ledger__go { grid-column: 3; grid-row: 1 / span 2; }
}

/* ---------- ECO ---------- */
.eco { padding-top: 40px; padding-left: 0; padding-right: 0; overflow: hidden; }
.eco__intro { max-width: var(--max); margin: 0 auto 40px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: baseline; }
.eco__intro p { margin: 0; max-width: 460px; color: var(--ivory-dim); }
.eco__row { overflow: hidden; border-top: 1px solid var(--line); padding: 10px 0; }
.eco__static { display: flex; align-items: flex-start; justify-content: center; gap: .5em; padding: 26px var(--gutter) 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.eco__static p { margin: 0; max-width: 900px; }
.eco__plus { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.15; color: var(--ivory-faint); }
.eco__big { display: block; font-family: var(--serif); font-weight: 340; font-style: italic; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.15; color: var(--gold); }
.eco__line { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 340; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.4; color: var(--ivory-dim); }
.eco__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.eco__track span {
  padding: 0 .55em; font-family: var(--serif); font-weight: 340; font-size: clamp(40px, 6.8vw, 100px); line-height: 1.12; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(18,50,74,.32); transition: color .4s, -webkit-text-stroke-color .4s;
}
.eco__track span:nth-child(even) { font-style: italic; }
.eco__track span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.eco__row:hover .eco__track { animation-play-state: paused; }

/* ---------- KIT ---------- */
.kit__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kit__card { position: relative; padding: 36px 34px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .4s; }
.kit__card:hover { background: #FFFFFF; }
.kit__card header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.kit__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; }
.kit__card h3 { margin: 0; font-family: var(--serif); font-weight: 360; font-size: 34px; line-height: 1; }
.kit__card p { margin: 0; padding: 9px 0; font-family: var(--mono); font-size: 13.5px; color: var(--ivory-dim); border-bottom: 1px dashed var(--line); }
.kit__card p:last-child { border-bottom: 0; }
@media (max-width: 980px) { .kit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .kit__grid { grid-template-columns: 1fr; } .kit__card { padding: 30px 22px; } }

/* ---------- PROCESS ---------- */
.process { background: var(--ink-2); border-top: 1px solid var(--line); }
.clocks {
  max-width: var(--max); margin: 0 auto 80px; display: grid; grid-template-columns: 1fr minmax(120px, 1.2fr) 1fr; align-items: center; gap: 24px;
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: var(--ink);
}
.clock { text-align: center; }
.clock b { display: block; font-family: var(--serif); font-weight: 360; font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock > span:last-child { display: block; margin-top: 10px; font-size: 14px; color: var(--ivory-faint); }
.clock:last-of-type b { color: var(--gold); }
.clocks__link { position: relative; height: 40px; }
.clocks__link svg { width: 100%; height: 100%; overflow: visible; }
.clocks__link path { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 5; }
.clocks__packet { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px; fill: #FFFFFF; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; offset-path: path("M2 20 C 50 -6, 150 46, 198 20"); offset-rotate: auto; animation: travel 4.2s var(--ease) infinite; }
@supports not (offset-path: path("M0 0")) { .clocks__packet { animation: travel-fallback 4.2s var(--ease) infinite; } }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 12%, 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes travel-fallback { from { left: 0; } to { left: 100%; } }
.clocks__note { grid-column: 1 / -1; margin: 10px 0 0; text-align: center; font-size: 16px; color: var(--ivory-dim); }
.clocks__note b { color: var(--ivory); font-weight: 600; }
@media (max-width: 680px) {
  .clocks { grid-template-columns: 1fr 1fr; }
  .clocks__link { display: none; }
  .clock b { font-size: 36px; }
}
@media (max-width: 480px) {
  .clocks { grid-template-columns: 1fr; gap: 28px; }
}

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 34px 28px 30px 0; border-top: 1px solid var(--line-strong); }
.step + .step { padding-left: 28px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--gold); transition: width .6s var(--ease-out); }
.step:hover::before { width: 72px; }
.step + .step::before { left: 28px; }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.step h3 { margin: 12px 0 12px; font-family: var(--serif); font-weight: 360; font-size: 32px; line-height: 1.05; }
.step p { margin: 0 0 18px; color: var(--ivory-dim); font-size: 15px; }
.step__when { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ivory-faint); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .step:nth-child(3) { padding-left: 0; } .step:nth-child(3)::before { left: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; } .step + .step::before { left: 0; }
}

.promises { max-width: var(--max); margin: 80px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--ink); }
.promise b { display: block; font-family: var(--serif); font-weight: 360; font-size: 22px; font-style: italic; color: var(--gold); }
.promise span { display: block; margin-top: 6px; font-size: 14px; color: var(--ivory-dim); }
@media (max-width: 980px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__list { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 28px 60px 28px 0;
  font-family: var(--serif); font-weight: 340; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__item summary i { position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--ease-out), background .3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin-left: -6px; background: currentColor; }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.faq__item[open] summary i { transform: rotate(180deg); background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 60px 30px 0; color: var(--ivory-dim); max-width: 760px; }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__head { position: relative; max-width: var(--max); margin: 0 auto 70px; }
.contact__title { margin: 22px 0 0; font-family: var(--serif); font-weight: 340; font-size: clamp(36px, 5.8vw, 90px); line-height: 1.04; letter-spacing: -.025em; }
.contact__title em { color: var(--gold); }
.contact__grid { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 4vw, 60px); }

.brief { padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line); border-radius: 26px; background: #FFFFFF; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.brief legend { padding: 0; margin-bottom: 16px; font-family: var(--serif); font-weight: 360; font-size: 26px; line-height: 1.2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ivory-dim); transition: all .3s var(--ease-out); }
.chip:hover { color: var(--ivory); border-color: var(--ivory-faint); }
.chip.is-on { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 22px; }
.field > span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-faint); }
.field > span em { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  font: inherit; font-size: 17px; color: var(--ivory); transition: border-color .3s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(18,50,74,.25); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.is-error input, .field.is-error textarea { border-color: #C0503A; }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 10px; }
.brief__hint { margin: 0; font-size: 13px; color: var(--ivory-faint); max-width: 300px; }
.brief__hint.is-error { color: #C0503A; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .brief__foot .btn { width: 100%; justify-content: center; } }

.direct { display: flex; flex-direction: column; }
.direct__link { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.direct__link:first-of-type { border-top: 1px solid var(--line); }
.direct__link small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-faint); }
.direct__link b { display: block; margin-top: 6px; overflow-wrap: anywhere; font-family: var(--serif); font-weight: 360; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; word-break: break-word; transition: color .3s; }
.direct__link:hover { padding-left: 12px; }
.direct__link:hover b { color: var(--gold); }
.direct__open { margin-top: 40px; }
.direct__open ul { margin: 0; padding: 0; list-style: none; }
.direct__open li { padding: 6px 0; font-size: 15px; color: var(--ivory-dim); }
.direct__open li::before { content: "✦"; margin-right: 12px; color: var(--gold); font-size: 11px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { padding: 60px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--serif); font-weight: 340; font-style: italic; white-space: nowrap; line-height: 1; letter-spacing: -.03em;
  font-size: clamp(56px, 18vw, 280px); color: transparent; -webkit-text-stroke: 1px rgba(26,116,176,.35);
  text-align: center;
}
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ivory-faint); }
.footer__bar a:hover { color: var(--gold); }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__brand .logo-mark { --logo-bg: var(--ink); }
/* Privacy note: same small, quiet text as the rest of the footer bar. */
.footer__privacy { font-size: 13px; line-height: 1.5; color: var(--ivory-faint); }
/* Tablet widths: five items don't fit on one row, so the note gets its own row at the end instead of wrapping unevenly. */
@media (max-width: 1180px) and (min-width: 601px) {
  .footer__privacy { order: 1; flex-basis: 100%; }
}

/* Footer name: letters rise in, a ripple of colour passes through, then a spotlight fills them under the cursor */
.footer__name { position: relative; }
.footer__big .fl { display: inline-block; }
.footer__big:not(.footer__big--fill) .fl { opacity: 0; transform: translateY(55%) rotate(4deg); }
.footer__name.is-in .footer__big:not(.footer__big--fill) .fl {
  animation: flRise 1.2s var(--ease-out) forwards, flShine 2.2s ease-in-out forwards;
  animation-delay: calc(var(--i) * 40ms), calc(.7s + var(--i) * 55ms);
}
@keyframes flRise { to { opacity: 1; transform: none; } }
@keyframes flShine { 0% { color: transparent; } 40% { color: var(--gold); -webkit-text-stroke-color: var(--gold); } 100% { color: transparent; } }
.footer__big--fill {
  position: absolute; inset: 0; pointer-events: none;
  color: var(--gold); -webkit-text-stroke: 1px var(--gold);
  clip-path: circle(0px at var(--fx, 50%) var(--fy, 50%));
  transition: clip-path .45s var(--ease-out);
}
.footer__name.is-spot .footer__big--fill { clip-path: circle(var(--fr, 120px) at var(--fx, 50%) var(--fy, 50%)); }

/* ---------- DRAWER ---------- */
.drawer { position: fixed; inset: 0; z-index: 160; visibility: hidden; transition: visibility 0s linear .7s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(18,50,74,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 56px); background: var(--ink-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .7s var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 22px; line-height: 1; transition: all .3s; }
.drawer__close:hover { background: var(--gold); color: var(--on-accent); border-color: var(--gold); transform: rotate(90deg); }
.drawer__no { display: block; font-family: var(--serif); font-style: italic; font-size: 88px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.drawer__cat { display: block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.drawer__title { margin: 10px 0 0; font-family: var(--serif); font-weight: 360; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -.015em; }
.drawer__desc { margin: 20px 0 30px; color: var(--ivory-dim); font-size: 17px; }
.drawer__impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 34px; }
.drawer__impact:empty { display: none; }
.drawer__impact div { padding: 18px; border-radius: 16px; background: var(--gold-soft); border: 1px solid rgba(26,116,176,.25); }
.drawer__impact b { display: block; font-family: var(--serif); font-weight: 360; font-size: 32px; line-height: 1; color: var(--gold); }
.drawer__impact span { display: block; margin-top: 8px; font-size: 13px; color: var(--ivory-dim); line-height: 1.45; }
.drawer .tick-list { margin-bottom: 34px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--ivory-dim); }
.drawer__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- PROFILE (hero) ---------- */
.profile { position: relative; z-index: 2; align-self: start; justify-self: end; width: 100%; max-width: 460px; margin: 0; padding: 0; }
.profile__card { animation: cardIn 1.2s .2s var(--ease-out) both; }
.show-curtain .profile__card { animation-delay: .7s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.profile__card {
  padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 50px 90px -50px rgba(18,50,74,.42);
}
.profile__top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; }
.profile__photo { margin: 0; aspect-ratio: 5 / 6; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink-3); }
.profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.profile__media { position: relative; }
.profile__status {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  display: inline-flex; align-items: center; padding: 6px 14px; white-space: nowrap;
  border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(46,148,104,.35);
  box-shadow: 0 0 0 0 rgba(46,148,104,0), 0 0 10px 1px rgba(46,148,104,.28), inset 0 1px 0 #FFFFFF;
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #23764F;
  animation: glow 2.6s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,148,104,0), 0 0 8px 0 rgba(46,148,104,.22), inset 0 1px 0 #FFFFFF; border-color: rgba(46,148,104,.3); }
  50% { box-shadow: 0 0 0 4px rgba(46,148,104,.10), 0 0 22px 4px rgba(46,148,104,.45), inset 0 1px 0 #FFFFFF; border-color: rgba(46,148,104,.6); }
}
.profile__name { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2vw, 28px); line-height: 1.12; letter-spacing: -.01em; color: var(--ivory); }
.profile__role { margin: 0; font-size: 15px; color: var(--ivory-dim); }
.profile__place { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--ivory-faint); }
.profile__place svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; }

/* time: two clocks joined by a dotted line, one sentence underneath */
.overlap { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.overlap__clocks { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px; }
.overlap__clocks > div:last-child { text-align: right; }
.overlap__clocks small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-faint); }
.overlap__clocks b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.overlap__clocks > div:last-child b { color: var(--gold); }
.overlap__link { position: relative; height: 1px; margin-bottom: 12px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); background-size: 8px 1px; }
.overlap__link::before, .overlap__link::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); }
.overlap__link::before { left: -4px; } .overlap__link::after { right: -4px; background: var(--gold); }
.overlap__note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--ivory-dim); }
.overlap__note b { color: var(--ivory); font-weight: 600; }

/* numbers: one slim row inside the card */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.proof li { padding: 0 6px; text-align: center; }
.proof li + li { border-left: 1px solid var(--line); }
.proof b { display: block; font-family: var(--serif); font-weight: 360; font-size: clamp(26px, 2.2vw, 30px); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.proof small { display: block; margin-top: 6px; font-size: 12px; color: var(--ivory-dim); }

@media (max-width: 980px) {
  .profile { justify-self: start; max-width: 520px; margin-top: 56px; }
}
@media (max-width: 560px) {
  .profile__card { padding: 22px; border-radius: 20px; }
  .profile__top { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
  .profile__name { font-size: 21px; }
  .profile__role { font-size: 14px; }
  .overlap__clocks b { font-size: 22px; }
  .proof b { font-size: 24px; }
}
/* links under the numbers: LinkedIn and Email */
.profile__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ivory); transition: border-color .3s, color .3s, background .3s;
}
.profile__link svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.profile__link:hover { border-color: var(--gold); color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .profile__status { animation: none; }
  .profile__card, .hero-in, .hero__title .line > span { animation: none; }
}

/* ---------- WITHOUT / WITH LEDGER ---------- */
.duo { position: relative; max-width: var(--max); margin: 0 auto; }
.duo__head { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: end; padding-bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.duo__head span:first-child { color: var(--ivory-faint); }
.duo__head span:last-child { color: var(--gold); padding-left: 24px; }
.duo__list { position: relative; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.duo__list::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-strong); transform: translateX(-50%); }
.duo__row { position: relative; display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; min-height: 92px; border-top: 1px solid var(--line); }

.duo__old { display: flex; align-items: center; gap: 18px; padding: 20px 24px 20px 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.4; color: var(--ivory-dim); }
.duo__old em { flex: none; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ivory-faint); }
.duo__old span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0% 1.5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease-out) .2s, color .8s .2s;
}
.duo__row.is-in .duo__old span { background-size: 100% 1.5px; color: var(--ivory-faint); }

.duo__node { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--line-strong); color: var(--ivory-faint); transition: background .5s .7s, border-color .5s .7s, color .5s .7s, transform .5s var(--ease-out); }
.duo__node svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.duo__row.is-in .duo__node { background: var(--gold); border-color: var(--gold); color: #FFFFFF; }

.duo__new { padding: 12px 0 12px 24px; }
.duo__new span { display: block; padding: 16px 20px; border-radius: 14px; background: var(--ink-3); color: var(--gold-2); font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.4; opacity: 0; transform: translateX(-28px); transition: opacity .7s .9s, transform 1s .9s var(--ease-out), background .4s, color .4s; }
.duo__row.is-in .duo__new span { opacity: 1; transform: none; }

.duo__row:hover .duo__node { transform: scale(1.12); }
.duo__row:hover .duo__new span { background: var(--gold); color: #FFFFFF; transition-delay: 0s; }

.duo__sum { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .35em .5em; margin-top: 40px; text-align: center; font-family: var(--serif); font-weight: 340; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; }
.duo__sum b { font-weight: 500; color: var(--gold); }
.duo__sum em { color: var(--ivory-dim); }
.duo__sum .link-arrow { margin: 0 0 0 14px; font-family: var(--sans); font-size: 15px; }

@media (max-width: 760px) {
  .duo__head { display: none; }
  .duo__list::before { display: none; }
  .duo__row { grid-template-columns: 1fr; padding: 18px 0; }
  .duo__old { padding: 0 0 10px; }
  .duo__node { justify-self: start; width: 34px; height: 34px; margin-left: 26px; transform: rotate(90deg); }
  .duo__row:hover .duo__node { transform: rotate(90deg) scale(1.1); }
  .duo__new { padding: 10px 0 0; }
  .duo__sum .link-arrow { margin-left: 0; }
}

/* ---------- REAL PROBLEMS / CHAT ---------- */
.talk { border-top: 1px solid var(--line); }
.talk__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.talk__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talk__list button { display: grid; grid-template-columns: 36px 1fr; gap: 10px; width: 100%; padding: 18px 0; text-align: left; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 340; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; color: var(--ivory-dim); transition: color .3s, padding .5s var(--ease-out); }
.talk__list button i { padding-top: 6px; font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ivory-faint); }
.talk__list button small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12.5px; color: var(--ivory-faint); }
.talk__list button:hover { color: var(--ivory); }
.talk__list button.is-on { color: var(--ivory); padding-left: 8px; }
.talk__list button.is-on i { color: var(--gold); }
.chat { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; overflow: hidden; box-shadow: 0 40px 80px -55px rgba(18,50,74,.4); }
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); }
.avatar-logo { width: 28px; height: 28px; color: #FFFFFF; --logo-bg: var(--gold); }
.chat__bar b { display: block; font-size: 15px; font-weight: 600; }
.chat__bar small { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ivory-faint); }
.chat__body { display: flex; flex-direction: column; gap: 12px; min-height: 360px; padding: 24px 20px; background: var(--ink); }
.msg { max-width: 86%; padding: 14px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; animation: pop .45s var(--ease-out) both; }
.msg small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.msg--them { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ivory); }
.msg--them small { color: var(--gold); }
.msg--me { align-self: flex-end; background: var(--gold); color: #FFFFFF; border-bottom-right-radius: 6px; }
.msg--me small { color: rgba(255,255,255,.8); }
.typing { align-self: flex-end; display: flex; gap: 5px; padding: 15px 16px; border-radius: 18px; border-bottom-right-radius: 6px; background: var(--ink-3); animation: pop .3s var(--ease-out) both; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat__cta { display: flex; justify-content: space-between; padding: 16px 20px; border-top: 1px solid var(--line); color: var(--gold); font-weight: 600; font-size: 15px; }
.chat__cta span { transition: transform .4s var(--ease-out); }
.chat__cta:hover span { transform: translateX(6px); }
@media (max-width: 900px) {
  .talk__grid { grid-template-columns: 1fr; }
  .chat { position: relative; top: 0; order: -1; }
  .chat__body { min-height: 300px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .eco__track { animation: none; }
}

/* ---------- Small-screen & polish fixes ---------- */
.nw { white-space: nowrap; } /* keeps "E-commerce" from splitting at the hyphen */
@media (max-width: 600px) {
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 400px) {
  .direct__link b { font-size: 21px; }
  .profile__top { grid-template-columns: 1fr; gap: 26px; }
  .profile__media { width: 104px; }
  .overlap__clocks { gap: 10px; }
  .overlap__clocks b { font-size: 20px; }
  .profile__name { margin-top: 8px; }
  .ov-zone { display: none; }
}

/* greeting pill now sits under the profile card; both hero columns start at the same top line */
.profile .hero__greeting { display: flex; width: fit-content; margin: 18px 0 0; }
.hero__title { margin-top: -.08em; } /* lines the cap height up with the card's top edge */

/* ---------- ORDER FLOW (illustration) ---------- */
.flow { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow__track { position: relative; max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
/* dotted rail behind the icons, and a glowing parcel travelling along it */
.flow__track::before { content: ""; position: absolute; top: 28px; left: calc(100% / 14); right: calc(100% / 14); height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px); }
.flow__track::after { content: ""; position: absolute; z-index: 2; top: 24px; left: calc(100% / 14); width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(26,116,176,.15), 0 0 14px rgba(26,116,176,.6); animation: flowDot 7s linear infinite; }
@keyframes flowDot { 0% { left: calc(100% / 14); opacity: 0; } 4%, 96% { opacity: 1; } 100% { left: calc(100% - 100% / 14); opacity: 0; } }
.flow__step { position: relative; text-align: center; }
.flow__ic {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); color: var(--gold);
  box-shadow: 0 12px 24px -16px rgba(18,50,74,.45);
  animation: flowLit 7s ease-in-out infinite; animation-delay: calc(var(--n) * 7s / 6);
}
@keyframes flowLit { 0%, 7% { background: var(--gold); color: var(--on-accent); border-color: var(--gold); } 16%, 100% { background: var(--paper); color: var(--gold); border-color: var(--line-strong); } }
.flow__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow__step i { display: block; margin-bottom: 8px; font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .16em; color: var(--ivory-faint); }
.flow__step b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--ivory); }
.flow__step small { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ivory-dim); }
.flow__note { max-width: var(--max); margin: 56px auto 0; text-align: center; font-size: 13px; font-style: italic; color: var(--ivory-faint); }

@media (max-width: 900px) {
  .flow__track { grid-template-columns: 1fr; gap: 22px; max-width: 520px; }
  .flow__track::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 5px, transparent 5px 10px); }
  .flow__track::after { left: 24px; top: 28px; margin: -4px 0 0; animation-name: flowDotV; }
  .flow__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: center; text-align: left; }
  .flow__ic { margin: 0; }
  .flow__step i { margin-bottom: 4px; }
  .flow__step small { margin-top: 4px; }
  .flow__note { margin-top: 40px; }
}
@keyframes flowDotV { 0% { top: 28px; opacity: 0; } 4%, 96% { opacity: 1; } 100% { top: calc(100% - 28px); opacity: 0; } }

/* ---------- TESTIMONIALS (section stays hidden until real quotes are added) ---------- */
.voices__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.voice { display: flex; flex-direction: column; margin: 0; padding: clamp(26px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.voice blockquote { flex: 1; margin: 0; font-family: var(--serif); font-weight: 360; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ivory); }
.voice blockquote::before { content: "\201C"; display: block; height: .5em; margin-bottom: 14px; font-size: 3em; line-height: 1; color: var(--gold); }
.voice figcaption { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice figcaption b { display: block; font-size: 14px; font-weight: 600; color: var(--ivory); }
.voice figcaption span { display: block; margin-top: 3px; font-size: 13px; color: var(--ivory-faint); }
@media (max-width: 900px) { .voices__grid { grid-template-columns: 1fr; max-width: 560px; } }

@media (prefers-reduced-motion: reduce) {
  .flow__track::after { display: none; }
  .flow__ic { animation: none; }
}

/* ---------- KIT: full-width "Development" stack card ---------- */
.kit__card--wide { grid-column: 1 / -1; }
.kit__stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); column-gap: 34px; }
.kit__stack p:last-child { border-bottom: 1px dashed var(--line); }
@media (max-width: 620px) { .kit__stack p:last-child { border-bottom: 0; } }

/* ---------- FOR TEAMS ---------- */
.teams { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teams__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.teams__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.teams__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.teams__list li { position: relative; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--line); }
.teams__list li::before { content: ""; position: absolute; left: 2px; top: 31px; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.teams__list b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; color: var(--ivory); }
.teams__list span { display: block; margin-top: 6px; font-size: 15px; color: var(--ivory-dim); }
@media (max-width: 900px) { .teams__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .teams__actions .btn { width: 100%; justify-content: center; } }

/* ---------- DEMOS (section stays hidden until the demos exist) ---------- */
.demos__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.demo { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.demo h3 { margin: 0; font-family: var(--serif); font-weight: 360; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.demo p { flex: 1; margin: 12px 0 0; color: var(--ivory-dim); font-size: 15px; }
.demo__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo__link { color: var(--gold); font-weight: 600; font-size: 14px; }
.demo__link.is-todo { color: var(--ivory-faint); font-weight: 500; }
@media (max-width: 900px) { .demos__grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- DRAWER: role + tech used ---------- */
.drawer__role { margin: 0 0 34px; font-size: 16px; color: var(--ivory); }
.drawer__label-gap { margin-top: 30px; }
.pills--tech span { border-color: rgba(26,116,176,.35); background: var(--gold-soft); color: var(--gold-2); }

/* ---------- CONTACT: honeypot, form states, extra links ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.brief { position: relative; }
.brief__hint.is-ok { color: #23764F; }
.brief__hint a { color: var(--gold); text-decoration: underline; }
.btn[disabled], .btn.is-sending { opacity: .65; cursor: progress; }

/* ---------- FOOTER links ---------- */
.footer__links { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.footer__links a:hover { text-decoration-color: var(--gold); }
