/* ============================================================
   AMB Associates — Site Styles (Dark Editorial)
   Adapts the AMB token system to a dark, editorial register.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand palette */
  --precision-blue:  #3B4A6B;
  --strategic-steel: #6F7FA3;
  --value-silver:    #B7C0D6;
  --focus-white:     #F8FAFC;
  --legacy-charcoal: #1B1E25;

  /* Dark surfaces */
  --bg-0: #0B0D12;            /* deepest — page bg */
  --bg-1: #11141B;            /* section alt */
  --bg-2: #161A22;            /* cards / metrics */
  --bg-3: #1B1E25;            /* legacy charcoal — boxes */

  /* Foregrounds on dark */
  --fg-1: #ECEFF6;            /* off-white primary */
  --fg-2: #B7C0D6;            /* value silver — secondary */
  --fg-3: #8893AE;            /* muted */
  --fg-4: #5A6076;            /* faint */

  /* Lines */
  --line-1: rgba(183, 192, 214, 0.10);
  --line-2: rgba(183, 192, 214, 0.18);
  --line-3: rgba(183, 192, 214, 0.30);

  /* Accent */
  --accent: #6F7FA3;
  --accent-soft: rgba(111, 127, 163, 0.18);

  /* Type */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.0, 0.2, 1);
  --ease-emph: cubic-bezier(0.2, 0.0, 0, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--focus-white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--fg-1);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-block;
}

.lead {
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--fg-2);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

.editorial p,
.editorial-line {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--fg-1);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.editorial p + p { margin-top: 1em; }

.muted { color: var(--fg-3); }
.silver { color: var(--fg-2); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}

section + section { border-top: 1px solid var(--line-1); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 13, 18, 0.55);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line-1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--fg-1);
}
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  /* the logo is silver/chrome on a transparent bg — sits beautifully on dark */
}
.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}
.nav-brand .brand-mark {
  letter-spacing: 0.04em;
}
.nav-brand .brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--fg-2);
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  transition: color var(--ease) 220ms, background var(--ease) 220ms;
  position: relative;
}
.nav-links a:hover { color: var(--fg-1); }
.nav-links a.active {
  color: var(--fg-1);
  background: linear-gradient(var(--bg-0), var(--bg-0)) padding-box,
              linear-gradient(135deg, rgba(183,192,214,0.5), rgba(111,127,163,0.15)) border-box;
  border: 1px solid transparent;
}
.nav-links a.coming { color: var(--fg-4); text-decoration: line-through; pointer-events: none; }

.nav-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FAFBFE 0%, #C9CEDA 100%);
  color: #14171F;
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform var(--ease) 220ms, box-shadow var(--ease) 220ms, filter var(--ease) 220ms;
  cursor: pointer;
}
.nav-cta:hover { filter: brightness(1.04); box-shadow: 0 6px 24px rgba(183,192,214,0.18); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease) 220ms;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--ease) 220ms; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: #000;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.btn-primary:hover { background: #0B0D12; border-color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg-1);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--fg-1);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  transition: border-color var(--ease) 220ms, color var(--ease) 220ms;
}
.btn-link:hover { border-color: var(--fg-1); }
.btn-link .arrow { transition: transform var(--ease) 220ms; }
.btn-link:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  border-top: none;
  overflow: hidden;
  background: #000;
}

.hero-video-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35vh;
  height: 80vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,0.7) 60%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,0.7) 60%, transparent 90%);
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  text-align: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-badge svg { width: 14px; height: 14px; opacity: 0.85; }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  color: #fff;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.hero-h1 .soft { color: var(--fg-2); font-weight: 500; font-style: italic; letter-spacing: -0.02em; }

.hero-sub {
  max-width: 56ch;
  margin: 0 auto 40px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-2);
  line-height: 1.5;
  font-weight: 300;
}
.hero-sub br { display: block; content: ""; margin-top: 4px; }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

.hero-marquee {
  position: relative;
  z-index: 10;
  padding: 24px 0 64px;
  border-top: 1px solid var(--line-1);
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.40;
}
.hero-marquee-track .logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-1);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-marquee-track .logo svg { width: 22px; height: 22px; }

