/* =========================================================================
   Hiranyavarna
   One family with its products in layout — white cards, soft shadows, ticked
   lists — but its own ground: warm ivory and the gold of the logo, never
   charcoal. hiraṇya-varṇa means gold-coloured, so gold carries the page.

   The signature is the shirorekha, the bar Devanagari hangs its letters from,
   as the logo does: page headings hang beneath a gold bar (.shiro). Behind
   the hero, gold rings spread like a struck coin.
   Each product passes its brand colour as --accent, but it only marks small
   things (icon glyphs); ticks, grounds, pills and borders stay gold.
   ========================================================================= */

:root {
  /* Gold, sampled from assets/img/hiranyavarna-logo.png */
  --gold:        #C0840C;  /* logo's dominant stroke */
  --gold-bright: #F5C451;  /* logo's highlight, toned for buttons */
  --gold-light:  #FCDF8E;
  --gold-soft:   #FBF1D9;
  --gold-text:   #8F6108;  /* darkened for AA contrast on ivory */
  --gold-ink:    #4A3304;  /* text on a gold ground */

  /* Warm ground */
  --white:   #FFFFFF;
  --ivory:   #FDFAF3;
  --tint:    #F8F1E3;
  --line:    #ECE3D0;
  --ink:     #241C0E;
  --ink-soft:#5F5443;
  --ink-faint:#8C8170;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(74, 51, 4, .06), 0 2px 8px rgba(74, 51, 4, .04);
  --shadow:    0 2px 4px rgba(74, 51, 4, .05), 0 12px 32px rgba(74, 51, 4, .10);
  --shadow-lg: 0 20px 50px rgba(74, 51, 4, .22);

  --shell: 74rem;
  --gutter: clamp(1rem, 4vw, 2rem);

  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, dl, figure, address, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); color: inherit; }
