/* Clear Signal Voice — site styles */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #0E0F12;
  --ink-2: #17181C;
  --bone: #F2EEE6;
  --graphite: #3A3D44;
  --line: #2A2C31;
  --line-light: #D9D3C7;
  --soft: #D8D3C9;
  --muted: #B9B4AA;
  --dim: #8C8A84;
  --slate: #6E6C68;
  --accent: #FFB000;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --pad: clamp(20px, 5.56vw, 80px);
  --section-y: clamp(80px, 10vw, 144px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--serif); line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--ink); padding: 12px 16px; font-family: var(--mono); font-size: 14px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.on-light { background: var(--bone); color: var(--ink); }

/* Shared pieces */
.mono { font-family: var(--mono); }
.display { font-family: var(--display); text-transform: uppercase; }
.accent { color: var(--accent); }

.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: end; }
.section-tag { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: clamp(16px, 1.67vw, 24px); letter-spacing: 0.24em; color: var(--muted); align-self: start; }
.on-light .section-tag { color: var(--graphite); }
.section-title { grid-column: span 9; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7.2vw, 104px); line-height: 0.9; text-transform: uppercase; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.tags li { border: 1px solid var(--graphite); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: clamp(76px, 8.3vw, 120px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: clamp(12px, 1.25vw, 18px); text-decoration: none; color: var(--bone); }
.brand-mark { width: clamp(44px, 4.45vw, 64px); height: auto; }
.wordmark { display: inline-flex; flex-direction: column; gap: 6px; }
.wordmark-top { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.64vw, 38px); letter-spacing: 0.04em; line-height: 1; }
.wordmark-bottom { display: flex; justify-content: space-between; font-family: var(--mono); font-weight: 500; font-size: clamp(13px, 1.32vw, 19px); line-height: 1; color: var(--accent); }

.main-nav ul { display: flex; align-items: center; gap: 48px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 15px; letter-spacing: 0.14em; }
.main-nav a { text-decoration: none; color: var(--soft); }
.main-nav a:hover { color: #fff; }
.main-nav .nav-cta { color: var(--ink); background: var(--accent); padding: 18px 28px; font-weight: 500; }
.main-nav .nav-cta:hover { color: var(--ink); background: #FFC233; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--graphite); background: transparent; color: var(--bone); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7.2vw, 104px) clamp(72px, 8.3vw, 120px); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(60px, 10.8vw, 156px); line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase; }
.hero-title span { display: block; }
.headshot { margin: 0; width: clamp(260px, 23.6vw, 340px); aspect-ratio: 340 / 440; flex-shrink: 0; background: var(--ink-2); border: 1px solid var(--graphite); display: flex; flex-direction: column; position: relative; }
.headshot picture { flex: 1 1 auto; min-height: 0; display: block; }
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.headshot .corner { position: absolute; top: 0; right: 0; width: 72px; height: 72px; }
.headshot figcaption { padding: 20px 24px; border-top: 1px solid var(--graphite); background: var(--slate); font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; text-transform: uppercase; }

.hero-bottom { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6.7vw, 96px); border-top: 1px solid var(--line); padding-top: 48px; }
.hero-lede { margin: 0 0 40px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; font-style: italic; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; font-weight: 500; padding: 18px 26px; border: 1px solid transparent; }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--bone); color: var(--bone); }
.btn-outline:hover { background: rgba(242, 238, 230, 0.08); }
.hero-intro { margin: 0 0 28px; font-size: 19px; line-height: 1.65; color: var(--soft); max-width: 62ch; }
.hero-tags { font-size: 12px; letter-spacing: 0.12em; color: var(--bone); }
.hero-tags li { padding: 10px 14px; }

/* ---------- Proof strip ---------- */
.proof { background: var(--slate); border-block: 1px solid var(--line); }
.proof .wrap { min-height: 76px; display: flex; align-items: center; gap: 48px; padding-block: 14px; }
.proof-label { font-family: var(--mono); font-size: clamp(16px, 1.53vw, 22px); letter-spacing: 0.28em; color: var(--accent); white-space: nowrap; margin: 0; }
.proof-list { flex: 1; display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.53vw, 22px); letter-spacing: 0.06em; line-height: 1.1; text-transform: uppercase; text-align: center; color: var(--bone); }

/* ---------- About ---------- */
.about-statement { grid-column: span 9; margin: 0; font-size: clamp(28px, 3.33vw, 48px); line-height: 1.2; letter-spacing: -0.01em; }
.band-photo { margin: clamp(56px, 6.1vw, 88px) 0; height: clamp(300px, 44.4vw, 640px); overflow: hidden; background: var(--ink); }
.band-photo picture, .band-photo img { width: 100%; height: 100%; }
.band-photo img { object-fit: cover; object-position: 50% 50%; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pillar { border-top: 2px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.pillar h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 2.78vw, 40px); line-height: 1; text-transform: uppercase; }
.pillar p { margin: 0; font-size: clamp(19px, 1.53vw, 22px); line-height: 1.65; color: var(--graphite); }

