/* ==========================================================================
   Novalent Consulting — main stylesheet
   ========================================================================== */

:root {
  --ink: #0d1b2a;
  --ink-2: #14263a;
  --ink-3: #2a3d55;
  --ink-soft: #3b4b5e;
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --white: #ffffff;
  --amber: #e0a04a;
  --amber-2: #f0b865;
  --amber-d: #b8781f;
  --amber-text: #8f5a12;
  --muted: #56626f;
  --muted-on-dark: #a9b5c3;
  --line: rgba(13, 27, 42, 0.12);
  --line-strong: rgba(13, 27, 42, 0.2);
  --line-on-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06), 0 2px 8px rgba(13, 27, 42, 0.04);
  --shadow: 0 10px 30px -12px rgba(13, 27, 42, 0.18), 0 2px 6px rgba(13, 27, 42, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(13, 27, 42, 0.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--amber); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); overflow: hidden; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.section--dark .eyebrow,
.cta-band .eyebrow,
.page-hero--dark .eyebrow { color: var(--amber); }

.h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.h1 em, .h2 em, .statement em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-d);
}
.section--dark .h2 em,
.cta-band .h2 em { color: var(--amber); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--dark .lead { color: var(--muted-on-dark); }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--ink); }
.btn--amber:hover { --btn-bg: var(--amber-2); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--white); box-shadow: var(--shadow-sm); }
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.925rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(13, 27, 42, 0.45);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.nav-list a:hover { color: var(--ink); background: rgba(13, 27, 42, 0.05); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--amber-d);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(13, 27, 42, 0.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-list a[aria-current="page"] { background: rgba(13, 27, 42, 0.05); }
  .nav-list a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .primary-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 27, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 27, 42, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
}
.pill-dot::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--amber);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.925rem;
  color: var(--muted);
}
.hero-note svg { width: 18px; height: 18px; color: var(--amber-d); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.orbit-card {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 42%, rgba(224, 160, 74, 0.22), transparent 42%),
    radial-gradient(circle at 80% 0%, #1f3350 0%, transparent 55%),
    var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.orbit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.08;
  z-index: -1;
}
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-svg .ring { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.orbit-svg .ring--dash { stroke-dasharray: 3 7; stroke: rgba(224, 160, 74, 0.45); }
.orbit-spin { transform-origin: 250px 240px; animation: spin 60s linear infinite; }
.orbit-spin--rev { animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-star { filter: drop-shadow(0 0 28px rgba(224, 160, 74, 0.55)); }

.orbit-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.orbit-label i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(224, 160, 74, 0.2);
}
.orbit-label--1 { top: 13%; left: 9%; }
.orbit-label--2 { top: 26%; right: 7%; }
.orbit-label--3 { bottom: 34%; left: 5%; }
.orbit-label--4 { bottom: 25%; right: 10%; }

.roadmap-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: min(300px, 78%);
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.roadmap-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.roadmap-steps { list-style: none; display: grid; gap: 11px; }
.roadmap-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}
.roadmap-steps .st {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}
.roadmap-steps .st svg { width: 13px; height: 13px; }
.roadmap-steps .done .st { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.roadmap-steps .now .st { border-color: var(--amber-d); }
.roadmap-steps .now .st::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-d);
  animation: pulse 2s ease-in-out infinite;
}
.roadmap-steps .next { color: var(--muted); }
.roadmap-steps .tag {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(224, 160, 74, 0.16);
  color: var(--amber-text);
  font-size: 0.75rem;
  font-weight: 700;
}
@keyframes pulse { 50% { transform: scale(0.6); opacity: 0.6; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding-block: 22px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
}
.marquee-group li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-group li::after {
  content: "";
  width: 14px; height: 14px;
  background: var(--amber);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / statement ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.intro-body p + p { margin-top: 16px; }
.intro-body p { color: var(--muted); }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}
.check-list .ck {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  flex-shrink: 0;
}
.check-list .ck svg { width: 14px; height: 14px; }
.section--dark .check-list .ck { background: rgba(224, 160, 74, 0.16); }

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}
.section--white .service-card { background: var(--paper); }
.service-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-d));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--muted);
}
.icon-badge {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--amber);
}
.icon-badge svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.service-card .link-arrow { margin-top: 24px; }
.service-card .link-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ---------- Process (dark) ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: step;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(224, 160, 74, 0.1) 100%);
}
.process-step { position: relative; padding-right: 8px; }
.process-step .step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid rgba(224, 160, 74, 0.5);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--amber);
}
.process-step h3 { margin-bottom: 12px; color: var(--white); }
.process-step p { color: var(--muted-on-dark); font-size: 1rem; }
.section--dark .glow {
  position: absolute;
  width: 640px; height: 640px;
  right: -200px; top: -240px;
  background: radial-gradient(circle, rgba(224, 160, 74, 0.16), transparent 62%);
  pointer-events: none;
}
.section--dark > .container { position: relative; }

