/* ============================================================
   ULINKO — Luxury Minimal
   Paper white. Ink. Generous space. No noise.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200;0,6..72,300;0,6..72,400;1,6..72,300;1,6..72,400&family=Geist:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Type */
  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans:  'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Palette — luxury paper white + soft ink */
  --paper:       #FAF8F3;
  --paper-2:     #F4F1E9;
  --paper-3:     #ECE8DD;
  --ink:         #1A1A1A;
  --ink-2:       #2A2A2A;
  --ink-mute:    #707070;
  --ink-faint:   #A8A8A8;
  --rule:        rgba(26, 26, 26, 0.10);
  --rule-strong: rgba(26, 26, 26, 0.22);

  --signal:      #1A1A1A;
  --signal-ink:  #1A1A1A;

  /* Scale */
  --t-mono:    0.72rem;
  --t-xs:      0.8125rem;
  --t-sm:      0.9375rem;
  --t-base:    1.0625rem;
  --t-lg:      1.25rem;
  --t-xl:      1.625rem;
  --t-2xl:     2.25rem;
  --t-3xl:     clamp(2.5rem, 1.5rem + 3vw, 4rem);
  --t-4xl:     clamp(3rem, 1rem + 6vw, 6rem);
  --t-display: clamp(3rem, 0.8rem + 7.4vw, 7.75rem);

  /* Space */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px;

  /* Widths */
  --w-narrow: 640px;
  --w-read:   720px;
  --w-wide:   1240px;
  --w-max:    1320px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}

main { isolation: isolate; }

/* Remove blue tap flash on iOS */
a, button { -webkit-tap-highlight-color: transparent; }

/* Prevent double-tap zoom on buttons/links */
a, button { touch-action: manipulation; }

/* iOS: prevent page zoom when focusing inputs (requires font-size >= 16px) */
@media (max-width: 860px) {
  input, select, textarea { font-size: 16px !important; }
}

::selection { background: var(--ink); color: var(--paper); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--s-6);
}
.wrap--max  { max-width: var(--w-max); }
.wrap--read { max-width: var(--w-read); }

.section {
  padding-block: clamp(var(--s-9), 10vw, var(--s-11));
  position: relative;
}
.section + .section { border-top: 1px solid var(--rule); }

/* ============================================================
   SHARED
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-9);
  border-bottom: 1px solid var(--rule);
  gap: var(--s-5);
}
.section-label__num,
.section-label__title {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-label__num   { color: var(--ink-mute); }
.section-label__title { color: var(--ink); font-weight: 500; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 300;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav--scrolled { border-color: var(--rule); }

.nav__inner {
  max-width: var(--w-max);
  margin-inline: auto;
  padding: var(--s-4) var(--s-6);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-7);
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo .dot { display: none; }

.nav__links {
  display: flex;
  justify-content: center;
  gap: var(--s-7);
}
.nav__link {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover  { background: var(--ink-2); transform: translateY(-1px); }
.nav__cta:active { background: var(--ink);  transform: scale(0.97); transition-duration: 0.1s; }
.nav__cta .arrow {
  width: 12px; height: 12px;
  transition: transform 0.3s var(--ease);
}
.nav__cta:hover .arrow { transform: translate(2px, -2px); }

.nav__whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 15px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in oklab, var(--paper) 86%, white);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__whatsapp:hover {
  border-color: var(--ink);
  background: var(--paper);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  /* Force CTA to the right column so it doesn't drift centre when links hide */
  .nav__actions { grid-column: 3; justify-self: end; }
}

@media (max-width: 768px) {
  /* Both CTA and hamburger visible together overflows the nav on narrow phones.
     The mobile menu already contains the CTA link, so hide the pill here. */
  .nav__actions { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* Mobile hamburger button — shared across all pages */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.25s var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
}
@media (min-width: 769px) {
  .nav__hamburger { display: none; }
}

/* Mobile dropdown nav panel */
.nav__mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 49;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: var(--t-sm);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.nav__mobile a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 180px;
  padding-bottom: var(--s-10);
  position: relative;
}

