/* ============================================================
   GigPlux design system, warm editorial (v3)
   Palette: ivory paper, warm charcoal ink, clay accent, sage/ochre
   status tints. No blue, no purple, no red, no neon.
   Type: Fraunces (display serif) + Inter (UI sans).
   ============================================================ */

:root {
  --paper: #FAF9F5;
  --paper-deep: #F0EEE6;
  --card: #FFFFFF;
  --ink: #1F1E1D;
  --ink-soft: #3D3C39;
  --muted: #67655E;
  --faint: #8F8C83;
  --line: #E6E2D8;
  --line-strong: #CFC9BB;
  --clay: #C6613F;
  --clay-deep: #9E4A2C;
  --clay-tint: #F6E4DC;
  --sage: #5F7048;
  --sage-tint: #E8ECDD;
  --ochre: #96690F;
  --ochre-tint: #F3E9D2;
  --dark: #141413;
  --dark-2: #201F1D;
  --paper-on-dark: rgba(250, 249, 245, 0.92);
  --muted-on-dark: rgba(250, 249, 245, 0.62);
  --faint-on-dark: rgba(250, 249, 245, 0.38);
  --line-on-dark: rgba(250, 249, 245, 0.14);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1152px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-hover: 0 18px 44px -22px rgba(45, 38, 28, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--clay-tint); color: var(--clay-deep); }

