/* Meridion Systems site: tokens, base, layout and shared components. */

/* Fonts: self-hosted, Latin subset. */
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  /* Colors */
  --slate: #4a5059;
  --slate-card: #555c66;
  --slate-text-2: #d2d7dc;
  --slate-rule: #646c77;
  --light: #e9ebee;
  --light-card: #f6f7f8;
  --light-text: #1d2127;
  --light-text-2: #48505a;
  --dark: #1e2228;
  --dark-2: #2a2f36;
  --dark-text-2: #b9c0c8;
  --gold: #f0be45;
  --gold-text: #1d1a10;
  --gold-deep: #c8961f;
  --white: #ffffff;
  --on-slate: #f4f4f1;
  --focus: #ffffff;

  /* Fonts */
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;

  /* Type scale: display (condensed, uppercase) */
  --fs-display-1: clamp(3.6rem, 9vw, 7.6rem);
  --fs-display-2: clamp(2.6rem, 5.5vw, 4.4rem);
  --fs-display-3: 2.3rem;
  --fs-display-4: clamp(1.15rem, 2vw, 1.6rem);
  /* Type scale: body */
  --fs-lead: 1.15rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.95rem;
  --fs-xs: 0.875rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max-width: 76rem;

  /* Shape */
  --radius-card: 28px;
  --radius-small: 20px;
  --radius-pill: 999px;
  --tap: 3rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--on-slate);
  font: var(--fs-body) / 1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -4rem; z-index: 10;
  background: var(--gold); color: var(--gold-text); padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill); font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); outline-color: var(--white); }

/* Header */
.site-header { position: relative; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.35em; min-height: 2.75rem; text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; margin-right: 0.3rem; }
.wordmark { font-size: 1.1rem; font-weight: 450; line-height: 1; }
.wordmark strong { font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--slate-text-2); }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: var(--space-3);
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-links .nav-cta { background: var(--white); color: var(--light-text); border-radius: var(--radius-pill); font-weight: 650; padding-inline: var(--space-4); margin-left: var(--space-2); }
.nav-links .nav-cta:hover { color: var(--light-text); }
.nav-links .nav-cta[aria-current="page"] { color: var(--light-text); text-decoration: none; box-shadow: 0 0 0 3px var(--gold); }