.hero-mz {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: end;
  max-width: 1100px;
}

.hero-mz__body { display: flex; flex-direction: column; }

.hero__meta {
  display: flex;
  gap: var(--s-6);
  margin-bottom: var(--s-9);
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero__meta-item { display: flex; align-items: center; gap: 10px; }
.hero__meta-item .tick {
  width: 5px; height: 5px; background: var(--ink);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--serif);
  font-size: var(--t-display);
  font-weight: 200;
  letter-spacing: -0.032em;
  line-height: 1.04;
  max-width: 15ch;
  margin-bottom: var(--s-8);
}
.hero__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--ink);
}

.hero__lede {
  font-size: var(--t-lg);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 50ch;
  font-weight: 300;
  letter-spacing: -0.005em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn:active, .btn--primary:active { transform: scale(0.97) translateY(0) !important; transition-duration: 0.1s; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--whatsapp:hover {
  border-color: var(--ink);
  background: var(--paper-2);
  transform: translateY(-1px);
}

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translate(3px, -3px); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}
.tlink:hover { border-color: var(--ink); }
.tlink .arrow { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.tlink:hover .arrow { transform: translate(2px, -2px); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar {
  border-block: 1px solid var(--rule);
  padding-block: var(--s-8);
  background: var(--paper-2);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7);
}
@media (max-width: 700px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-7); }
}
.trustbar__cell {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.trustbar__num {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1rem + 3vw, 3.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.trustbar__num em {
  font-style: normal;
  font-size: 0.6em;
  margin-left: 0.05em;
  color: var(--ink-mute);
}
.trustbar__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ============================================================
   VALUES
   ============================================================ */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); gap: var(--s-7); } }
@media (max-width: 560px)  { .values { grid-template-columns: 1fr; gap: var(--s-7); } }

.value__link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}
.value__link:hover { border-color: var(--ink); }

.value { padding: 0; }

.value__num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  margin-bottom: var(--s-5);
}
.value__title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-3);
}
.value__text {
  font-size: var(--t-sm);
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 38ch;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: 1fr; }

.svc {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.3s var(--ease);
  position: relative;
}
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc:hover { padding-inline: var(--s-3); }

.svc__num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-faint);
  letter-spacing: 0.14em;
}
.svc__title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.svc__title em { font-style: italic; font-weight: 300; }