/* ---------- Sections — editorial ---------- */
.section-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
}
.section-eyebrow-row .rule {
  flex: 0 0 56px;
  height: 1px;
  background: var(--line-3);
}

.editorial h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 32px;
  text-wrap: balance;
}

.editorial h3 {
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--fg-1);
}

/* Stanza — preserve line breaks; the copy doc is strict */
.stanza {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--fg-1);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.stanza .line { display: block; }
.stanza .line.muted { color: var(--fg-3); }
.stanza .line + .line { margin-top: 0.05em; }
.stanza .gap { display: block; height: 1.2em; }

/* ---------- Metrics card ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: 4px;
  overflow: hidden;
}
.metric {
  background: var(--bg-1);
  padding: 36px 28px;
}
.metric .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}
.metric .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg-1);
}
.metric .v .from { color: var(--fg-3); font-weight: 500; }
.metric .sub {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fg-3);
}

/* ---------- Trusted By ---------- */
.trusted-by {
  padding: 96px 0 80px;
  background: var(--bg-0);
  border-top: 1px solid var(--line-1);
}
.trusted-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--fg-1);
  margin: 0 0 64px;
}
.trusted-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
  align-items: end;
}
@media (max-width: 900px) {
  .trusted-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 16px; }
}
@media (max-width: 520px) {
  .trusted-grid { grid-template-columns: repeat(2, 1fr); }
}
.trusted-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.trusted-mark {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-1);
  opacity: 0.92;
  transition: opacity var(--ease) 220ms;
}
.trusted-cell:hover .trusted-mark { opacity: 1; }
.trusted-mark img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  
}
.trusted-name {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-2);
  letter-spacing: 0;
  font-weight: 400;
}
.wm {
  font-family: var(--font-display);
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.wm-pana { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.wm-lucid { font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.wm-lucid .lucid-tick { color: var(--fg-1); font-size: 12px; }
.wm-iris { font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.wm-iris .iris-dots { font-size: 14px; color: var(--fg-1); margin-right: 2px; }
.wm-maxtag { font-weight: 800; font-size: 22px; letter-spacing: 0.02em; font-family: var(--font-display); }
.wm-abbott { font-weight: 600; font-size: 16px; letter-spacing: 0; }
.wm-abbott .abbott-curve { font-size: 18px; margin-right: 2px; }

/* ---------- Manifesto quote ---------- */
.manifesto { padding: clamp(80px, 10vw, 140px) 0; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.manifesto-text { position: relative; max-width: 36ch; }
.manifesto-mark {
  width: 40px;
  height: 30px;
  color: var(--strategic-steel);
  opacity: 0.7;
  margin-bottom: 28px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--fg-1);
  margin: 0 0 40px;
  text-wrap: balance;
}
.manifesto-quote .emph {
  color: var(--fg-2);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
}
.manifesto-attrib {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  max-width: 28ch;
}
.manifesto-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.manifesto-creds {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}

.manifesto-portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.manifesto-portrait::before {
  /* soft circular vignette behind the framed portrait */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(111,127,163,0.18) 0%, rgba(111,127,163,0.06) 35%, transparent 65%);
  z-index: 0;
}
.manifesto-portrait .portrait-frame {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(183,192,214,0.10),
    0 30px 80px rgba(0,0,0,0.45);
}
.manifesto-portrait .portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

@media (max-width: 880px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 32px; }
  .manifesto-portrait { min-height: 0; order: -1; }
  .manifesto-portrait .portrait-frame { width: min(280px, 70vw); }
  .manifesto-text { max-width: none; }
}

/* ---------- AI hook section ---------- */
.ai-hook { padding-top: clamp(80px, 9vw, 120px); }
.ai-hook-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg-1);
  margin: 32px 0 0;
  max-width: 22ch;
  text-wrap: balance;
}
.ai-hook-headline .emph {
  color: var(--fg-2);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* ---------- Case infographic ---------- */
.case-infographic {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-1);
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.case-infographic img {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  border-top: 1px solid var(--line-1);
  padding: 64px 0 48px;
  font-size: 14px;
  color: var(--fg-3);
}
.footer .row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg-1);
  font-size: 16px;
  margin-bottom: 6px;
}
.footer-tag {
  color: var(--fg-3);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--fg-3); transition: color var(--ease) 220ms; }
