/* ==========================================================================
   SuperVox — style.css

   Quiet, text-led, white + blue. No card grids, no emoji, no scroll gimmicks.
   Headings are serif, body is the device's own sans.

   01. Theme variables
   02. Reset & base
   03. Layout
   04. Typography
   05. Links & buttons
   06. Placeholders
   07. Header & navigation
   08. Hero
   09. Sections & rules
   10. What we do
   11. Founders (home)
   12. Founders (page)
   13. Memories
   14. Lightbox
   15. Investor
   16. Brands
   17. Contact
   18. Footer
   19. Motion
   20. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Theme variables
   -------------------------------------------------------------------------- */
:root {
  --primary: #1769E0;
  --primary-dark: #1152B8;
  --background: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
  --light: #EFF6FF;
  --fill: #F6F7F9;

  --radius: 3px;

  --container: 1080px;
  --gutter: 28px;
  --header-h: 68px;
  --section-y: 88px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 120ms var(--ease);
  --t: 200ms var(--ease);
}

/* --------------------------------------------------------------------------
   02. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

button { font: inherit; color: inherit; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

::selection { background: #D7E6FD; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  font-size: .9rem;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   03. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 720px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--rule { border-top: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   04. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 3.9rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0; }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 60ch;
}

.muted { color: var(--muted); }
.accent { color: var(--primary); }
.small { font-size: .9375rem; }

/* Small plain label — no rules, no boxes */
.label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
}

/* Section header: heading then one supporting line */
.head { max-width: 62ch; }
.head h2 { margin-bottom: 14px; }
.head p { color: var(--muted); }

/* --------------------------------------------------------------------------
   05. Links & buttons
   -------------------------------------------------------------------------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
}
.link:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform var(--t-fast); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--quiet:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--sm { padding: 9px 15px; font-size: .9375rem; }

/* --------------------------------------------------------------------------
   06. Placeholders
   A missing image becomes a plain grey block with its name. No icon, no dashes.
   -------------------------------------------------------------------------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 20px;
  text-align: center;
  background: var(--fill);
  border-radius: var(--radius);
}
.ph__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9AA3AF;
}
.ph__hint {
  font-size: .875rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   07. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: 0 1px 2px rgba(17, 24, 39, .04); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
}
.logo:hover { color: var(--text); }

.nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  font-size: .9375rem;
  color: var(--muted);
  transition: color var(--t-fast);
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--primary); }

/* Contact link inside the mobile menu only */
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Text menu toggle instead of a hamburger */
.nav-toggle {
  display: none;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { color: var(--primary); }

/* --------------------------------------------------------------------------
   08. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero__text { max-width: 34rem; color: var(--muted); font-size: 1.0625rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--fill);
  aspect-ratio: 4 / 5;
}
.hero__media img,
.hero__media .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__media .ph { min-height: 100%; }

/* Page heroes */
.page-hero {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 16px 0 18px; }
.page-hero p { color: var(--muted); max-width: 46ch; }

/* --------------------------------------------------------------------------
   09. Sections & rules
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 22ch) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.split > .split__title h2 { margin-bottom: 0; }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); }
.prose .strong { color: var(--text); font-size: 1.0625rem; }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* Plain "read more" line that sits under a section */
.more { margin-top: 32px; }

/* --------------------------------------------------------------------------
   10. What we do
   -------------------------------------------------------------------------- */
.about__text { max-width: 62ch; }
.about__text p { color: var(--muted); }
.about__text p.first {
  color: var(--text);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.5;
  margin-bottom: 20px;
}
.about__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.about__item h4 { margin-bottom: 6px; }
.about__item p { font-size: .9375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Founders (home)
   -------------------------------------------------------------------------- */
.founders-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.founder-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fill);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.founder-card__media img { width: 100%; height: 100%; object-fit: cover; }
.founder-card__media .ph { height: 100%; }
.founder-card__name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 2px;
}
.founder-card__role { font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.founder-card__bio { font-size: .9375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Founders (page)
   -------------------------------------------------------------------------- */
.founder-block {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.founder-block:last-of-type { border-bottom: 1px solid var(--border); }
.founder-block__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fill);
  border-radius: var(--radius);
}
.founder-block__media img { width: 100%; height: 100%; object-fit: cover; }
.founder-block__media .ph { height: 100%; }
.founder-block__index { font-size: .8125rem; color: var(--muted); margin-bottom: 10px; }
.founder-block__name { margin-bottom: 4px; }
.founder-block__role { color: var(--muted); margin-bottom: 20px; }
.founder-block__bio { color: var(--muted); max-width: 52ch; }
.founder-block__bio p + p { margin-top: 14px; }

/* --------------------------------------------------------------------------
   13. Memories
   -------------------------------------------------------------------------- */
.gallery {
  columns: 3;
  column-gap: 16px;
  margin-top: 40px;
}
.memory {
  position: relative;
  margin: 0 0 16px;
  padding: 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--fill);
  cursor: zoom-in;
}
.memory img { width: 100%; display: block; }
.memory .ph { min-height: 240px; height: 100%; border-radius: 0; }
.memory--s .ph { min-height: 210px; }
.memory--m .ph { min-height: 290px; }
.memory--l .ph { min-height: 360px; }
.memory--placeholder { cursor: default; }