.svc__meta {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.svc__arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.svc:hover .svc__arrow {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.svc__arrow svg { width: 12px; height: 12px; }

.svc__expand {
  grid-column: 2 / 4;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), margin-top 0.5s var(--ease);
}
.svc--open .svc__expand { max-height: 360px; margin-top: var(--s-5); }
.svc__expand-inner {
  font-size: var(--t-base);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.6;
  padding-bottom: var(--s-2);
}
.svc__for {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.svc__for span {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.svc__tags {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-4);
}
.svc__tag {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .svc { grid-template-columns: 40px 1fr auto; gap: var(--s-4); }
  .svc__meta span:first-child { display: none; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: var(--s-7); }
}

.process__lede { position: sticky; top: 120px; }

@media (max-width: 900px) {
  .process__lede { position: static; }
}
.process__lede h2 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 200;
  letter-spacing: -0.035em;
  margin-top: var(--s-4);
  margin-bottom: var(--s-5);
  line-height: 1.0;
}
.process__lede h2 em { font-style: italic; font-weight: 200; }
.process__lede p {
  color: var(--ink-mute);
  max-width: 40ch;
  font-size: var(--t-base);
  line-height: 1.6;
}

.process__viz {
  border: none;
  background: transparent;
  padding: 0;
  position: relative;
}

.chain { display: flex; flex-direction: column; gap: 0; }

.chain__step {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
  position: relative;
  border-top: 1px solid var(--rule);
}
.chain__step:first-child { border-top: none; }
.chain__step--active,
.chain__step--done { opacity: 1; }

.chain__node {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  position: relative;
  z-index: 2;
  transition: all 0.5s var(--ease);
}
.chain__step--active .chain__node {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chain__step--done .chain__node {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chain__line { display: none; }

.chain__label {
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chain__label small {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.chain__region {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chain__step--active .chain__region,
.chain__step--done .chain__region { color: var(--ink); }

.chain__meta {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.chain__meta strong { color: var(--ink); font-weight: 500; }

.chain__playbar {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s linear;
}

/* ============================================================
   ONBOARDING STEPS
   ============================================================ */
.onboard { display: flex; flex-direction: column; }

.onboard__step {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: start;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
}
.onboard__step:last-child { border-bottom: 1px solid var(--rule); }

.onboard__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--paper);
  flex-shrink: 0;
  margin-top: 3px;
}

.onboard__title {
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}

.onboard__text {
  font-size: var(--t-sm);
  color: var(--ink-mute);
  line-height: 1.65;
  max-width: 48ch;
}

.onboard__detail {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 3px;
  text-align: right;
}

@media (max-width: 600px) {
  .onboard__step { grid-template-columns: 36px 1fr; }
  .onboard__detail { display: none; }
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: var(--s-7); } }

.founder__photo {
  aspect-ratio: 4/5;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s var(--ease);
}
.founder__photo:hover img { transform: scale(1.03); }
.founder__photo::after { content: none; }

.founder__body h2 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-top: var(--s-4);
  margin-bottom: var(--s-6);
}
.founder__body h2 em { font-style: italic; font-weight: 200; }

.founder__quote {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.4;
  max-width: 44ch;
  margin-bottom: var(--s-7);
  letter-spacing: -0.015em;
}

.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }
.cred__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cred__value {
  font-family: var(--serif);
  font-size: var(--t-base);
  color: var(--ink);
  line-height: 1.45;
  font-weight: 400;
}

/* ============================================================
   WORK
   ============================================================ */
.work {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-6);
}
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }

.case {
  grid-column: span 6;
  border: none;
  border-top: 1px solid var(--rule);
  padding: var(--s-6) 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  min-height: 320px;
  transition: none;
  position: relative;
  overflow: hidden;
}
.case:hover { background: transparent; }
.case--wide  { grid-column: span 12; min-height: 280px; }
.case--third { grid-column: span 4; min-height: 240px; }
@media (max-width: 900px) {
  .case, .case--wide, .case--third { grid-column: span 1; }
}

.case__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case__title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 24ch;
}
.case__desc {
  font-size: var(--t-sm);
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 48ch;
}
.case__stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.case__stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case__stat-value {
  font-family: var(--serif);
  font-size: var(--t-lg);
  color: var(--ink);
  letter-spacing: -0.025em;
  font-weight: 300;
}
.case__stat-value em { font-style: normal; }

.case__visual { display: none; }

/* ============================================================
   UPWORK CTA (replaces portfolio grid)
   ============================================================ */
.upwork-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 900px) {
  .upwork-cta { grid-template-columns: 1fr; gap: var(--s-7); }
}

.upwork-cta__left h2 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: var(--s-5);
}
.upwork-cta__left h2 em { font-style: italic; font-weight: 200; }
.upwork-cta__left p {
  color: var(--ink-mute);
  max-width: 44ch;
  font-size: var(--t-base);
  line-height: 1.6;
}

.upwork-cta__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  border: 1px solid var(--rule);
  padding: var(--s-7);
}
@media (max-width: 560px) {
  .upwork-cta__stats { grid-template-columns: 1fr 1fr; gap: var(--s-5); padding: var(--s-5); }
}

.upwork-stat { display: flex; flex-direction: column; gap: var(--s-2); }