/* Products menu: opens on hover or focus, with a short delay before it closes. */
.nav-links > li { position: relative; }
.menu-panel {
  position: absolute; left: -1rem; top: 100%; z-index: 20; width: 27rem; padding-top: 0.6rem;
  visibility: hidden; opacity: 0; transition: opacity 0.15s ease, visibility 0s linear 0.3s;
}
.menu-panel > ul {
  display: grid; gap: var(--space-1); padding: var(--space-2); background: var(--dark); border-radius: var(--radius-small);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); border: 1px solid #323842;
}
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel { visibility: visible; opacity: 1; transition-delay: 0s; }
.has-menu[data-closed] .menu-panel { visibility: hidden; opacity: 0; transition-delay: 0s; }
.nav-links .menu-panel a {
  display: grid; grid-template-columns: 2.75rem 1fr auto; gap: var(--space-3); align-items: center;
  min-height: 3.5rem; padding: var(--space-2) var(--space-3); border-radius: 12px; color: var(--white); font-size: var(--fs-small);
}
.nav-links .menu-panel a:hover { background: var(--dark-2); text-decoration: none; }
.nav-links .menu-panel a[aria-current="page"] { background: var(--dark-2); text-decoration: none; }
.mi-text { display: grid; line-height: 1.3; }
.mi-text strong { font-weight: 650; }
.mi-text span { color: var(--dark-text-2); font-size: var(--fs-xs); }
.mi-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 650; white-space: nowrap; }
.mi-status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.mi-status--kyntra { color: #c6ff3d; }
.mi-status--coach { color: #4da3ff; }
.mi-status--vitava { color: #f4efe8; }
.tile { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; font: 800 1.05rem var(--font-display); letter-spacing: 0.03em; }
.tile img { width: 100%; height: 100%; border-radius: 10px; }
.tile--coach { background: #0c1016; color: #4da3ff; border: 1.5px solid #4da3ff; }
.tile--vitava { background: #f4efe8; color: #3f3b31; }
@media (prefers-reduced-motion: reduce) { .menu-panel { transition: none; } }

/* Mobile menu: details and summary, no JavaScript. */
.menu { display: none; position: relative; }
.menu summary {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding-inline: var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.55); border-radius: var(--radius-pill);
  font-weight: 650; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu[open] summary::after { transform: translateY(1px) rotate(225deg); }
.menu ul {
  position: absolute; right: 0; top: calc(100% + var(--space-2)); width: min(18rem, calc(100vw - 2 * var(--gutter)));
  background: var(--dark); border-radius: var(--radius-small); padding: var(--space-2); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.menu li a { display: flex; align-items: center; min-height: var(--tap); padding-inline: var(--space-4); border-radius: 12px; text-decoration: none; font-weight: 650; }
.menu li a:hover { background: var(--dark-2); }
.menu li a[aria-current="page"] { color: var(--gold); }
.menu .menu-sub { position: static; width: auto; background: transparent; box-shadow: none; border-radius: 0; padding: 0 0 var(--space-2) var(--space-4); }
.menu-sub a { font-weight: 450; color: var(--dark-text-2); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 1.4rem;
  border-radius: var(--radius-pill); font-weight: 650; text-decoration: none; border: 2px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--gold-text); }
.btn--outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn:hover { filter: brightness(1.08); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); filter: none; }

/* Status dot and label */
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-xs); font-weight: 650; }
.status::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; flex: none; }

/* Section heading block */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: end; margin-bottom: 2.25rem; }
.head h2, .display-2 { font: 800 var(--fs-display-2) / 0.92 var(--font-display); text-transform: uppercase; }
.head p { max-width: 32rem; }

/* Sections */
.section { padding-block: var(--section-pad); }
.section--light { background: var(--light); color: var(--light-text); --focus: var(--light-text); }
.section--light .head p { color: var(--light-text-2); }
.section--slate { background: var(--slate); }
.section--slate .head p { color: var(--slate-text-2); }
.section--dark { background: var(--dark); }
.section--dark .head p { color: var(--dark-text-2); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { position: absolute; width: 44rem; height: 44rem; left: -3rem; top: -2rem; opacity: 0.7; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-6); align-items: center; min-height: 34rem; }
.hero h1 { font: 800 var(--fs-display-1) / 0.88 var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; }
.hero h1 span { display: block; }
.hero .sub { margin-top: 1.6rem; max-width: 31rem; font-size: var(--fs-lead); color: var(--slate-text-2); }
.hero .btns { margin-top: var(--space-6); }

.stage { position: relative; height: 36rem; margin-block: var(--space-5); }
.stage .glow { position: absolute; left: 12%; right: 0; top: 18%; bottom: 0; background: radial-gradient(closest-side, rgba(198, 255, 61, 0.35), transparent 75%); filter: blur(10px); }
.stage .phone { position: absolute; width: 15.5rem; }
.stage .phone img { width: 100%; border-radius: 30px; border: 7px solid #111; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.stage .p1 { left: 4%; top: 4.5rem; rotate: -8deg; }
.stage .p2 { left: 40%; top: 1rem; rotate: 5deg; z-index: 1; }
.stage .pill {
  position: absolute; z-index: 2; left: 0; bottom: 12%; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.95rem; border-radius: var(--radius-pill); font-weight: 650; font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); background: var(--k-bg); color: var(--white);
}
.stage .pill b { color: var(--k-lime); font-weight: 650; }
.stage .pill img { width: 1.6rem; height: 1.6rem; border-radius: 6px; }