ul { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
a { color: inherit; }
.icon { flex-shrink: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 30;
  font-size: .875rem;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Layout ---------- */

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-tint { background: var(--tint); }

.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }

.section-head-title {
  margin-top: .75rem;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section-head-title-sm { font-size: clamp(1.375rem, 2.6vw, 1.75rem); }

.section-head-lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* Small uppercase label above headings, as on the product sites. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Gold lettering for the key phrase: the logo's stroke, deepened to read on ivory. */
.accent {
  color: var(--gold);
  background: linear-gradient(100deg, #D8960F 0%, #A86B04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* THE SIGNATURE — the shirorekha. Content hangs from the bar, it does not rest on it. */
.shiro { position: relative; padding-top: 1.75rem; }
.shiro::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: min(100%, 34rem);
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 70%, rgba(245, 196, 81, 0) 100%);
}

.pill {
  display: inline-block;
  width: fit-content;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gold-text);
  background: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, white);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.card-gold {
  background: linear-gradient(150deg, var(--gold-soft), #F6E2B0);
  border-color: #EBCF8C;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6875rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }

.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: .875rem 1.625rem; font-size: 1rem; }

.btn-gold {
  background: linear-gradient(180deg, #F8CF62, var(--gold-bright));
  border-color: #E7B13E;
  color: var(--gold-ink);
}
.btn-gold:hover { background: #FFD76E; box-shadow: 0 6px 20px rgba(192, 132, 12, .28); }

.btn-outline { border-color: #DCC79B; color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-soft); }

.btn-ghost { border-color: #D9B868; color: var(--gold-text); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(245, 196, 81, .14); }

.btn-light { background: var(--white); color: var(--gold-ink); }
.btn-light:hover { box-shadow: 0 6px 20px rgba(74, 51, 4, .18); }
.btn-light .icon { color: var(--gold); }

.link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
  text-decoration: none;
}
.link .icon { width: 16px; height: 16px; transition: transform .18s ease; }
.link:hover { color: var(--gold-text); }
.link:hover .icon { transform: translateX(2px); }

/* Ticked feature lists. */
.checks { display: grid; gap: .5rem; }
.checks li { display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; font-weight: 500; }
.checks .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  margin-top: 1px;
  border-radius: 50%;
  color: var(--gold-text);
  background: var(--gold-soft);
  stroke-width: 2.6;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 250, 243, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.wordmark { display: inline-flex; }
.wordmark-logo { width: 150px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.site-nav ul { display: flex; gap: clamp(.875rem, 2.5vw, 1.75rem); }

.site-nav ul a {
  position: relative;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: .375rem;
  transition: color .18s ease;
}
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---------- Gold grounds: hero and page heads ---------- */

.hero, .pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF9EB 0%, var(--ivory) 100%);
  border-bottom: 1px solid var(--line);
}

/* Gold rings spreading from behind the visual, like a struck coin, over a warm glow. */
.hero::before, .pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 80% 45%, rgba(192, 132, 12, .11) 0 1px, transparent 1px 58px),
    radial-gradient(50rem 32rem at 80% 40%, rgba(245, 196, 81, .30), transparent 65%),
    radial-gradient(36rem 22rem at 0% 0%, rgba(252, 223, 142, .35), transparent 60%);
  -webkit-mask-image: radial-gradient(70rem 40rem at 80% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70rem 40rem at 80% 45%, #000 30%, transparent 75%);
}
.pagehead::before {
  background:
    repeating-radial-gradient(circle at 95% 0%, rgba(192, 132, 12, .10) 0 1px, transparent 1px 52px),
    radial-gradient(44rem 26rem at 95% 0%, rgba(245, 196, 81, .32), transparent 65%);
  -webkit-mask-image: radial-gradient(60rem 34rem at 95% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60rem 34rem at 95% 0%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4rem, 9vw, 6.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.hero-headline {
  margin-top: 1rem;
  font-weight: 800;
  font-size: clamp(2.375rem, 5.4vw, 3.875rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero-standfirst {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--ink-soft);
}
.hero-note .icon { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.4; }

/* Three screens layered in a fixed-ratio box, so the stack scales as one. */
.hero-visual { position: relative; aspect-ratio: 1.08; }

/* A gold slab behind the screens — the hero's own colour, not a product's. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 6% 6%;
  border-radius: 32px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .45), transparent 55%),
    linear-gradient(140deg, #FCDA7E 0%, #F0B53A 45%, #C88A12 100%);
  box-shadow: 0 30px 60px rgba(192, 132, 12, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.hero-shot { position: absolute; }
.hero-shot-back  { top: 9%; right: 5%; width: 78%; }
.hero-shot-front { left: 0; bottom: 16%; width: 60%; }
.hero-shot-float { right: 3%; bottom: 0; width: 38%; }
.hero-shot.frame, .hero-shot.shot { box-shadow: var(--shadow-lg); }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}
.hero-chip small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: .75rem;
  color: var(--ink-faint);
}
.hero-chip-top { top: 2%; left: 0; }
.hero-chip-bottom { bottom: 44%; right: -2%; }
.hero-chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
}
.hero-chip-icon .icon { width: 16px; height: 16px; stroke-width: 2.6; }

/* ---------- Screenshots ---------- */

.frame {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: var(--shadow);
}
.frame-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: #F1EFEA;
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9D5CC; }
.frame-bar i:nth-child(1) { background: #F26B5B; }
.frame-bar i:nth-child(2) { background: #F5BE4F; }
.frame-bar i:nth-child(3) { background: #5EC269; }
.frame img, .shot img { width: 100%; height: auto; }

.shot {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
}

/* ---------- Stats ---------- */

.stats { border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding: clamp(1.5rem, 4vw, 2.25rem) 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat-label { margin-top: .375rem; font-size: .875rem; color: var(--ink-soft); }

/* ---------- Product cards (home) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--line));
}

/* Screens sit on gold drafting paper, the same for every product. */
.product-card-media, .product-media {
  background-color: var(--gold-soft);
  background-image:
    linear-gradient(color-mix(in srgb, var(--gold) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--gold) 14%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.product-card-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 13.5rem;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-card-media .frame { width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; align-self: flex-start; }
.product-card-media .shot { width: 100%; border-radius: 10px 10px 0 0; align-self: flex-start; }

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.product-card-name { display: flex; min-height: 42px; align-items: center; }
.product-card-logo, .product-logo, .support-logo { width: auto; object-fit: contain; object-position: left center; }

.product-card-summary { color: var(--ink-soft); font-size: .9375rem; }

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ---------- Icon tiles ---------- */

.value-icon, .feature-icon, .office-icon, .product-audience-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--accent, var(--gold-text));
  background: var(--gold-soft);
}
.value-icon .icon, .office-icon .icon, .product-audience-icon .icon { width: 22px; height: 22px; }


.fit-footnote { margin-top: 2rem; text-align: center; color: var(--ink-soft); }
.fit-footnote a { color: var(--gold-text); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Values (home) ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.value { display: flex; flex-direction: column; gap: .75rem; }
.value-title { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.value-text { color: var(--ink-soft); font-size: .9375rem; }

/* The founder, under the values: a face for "support from the people who build it". */
.founder {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 50rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.founder-photo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold-light);
}
.founder-quote { margin: 0; font-size: 1.0625rem; color: var(--ink); line-height: 1.6; }
.founder-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
  margin-top: .75rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.founder-by strong { color: var(--ink); }
@media (max-width: 34rem) {
  .founder { flex-direction: column; align-items: flex-start; }
  .founder-photo { width: 72px; height: 72px; }
}

/* ---------- Call to action ---------- */

.cta { padding-block: 0 clamp(3.5rem, 8vw, 5.5rem); }
.section + .cta, .product + .cta { padding-top: clamp(1rem, 3vw, 2rem); }
/* The golden middle: three ideas on one gold slab, joined by a beam that
   runs through their coins so they read as a balance, not three features. */
.middle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, #FCDA7E 0%, #F2B843 55%, #D99B1C 100%);
  color: var(--gold-ink);
  box-shadow: 0 20px 50px rgba(192, 132, 12, .22);
}
.middle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .2) 0 1px, transparent 1px 48px);
}
.middle-head { max-width: 48rem; margin: 0 auto clamp(2rem, 4vw, 2.75rem); text-align: center; }
.middle-head .eyebrow { color: var(--gold-ink); }
.middle-title {
  margin-top: .75rem;
  font-weight: 800;
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--gold-ink);
}
.middle-title-end { display: block; }
.middle-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The beam: from the first coin's centre to the last's, over the cards and
   under the coins, so it reads as one balance. */
.middle-grid::before {
  content: "";
  position: absolute;
  top: calc(1.75rem + 26px);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-ink) 50%, var(--gold));
  z-index: 1;
}
.middle-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  padding: 1.75rem 1.5rem 1.75rem;
  text-align: center;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
}
.middle-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: .25rem;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  color: var(--gold-ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-bright) 60%, var(--gold));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .8), 0 6px 14px rgba(74, 51, 4, .2);
}
.middle-icon .icon { width: 24px; height: 24px; stroke-width: 2; }
.middle-label { font-size: 1.125rem; font-weight: 700; color: var(--gold-ink); }
.middle-text { font-size: .9375rem; color: color-mix(in srgb, var(--gold-ink) 82%, white); text-wrap: pretty; }
/* Stacked on phones the beam would cross the text, so it goes. */
@media (max-width: 48rem) {
  .middle-grid { grid-template-columns: 1fr; }
  .middle-grid::before { display: none; }
}