.upwork-stat__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.upwork-stat__num em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--ink-mute);
  margin-left: 0.05em;
}
.upwork-stat__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  padding-top: var(--s-5);
}
.quote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 200;
  line-height: 0.75;
  color: var(--ink-faint);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: calc(-1 * var(--s-3));
}
.quote__stars {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink);
  letter-spacing: 0.24em;
}
.quote__text {
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--ink);
  flex: 1;
}
.quote__source {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: var(--w-read);
  margin-inline: auto;
}
.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--s-6) 0;
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  gap: var(--s-4);
  align-items: center;
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: opacity 0.2s var(--ease);
}
.faq__q:hover { opacity: 0.7; }
.faq__num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-faint);
  letter-spacing: 0.14em;
}
.faq__toggle {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  justify-self: end;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq__toggle::before, .faq__toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq__toggle::before { width: 12px; height: 1px; }
.faq__toggle::after  { width: 1px; height: 12px; }
.faq__item--open .faq__toggle::after { transform: scaleY(0); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq__item--open .faq__a { max-height: 400px; }
.faq__a-inner {
  padding: 0 56px var(--s-6) 56px;
  color: var(--ink-mute);
  font-size: var(--t-base);
  line-height: 1.65;
  max-width: 64ch;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--s-7); } }

.contact__left h2 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-top: var(--s-5);
  margin-bottom: var(--s-6);
  max-width: 14ch;
}
.contact__left h2 em { font-style: italic; font-weight: 200; }
.contact__left p {
  color: var(--ink-mute);
  max-width: 44ch;
  margin-bottom: var(--s-7);
  font-size: var(--t-base);
  line-height: 1.6;
}

.pricing { border-top: 1px solid var(--rule); margin-top: var(--s-7); }
.pricing__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
.pricing__label {
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.pricing__desc {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pricing__price {
  font-family: var(--serif);
  font-size: var(--t-xl);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 300;
}
.pricing__price em { font-style: normal; }

.form {
  background: transparent;
  padding: var(--s-7) 0 0;
  border: none;
  border-top: 1px solid var(--rule);
}
.factory-proof {
  margin-bottom: var(--s-7);
  padding: var(--s-5) 0 var(--s-6);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.factory-proof__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.factory-proof p {
  max-width: 42ch;
  font-family: var(--serif);
  font-size: var(--t-xl);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.form__title {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-7);
  display: flex;
  justify-content: space-between;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.form__field { display: flex; flex-direction: column; }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
}
.form__field input,
.form__field textarea,
.form__field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: var(--t-base);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  outline: none;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--ink-faint); font-family: var(--serif); font-style: italic; }
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus { border-color: var(--ink); }
.form__field textarea { min-height: 80px; resize: vertical; font-family: var(--sans); font-size: var(--t-sm); }
.form__submit {
  width: 100%;
  margin-top: var(--s-5);
  justify-content: center;
}

.direct-contact {
  margin: calc(var(--s-5) * -1) 0 var(--s-7);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.62), rgba(244,241,233,0.76)),
    var(--paper-2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
  box-shadow: 0 24px 80px rgba(26, 26, 26, 0.06);
}
.direct-contact__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
}
.direct-contact__title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.direct-contact p {
  margin: var(--s-2) 0 0;
  max-width: 42ch;
  font-size: var(--t-sm);
  color: var(--ink-mute);
}
.direct-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.direct-contact__button:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}
.direct-contact__button .arrow {
  width: 12px;
  height: 12px;
}

