/* ============================================================
   Steady Brand - design system
   Order: tokens / reset / base / primitives / components / media
   ============================================================ */

@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 700;
  src: url("fonts/archivo-700.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Archivo"; font-style: italic; font-weight: 400;
  src: url("fonts/archivo-400-italic.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  src: url("fonts/inter-400.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  src: url("fonts/inter-500.woff2") format("woff2"); font-display: swap;
}

:root {
  --ground: #16181C;
  --surface: #1F2228;
  --gold: #C9A227;
  --text: #E9E7E2;
  --muted: #9C978E;

  --hairline: rgba(233, 231, 226, 0.12);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
img { max-width: 100%; display: block; }

body {
  background: var(--ground);
  color: var(--text);
  font: 400 clamp(1rem, 0.95rem + 0.2vw, 1.0625rem)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5rem); }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem); }
h3 { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); letter-spacing: 0.02em; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

/* Land in-page anchors below the sticky header instead of behind it. */
#main, #team { scroll-margin-top: 9rem; }

/* These two are programmatic focus targets (skip link / "Meet The
   Leadership"), not real interactive elements: suppress the visible
   focus ring here only so taking the skip link doesn't outline the
   full page height. Real interactive elements keep :focus-visible. */
#main:focus-visible, #team:focus-visible { outline: none; }

/* --- primitives --- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 68ch; }
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--hairline); }

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { background: var(--gold); color: var(--ground); }
.btn--primary { background: var(--gold); color: var(--ground); }
.btn--primary:hover { background: transparent; color: var(--gold); }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--ground);
  padding: 0.75rem 1.25rem; font-weight: 500; text-decoration: none; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- header / footer --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 24, 28, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1rem;
}
.site-header__logo img { width: clamp(120px, 14vw, 158px); height: auto; }
.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
.site-nav a {
  font-family: var(--body); font-weight: 500; font-size: 0.9375rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 2.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.site-footer__legal { display: flex; gap: 1.75rem; }
.site-footer__legal a { color: var(--muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 640px) {
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- home --- */
.hero {
  min-height: clamp(24rem, 62vh, 40rem);
  display: flex; align-items: flex-end;
  padding-block: var(--section-y);
  background:
    linear-gradient(to top,
      rgba(22, 24, 28, 0.97) 0%,
      rgba(22, 24, 28, 0.88) 38%,
      rgba(22, 24, 28, 0.30) 78%,
      rgba(22, 24, 28, 0.25) 100%),
    url("img/hero-mixer.webp") center / cover no-repeat;
}

.story { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__copy > * + * { margin-top: 1.15rem; }
.story__copy h2 { margin-bottom: 1.5rem; }
.story__media img { width: 100%; height: auto; }

.values {
  list-style: none; padding: 0; margin-top: 3rem;
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
}
.value__icon { width: 2.25rem; height: 2.25rem; color: var(--gold); margin-bottom: 1rem; }
.value h3 { color: var(--gold); margin-bottom: 0.6rem; }
.value p { color: var(--muted); }

.person {
  margin: 3rem 0 0; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--hairline);
  display: grid; gap: 1.5rem; align-items: start;
}
.person__photo { border-radius: 50%; width: 100px; height: 100px; object-fit: cover; }
.person__name { font-family: var(--display); font-size: 1.375rem; letter-spacing: 0.02em; }
.person__role { color: var(--gold); margin-bottom: 0.85rem; }

.cta {
  padding-block: clamp(5rem, 11vw, 9rem);
  text-align: center;
  background:
    linear-gradient(rgba(22,24,28,0.90), rgba(22,24,28,0.90)),
    url("img/studio-monitor.webp") center / cover no-repeat;
}
.cta__lead { max-width: 42ch; margin: 1.25rem auto 2.25rem; color: var(--muted); }

@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .person { grid-template-columns: 100px 1fr; gap: 2rem; }
}

/* --- contact --- */
.panels {
  margin-top: 3rem;
  display: grid; gap: clamp(1.5rem, 3vw, 2.25rem);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.panel__title {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  color: var(--gold);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--hairline);
}
.panel h3 { text-transform: none; font-size: 1.125rem; margin-bottom: 0.5rem; }
.panel h3 + p { color: var(--muted); margin-bottom: 2rem; }
.panel > *:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .panels { grid-template-columns: 1fr 1fr; }
}

/* --- legal documents --- */
.doc { padding-block: var(--section-y); }
.doc h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: 1.5rem; }
.doc .doc__updated {
  color: var(--gold); font-size: 0.9375rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 3rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--hairline);
}
.doc h2 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  margin-top: 3.25rem; margin-bottom: 1rem;
}
.doc h3 {
  text-transform: none; font-size: 1.1875rem;
  margin-top: 2rem; margin-bottom: 0.6rem;
}
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 1.15rem; }
.doc ul, .doc ol { margin: 1.15rem 0; padding-left: 1.5rem; }
.doc li + li { margin-top: 0.7rem; }
.doc strong { color: var(--text); font-weight: 500; }
.doc a { overflow-wrap: anywhere; }

/* --- 404 --- */
.notfound__lead { max-width: 52ch; margin-top: 1.25rem; margin-bottom: 2rem; color: var(--muted); }
