/* ARRVIQ™ landing page — styles
   Palette and type pulled directly from the approved ARRVIQ diagram assets
   so the page and the diagram read as one system. */

:root {
  --ink: #16181C;
  --ink-2: #22252B;
  --ivory: #F7F5F1;
  --bronze: #C98A2B;
  --gold: #E0A94F;
  --grey: #545B63;
  --border: #D8D5CC;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.9rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand sup {
  font-size: 0.6em;
  margin-left: 1px;
}

/* -------------------- Buttons -------------------- */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  margin-top: 2.2rem;
}

.button-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

/* -------------------- Hero -------------------- */
.hero {
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin-inline: auto;
}

.hero-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 13vw, 8rem);
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0;
}

.hero-mark sup {
  font-size: 0.3em;
  vertical-align: super;
  margin-left: 3px;
}

.hero-rule {
  width: 96px;
  height: 3px;
  background: var(--bronze);
  border: none;
  margin: 1.3rem auto 0;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 1.1rem auto 0;
  max-width: 34ch;
}

.supporting-line {
  margin-top: 1.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.supporting-line--center { text-align: center; }

/* -------------------- Sections -------------------- */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }

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

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 5vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.lede-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--bronze);
  margin-top: 1.3rem;
}

.body-copy { max-width: 68ch; }
.body-copy p { margin: 0 0 1.1rem; color: var(--ink-2); }
.body-copy p:last-child { margin-bottom: 0; }

.body-copy--center { margin-inline: auto; text-align: left; }

/* -------------------- Framework diagram -------------------- */
.diagram-wrap {
  margin-block: clamp(1.5rem, 5vw, 2.5rem);
  display: flex;
  justify-content: center;
}

.diagram-wrap img {
  width: 100%;
  height: auto;
}

.diagram-desktop { display: block; max-width: 940px; }
.diagram-mobile { display: none; }

/* -------------------- Name legend (what ARRVIQ means) -------------------- */
.name-legend {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem clamp(1.25rem, 4vw, 2.75rem);
}

.name-legend li { text-align: center; min-width: 84px; }

.name-legend .letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--bronze);
  line-height: 1;
}

.name-legend .word {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* -------------------- Stage list -------------------- */
.stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stage-list li {
  background: var(--ivory);
  padding: 1.9rem clamp(1.2rem, 3vw, 2rem);
}

.stage-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bronze);
  letter-spacing: 0.1em;
}

.stage-list h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

.stage-list p {
  margin: 0.6rem 0 0;
  color: var(--grey);
  font-size: 0.97rem;
}

.applies-note {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 1.02rem;
}

/* -------------------- Outcomes banner (major visual moment) -------------------- */
.outcomes-banner {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 3.5rem);
  border-left: 8px solid var(--bronze);
  text-align: center;
}

.outcomes-banner .eyebrow {
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.outcomes-list {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 5.5vw, 3.1rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
}

.outcomes-note {
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: #C7CAD1;
  max-width: 56ch;
  margin-inline: auto;
}

/* -------------------- Why / outcome grid -------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.outcomes-banner + .why-grid {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

.why-card {
  border-top: 3px solid var(--bronze);
  padding-top: 1.3rem;
}

.why-card h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.why-card p {
  margin: 0.7rem 0 0;
  color: var(--grey);
  font-size: 0.97rem;
}

/* -------------------- Signature statement -------------------- */
.signature-block {
  text-align: center;
  margin-top: clamp(2.75rem, 6vw, 3.75rem);
}

.signature-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  color: var(--ink);
}

.mantra {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--grey);
}

/* -------------------- Origin + discreet link -------------------- */
.origin-section {
  text-align: center;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.origin-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--grey);
  margin: 0;
}

.discreet-link {
  margin-top: 0.7rem;
}

.discreet-link a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.discreet-link a:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--ink);
  color: #9AA0A9;
  border-top: 1px solid var(--ink-2);
}

.footer-inner {
  padding-block: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ivory);
  font-size: 1.02rem;
}

.footer-copyright {
  font-size: 0.85rem;
  padding-bottom: 2rem;
  color: #6C7078;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .stage-list { grid-template-columns: 1fr; }
  .diagram-desktop { display: none; }
  .diagram-mobile { display: block; max-width: 420px; }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