.private-advisory {
  margin-bottom: var(--s-7);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.private-advisory span {
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.private-advisory p {
  margin: 0;
  max-width: 36ch;
  font-family: var(--serif);
  font-size: var(--t-lg);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

@media (max-width: 700px) {
  .direct-contact {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .direct-contact__button {
    width: 100%;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--s-10) var(--s-6);
}
.footer__big {
  font-family: var(--serif);
  font-size: clamp(3rem, 1rem + 8vw, 7.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--s-9);
  max-width: 14ch;
}
.footer__big em { font-style: italic; font-weight: 200; }

.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid rgba(250,248,243,0.12);
}
@media (max-width: 1000px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; gap: var(--s-6); }
}
@media (max-width: 700px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
.footer__brand p {
  color: rgba(250,248,243,0.6);
  max-width: 36ch;
  font-size: var(--t-sm);
  line-height: 1.6;
  margin-top: var(--s-3);
}
.footer__col-title {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.45);
  margin-bottom: var(--s-4);
}
.footer__list { display: flex; flex-direction: column; gap: var(--s-3); }
.footer__list a {
  color: rgba(250,248,243,0.78);
  font-size: var(--t-sm);
  transition: color 0.2s var(--ease);
}
.footer__list a:hover { color: var(--paper); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250,248,243,0.12);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.45);
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ============================================================
   MOBILE OVERRIDES  (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Hero — reduce top gap on phones */
  .hero { padding-top: 110px; }

  /* Hero meta — tighten gap */
  .hero__meta { gap: var(--s-4); margin-bottom: var(--s-7); }

  /* Section label — stack on very narrow screens */
  .section-label { flex-direction: column; gap: var(--s-2); }

  /* Services — wider expand area & enough room for text */
  .svc--open .svc__expand { max-height: 600px; }

  /* FAQ — remove excessive side padding */
  .faq__a-inner { padding-left: var(--s-4); padding-right: var(--s-4); }
  .faq__q { font-size: var(--t-lg); }

  /* Contact form rows — stack to single column */
  .form__row { grid-template-columns: 1fr; gap: var(--s-5); }

  /* Pricing — stack label / desc / price vertically */
  .pricing__row {
    grid-template-columns: 1fr;
    gap: var(--s-1);
  }
  .pricing__price { font-size: var(--t-lg); }

  /* Process chain — hide region label, give node more room */
  .chain__region { display: none; }
  .chain__step { grid-template-columns: 44px 1fr; }

  /* Footer — single column on phones */
  .footer__cols { grid-template-columns: 1fr; }

  /* Buttons — full-width on phones */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Touch targets — ensure 44px minimum hit area everywhere */
.faq__q { min-height: 44px; }
.svc { min-height: 44px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal--in { opacity: 1; transform: none; }
.reveal--1 { transition-delay: 0.08s; }
.reveal--2 { transition-delay: 0.16s; }
.reveal--3 { transition-delay: 0.24s; }
.reveal--4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   HIDDEN — old industrial elements
   ============================================================ */
.manifest-strip,
.marquee,
.stamp,
.photo-marks { display: none !important; }

/* ============================================================
   GRAIN OVERLAY — subtle film texture for premium feel
   ============================================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px;
}

/* ============================================================
   WORK WRAP (contains swipe hint on mobile)
   ============================================================ */
.work-wrap { position: relative; }

/* ============================================================
   WORK CASE VISUALS — editorial image placeholder areas
   ============================================================ */
.case__visual {
  display: block;
  width: 100%;
  height: 200px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 9px,
      var(--rule) 9px,
      var(--rule) 10px
    ),
    var(--paper-2);
  margin-bottom: var(--s-5);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s var(--ease);
}
.case--wide  .case__visual { height: 260px; }
.case--third .case__visual { height: 160px; }

/* Founder photo */
.founder__photo { background: var(--paper-3); }

/* ============================================================
   DECORATIVE SECTION NUMBERS — large outlined editorial nums
   ============================================================ */
#founder, #services, #work, #faq, #contact { position: relative; }
#founder::before  { content: '01'; }
#services::before { content: '03'; }
#work::before     { content: '05'; }
#faq::before      { content: '07'; }
#contact::before  { content: '08'; }

#founder::before, #services::before, #work::before,
#faq::before, #contact::before {
  position: absolute;
  top: clamp(var(--s-7), 4vw, var(--s-8));
  right: var(--s-6);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 16rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-strong);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* Keep content above the decorative number */
#founder > *, #services > *, #work > *,
#faq > *, #contact > * { position: relative; z-index: 1; }

/* ============================================================
   HERO URGENCY LINE
   ============================================================ */
.hero__urgency {
  margin-top: 0;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero__direct-note {
  margin-top: var(--s-4);
  margin-bottom: var(--s-5);
  max-width: 48ch;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-style: italic;
  line-height: 1.4;
}

/* ============================================================
   FLOATING CTA — sticky bottom bar
   ============================================================ */
.float-cta {
  position: fixed;
  bottom: var(--s-6);
  right: var(--s-6);
  z-index: 100;
  display: flex;
  gap: var(--s-3);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.float-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta .btn {
  box-shadow: 0 4px 24px rgba(26,26,26,0.18), 0 1px 4px rgba(26,26,26,0.10);
}
@media (max-width: 600px) {
  .float-cta {
    bottom: calc(var(--s-5) + env(safe-area-inset-bottom));
    right: var(--s-5);
    left: var(--s-5);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .float-cta .btn {
    min-width: 0;
    width: 100%;
    padding-inline: var(--s-4);
    justify-content: center;
  }
}

/* ============================================================
   FOUNDER — landscape photo + narrative
   ============================================================ */
.founder__photo {
  aspect-ratio: 3/2;
}
.founder__photo img {
  object-position: center 25%;
}

.founder__narrative {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.founder__narrative p {
  font-size: var(--t-base);
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 58ch;
}
.founder__narrative p strong {
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   COST OF WAITING — dark urgency section
   ============================================================ */
.cost-section {
  background: var(--ink);
  color: var(--paper);
}
.cost-section .section-label {
  border-color: rgba(250,248,243,0.12);
}
.cost-section .section-label__num { color: rgba(250,248,243,0.4); }
.cost-section .section-label__title { color: rgba(250,248,243,0.9); }

.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 900px) {
  .cost-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.cost-lede h2 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper);
  max-width: 22ch;
  margin-bottom: var(--s-7);
}
.cost-lede h2 em {
  font-style: italic;
  font-weight: 200;
  color: rgba(250,248,243,0.65);
}
.cost-lede .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.cost-lede .btn--primary:hover {
  background: var(--paper-2);
  transform: translateY(-1px);
}

.cost-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 560px) {
  .cost-items { grid-template-columns: 1fr; }
}

.cost-item {
  padding: var(--s-7) 0;
  border-top: 1px solid rgba(250,248,243,0.12);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.cost-item:nth-child(odd)  { padding-right: var(--s-7); border-right: 1px solid rgba(250,248,243,0.12); }
.cost-item:nth-child(even) { padding-left: var(--s-7); }
@media (max-width: 560px) {
  .cost-item:nth-child(odd)  { padding-right: 0; border-right: none; }
  .cost-item:nth-child(even) { padding-left: 0; }
}

.cost-item__num {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1rem + 3vw, 3.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--paper);
}
.cost-item__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.55);
  line-height: 1.55;
  max-width: 24ch;
}

/* ============================================================
   FAQ INLINE CTA
   ============================================================ */
.faq__cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.faq__cta-inline:hover { border-color: var(--ink); }
.faq__cta-inline svg { width: 10px; height: 10px; }

/* ============================================================
   CONTACT REPLY TIME
   ============================================================ */
.contact__reply {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__reply::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a9a5c;
  flex-shrink: 0;
}
.contact__fallback {
  margin-top: var(--s-5);
  font-size: var(--t-sm);
  color: var(--ink-mute);
  line-height: 1.6;
}
.contact__fallback a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}
.contact__fallback a:hover { border-color: var(--ink); }

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  margin: var(--s-4) 0 var(--s-7);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social-links span {
  color: var(--ink-mute);
}
.social-links a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-links a:hover {
  color: var(--ink-2);
  border-color: var(--ink);
}