.memory__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  font-size: .8125rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, .7));
  opacity: 0;
  transition: opacity var(--t);
}
.memory:hover .memory__caption { opacity: 1; }

.gallery-note {
  margin-top: 32px;
  font-size: .875rem;
  color: var(--muted);
}
.gallery-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8125rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   14. Lightbox — plain text controls, no chrome
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(17, 24, 39, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  margin: 0;
  max-width: 1000px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}
.lightbox__caption { color: rgba(255, 255, 255, .85); }

.lightbox__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.lightbox__btn {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  cursor: pointer;
}
.lightbox__btn:hover { color: #fff; }
.lightbox__btn[hidden] { display: none; }

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
}

/* --------------------------------------------------------------------------
   15. Investor
   -------------------------------------------------------------------------- */
.investor-block {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 44px;
}
.investor-block__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fill);
  border-radius: var(--radius);
}
.investor-block__media img { width: 100%; height: 100%; object-fit: cover; }
.investor-block__media .ph { height: 100%; }
.investor-block__name { margin-bottom: 6px; }
.investor-block__role { color: var(--muted); margin-bottom: 20px; }
.investor-block__bio { color: var(--muted); max-width: 52ch; }
.investor-block__bio p + p { margin-top: 14px; }

.investor-hero {
  display: grid;
  grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.investor-hero__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fill);
  border-radius: var(--radius);
}
.investor-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.investor-hero__media .ph { height: 100%; }
.investor-hero__body h1 { margin: 14px 0 10px; }

/* --------------------------------------------------------------------------
   16. Brands — plain rows, not cards
   -------------------------------------------------------------------------- */
.brand-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: 40px;
  border-top: 1px solid var(--border);
}
.brand-row:last-of-type { border-bottom: 1px solid var(--border); }
.brand-row__logo {
  display: flex;
  align-items: center;
  min-height: 64px;
}
.brand-row__logo img { max-height: 64px; width: auto; object-fit: contain; }
.brand-row__logo .ph { min-height: 64px; padding: 12px; }
.brand-row__num { font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.brand-row__name { margin-bottom: 10px; }
.brand-row__desc { color: var(--muted); max-width: 52ch; margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact { border-top: 1px solid var(--border); }
.contact h2 { margin-bottom: 16px; }
.contact p { color: var(--muted); max-width: 52ch; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.contact__meta { margin-top: 26px; font-size: .9375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer__tagline { color: var(--muted); max-width: 26ch; margin-top: 14px; font-size: .9375rem; }
.footer__title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li + li { margin-top: 8px; }
.footer__list a { color: var(--muted); font-size: .9375rem; }
.footer__list a:hover { color: var(--primary); }
.footer__list a.is-active { color: var(--primary); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   19. Motion — almost none, and none at all for those who ask
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root { --section-y: 72px; }
  .founders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    padding: 4px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav a { display: block; padding: 11px 0; font-size: 1.0625rem; color: var(--text); }

  .nav-toggle { display: block; }
  .header-actions .btn--desktop { display: none; }
  .nav-cta { display: block; margin-top: 14px; }
  .nav-cta a {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-size: .9375rem;
    font-weight: 500;
  }
  .nav-cta a:hover { background: var(--primary-dark); color: #fff; }

  .hero__grid,
  .split,
  .founder-block,
  .investor-block,
  .investor-hero,
  .brand-row { grid-template-columns: minmax(0, 1fr); }

  .hero__media { aspect-ratio: 16 / 11; }
  .founder-block__media,
  .investor-block__media,
  .investor-hero__media { max-width: 360px; }
  .brand-row__logo { min-height: 0; }

  .gallery { columns: 2; }
  .about__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 22px; --header-h: 60px; --section-y: 60px; }
  body { font-size: 16px; }

  .founders-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founder-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: start; }
  .founder-card__media { aspect-ratio: 1 / 1; margin-bottom: 0; }

  .split { gap: 18px; }
  .hero__actions { gap: 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 20px 16px; }
  .lightbox__close { top: 14px; right: 18px; }
}

@media (max-width: 460px) {
  .gallery { columns: 1; }
  .memory__caption { opacity: 1; }
}