/* ---------- Services ---------- */
.services-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { border: 1px solid var(--graphite); padding: 40px; display: flex; flex-direction: column; gap: 24px; min-height: 460px; }
.service h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 2.92vw, 42px); line-height: 1; text-transform: uppercase; }
.service p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--soft); }
.service .tags { margin-top: auto; }
.callout { margin-top: 72px; background: var(--accent); color: var(--ink); padding: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: center; }
.callout h3 { grid-column: span 5; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5.56vw, 80px); line-height: 0.9; text-transform: uppercase; }
.callout p { grid-column: 7 / span 6; margin: 0; font-size: clamp(19px, 1.53vw, 22px); line-height: 1.55; }

/* ---------- Credits ---------- */
.demos { margin-top: 80px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: center; }
.demos h3 { grid-column: span 4; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 3.9vw, 56px); line-height: 0.95; text-transform: uppercase; }
.demo-list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.demo { background: var(--ink); color: var(--bone); padding: 20px 22px; display: flex; align-items: center; gap: 18px; }
.demo-play { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.demo-play:hover { background: #FFC233; }
.demo-play:disabled { background: var(--graphite); cursor: not-allowed; }
.demo-play .icon-pause { display: none; }
.demo.is-playing .icon-play { display: none; }
.demo.is-playing .icon-pause { display: block; }
.demo-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.demo-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; text-transform: uppercase; }
.demo-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); }
.demo-track { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.demo-bar { flex: 1; height: 2px; background: var(--graphite); position: relative; }
.demo-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); }

.credit-cols { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.credit-col { border-top: 2px solid var(--ink); padding-top: 28px; }
.credit-col h3 { margin: 0 0 16px; font-family: var(--mono); font-weight: 400; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: 0.24em; }
.credit-col ul { margin: 0; padding: 0; list-style: none; }
.credit-col li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.credit-col li::before { content: ""; flex-shrink: 0; width: 12px; height: 2px; background: var(--ink); transform: translateY(-5px); }
.credit-title { display: block; font-size: 19px; line-height: 1.35; }
.credit-meta { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--graphite); }
.studio-photo { margin: 80px 0 0; height: clamp(260px, 44.4vw, 640px); overflow: hidden; background: var(--ink); }
.studio-photo picture, .studio-photo img { width: 100%; height: 100%; }
.studio-photo img { object-fit: cover; object-position: 50% 50%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.contact-info { grid-column: span 6; display: flex; flex-direction: column; gap: 32px; }
.contact-info .section-tag { grid-column: auto; }
.contact-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7.78vw, 112px); line-height: 0.88; text-transform: uppercase; }
.contact-lede { margin: 0; font-size: clamp(19px, 1.53vw, 22px); line-height: 1.55; color: var(--soft); max-width: 40ch; }
.contact-email { align-self: flex-start; text-decoration: none; color: var(--bone); font-family: var(--mono); font-size: clamp(16px, 1.25vw, 18px); letter-spacing: 0.04em; border-bottom: 2px solid var(--accent); padding-bottom: 6px; overflow-wrap: anywhere; }
.contact-email:hover { color: #fff; }
.map { margin: 0; background: var(--ink-2); border: 1px solid var(--line); }
.map-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.map svg { width: 100%; height: auto; }
.map figcaption { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 16px 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.legend { display: flex; align-items: center; gap: 8px; }
.legend::before { content: ""; border-radius: 50%; }
.legend-home::before { width: 10px; height: 10px; background: var(--accent); }
.legend-live::before { width: 8px; height: 8px; background: var(--bone); }

.contact-form { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 22px; }
.contact-form > p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--soft); }
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--graphite); color: var(--bone); font-family: var(--serif); font-size: 18px; letter-spacing: normal; border-radius: 0; }
.field input, .field select { height: 52px; }
.field select { background: var(--ink); }
.field textarea { border: 1px solid var(--graphite); padding: 14px; resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-submit { height: 60px; border: none; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; font-weight: 500; cursor: pointer; }
.form-submit:hover { background: #FFC233; }
.form-submit:disabled { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.5em; margin: 0; font-family: var(--mono); font-size: 13px; color: var(--soft); }
.form-status.is-error { color: #FF8A7A; }
.form-status.is-ok { color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.site-footer .wordmark-top { font-size: 28px; }
.site-footer .wordmark-bottom { font-size: 15px; }
.footer-tagline { margin: 0; font-style: italic; font-size: 20px; color: var(--soft); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-align: right; }
.footer-meta a { text-decoration: none; color: var(--bone); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .demos h3, .demo-list { grid-column: 1 / -1; }
  .credit-cols { grid-template-columns: 1fr 1fr; }
  .contact-info, .contact-form { grid-column: 1 / -1; }
  .callout h3, .callout p { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; }
  .main-nav li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: none; }
  .site-header { position: relative; }

  .hero-top { flex-direction: column; align-items: stretch; }
  .headshot { width: min(100%, 360px); }
  .hero-bottom { grid-template-columns: 1fr; }

  .proof .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .proof-list { flex-wrap: wrap; justify-content: flex-start; text-align: left; gap: 14px 28px; }
  .proof-list br { display: none; }

  .section-tag, .section-title, .about-statement { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .credit-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .demo-list { grid-template-columns: 1fr; }
  .service { padding: 28px; }
  .footer-meta { align-items: flex-start; text-align: left; }
  .headshot { width: 100%; max-width: 420px; }
}