main { animation: pageIn 0.5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow.clay { color: var(--clay-deep); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.display {
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.02;
  font-weight: 480;
  font-variation-settings: 'opsz' 72;
}
.display em { font-style: italic; font-weight: 420; }
.display .accent { color: var(--clay); }

.page-title {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.05;
  font-weight: 480;
  font-variation-settings: 'opsz' 60;
}
.page-title em { font-style: italic; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-variation-settings: 'opsz' 48;
}
.section-head h2 em { font-style: italic; }
.section-head .sub { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.body-copy { color: var(--ink-soft); line-height: 1.7; }
.small-copy { font-size: 14px; color: var(--muted); }

/* Headline line-mask rise */
.headline .ln { display: block; overflow: hidden; }
.headline .w { display: inline-block; transform: translateY(112%); }
.headline.go .w { animation: wordRise 0.9s var(--ease) forwards; }
.headline.go .ln:nth-child(1) .w { animation-delay: 0.05s; }
.headline.go .ln:nth-child(2) .w { animation-delay: 0.14s; }
.headline.go .ln:nth-child(3) .w { animation-delay: 0.23s; }
.headline.done .ln { overflow: visible; }
@keyframes wordRise { to { transform: translateY(0); } }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 249, 245, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 249, 245, 0.92); }

.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

/* Wordmark: starts as a compact "Gx", then "igPlu" slides out of the G
   once body.logo-in lands, and the x settles onto the baseline. */
.brand {
  display: inline-flex; align-items: baseline;
  font-family: var(--serif); font-weight: 560; font-size: 24px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  line-height: 1;
}
.logo-g { font-size: 1.18em; font-weight: 600; }
.logo-mid {
  display: inline-block; overflow: hidden; white-space: nowrap;
  max-width: 0; opacity: 0; transform: translateX(-0.35em);
  transition: max-width 0.8s var(--ease) 0.25s, opacity 0.6s ease 0.3s, transform 0.8s var(--ease) 0.25s;
}
.logo-in .logo-mid { max-width: 5.2em; opacity: 1; transform: none; }
.logo-x {
  display: inline-block; font-style: italic; color: var(--clay);
  font-size: 0.62em; font-weight: 600;
  transform: translate(0.06em, -0.85em);
  transition: transform 0.7s var(--ease) 0.45s, font-size 0.7s var(--ease) 0.45s;
}
.logo-in .logo-x { transform: translate(0, 0); font-size: 1em; }
.brand:hover .logo-x { color: var(--clay-deep); }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link, .nav-toggle {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover, .nav-toggle:hover { background: var(--paper-deep); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--clay-deep); }

.nav-item-dropdown { position: relative; }
.nav-toggle::after { content: "⌄"; margin-left: 6px; font-size: 11px; display: inline-block; transition: transform 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(45, 38, 28, 0.35);
  padding: 10px;
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.dropdown.open { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-note { padding: 8px 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.dropdown-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 12px; border-radius: 12px; text-decoration: none;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
  transition: background 0.15s ease;
}
.dropdown-link:hover { background: var(--paper-deep); }
.dropdown-link .tag { font-size: 11.5px; font-weight: 600; color: var(--faint); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.mobile-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
  place-items: center; color: var(--ink); font-size: 17px;
}

.mobile-panel {
  display: none; padding: 6px 28px 18px;
  border-top: 1px solid var(--line);
}
.mobile-panel.open { display: block; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-link {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 4px; text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 19px; border-bottom: 1px solid var(--line);
}
.mobile-link .note { font-family: var(--sans); font-size: 12.5px; color: var(--faint); }

/* ------------------------------------------------------------
   Buttons & links
   ------------------------------------------------------------ */

.btn, .btn-ghost, .btn-clay {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 550;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn { background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--clay-deep); box-shadow: 0 10px 26px -14px rgba(158, 74, 44, 0.6); }
.btn-clay { background: var(--clay); color: #FFF8F3; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn.small, .btn-ghost.small { padding: 9px 18px; font-size: 14px; }

.btn .arr, .btn-ghost .arr, .btn-clay .arr, .text-link .arr {
  display: inline-block; transition: transform 0.3s var(--ease);
}
.btn:hover .arr, .btn-ghost:hover .arr, .btn-clay:hover .arr { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--clay-deep); font-weight: 550; font-size: 15px; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size 0.3s var(--ease);
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link:hover .arr { transform: translateX(4px); }

.btn:focus-visible, .btn-ghost:focus-visible, .btn-clay:focus-visible,
.text-link:focus-visible, .nav-link:focus-visible, .nav-toggle:focus-visible,
.input:focus-visible, .textarea:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px;
}
.btn:focus-visible, .btn-ghost:focus-visible, .btn-clay:focus-visible { border-radius: 999px; }

.actions-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

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

.page-hero { padding: 84px 0 56px; }
.page-hero .hero-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 44px;
}
.page-hero .lede { margin-top: 22px; }
.page-hero .actions-row { margin-top: 34px; }

/* Homepage hero */
.hero-home { padding: 92px 0 48px; }
.hero-home .hero-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 48px;
}
.hero-tagline { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.7vw, 22px); color: var(--muted); }
.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; margin-top: 44px; align-items: start; }
.hero-stats { display: flex; flex-direction: column; }
.hstat { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hstat:first-child { border-top: 1px solid var(--line); }
.hstat .num {
  font-family: var(--serif); font-size: clamp(34px, 3.8vw, 52px); line-height: 1;
  font-variation-settings: 'opsz' 52; min-width: 56px;
}
.hstat .txt { font-size: 14px; color: var(--muted); max-width: 220px; line-height: 1.5; }
.scrollcue {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.scrollcue .arr-d { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-home { padding: 60px 0 36px; }
  .hero-home .hero-meta { flex-direction: column; gap: 6px; margin-bottom: 34px; }
}

/* ------------------------------------------------------------
   Sections & cards
   ------------------------------------------------------------ */

.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-band { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.card:hover, .panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.card h3, .panel h3 { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 10px; }
.card .eyebrow, .panel .eyebrow { display: inline-block; margin-bottom: 12px; }
.card-copy { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.card-footer { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

a.card { display: block; text-decoration: none; color: inherit; cursor: pointer; }

.card-num {
  font-family: var(--serif); font-size: 15px; font-style: italic;
  color: var(--faint); display: block; margin-bottom: 14px;
}

/* Stats */
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-number {
  font-family: var(--serif); font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 480; line-height: 1; letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 60;
}
.stat-label { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Badges & chips */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-live { background: var(--sage-tint); color: var(--sage); }
.badge-beta { background: var(--ochre-tint); color: var(--ochre); }
.badge-dev { background: var(--paper-deep); color: var(--muted); border: 1px solid var(--line); }
.badge-soon { background: var(--paper-deep); color: var(--muted); border: 1px solid var(--line); }
.badge-hold { background: transparent; color: var(--faint); border: 1px dashed var(--line-strong); }
.badge-planned { background: transparent; color: var(--faint); border: 1px dashed var(--line-strong); }
.badge-clay { background: var(--clay-tint); color: var(--clay-deep); }
.badge .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.badge .pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: currentColor; animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(3); opacity: 0; } }

.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: 12px; font-weight: 550; letter-spacing: 0.04em;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Product cards */
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 36px; display: flex; flex-direction: column;
  position: relative; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease;
}
.product-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.product-card:hover::after { transform: scaleX(1); }
.product-card .meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.product-card h3 { font-size: clamp(26px, 2.6vw, 36px); font-variation-settings: 'opsz' 40; }
.product-card .product-desc { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.65; flex: 1; }
.product-card .chip-row { margin-top: 22px; }
.product-card .go {
  margin-top: 26px; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--ink); font-size: 17px;
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.product-card:hover .go { transform: rotate(45deg); background: var(--clay); border-color: var(--clay); color: #FFF8F3; }

/* People */
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.team-card .watermark {
  position: absolute; right: -14px; bottom: -46px;
  font-family: var(--serif); font-size: 170px; font-style: italic; line-height: 1;
  color: rgba(31, 30, 29, 0.035); pointer-events: none; user-select: none;
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  background: var(--paper-deep); border: 1px solid var(--line); color: var(--ink);
  transition: transform 0.5s var(--ease);
}
.avatar.fill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.avatar.clay { background: var(--clay-tint); color: var(--clay-deep); border-color: transparent; }
.team-card:hover .avatar { transform: scale(1.07) rotate(-4deg); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.team-card h3 { font-size: clamp(24px, 2.5vw, 32px); }
/* The role is the thing people scan a team page for - CEO, CTO, COO. It was
   set smaller than the bio underneath it, so the titles read as a caption
   rather than as the point of the card. */
.team-head .eyebrow { font-size: 15px; letter-spacing: 0.1em; }
.team-role { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--clay-deep); margin-top: 8px; }
.team-bio { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; position: relative; }
/* The meta row holds a two-line block ("Domain" + the value) next to a
   one-line link. Flex's default stretch left the link floating at the top of
   the row, so no two cards agreed on where the link sat. Bottom-align them and
   push the link to the far edge: every card now lines up on the same baseline. */
.team-meta {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line); position: relative;
}
.team-meta div { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.team-meta div:last-child { margin-left: auto; text-align: right; }
.team-meta strong { display: block; color: var(--ink); font-size: 13px; margin-top: 4px; letter-spacing: 0.02em; }

/* Dark band (manifesto / CTA) */
.dark-band {
  background: var(--dark); color: var(--paper-on-dark);
  padding: 96px 0; position: relative; overflow: hidden;
}
.dark-band h2, .dark-band h3 { color: var(--paper-on-dark); }
.dark-band .eyebrow { color: var(--faint-on-dark); }
.dark-band .lede { color: var(--muted-on-dark); }

.manifesto-q {
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.12; font-weight: 460; letter-spacing: -0.015em;
  max-width: 880px; margin: 26px 0 52px;
  font-variation-settings: 'opsz' 56;
  color: var(--paper-on-dark);
}
.manifesto-q .dim { color: var(--faint-on-dark); }
.manifesto-q em { font-style: italic; color: var(--clay); }

.word-reveal-para {
  font-family: var(--serif); font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.55; max-width: 900px; font-weight: 420;
  color: var(--faint-on-dark);
}
.word-reveal-para .wr { transition: color 0.3s ease; }
.word-reveal-para .wr.lit { color: var(--paper-on-dark); }

.dark-divider { height: 1px; background: var(--line-on-dark); margin: 56px 0; max-width: 900px; }
.dark-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 900px; }
.dark-cols p { color: var(--muted-on-dark); line-height: 1.75; font-size: 16px; }
.dark-cols strong { color: var(--paper-on-dark); font-weight: 600; }

.dark-stats { display: flex; gap: 60px; flex-wrap: wrap; }
.dark-stats .n {
  font-family: var(--serif); font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1; display: block; color: var(--paper-on-dark);
  font-variation-settings: 'opsz' 72;
}
.dark-stats .l { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint-on-dark); }

/* Center CTA card */
.center-cta {
  background: var(--dark); color: var(--paper-on-dark);
  border-radius: var(--radius-lg); padding: 68px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.center-cta::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 97, 63, 0.16), transparent 65%);
  top: -280px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.center-cta .eyebrow { color: var(--faint-on-dark); }
.center-cta h3 {
  color: var(--paper-on-dark); font-size: clamp(26px, 3.4vw, 42px);
  margin: 16px auto 14px; max-width: 620px; line-height: 1.15;
  font-variation-settings: 'opsz' 44;
}
.center-cta p { color: var(--muted-on-dark); max-width: 540px; margin: 0 auto 30px; }
.center-cta .actions-row { justify-content: center; }
.center-cta .btn { background: var(--paper); color: var(--ink); }
.center-cta .btn:hover { background: var(--clay); color: #FFF8F3; }
.center-cta .btn-ghost { color: var(--paper-on-dark); border-color: rgba(250, 249, 245, 0.3); }
.center-cta .btn-ghost:hover { border-color: var(--paper-on-dark); background: transparent; }

/* Callout (side dark panel) */
.callout {
  background: var(--dark); color: var(--paper-on-dark);
  border-radius: var(--radius-lg); padding: 44px 40px;
  position: relative; overflow: hidden;
}
.callout::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 97, 63, 0.18), transparent 65%);
  bottom: -190px; right: -120px; pointer-events: none;
}
.callout h3 { color: var(--paper-on-dark); font-size: clamp(22px, 2.4vw, 30px); margin: 14px 0 20px; }
.callout .eyebrow { color: var(--faint-on-dark); }