/* One entrance animation for the hero phones. Off when reduced motion is set. */
@media (prefers-reduced-motion: no-preference) {
  .stage .phone { animation: phone-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .stage .p2 { animation-delay: 140ms; }
}
@keyframes phone-in {
  from { opacity: 0; translate: 0 3rem; }
  to { opacity: 1; translate: 0 0; }
}

/* Status strip */
.band { background: var(--gold); color: var(--gold-text); overflow: hidden; --focus: var(--gold-text); }
.band ul {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-6); padding-block: var(--space-4);
  font: 800 var(--fs-display-4) / 1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
}
.band li { display: flex; align-items: center; gap: 0.6rem; }
.band li small { font: 650 var(--fs-xs) var(--font-body); text-transform: none; letter-spacing: 0; }

/* Cards on slate: what we build */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cards > li { background: var(--slate-card); border-radius: var(--radius-small); padding: var(--space-5); border-top: 4px solid var(--gold); }
.cards svg { width: 2.25rem; height: 2.25rem; margin-bottom: var(--space-4); color: var(--gold); }
.cards h3 { font-size: var(--fs-lead); font-weight: 650; margin-bottom: 0.4rem; }
.cards p { font-size: var(--fs-small); color: var(--slate-text-2); }

/* Step list: from idea to app */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.1rem; height: 3px; background: linear-gradient(90deg, var(--gold), #f5d88a); }
.steps > li { position: relative; padding-top: 3.25rem; counter-increment: step; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--dark); border: 3px solid var(--gold); display: grid; place-items: center;
  font: 800 1.1rem var(--font-display); color: var(--gold);
}
.steps h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 0.35rem; }
.steps p { color: var(--dark-text-2); font-size: var(--fs-small); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: 0.8rem; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 650; padding: 0.3rem 0.75rem; border: 1px solid transparent; border-radius: var(--radius-pill); }

/* Contact */
.contact { background: var(--gold); color: var(--gold-text); padding-block: clamp(3.5rem, 7vw, 5rem); --focus: var(--gold-text); }
.contact .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.contact h2 { font: 800 var(--fs-display-2) / 0.92 var(--font-display); text-transform: uppercase; }
.contact p { margin-top: 0.6rem; max-width: 30rem; }

/* Footer */
.footer-brand { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-brand .logo svg { width: 28px; height: 28px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo svg { margin-right: 0; }
.site-footer { background: var(--dark); color: var(--dark-text-2); padding: var(--space-6) 0 2.5rem; font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: var(--space-1); }

/* Page heading block (Products) */
.page-head { padding-block: var(--space-7) var(--space-6); }
.page-head h1 { font: 800 var(--fs-display-1) / 0.88 var(--font-display); text-transform: uppercase; }
.page-head p { margin-top: var(--space-5); max-width: 36rem; font-size: var(--fs-lead); color: var(--slate-text-2); }
.page-head--photo .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: center; }
.head-photo { height: 18rem; border-radius: var(--radius-card); overflow: hidden; }
.about-photo { height: 100%; min-height: 18rem; border-radius: var(--radius-card); overflow: hidden; }
.about-photo .photo, .about-photo .photo-fallback { min-height: 18rem; }
.beta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: center; }
.beta-phone { position: relative; height: 28rem; }
.beta-phone .glow { position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; background: radial-gradient(closest-side, rgba(198, 255, 61, 0.3), transparent 75%); filter: blur(10px); }
.beta-phone .phone { position: absolute; width: 15.5rem; left: 50%; top: 1rem; margin-left: -7.75rem; rotate: 6deg; }
.beta-phone .phone img { width: 100%; border-radius: 30px; border: 7px solid #111; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

/* Photos. Decorative, graded as one set. The fallback is a slate gradient when a photo file is missing. */
.photo { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--slate-card), var(--dark)); }
.photo-band { position: relative; overflow: hidden; background: var(--dark); min-height: clamp(14rem, 30vw, 22rem); display: flex; align-items: center; }
.photo-band-bg { position: absolute; inset: 0; }
.photo-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 14, 18, 0.88), rgba(11, 14, 18, 0.5)); }
.photo-band .wrap { position: relative; width: 100%; }
.photo-band-line { font: 800 clamp(2.4rem, 7vw, 5.5rem) / 0.95 var(--font-display); text-transform: uppercase; max-width: 40rem; color: var(--white); }