/* ============================================================
   MOBILE COMPRESSION (≤ 700px)
   Reduces ~2,500px of scroll height on phones
   ============================================================ */
@media (max-width: 700px) {
  /* Section padding: 48px instead of 96–160px — saves ~800px total */
  .section    { padding-block: var(--s-7); }
  .hero       { padding-bottom: var(--s-7); }
  .trustbar   { padding-block: var(--s-6); }

  /* Work section: horizontal swipe carousel instead of 6 stacked cards */
  .work {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--s-5);
    margin-inline: calc(-1 * var(--s-6));
    padding-inline: var(--s-6);
    padding-bottom: var(--s-5);
  }
  .work::-webkit-scrollbar { display: none; }
  .case, .case--wide, .case--third {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    min-height: 0;
  }
  .case__visual,
  .case--wide .case__visual,
  .case--third .case__visual { height: 130px; }

  /* Swipe hint label */
  .work-wrap::after {
    content: 'Swipe →';
    display: block;
    font-family: var(--mono);
    font-size: var(--t-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: var(--s-3);
    padding-inline: var(--s-6);
  }

  /* Testimonials: show only first on mobile */
  .quote:nth-child(n+2) { display: none; }

  /* Hide decorative bg numbers on mobile (too large) */
  #founder::before, #services::before, #work::before,
  #faq::before, #contact::before { display: none; }
}