.section-tint + .cta { padding-top: clamp(3.5rem, 8vw, 5.5rem); }

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, #FCDA7E 0%, #F2B843 55%, #D99B1C 100%);
  color: var(--gold-ink);
  box-shadow: 0 20px 50px rgba(192, 132, 12, .22);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .22) 0 1px, transparent 1px 48px);
}

.cta-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.cta-body { margin-top: .625rem; max-width: 36rem; color: #5E4206; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn-ghost { border-color: rgba(74, 51, 4, .4); color: var(--gold-ink); }
.cta .btn-ghost:hover { border-color: var(--gold-ink); background: rgba(255, 255, 255, .2); }

/* ---------- Page heads ---------- */

.pagehead { padding-block: clamp(3rem, 7vw, 5rem); }
.pagehead-tall { padding-block: clamp(4rem, 12vw, 8rem); }

.pagehead-headline {
  margin-top: 1rem;
  max-width: 22ch;
  font-weight: 800;
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.033em;
  text-wrap: balance;
}

.pagehead-standfirst {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- Products page ---------- */

.product-jump {
  position: sticky;
  top: 4.25rem;
  z-index: 10;
  background: rgba(253, 250, 243, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.product-jump-inner { display: flex; gap: .5rem; padding-block: .625rem; overflow-x: auto; }
.product-jump a {
  padding: .375rem .875rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.product-jump a:hover { background: var(--tint); color: var(--ink); }

.product { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.product-tint { background: var(--tint); }

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.product-intro-flip .product-copy { order: 2; }

.product-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

.product-summary { font-size: 1.125rem; color: var(--ink-soft); max-width: 34rem; }

.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .75rem; }
.product-actions .link { color: var(--ink-soft); }
.product-actions .link .icon { width: 18px; height: 18px; }
.product-actions .link:hover .icon { transform: none; }

.product-media {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
}
.product-media .shot { box-shadow: var(--shadow); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-icon { width: 32px; height: 32px; border-radius: 9px; margin-bottom: .25rem; color: var(--gold-text); }
.feature-icon .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.feature-title { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.feature-body { font-size: .9375rem; color: var(--ink-soft); }

.product-audience {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .9375rem;
}
.product-audience strong { color: var(--ink); margin-right: .25rem; }
.product-audience-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--white); }

/* ---------- Contact ---------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.support { display: flex; flex-direction: column; gap: .75rem; border-top: 3px solid var(--gold); }
.support-segment { font-size: .875rem; color: var(--ink-faint); }
.support-email {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.support-email .icon { color: var(--gold); }
.support-email:hover { color: var(--gold-text); }

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.contact-primary { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.25rem); }
.contact-primary-email {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -.02em;
  text-decoration: none;
  word-break: break-word;
}
.contact-primary-email:hover { color: var(--gold-text); }
.contact-primary-note { color: #5E4206; max-width: 36ch; }

.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; }
.office { display: flex; flex-direction: column; gap: .625rem; }
.office-region { font-family: var(--display); font-weight: 700; font-size: 1.125rem; margin-top: .25rem; }
.office-code { font-family: var(--body); font-weight: 500; font-size: .875rem; color: var(--ink-faint); margin-left: .25rem; }
.office-address { color: var(--ink-soft); }
.office-address span { display: block; }
.office-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.office-phone .icon { width: 18px; height: 18px; color: var(--gold-text); }
.office-phone:hover { color: var(--gold-text); }

/* ---------- Founder profile ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.profile-bio > * + * { margin-top: 1.125rem; }
.profile-bio p { max-width: 60ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; }
.profile-bio p:first-child { color: var(--ink); font-size: 1.1875rem; }
.profile-bio strong { color: var(--ink); }

.profile-aside { position: sticky; top: 6rem; }

.profile-portrait { margin: 0 0 1.25rem; }
.profile-portrait img { width: 100%; height: auto; border-radius: var(--radius-sm); background: var(--tint); }

.profile-role { font-family: var(--display); font-weight: 700; font-size: 1.125rem; }

.profile-meta { margin-top: .75rem; font-size: .9375rem; color: var(--ink-soft); }
.profile-meta dt {
  margin-top: .875rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.profile-meta dd { margin: .125rem 0 0; }
.profile-meta a { color: var(--gold-text); font-weight: 500; text-underline-offset: 3px; }

/* The photographs are the author's own, so the set is credited as a whole. */
.photos { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: clamp(2rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 1.5rem;
}

/* The lead frame spans the full row whatever the column count resolves to. */
.photo-lead { grid-column: 1 / -1; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius-sm); background: var(--tint); }
.photo figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--ink-soft); }

.photos-credit { margin-top: 1.5rem; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Milestones ---------- */

/* A vertical gold line: years on the left, a coin on the line for each
   milestone, the name and one line on the right. */
.milestones { margin-top: clamp(2.25rem, 5vw, 3rem); padding-top: clamp(1.75rem, 4vw, 2.25rem); border-top: 1px solid var(--line); }

.milestones-list {
  --year: 3.5rem;   /* width of the year column */
  --rail: 1.25rem;  /* gap between the year and the line */
  position: relative;
  display: grid;
  gap: 1.75rem;
  max-width: 44rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: var(--year) 1fr;
  column-gap: calc(var(--rail) * 2);
}
.milestone::before {
  content: "";
  position: absolute;
  top: .3rem;
  left: calc(var(--year) + var(--rail) - 6px);
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 3px var(--ivory);
}
/* The line runs from each coin down to the next, and stops at the last. */
.milestone:not(:last-child)::after {
  content: "";
  position: absolute;
  top: .8rem;
  bottom: -2.05rem;
  left: calc(var(--year) + var(--rail) - 1px);
  width: 2px;
  background: linear-gradient(var(--gold-light), var(--gold));
}

.milestone-year {
  grid-row: span 2;
  padding-top: .1rem;
  text-align: right;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-text);
}

.milestone-name {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.milestone-status { margin-left: .5rem; padding: .125rem .5rem; font-family: var(--body); font-size: .75rem; vertical-align: .1em; }

.milestone-line {
  margin-top: .25rem;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Prose ---------- */

.prose-section { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 8vw, 5rem); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.125rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin-top: 2.5rem; color: var(--ink); }
.prose a { color: var(--gold-text); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--tint);
  color: var(--ink-soft);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  font-size: .9375rem;
  border-top: 1px solid var(--line);
}
/* The footer hangs from the same gold bar as the headings. */
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright) 50%, var(--gold));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-grid-three { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }

.footer-brand-logo { width: 140px; height: auto; }
.footer-brand-about { margin-top: 1rem; max-width: 30ch; }
.footer-brand-gloss { margin-top: .75rem; font-size: .8125rem; color: var(--ink-faint); }

.footer-col-title {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--ink);
}
.footer-col ul { display: grid; gap: .625rem; }
.footer-col a { text-decoration: none; transition: color .18s ease; word-break: break-word; }
.footer-col a:hover { color: var(--gold-text); }