/* The meridian motif: the gold stroke from the logo. Short section marks and list bullets. */
.head--mark h2::before { content: ""; display: block; width: 3rem; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: var(--space-4); }
.section--light .head--mark h2::before { background: var(--gold-deep); }

/* Inner pages: How we work, About, Contact, 404 */
.btn--outline-dark { border-color: var(--gold-text); color: var(--gold-text); }
.btn--outline-dark:hover { background: rgba(29, 26, 16, 0.08); filter: none; }
.btns--tight { margin-top: 0; }

.how-steps { position: relative; display: grid; gap: var(--space-7); counter-reset: none; }
.how-steps::before { content: ""; position: absolute; left: 50%; top: 1.75rem; bottom: 1.75rem; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-deep); }
.how-step { position: relative; display: grid; grid-template-columns: 1fr 5rem 1fr; align-items: center; gap: var(--space-4); }
.how-n { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; }
.how-n span { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--dark); color: var(--gold); border: 3px solid var(--gold); font: 800 1.6rem var(--font-display); }
.how-body { grid-column: 1; grid-row: 1; }
.how-viz { grid-column: 3; grid-row: 1; }
.how-step:nth-child(even) .how-body { grid-column: 3; }
.how-step:nth-child(even) .how-viz { grid-column: 1; }
.how-body h2 { font: 800 var(--fs-display-3) / 1 var(--font-display); text-transform: uppercase; margin-bottom: var(--space-3); }
.how-body > p { max-width: 40rem; color: var(--light-text-2); }
.practices { display: grid; gap: var(--space-2); margin-top: var(--space-4); max-width: 40rem; }
.practices li { position: relative; padding-left: 1.4rem; }
.practices li::before { content: ""; position: absolute; left: 0.2rem; top: 0.3em; width: 3px; height: 1em; border-radius: 2px; background: var(--gold-deep); }

