:root {
  --ink: #14161c;
  --ink-soft: #262b35;
  --accent: #c98a2c;
  --accent-bright: #e0a23f;
  --paper: #ffffff;
  --cream: #f3f1ec;
  --cream-deep: #e8e4da;
  --muted: #6b7280;
  --line: #dcd8cd;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Header */
.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 0.85rem; font-weight: 800; }
.brand span:last-child span { color: var(--accent-bright); }
.site-header .brand:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 0.4rem; }
.nav-toggle svg { width: 24px; height: 24px; }
.primary-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: #d6dde1; font-weight: 600; font-size: 0.95rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a.ext { color: #c9a98f; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); display: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .primary-nav[data-open="true"] { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem; }
  .primary-nav li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* Hero */
.hero { background: var(--cream); color: var(--ink); padding: 4.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--accent); margin: 0 0 0.7rem; font-weight: 700; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.15; }
.hero p.lede { color: var(--muted); max-width: 46ch; margin: 0 0 1.6rem; font-size: 1.05rem; }
.hero-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(20,22,28,0.12); }
.hero-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 340px; margin: 0 auto; }
}

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; border: 2px solid var(--accent); cursor: pointer; }
.btn.primary { color: var(--white); background: var(--accent); }
.btn.primary:hover { color: var(--white); background: var(--accent-bright); border-color: var(--accent-bright); }
.btn.ghost { color: var(--ink); background: transparent; border-color: rgba(20,22,28,0.3); }
.btn.ghost:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* Section basics */
main section { padding: 3.5rem 0; }
main section.alt { background: var(--paper); }
.section-head { max-width: 68ch; margin: 0 0 2rem; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--accent); font-weight: 700; margin: 0 0 0.5rem; }
.section-head h2 { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--muted); margin: 0; }

/* Specialty cards */
.specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specialty-grid { grid-template-columns: 1fr; } }
.specialty-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.specialty-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--ink); }
.specialty-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Content card / bio */
.content-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 2.2rem; }
.content-narrow { max-width: 780px; margin: 0 auto; }
.content-card h2 { margin-top: 0; }
.content-card p { margin: 0 0 1.1rem; }
.content-card p:last-child { margin-bottom: 0; }

/* Credits list */
.credits-list { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; list-style: none; margin: 0; padding: 0; }
.credits-list li { background: var(--cream-deep); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }

/* Feature cards (workflow) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; text-align: center; }
.feature-card h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Audio demos */
.featured-track { background: var(--paper); border: 2px solid var(--accent); border-radius: 16px; padding: 1.6rem; margin-bottom: 2.5rem; text-align: center; }
.featured-track .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--accent); font-weight: 700; }
.featured-track h2 { margin: 0.3rem 0 1rem; }
.featured-track audio { width: 100%; max-width: 640px; }
.demo-category { margin-bottom: 2.6rem; }
.demo-category h2 { font-size: 1.25rem; color: var(--accent); border-bottom: 2px solid var(--line); padding-bottom: 0.5rem; margin-bottom: 1.1rem; }
.track-grid { display: grid; gap: 1rem; }
.track { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.track .title { font-weight: 700; }
.track audio { width: 100%; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 2px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: var(--paper);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { justify-self: start; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }
.contact-fieldset { border: 2px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem 1rem; margin: 0; }
.contact-fieldset legend { font-weight: 700; font-size: 0.9rem; padding: 0 0.3rem; }
.contact-fieldset label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; font-size: 0.94rem; margin: 0.5rem 0 0; }
.contact-fieldset label:first-of-type { margin-top: 0.2rem; }
.contact-fieldset input[type="checkbox"], .contact-fieldset input[type="radio"] { width: auto; flex: 0 0 auto; margin-top: 0.2rem; }
.form-note { margin: -0.4rem 0 0; font-size: 0.85rem; color: var(--muted); }
#form-status { margin: 0; font-size: 0.9rem; color: var(--muted); min-height: 1.2em; }
.contact-side .content-card { padding: 1.6rem; }
.contact-side h3 { margin-top: 0; font-size: 1.05rem; }
.contact-side p { color: var(--muted); font-size: 0.94rem; }

/* Signup / newsletter style CTA (reused pattern) */
.signup-shell { background: var(--ink); border-radius: 18px; padding: 2.4rem; color: var(--white); }
.signup-shell h2 { margin: 0 0 0.5rem; }
.signup-shell p { color: #d6dde1; margin: 0 0 1.4rem; max-width: 60ch; }

/* Pricing / services */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; }
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price-card .price { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.price-card p { margin: 0; color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.price-card .btn { align-self: flex-start; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c2c7; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: #9aa5ab; font-size: 0.9rem; max-width: 32ch; }
.footer-label { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: #7d8890; margin-bottom: 0.8rem; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-links a { color: #c7ced2; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 1.4rem; font-size: 0.82rem; color: #7d8890; }