.stack-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.stack-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.stack-list li::before { content: "→"; color: var(--clay); flex-shrink: 0; font-weight: 600; }
.callout .stack-list li { color: var(--muted-on-dark); }

/* Timeline */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.timeline-item {
  position: relative; padding: 30px 0 30px 56px; border-left: 1px solid var(--line-strong);
  margin-left: 8px;
}
.timeline-item::before {
  content: ""; position: absolute; left: -7px; top: 40px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--clay);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.timeline-item:hover::before { transform: scale(1.3); background: var(--clay); }
.timeline-year {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clay-deep); margin-bottom: 8px;
}
.timeline-item h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 8px; }
.timeline-copy { color: var(--muted); font-size: 15.5px; max-width: 560px; }

/* Marquee ribbon */
.ribbon {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 20px 0; margin: 24px 0;
  background: var(--paper);
}
.ribbon-track {
  display: inline-block; will-change: transform;
  animation: marquee 36s linear infinite;
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px);
  color: var(--ink); font-weight: 460;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { padding: 0 26px; }
.ribbon-track .rs { color: var(--clay); font-style: italic; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 26px; overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: 0 12px 30px -20px rgba(45, 38, 28, 0.25); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--serif); font-size: clamp(17px, 1.6vw, 20px); font-weight: 520; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 22px; font-weight: 300;
  color: var(--clay); transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 640px; }