/* Small visuals for each step, drawn in HTML and CSS. */
.viz { background: var(--white); border-radius: var(--radius-small); padding: var(--space-5); box-shadow: 0 16px 32px rgba(29, 33, 39, 0.12); color: var(--light-text); }
.viz-title { font-weight: 650; margin-bottom: var(--space-3); }
.viz ul { display: grid; gap: var(--space-2); font-size: var(--fs-small); }
.viz--scope { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.viz--scope li { padding-left: 1.1rem; position: relative; }
.viz--scope li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--light-text); }
.viz-col--out { color: var(--light-text-2); border-left: 1px dashed #aab1b9; padding-left: var(--space-4); }
.viz-col--out li::before { background: transparent; border: 1.5px solid var(--light-text-2); }
.viz--phone { background: transparent; box-shadow: none; padding: 0; display: flex; justify-content: center; }
.viz--phone img { width: 14rem; border-radius: 22px; border: 6px solid #222; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.viz--plans li, .viz--ci li, .ci-pass { display: flex; align-items: center; gap: var(--space-3); }
.tick { flex: none; position: relative; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #2e9e5b; }
.tick::after { content: ""; position: absolute; left: 0.43rem; top: 0.25rem; width: 0.3rem; height: 0.58rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.viz--ci { background: #1e2228; color: #fff; }
.viz--ci .viz-title { color: var(--dark-text-2); }
.ci-pass { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid #323842; font-weight: 650; color: #7ee2a1; }
.viz--frame { background: transparent; box-shadow: none; padding: 0; display: flex; justify-content: center; }
.frame { width: 15rem; padding: var(--space-5) var(--space-4) var(--space-6); border-radius: 30px; border: 7px solid #111; background: #0b0b0b; display: grid; gap: var(--space-3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.frame-title { font: 800 1.4rem var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-3); }
.fake-btn { display: grid; place-items: center; min-height: 3rem; border-radius: var(--radius-pill); background: #c6ff3d; color: #0b0b0b; font-weight: 650; font-size: var(--fs-small); text-align: center; padding-inline: var(--space-3); }
.viz--links { display: grid; gap: var(--space-3); }
.fake-link { color: var(--light-text); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; }

.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.stack li { background: var(--dark-2); border-radius: var(--radius-small); padding: var(--space-5); border-top: 4px solid var(--gold); }
.stack h3 { font-size: var(--fs-lead); font-weight: 650; margin-bottom: 0.3rem; }
.stack p { color: var(--dark-text-2); font-size: var(--fs-small); }

.cards--three { grid-template-columns: repeat(4, 1fr); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.principles li { background: var(--dark-2); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 4px solid var(--gold); }
.principles h3 { font: 800 1.9rem / 1 var(--font-display); text-transform: uppercase; margin-bottom: var(--space-3); }
.principles p { color: var(--dark-text-2); }

.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-6); align-items: start; }
.about-grid .prose { margin-top: var(--space-5); }
.prose { display: grid; gap: var(--space-4); font-size: var(--fs-lead); max-width: 36rem; }
.prose p { color: var(--light-text); }

.contact--big { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.mail-big { display: inline-block; margin-top: var(--space-4); font: 800 clamp(1.7rem, 5.2vw, 3.6rem) / 1.05 var(--font-display); text-transform: uppercase; word-break: break-word; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.mail-lead { margin-top: var(--space-5) !important; font-weight: 650; }
.topics { display: grid; gap: var(--space-1); margin-top: var(--space-2); }
.topics li::before { content: ""; display: inline-block; width: 3px; height: 1em; border-radius: 2px; background: var(--gold-text); margin-right: 0.8rem; vertical-align: -0.15em; }

.link-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-list a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 1.3rem; border: 2px solid var(--light-text); border-radius: var(--radius-pill); font-weight: 650; text-decoration: none; }
.link-list a:hover { background: var(--light-text); color: var(--white); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .hero .wrap, .head { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 0; padding-top: var(--space-6); }
  .hero-bg svg { width: 22rem; height: 22rem; left: 50%; top: 5rem; translate: -50% 0; }
  .stage { height: 27rem; }
  .stage .phone { width: 11.5rem; }
  .stage .p1 { top: 3rem; }
  .stage .p2 { left: 42%; }
  .cards, .cards--three { grid-template-columns: 1fr 1fr; }
  .stack { grid-template-columns: 1fr 1fr; }
  .principles, .about-grid, .page-head--photo .wrap, .beta-grid { grid-template-columns: 1fr; }
  .head-photo { height: 13rem; }
  .beta-phone { height: 24rem; }
  .how-steps::before { left: 1.75rem; margin-left: 0; }
  .how-step { grid-template-columns: 3.5rem 1fr; align-items: start; }
  .how-n { grid-column: 1; justify-self: start; }
  .how-body, .how-step:nth-child(even) .how-body { grid-column: 2; }
  .how-viz, .how-step:nth-child(even) .how-viz { grid-column: 2; grid-row: 2; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 1.05rem; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: var(--gold); }
  .steps > li { padding: 0 0 1.75rem 3.5rem; }
}
@media (max-width: 480px) {
  .viz--scope { grid-template-columns: 1fr; }
  .viz-col--out { border-left: 0; padding-left: 0; border-top: 1px dashed #aab1b9; padding-top: var(--space-4); }
  .cards, .cards--three, .stack { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 1fr; gap: var(--space-3); }
  .stage .phone { width: 10rem; }
  .band ul { justify-content: flex-start; }
}
