/* Valve Partners: navy, soft blues, white, one gold accent (logo H4) */
:root {
  --navy: #1B1F3B;
  --navy-2: #252A4E;
  --navy-3: #313762;
  --sky-1: #E9EEF6;
  --sky-2: #C8D4E6;
  --sky-3: #A6B9D6;
  --sky-4: #86A0C6;
  --gold: #C9A227;
  --gold-bright: #E0B93A;
  --paper: #FFFFFF;
  --mist: #F3F5FA;
  --ink: #1B1F3B;
  --ink-soft: #4B5275;
  --rule: #DCE2EE;
  --display: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --measure: 34rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* Header: navy on every page */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
.brand-mark { width: 3rem; height: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.08em; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.5em; color: var(--sky-2); margin-top: 0.3rem; }
.site-nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--sky-2); white-space: nowrap; }
.site-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.35em; }

/* Stage: navy hero with the interactive logo */
.stage { background: var(--navy); color: #fff; }
.stage .site-header { border-bottom: 1px solid rgba(255,255,255,.07); }

.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-mark { display: grid; gap: 1.2rem; justify-items: center; }

.mark { width: 100%; max-width: 30rem; color: #fff; overflow: visible; }
.fig { cursor: pointer; outline: none; }
.fig path, .fig circle { transition: fill .35s ease, transform .35s ease; transform-box: fill-box; transform-origin: 50% 100%; }
.fig[data-index="0"] path, .fig[data-index="0"] circle { fill: var(--sky-1); }
.fig[data-index="1"] path, .fig[data-index="1"] circle { fill: var(--sky-2); }
.fig[data-index="2"] path, .fig[data-index="2"] circle { fill: var(--sky-3); }
.fig[data-index="3"] path, .fig[data-index="3"] circle { fill: var(--sky-4); }
.fig[data-index="4"] path, .fig[data-index="4"] circle { fill: var(--gold); }
.mark.choosing .fig path, .mark.choosing .fig circle { fill: var(--navy-3); }
.mark.choosing .fig:hover path, .mark.choosing .fig:hover circle { fill: var(--sky-4); }
.mark.choosing .fig.active path, .mark.choosing .fig.active circle { fill: var(--gold); }
.fig:hover path { transform: scaleY(1.03); }
.fig:focus-visible path, .fig:focus-visible circle { stroke: var(--gold-bright); stroke-width: 4; }

.who { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.who button {
  font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--sky-2);
  background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 0.35rem 0.9rem; cursor: pointer;
}
.who button:hover { color: #fff; border-color: var(--sky-3); }
.who button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.panel { min-height: 20rem; display: flex; flex-direction: column; justify-content: center; }
.panel h1, .panel h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 1rem;
}
.panel .tagline { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--gold-bright); margin: -0.4rem 0 1.1rem; }
.panel .role { font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; color: var(--gold-bright); }
.panel p { max-width: var(--measure); color: var(--sky-2); font-size: 1.12rem; margin: 0 0 1.4rem; }
.panel .hint { font-size: 0.95rem; color: var(--sky-3); margin: 0; }
.panel .actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.panel .text-link { color: #fff; font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 0.35em; }
.panel[data-show] { animation: panel-in .45s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .panel[data-show] { animation: none; }
  .fig path, .fig circle { transition: none; }
  .fig:hover path { transform: none; }
}

.button { display: inline-block; background: var(--gold); color: var(--navy); text-decoration: none; padding: 0.8rem 1.45rem; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--gold-bright); }

/* Partners */
.partners { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-intro { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-intro h2, .contact h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.8rem;
}
.section-intro p { color: var(--ink-soft); margin: 0; }

.partner {
  display: grid;
  grid-template-columns: clamp(3.4rem, 7vw, 4.4rem) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}
.partner:last-child { border-bottom: 1px solid var(--rule); }
.partner-letter {
  width: clamp(3.4rem, 7vw, 4.4rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-bright);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1;
}
.partner h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.1; margin: 0 0 0.25rem; }
.partner h3 .name-link { text-decoration: none; }
.partner h3 .name-link:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.15em; text-decoration-thickness: 3px; }
.partner .role { color: var(--ink-soft); font-weight: 700; margin: 0 0 0.9rem; }
.partner p { max-width: var(--measure); margin: 0 0 1rem; }
.partner p + .role { margin-top: 1.2rem; }
.panel p + .role { margin-top: -0.2rem; }
.partner .link {
  display: inline-block; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.35em; text-decoration-thickness: 3px;
}
.partner .link:hover { text-decoration-color: var(--navy); }