.footer-office { display: flex; flex-direction: column; gap: .125rem; }
.footer-office + .footer-office { margin-top: 1rem; }
.footer-office strong { color: var(--ink); font-weight: 600; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--ink-faint);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .pagehead .shiro > * { animation: rise .6s cubic-bezier(.2, .7, .3, 1) both; }
  .hero-copy > :nth-child(2), .pagehead .shiro > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(n+3), .pagehead .shiro > :nth-child(n+3) { animation-delay: .1s; }
  .hero-visual { animation: rise .8s .15s cubic-bezier(.2, .7, .3, 1) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(.75rem); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .product-card:hover { transform: none; }
}

/* ---------- Narrow ---------- */

@media (max-width: 60rem) {
  .hero-grid, .product-intro, .contact-split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 36rem; width: 100%; margin-inline: auto; }
  .product-intro-flip .product-copy { order: 0; }
  .footer-grid, .footer-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .profile-grid { grid-template-columns: 1fr; }
  .profile-aside { position: static; }
  /* Stacked under the bio the portrait would run the full column width and
     read as a second hero, so it is held to a portrait's worth of space. */
  .profile-portrait { max-width: 16rem; }
}

@media (max-width: 44rem) {
  .wordmark { flex-shrink: 0; }
  .wordmark-logo { width: 124px; }
  .site-nav-home { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-chip { font-size: .875rem; padding: .5rem .625rem; }
  .hero-chip-bottom { right: 0; }
  .hero-chip-icon { width: 24px; height: 24px; }
  .product-jump { top: 4.25rem; }
  .product-card-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

@media (max-width: 28rem) {
  .footer-grid, .footer-grid-three, .feature-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Small phones: wordmark, two links and the Contact button share ~330px. */
@media (max-width: 26rem) {
  .site-header-inner { gap: .75rem; }
  .wordmark-logo { width: 100px; }
  .site-nav, .site-nav ul { gap: .625rem; }
  .site-nav ul a { font-size: .875rem; }
  .site-nav-cta { padding-inline: .75rem; }
}