/* Forms */
.input, .textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--card);
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(198, 97, 63, 0.14); }
.textarea { min-height: 130px; resize: vertical; }
form .input, form .textarea { margin-bottom: 14px; }

/* Native select styled to match .input */
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23736b63' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}

/* Field grid + on-screen form confirmation */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; }
.form-field .eyebrow { margin-bottom: 10px; }
.form-field .input { margin-bottom: 0; }
[data-form-message], [data-waitlist-message] {
  margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--faint);
  min-height: 1.2em; transition: color 0.3s ease;
}
[data-form-message].ok, [data-waitlist-message].ok { color: var(--sage); font-weight: 550; }
[data-form-message].err, [data-waitlist-message].err { color: var(--clay-deep); font-weight: 550; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field-pill {
  display: flex; border: 1px solid var(--ink); border-radius: 999px;
  overflow: hidden; background: var(--card); max-width: 460px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.field-pill:focus-within { box-shadow: 0 0 0 4px rgba(198, 97, 63, 0.16); border-color: var(--clay-deep); }
.field-pill input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 15px 22px; font-family: var(--sans); font-size: 15.5px; color: var(--ink); min-width: 0;
}
.field-pill button {
  border: 0; cursor: pointer; background: var(--ink); color: var(--paper);
  padding: 0 26px; font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  white-space: nowrap; transition: background 0.25s ease;
}
.field-pill button:hover { background: var(--clay-deep); }
.form-hint { margin-top: 12px; font-size: 13.5px; color: var(--faint); transition: color 0.3s ease; }
.form-hint.ok { color: var(--sage); font-weight: 550; }

/* Filter tools */
.archive-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.archive-tools .input { max-width: 380px; margin: 0; }
.archive-results { font-size: 13.5px; color: var(--faint); }
[data-filter-item].hidden { display: none; }

/* Contact cards */
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-decoration: none; color: inherit; display: block;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card .email { color: var(--clay-deep); font-weight: 550; font-size: 15.5px; word-break: break-all; }
.contact-card .desc { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Social cards */
.social-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.social-card .social-platform { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.social-card .social-name { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); margin-top: 6px; color: var(--ink); }
.social-card .social-handle { color: var(--muted); font-size: 14px; }
.social-card .go {
  margin-top: 22px; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--ink);
  transition: transform 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.social-card:hover .go { transform: rotate(45deg); background: var(--clay); border-color: var(--clay); color: #FFF8F3; }

/* Brand marks. Real logos in their real colours - that is what makes the row
   read as "these are the actual channels" rather than as four identical cards.
   The SVGs are inlined, so there is no icon font and no third-party request. */
.social-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFF;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.social-card:hover .social-logo { transform: translateY(-2px) scale(1.06); box-shadow: var(--shadow-hover); }
/* Instagram carries its own gradient in the SVG; the others take currentColor. */
.social-logo.ig   { border-color: rgba(225, 48, 108, 0.32); }
.social-logo.x    { color: var(--ink); }
.social-logo.dc   { color: #5865F2; border-color: rgba(88, 101, 242, 0.32); }
.social-logo.news { color: var(--clay); border-color: rgba(198, 97, 63, 0.34); }
.social-logo svg { display: block; }

/* Role cards */
.role-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 13px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.role-type { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-deep); }
.role-title { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); font-weight: 520; }
.role-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; flex: 1; }

/* Legal article */
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; padding-bottom: 72px; }
.legal-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.legal-nav a {
  padding: 8px 14px; border-radius: 10px; border-left: 2px solid var(--line);
  text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.legal-nav a:hover { color: var(--clay-deep); border-left-color: var(--clay); background: var(--paper-deep); }
.legal-content section { margin-bottom: 44px; scroll-margin-top: 96px; }
.legal-content h2 { font-size: clamp(21px, 2vw, 27px); margin-bottom: 14px; }
.legal-content p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.75; font-size: 15.5px; }
.legal-content ul { margin: 4px 0 14px 20px; display: flex; flex-direction: column; gap: 7px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.legal-content strong { color: var(--ink); }
.contact-box {
  background: var(--dark); color: var(--paper-on-dark); border-radius: var(--radius-lg);
  padding: 38px 36px; margin-top: 52px;
}
.contact-box h3 { color: var(--paper-on-dark); font-size: 24px; margin-bottom: 8px; }
.contact-box p { color: var(--muted-on-dark) !important; margin-bottom: 16px; }
.contact-box a { color: var(--paper); font-family: var(--serif); font-size: 19px; text-decoration: none; border-bottom: 1px solid rgba(250,249,245,0.35); padding-bottom: 2px; transition: border-color 0.25s ease, color 0.25s ease; }
.contact-box a:hover { color: var(--clay); border-color: var(--clay); }

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

.footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 68px 0 40px; background: var(--paper-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-about { margin-top: 18px; max-width: 320px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer-link {
  display: inline-block; padding: 5px 0; color: var(--ink-soft); text-decoration: none; font-size: 14.5px;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}
.footer-link:hover { color: var(--clay-deep); transform: translateX(4px); }
.foot-social { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.foot-social a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s ease;
}
.foot-social a:hover { color: var(--clay-deep); }
.foot-social .soon { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); cursor: default; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--faint);
}

/* ------------------------------------------------------------
   Scroll reveal & progress
   ------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal-in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--clay); transform-origin: left; transform: scaleX(0);
}

/* ------------------------------------------------------------
   Curtain intro (index only, once per session)
   ------------------------------------------------------------ */

.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--dark);
  display: grid; place-items: center;
}
.curtain.up {
  opacity: 0; transform: scale(1.04); pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.curtain-inner { text-align: center; transition: opacity 0.3s ease, transform 0.5s var(--ease); }
.curtain.up .curtain-inner { opacity: 0; transform: translateY(-14px); }

/* Intro wordmark: G lands, "igPlu" letters pour out of it, x drops to the baseline */
.curtain-logo {
  font-family: var(--serif); font-weight: 520;
  font-size: clamp(56px, 9vw, 110px); line-height: 1; letter-spacing: -0.015em;
  color: var(--paper-on-dark);
  display: inline-flex; align-items: baseline;
}
.curtain-logo .cg {
  display: inline-block; font-size: 1.18em; font-weight: 600;
  opacity: 0; transform: scale(0.5); filter: blur(10px);
  animation: gLand 0.7s var(--ease) 0.1s forwards;
}
@keyframes gLand { to { opacity: 1; transform: none; filter: none; } }
.curtain-logo .cmid { display: inline-flex; overflow: hidden; }
.curtain-logo .cmid span {
  display: inline-block;
  opacity: 0; transform: translateX(-1.1em);
  animation: letterOut 0.55s var(--ease) forwards;
}
.curtain-logo .cmid span:nth-child(1) { animation-delay: 0.75s; }
.curtain-logo .cmid span:nth-child(2) { animation-delay: 0.83s; }
.curtain-logo .cmid span:nth-child(3) { animation-delay: 0.91s; }
.curtain-logo .cmid span:nth-child(4) { animation-delay: 0.99s; }
.curtain-logo .cmid span:nth-child(5) { animation-delay: 1.07s; }
@keyframes letterOut { to { opacity: 1; transform: none; } }
.curtain-logo .cx {
  display: inline-block; font-style: italic; font-weight: 600; color: var(--clay);
  opacity: 0; transform: translate(0.08em, -0.8em) scale(0.55);
  animation: xDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s forwards;
}
@keyframes xDrop { to { opacity: 1; transform: none; } }
.curtain-sub {
  margin-top: 22px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint-on-dark);
  opacity: 0; animation: fadeUp 0.5s ease 1.55s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.curtain-locked { overflow: hidden; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1020px) {
  .nav-list { display: none; }
  .mobile-toggle { display: grid; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .dark-cols { grid-template-columns: 1fr; gap: 26px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .page-hero { padding: 56px 0 40px; }
  .page-hero .hero-meta { flex-direction: column; gap: 6px; margin-bottom: 32px; }
  .section { padding: 40px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card, .panel { padding: 28px 22px; }
  .product-card { padding: 30px 24px; }
  .team-card { padding: 30px 24px; }
  .dark-band { padding: 64px 0; }
  .center-cta { padding: 48px 26px; }
  .callout { padding: 34px 26px; }
  .dark-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .timeline-item { padding: 24px 0 24px 40px; }
  .section-head { margin-bottom: 36px; }
  .actions-row .btn, .actions-row .btn-ghost, .actions-row .btn-clay { width: 100%; justify-content: center; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { height: 62px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; font-size: 16px; }
  .field-pill button { padding: 0 18px; }
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  main { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .headline .w { transform: none; }
  .curtain { display: none !important; }
  body.curtain-locked { overflow: auto; }
  .ribbon-track { animation: none; }
  .word-reveal-para { color: var(--paper-on-dark); }
  .logo-mid { max-width: none; opacity: 1; transform: none; }
  .logo-x { transform: none; font-size: 1em; }
}