/* ============================================================
   MOBILE IMPROVEMENTS — phone-specific fixes
   These are additive overrides; desktop is untouched.
   ============================================================ */

/* 1. Section label: 96px bottom gap is too deep on mobile */
@media (max-width: 700px) {
  .section-label { margin-bottom: var(--s-7); }
}

/* 2. Founder photo: 4:5 portrait becomes ~400px tall when stacked.
      Switch to landscape so content below is reachable sooner. */
@media (max-width: 900px) {
  .founder__photo { aspect-ratio: 3 / 2; }
}

/* 3. Values: 48px gap between 4 stacked cards is too deep */
@media (max-width: 560px) {
  .values { gap: var(--s-5); }
}

/* 4. Services: align-items center floats the number/arrow to the
      middle of a tall expanded card. Switch to top-align on mobile.
      Also reduce title font floor so long titles don't dominate. */
@media (max-width: 700px) {
  .svc { align-items: start; }
  .svc__num  { padding-top: 4px; }
  .svc__arrow { margin-top: 2px; }
  .svc__title { font-size: clamp(1.25rem, 1rem + 1.6vw, 2.5rem); }
}

/* 5. Hero: lede is 20px on small phones — reduce, tighten top gap */
@media (max-width: 480px) {
  .hero { padding-top: 96px; }
  .hero__title { font-size: clamp(2.25rem, 0.8rem + 7.2vw, 4.2rem); }
  .hero__lede  { font-size: var(--t-base); }
  .hero__actions { margin-top: var(--s-6); }
}

/* 6. FAQ: 26px serif question in a tight 3-col grid wraps to 4+ lines.
      Reduce font and tighten the number column to reclaim text space. */
@media (max-width: 600px) {
  .faq__q {
    font-size: var(--t-sm);
    grid-template-columns: 30px 1fr 28px;
    gap: var(--s-3);
    padding: var(--s-5) 0;
  }
  .faq__a-inner {
    padding-left: var(--s-5);
    padding-right: 0;
    padding-bottom: var(--s-5);
  }
}

/* ============================================================
   GSAP ANIMATION HELPERS
   ============================================================ */

/* Word-split clip containers for hero title reveal */
.w-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1.18;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.w-inner { display: inline-block; line-height: inherit; }

/* Disable existing CSS reveal transitions on elements GSAP handles
   (GSAP sets opacity/transform directly; CSS transitions interfere) */
.reveal { transition: none !important; }

