/* ============================================================
   NEW DAWN AUDIO — design tokens
   Palette: night indigo into dawn amber, one accent per role.
   ============================================================ */

:root {
  --ink: #12142b;          /* deep night indigo — dark sections, header */
  --ink-soft: #1c1f42;     /* panel on dark */
  --ink-line: #33366a;     /* hairline on dark */
  --paper: #faf9f6;        /* page background, light sections */
  --paper-soft: #f1efe8;   /* card background on light */
  --text-dark: #1a1a22;    /* body copy on light */
  --text-dim: #55566b;     /* secondary copy on light */
  --mist: #c7c9e2;         /* secondary copy on dark */
  --amber: #ef9d4f;        /* dawn horizon accent — primary CTA */
  --amber-deep: #d97f2e;   /* amber hover / pressed */
  --rose: #d97891;         /* dusk accent — used sparingly */
  --line: #e2ded2;         /* hairline on light */

  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--text-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--amber);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--mist);
  transition: color 0.15s ease;
  padding: 4px 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--amber);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  color: var(--paper);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 8px 28px 20px;
    border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
}

/* ---------- horizon / waveform signature ---------- */

.horizon {
  width: 100%;
  height: auto;
  display: block;
}

.horizon-divider {
  line-height: 0;
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: 84px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 14ch;
}

.hero h1 em {
  color: var(--amber);
  font-style: italic;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--ink-line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- generic sections ---------- */

section.block { padding: 76px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0;
}

.section-head .tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---------- service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 26px;
}

.card .mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--amber-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.card p { color: var(--text-dim); margin: 0; font-size: 0.96rem; }

/* ---------- about / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.credentials {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.credentials li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.credentials span:last-child { color: var(--text-dark); text-align: right; }

/* ---------- dark cta band ---------- */

.band-dark {
  background: var(--ink);
  color: var(--paper);
}

.band-dark .section-head { border-color: var(--ink-line); }
.band-dark .section-head .tag { color: var(--mist); }

/* ---------- embed frame ---------- */

.embed-frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-soft);
}

.embed-frame iframe { width: 100%; border: 0; display: block; }

.note {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  background: var(--paper-soft);
  border-left: 3px solid var(--amber);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
}

/* ---------- contact form ---------- */

.form-grid {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text-dark);
}

input:focus, textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

textarea { resize: vertical; min-height: 140px; }

.form-status {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--amber-deep);
  min-height: 1.2em;
}

/* ---------- footer ---------- */

footer.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 44px 0 32px;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

footer.site-footer a { text-decoration: none; color: var(--mist); }
footer.site-footer a:hover { color: var(--amber); }

.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

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