/* ---------- Principles ---------- */
.principles-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.principles-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.principles-aside .lead { margin-top: 20px; }
.promise {
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.promise::after {
  content: "";
  position: absolute;
  right: -24px; bottom: -34px;
  width: 120px; height: 150px;
  background: rgba(224, 160, 74, 0.14);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.promise strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.promise p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}
.principles li {
  padding: 36px 32px;
  background: var(--paper);
}
.section--white .principles li { background: var(--white); }
.principles .p-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  font-style: italic;
  color: var(--amber-d);
  margin-bottom: 22px;
}
.principles h3 { font-size: 1.3rem; margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 1rem; }

/* ---------- Engagement models ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.plan--featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.plan-duration {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.plan--featured .plan-duration { background: rgba(224, 160, 74, 0.16); border-color: transparent; color: var(--amber); }
.plan-icon { width: 30px; height: 30px; color: var(--amber-d); }
.plan--featured .plan-icon { color: var(--amber); }
.plan h3 { font-size: 1.75rem; margin-bottom: 12px; }
.plan > p { color: var(--muted); font-size: 1rem; }
.plan--featured > p { color: var(--muted-on-dark); }
.plan .check-list { margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--line); flex-grow: 1; font-size: 0.975rem; }
.plan--featured .check-list { border-top-color: var(--line-on-dark); }
.plan .check-list .ck { width: 22px; height: 22px; }
.plan .check-list .ck svg { width: 12px; height: 12px; }
.plan--featured .check-list .ck { background: rgba(224, 160, 74, 0.16); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq-layout .section-head { margin-bottom: 0; }
.faq-layout .section-head .btn { margin-top: 32px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--amber);
  border-color: var(--amber);
}
.faq summary:hover::after { border-color: var(--ink); }
.faq .answer { padding: 0 60px 28px 0; color: var(--muted); }
.faq .answer p + p { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-wrap { padding-block: 0 var(--section-y); }
.section--white + .cta-wrap,
.cta-wrap--white { background: var(--white); }
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 90% at 100% 100%, rgba(224, 160, 74, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 0%, #1f3350, transparent 60%),
    var(--ink);
  color: var(--white);
}
.cta-band .lead { color: var(--muted-on-dark); margin-top: 16px; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
  transition: color 0.2s;
}
.cta-mail:hover { color: var(--white); }
.cta-mail svg { width: 16px; height: 16px; }
.cta-star {
  position: absolute;
  right: 28%;
  top: -60px;
  width: 180px;
  opacity: 0.07;
  pointer-events: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 27, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 27, 42, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
.page-hero .lead { max-width: 680px; margin-top: 24px; }
.breadcrumb {
  display: flex;
  gap: 10px;
  list-style: none;
  margin-bottom: 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--ink); }
.page-hero-star {
  position: absolute;
  right: clamp(-80px, 4vw, 80px);
  top: 50%;
  width: clamp(160px, 22vw, 300px);
  transform: translateY(-50%);
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- Services page ---------- */
.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.service-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.service-nav a:hover,
.service-nav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 72px);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon-badge { width: 64px; height: 64px; border-radius: 18px; }
.service-detail .icon-badge svg { width: 30px; height: 30px; }
.service-kicker {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--amber-d);
  margin-bottom: 10px;
}
.service-detail h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.service-detail .lead { font-size: 1.1rem; }
.service-detail .ideal {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.975rem;
  color: var(--ink-soft);
}
.section--white .service-detail .ideal { background: var(--paper); }
.service-detail .ideal strong { color: var(--ink); }
.detail-box {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.detail-box + .detail-box { margin-top: 20px; }
.detail-box h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.detail-box .check-list { margin-top: 0; font-size: 1rem; }
.detail-box .check-list li { font-weight: 500; }
.detail-box .check-list .ck { width: 22px; height: 22px; }
.detail-box .check-list .ck svg { width: 12px; height: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.audience-grid li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
}
.audience-grid svg { width: 26px; height: 26px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.audience-grid h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.audience-grid p { font-size: 0.95rem; color: var(--muted-on-dark); }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.story-body p:not(.eyebrow) { color: var(--muted); }
.story-body p + p { margin-top: 18px; }
.story-body .statement { color: var(--ink); margin-bottom: 28px; }
.name-card {
  position: relative;
  padding: clamp(32px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(224, 160, 74, 0.25), transparent 45%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}
.name-card .nc-mark { width: 64px; margin-bottom: 36px; }
.etym + .etym { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-on-dark); }
.etym dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  margin-bottom: 10px;
}
.etym dt span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-left: 10px;
  vertical-align: middle;
}
.etym dd { margin: 0; color: var(--muted-on-dark); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.mv-card .eyebrow { margin-bottom: 14px; }
.mv-card p:not(.eyebrow) {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.3;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.value {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.value .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 22px; }
.value .icon-badge svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value p { font-size: 0.975rem; color: var(--muted); }

.leader {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(140px, 16vw, 188px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 20%, rgba(224, 160, 74, 0.35), transparent 55%),
    var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.monogram::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(184, 120, 31, 0.5);
}
.leader-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 10px;
}
.leader h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.leader p { color: var(--muted); max-width: 640px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts div { padding: 28px; border-right: 1px solid var(--line-on-dark); }
.facts div:last-child { border-right: 0; }
.facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.facts dd { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--white); }
.facts dd a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.facts dd a:hover { text-decoration-color: var(--amber); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1b2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(13, 27, 42, 0.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-d);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(224, 160, 74, 0.2);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #b3261e; }
.field-error { display: none; font-size: 0.85rem; font-weight: 600; color: #b3261e; }
.field.has-error .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.form-footer small { max-width: 340px; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.form-footer small a { text-decoration: underline; text-underline-offset: 2px; }
.form-status {
  display: none;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.975rem;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.form-status--success { background: #e8f3ec; color: #1d5b36; }
.form-status--error { background: #fbeceb; color: #8c1d18; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.contact-aside { display: grid; gap: 20px; }
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.info-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex-shrink: 0; }
.info-card .icon-badge svg { width: 22px; height: 22px; }
.info-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-card p,
.info-card address { font-style: normal; font-size: 1.02rem; font-weight: 600; line-height: 1.55; }
.info-card a:not(.link-arrow) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; overflow-wrap: anywhere; }
.info-card a:not(.link-arrow):hover { text-decoration-color: var(--amber-d); }
.info-card .link-arrow { margin-top: 10px; font-size: 0.9rem; }
.info-card--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.info-card--dark h3 { color: var(--amber); }
.info-card--dark p { font-weight: 500; color: var(--muted-on-dark); font-size: 0.975rem; }
.info-card--dark .icon-badge { background: rgba(224, 160, 74, 0.16); }
.map-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-2);
  aspect-ratio: 21 / 8;
  min-height: 300px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25) contrast(1.02); }

/* ---------- Legal pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.legal-toc h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a {
  display: flex;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}
.legal-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--amber-d); font-variant-numeric: tabular-nums; }
.legal-toc a:hover { background: var(--paper); color: var(--ink); }
.legal-content { max-width: 760px; }
.legal-content .updated {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.legal-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  margin: 48px 0 16px;
  padding-top: 8px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; letter-spacing: 0; }
.legal-content p,
.legal-content li { color: var(--ink-soft); }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-content li::marker { color: var(--amber-d); }
.legal-content a { color: var(--amber-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.legal-content .contact-block {
  margin-top: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-style: normal;
  line-height: 1.7;
}

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.not-found .code span { color: var(--amber-d); font-style: italic; }
.not-found .lead { max-width: 480px; margin: 20px auto 36px; }
.not-found .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding-top: clamp(64px, 8vw, 96px);
  font-size: 0.975rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-contact { display: grid; gap: 16px; font-style: normal; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: var(--white); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-block: 28px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.875rem;
}
.footer-bottom ul { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-note { font-size: 0.8rem; opacity: 0.75; margin-top: 6px; }

/* ---------- Reveal animation ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-on-dark); }
}

@media (max-width: 960px) {
  .hero-grid,
  .intro-grid,
  .principles-layout,
  .faq-layout,
  .story-grid,
  .contact-grid,
  .service-detail { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; margin-bottom: 28px; }
  .card-grid,
  .plans,
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .process::before { display: none; }
  .principles-aside { position: static; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .page-hero-star { opacity: 0.25; }
  .map-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card-grid,
  .plans,
  .audience-grid,
  .principles,
  .mv-grid,
  .values-grid,
  .form-grid,
  .process { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line-on-dark); }
  .facts div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .roadmap-card { left: 12px; bottom: -24px; width: calc(100% - 24px); max-width: 300px; }
  .orbit-label { font-size: 0.75rem; padding: 6px 10px; }
  .leader { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .faq .answer { padding-right: 0; }
  .principles li { padding: 28px 24px; }
  .detail-box { padding: 24px; }
  .service-card { padding: 28px 24px 26px; }
  .plan { padding: 30px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .cta-wrap, .marquee, .service-nav { display: none; }
  body { background: #fff; }
}

/* ---------- Services page extras ---------- */
.values-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value .p-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  font-style: italic;
  color: var(--amber-d);
  margin-bottom: 20px;
}
.fine-print { margin-top: 16px; font-size: 0.85rem; line-height: 1.55; color: var(--muted); }

@media (min-width: 961px) {
  .service-detail:nth-child(even) > .sd-main { order: 2; }
  .service-detail .sd-main { position: sticky; top: calc(var(--header-h) + 96px); align-self: start; }
}
@media (max-width: 960px) {
  .values-grid--3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}

/* ---------- About page extras ---------- */
.name-card .eyebrow { color: var(--amber); }
.name-card dl { margin: 0; }
.nc-close {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--white);
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 640px) {
  .page-hero-star { display: none; }
  .roadmap-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 32px);
    max-width: none;
    margin: -56px auto 0;
  }
  .info-card { padding: 22px 20px; gap: 14px; }
  .info-card .icon-badge { width: 44px; height: 44px; }
  .info-card p a { font-size: 0.95rem; }
}
.form-status > div { min-width: 0; overflow-wrap: anywhere; }
.form-status:focus,
.form-status:focus-visible { outline: none; }