/* ============================================================
   MOBILE — PHONE-SPECIFIC IMPROVEMENTS (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  /* Trust bar: 2×2 grid instead of 4 across — much more readable */
  .trustbar__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5) var(--s-4);
  }
  .trustbar__num { font-size: clamp(1.6rem, 7vw, 2.5rem); }

  /* Hero: tighten up the bottom, let title breathe */
  .hero { padding-top: 88px; padding-bottom: var(--s-7); }
  .hero__title { line-height: 1.12; }
  .hero__lede { font-size: var(--t-sm); line-height: 1.7; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .hero__actions .btn,
  .hero__actions .tlink { justify-content: center; }

  /* Audience cards: reduce inner padding on very small screens */
  .audience__card { padding: var(--s-5) var(--s-4); }
  .audience__situation { font-size: var(--t-lg); }

  /* Cost items: stack num + label cleanly */
  .cost-item__num { font-size: clamp(2rem, 10vw, 3.5rem); }

  /* Services: full-width, no cramping */
  .svc { padding: var(--s-5) var(--s-4); }
  .svc__title { font-size: var(--t-lg); }

  /* Contact form: full-width stacked inputs */
  .form__row { grid-template-columns: 1fr; }
  .form input, .form textarea { font-size: 16px; } /* prevent iOS zoom */

  /* Pricing hint row: wrap nicely */
  .pricing__row {
    grid-template-columns: 1fr auto;
    gap: var(--s-2);
  }
  .pricing__desc { display: none; } /* hide middle column on tiny screens */
}

/* ============================================================
   MOBILE — POPUP AS BOTTOM SHEET (≤ 500px)
   ============================================================ */

@media (max-width: 500px) {
  .popup-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .popup-card {
    border-radius: 16px 16px 0 0;
    padding: var(--s-7) var(--s-5) calc(var(--s-7) + env(safe-area-inset-bottom));
    transform: translateY(100%);
    max-width: 100%;
    width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .popup-overlay.popup--visible .popup-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  .popup-fields { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — NAV IMPROVEMENTS
   ============================================================ */

@media (max-width: 480px) {
  .nav__inner { padding-inline: var(--s-5); }
  .nav__logo { font-size: var(--t-base); }
  .nav__hamburger { display: flex; }
  /* Ensure mobile nav links are large enough to tap */
  .nav__mobile a {
    padding-block: var(--s-5);
    font-size: var(--t-lg);
  }
}

/* ============================================================
   MOBILE — COMPARISON TABLE
   ============================================================ */

@media (max-width: 600px) {
  /* Sticky first column so feature label stays visible while scrolling */
  .compare-table td:first-child,
  .compare-table th:first-child {
    position: sticky;
    left: 0;
    background: var(--paper);
    z-index: 1;
    min-width: 120px;
  }
  .compare-table .col-ulinko {
    background: var(--paper-2);
  }
  /* Add a subtle shadow on the sticky column edge */
  .compare-table td:first-child::after,
  .compare-table th:first-child::after {
    content: '';
    position: absolute;
    top: 0; right: -8px; bottom: 0;
    width: 8px;
    background: linear-gradient(to right, rgba(26,26,26,0.06), transparent);
    pointer-events: none;
  }
}

/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.popup-overlay.popup--visible {
  opacity: 1;
  pointer-events: all;
}

.popup-card {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  max-width: 520px;
  width: 100%;
  padding: var(--s-8) var(--s-8);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}

.popup-overlay.popup--visible .popup-card {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-faint);
  padding: 6px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.popup-close:hover { color: var(--ink); }

.popup-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}

.popup-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--s-4);
}

.popup-body {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: var(--s-5);
}

.popup-bullets {
  list-style: none;
  margin-bottom: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.popup-bullets li {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--ink-2);
  padding-left: var(--s-5);
  position: relative;
}

.popup-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ink-mute);
  font-size: var(--t-xs);
}

.popup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.popup-input {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--ink);
  background: white;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.popup-input:focus { border-color: var(--ink); }
.popup-input::placeholder { color: var(--ink-faint); }

.popup-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--s-3);
}

.popup-disclaimer {
  font-family: var(--sans);
  font-size: var(--t-xs);
  color: var(--ink-faint);
  text-align: center;
}

.popup-success {
  text-align: center;
  padding: var(--s-6) 0;
}

.popup-success-icon {
  font-size: 2rem;
  margin-bottom: var(--s-4);
}

.popup-success-text {
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.popup-success-link {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 500px) {
  .popup-card { padding: var(--s-6) var(--s-5); }
  .popup-fields { grid-template-columns: 1fr; }
}