.footer-links a:hover { color: var(--fg-1); }
.footer-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-1);
  font-size: 12px;
  color: var(--fg-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (smaller, for inner pages) ---------- */
.page-hero {
  padding: 200px 0 80px;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
.page-hero .lead { margin-top: 28px; max-width: 60ch; }

/* ---------- Testimonials placeholder ---------- */
.testimonials-placeholder {
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  padding: 64px 32px;
  text-align: center;
  color: var(--fg-3);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Testimonials carousel ---------- */
.testimonials .section-eyebrow-row { margin-bottom: 48px; }

.t-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: stretch;
  gap: 16px;
}
.t-viewport {
  overflow: hidden;
  position: relative;
}
.t-track {
  display: flex;
  gap: 24px;
  transition: transform 600ms var(--ease-emph);
  will-change: transform;
  padding: 8px 4px;
}
.t-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset, 0 12px 30px rgba(0,0,0,0.25);
  transition: border-color var(--ease) 220ms, transform var(--ease) 220ms;
}
.t-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.t-quote-mark {
  color: #E0A23C;
  width: 28px;
  height: 22px;
  margin-bottom: 14px;
}
.t-quote-mark svg { width: 100%; height: 100%; display: block; }

.t-stars {
  color: #E0A23C;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  line-height: 1;
}

.t-text {
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 28px;
  flex: 1;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.t-person img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-2);
  filter: grayscale(15%);
}
.t-meta { font-size: 13px; line-height: 1.35; min-width: 0; }
.t-name { font-weight: 600; color: var(--fg-1); font-size: 14px; }
.t-role { color: var(--fg-3); font-size: 13px; }
.t-company {
  color: var(--fg-2);
  font-size: 13px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.t-dot-orange { background: #E97A2C; }
.t-dot-purple { background: #7E5BEF; }
.t-dot-blue   { background: #2D7DE0; }
.t-dot-red    { background: #E63946; }
.t-dot-yellow { background: #E5B637; }
.t-dot-green  { background: #36B37E; }

.t-arrow {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease) 220ms, border-color var(--ease) 220ms, opacity var(--ease) 220ms;
  -webkit-appearance: none;
  appearance: none;
}
.t-arrow:hover { background: rgba(255,255,255,0.08); border-color: var(--line-3); }
.t-arrow:disabled { opacity: 0.3; cursor: default; }

.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.t-dots .d {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background var(--ease) 220ms, width var(--ease) 220ms;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.t-dots .d.active { background: var(--fg-2); width: 24px; }

@media (max-width: 960px) {
  .t-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .t-carousel { grid-template-columns: 40px 1fr 40px; gap: 8px; }
  .t-card { flex: 0 0 100%; padding: 28px 22px; min-height: 0; }
  .t-arrow { width: 38px; height: 38px; }
}

/* ---------- Contact form ---------- */
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--ease) 220ms;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--fg-1); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .actions { margin-top: 12px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Stagger via index */
.reveal[data-i="1"] { transition-delay: 80ms; }
.reveal[data-i="2"] { transition-delay: 160ms; }
.reveal[data-i="3"] { transition-delay: 240ms; }
.reveal[data-i="4"] { transition-delay: 320ms; }
.reveal[data-i="5"] { transition-delay: 400ms; }
.reveal[data-i="6"] { transition-delay: 480ms; }

/* hero load anims: fade-in-up via class on body load */
@keyframes amb-fadeup {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.h-anim {
  opacity: 0;
  animation: amb-fadeup 900ms var(--ease) forwards;
}
.h-anim.d1 { animation-delay: 100ms; }
.h-anim.d2 { animation-delay: 220ms; }
.h-anim.d3 { animation-delay: 360ms; }
.h-anim.d4 { animation-delay: 500ms; }
.h-anim.d5 { animation-delay: 640ms; }
.h-anim.d6 { animation-delay: 780ms; }

/* ---------- Utilities ---------- */
.divider {
  height: 1px;
  background: var(--line-1);
  margin: 0;
  border: 0;
}

.kbd {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .h-anim { animation: none; opacity: 1; transform: none; transition: none; }
}