/* Contact */
.contact { background: var(--mist); color: var(--ink); padding-block: clamp(3rem, 7vw, 5rem); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 4rem); }
.contact p { color: var(--ink-soft); max-width: var(--measure); }
form { display: grid; gap: 1rem; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 700; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid #CBD3E3; border-radius: 8px; padding: 0.7rem 0.8rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { min-height: 8rem; resize: vertical; }
.contact .button { background: var(--navy); color: #fff; justify-self: start; }
.contact .button:hover { background: var(--navy-3); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form-status { min-height: 1.4em; margin: 0; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: var(--sky-3); font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem 1.4rem; }
.footer-brand { display: grid; gap: 0.2rem; }
.footer-brand a { font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; color: #fff; text-decoration: none; }
.footer-brand span { color: var(--gold-bright); font-weight: 600; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--sky-2); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.35em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1rem 1.4rem; font-size: 0.85rem; }

/* Partner pages (Ayden, Lauren) */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.page-hero .kicker { color: var(--gold-bright); font-weight: 700; margin: 0 0 0.6rem; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 1.1rem; max-width: 18ch; }
.page-hero p { max-width: var(--measure); color: var(--sky-2); font-size: 1.15rem; margin: 0 0 1.6rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.page-letter {
  width: clamp(9rem, 18vw, 13rem); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--gold); color: var(--gold-bright);
  font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 9vw, 6.5rem); line-height: 1;
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.gallery:empty { display: none; }
.split { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); }
.split h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.15; margin: 0 0 1rem; }
.helps { list-style: none; padding: 0; margin: 0; }
.helps li { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.helps li:last-child { border-bottom: 1px solid var(--rule); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; padding: 0.75rem 0; }
.steps li::before {
  content: counter(s); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-bright); font-family: var(--display); font-weight: 800; font-size: 0.95rem;
}
.steps strong { display: block; }

@media (max-width: 760px) {
  .hero .wrap, .contact .wrap, .split { grid-template-columns: 1fr; }
  .page-letter { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .mark { max-width: 17rem; }
  .panel { min-height: 0; }
  .site-nav { gap: 1rem; font-size: 0.9rem; }
  .who button { padding: 0.3rem 0.7rem; font-size: 0.88rem; }
  .brand-mark { width: 2.5rem; }
}
@media (max-width: 420px) {
  .site-nav a.hide-sm { display: none; }
  .brand-name { font-size: 1.1rem; }
}

/* Logo options page */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.6rem 1.2rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.logo-card { margin: 0; }
.logo-card img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--rule); }
.logo-card a:hover img { border-color: var(--navy); }
.logo-card figcaption { padding-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.logo-card figcaption strong { display: block; color: var(--ink); font-weight: 700; font-size: 1rem; }
.logo-card figcaption span { display: block; }
.logo-card .now { display: inline-block; color: var(--navy); font-weight: 700; margin: 0.15rem 0; }
.logo-card.current img { border: 2px solid var(--gold); }
.logo-theme { padding-top: clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--rule); }
.logo-theme h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 0 0 0.3rem; }
.logo-theme > p { color: var(--ink-soft); margin: 0; }
.logo-theme .logo-grid { padding-block: 1.4rem 2.4rem; }

/* Values page */
.values { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.value {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 5vw, 4rem);
  padding-block: clamp(1.6rem, 4vw, 2.6rem); border-top: 1px solid var(--rule);
}
.value:last-child { border-bottom: 1px solid var(--rule); }
.value h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0;
  padding-left: 1rem; border-left: 5px solid var(--gold);
}
.value p { margin: 0; max-width: var(--measure); font-size: 1.1rem; color: var(--ink-soft); }
.values-close { background: var(--mist); padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.values-close .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.values-close p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.values-close .button { background: var(--navy); color: #fff; }
.values-close .button:hover { background: var(--navy-3); }
.site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.35em; }
.panel .tagline a { color: inherit; text-decoration: none; }
.panel .tagline a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; } }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
