/* =========================================================
   Audio Services Group — V1 stylesheet
   Light / blue scheme (matched to the reference mockup),
   real studio photography, ASG voice. Dense but clean.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f4f7fb;   /* light blue-grey section */
  --bg-dark:     #0f1b2d;   /* deep navy (footer / overlays) */
  --ink:         #0f1b2d;   /* headings + strong text */
  --ink-soft:    #475566;   /* body text */
  --ink-faint:   #8a97a8;   /* captions, fine print */
  --line:        #e3e9f0;   /* hairline borders */
  --accent:      #1f3a5c;   /* deep navy */
  --accent-dark: #162a43;
  --accent-tint: #eef2f7;
  --radius:      12px;
  --maxw:        1120px;
  --pad:         clamp(20px, 5vw, 40px);
  --shadow:      0 10px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg:   0 18px 44px rgba(15, 27, 45, 0.14);
  --font-serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink-soft);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
em { font-style: italic; color: var(--accent); font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(34px, 4.2vw, 56px); }

/* ---------- A11y helpers ---------- */
.sr-only { position: absolute; 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: 12px; top: -48px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-sans); font-weight: 600;
  font-size: 0.98rem; letter-spacing: 0.01em; padding: 13px 26px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(31,58,92,0.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-tint); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; background: var(--accent); color: #fff; }
.btn-small:hover { background: var(--accent-dark); }
/* Ghost button sitting on the dark hero photo */
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 10px 26px rgba(0,0,0,0.30); }
.hero .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-inline: clamp(16px, 2.5vw, 30px); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.12em; color: var(--accent); }
.brand-word { font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; transition: color .2s ease; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu .btn-small { color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero (contained panel, brand-forward) ---------- */
.hero {
  position: relative; margin: 0; border-radius: 0;
  overflow: hidden; min-height: 74vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-color: var(--bg-dark); text-align: center; color: #fff;
  box-shadow: none;
  background-image:
    radial-gradient(120% 95% at 50% 42%, rgba(8,14,24,0.74) 0%, rgba(8,14,24,0.50) 45%, rgba(8,14,24,0.42) 75%, rgba(8,14,24,0.55) 100%),
    linear-gradient(180deg, rgba(8,14,24,0.45) 0%, rgba(8,14,24,0.35) 40%, rgba(8,14,24,0.78) 100%),
    url("../assets/images/hero-studio.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; padding: clamp(26px, 4.5vh, 46px) clamp(24px, 4vw, 56px) clamp(40px, 6vh, 58px); }
.hero-main { min-width: 0; }
.hero-specialties { display: flex; flex-direction: column; gap: 12px; }
.spec-btn { display: block; background: rgba(8,14,24,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; padding: 16px 18px; color: #fff; font-weight: 500; font-size: 0.98rem; line-height: 1.3; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.spec-btn:hover { background: rgba(8,14,24,0.72); border-color: #fff; transform: translateX(3px); }
.hero-kicker { font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.hero-meta { margin-bottom: 24px; }
.hero-meta-tags { display: block; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.hero-meta-link { display: inline-block; margin-top: 10px; font-size: 0.92rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.45); }
.hero-meta-link:hover { border-color: #fff; }
.hero-heading { font-size: clamp(2.7rem, 7.2vw, 5.7rem); letter-spacing: -0.02em; color: #fff; margin-bottom: 24px; text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.hero-body { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-offer { margin-top: 30px; }
.hero-offer-label { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 12px; }
.hero-offer-list li { font-size: clamp(0.98rem, 1.5vw, 1.12rem); color: #fff; font-weight: 500; padding: 3px 0; }
/* Scroll cue at the bottom of the contained hero */
.scroll-cue { margin-top: auto; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); margin-bottom: clamp(18px, 3vh, 28px); z-index: 1; transition: border-color .2s ease; }
.scroll-cue:hover { border-color: #fff; }
.scroll-cue-arrow { width: 10px; height: 10px; border-right: 2px solid rgba(255,255,255,0.85); border-bottom: 2px solid rgba(255,255,255,0.85); transform: translateY(-2px) rotate(45deg); animation: scrollbob 1.8s ease-in-out infinite; }
@keyframes scrollbob { 0%,100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(2px) rotate(45deg); } }

/* ---------- Credibility strip ---------- */
.cred { background: var(--bg); border-bottom: 1px solid var(--line); }
.cred-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; padding-block: 16px; }
.cred-item { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--ink-faint); text-transform: uppercase; font-weight: 600; }
.cred-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Why ASG (differentiator band) ---------- */
.why { background: #15243b; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.10); }
.why-inner { padding-block: clamp(40px, 4.5vw, 60px); }
.why-lead { text-align: center; }
.why em { color: #fff; font-weight: 500; }
.why-kicker { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.why-heading { font-size: clamp(2rem, 4.2vw, 3.3rem); color: #fff; max-width: 940px; line-height: 1.1; margin: 0 auto 18px; }
.why-body { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.92); max-width: 800px; margin-inline: auto; }
.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.22); text-align: center; }
.why-point-title { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.why-point p { color: rgba(255,255,255,0.86); font-size: 0.96rem; margin-bottom: 16px; }
.btn-on-accent { background: #fff; color: var(--accent); }
.btn-on-accent:hover { background: rgba(255,255,255,0.88); transform: translateY(-1px); }

/* ---------- Value statement (legacy; unused) ---------- */
.value { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.value-inner { padding-block: clamp(42px, 5vw, 68px); max-width: 860px; }
.value-heading { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.value-body { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--ink-soft); }

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; margin-bottom: 26px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.section-heading { font-size: clamp(1.6rem, 3.1vw, 2.4rem); }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 1.04rem; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards.cards-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.services .container { max-width: 1640px; }
.services .section-head { max-width: 820px; }
.services .section-heading { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.services .section-lead { font-size: 1.24rem; }
.card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-art { aspect-ratio: 3 / 2; background-color: var(--bg-alt); background-size: cover; background-position: center; }
.card-text { padding: 34px 34px 38px; }
.card-title { font-size: 1.55rem; margin-bottom: 14px; line-height: 1.2; }
.card-body { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 18px; }
.card-list { display: flex; flex-direction: column; gap: 7px; }
.card-list li { position: relative; padding-left: 20px; font-size: 1.03rem; color: var(--ink); margin-bottom: 5px; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Texture strip ---------- */
.strip { height: 120px; background-size: cover; background-position: center; border-block: 1px solid var(--line); }

/* ---------- How it works (steps) ---------- */
.how { background: var(--bg-alt); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.step-num { font-family: var(--font-serif); font-size: 1.35rem; color: var(--accent); letter-spacing: 0.04em; }
.step-title { font-size: 1.2rem; margin: 10px 0 8px; }
.step-body { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Who we work with ---------- */
.who-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who-list li { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.who-title { font-size: 1.06rem; margin-bottom: 8px; }
.who-body { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Emotional banner ---------- */
.banner {
  position: relative; background-color: var(--bg-dark);
  background-size: cover; background-position: center;
  display: flex; align-items: center; min-height: 320px; text-align: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,24,0.55), rgba(8,14,24,0.65)); }
.banner-inner { position: relative; z-index: 1; width: 100%; }
.banner-line { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 3rem); color: #fff; font-style: italic; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-inner { max-width: 800px; }
.about .section-heading { margin-bottom: 18px; }
.about-body { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- CTA / contact ---------- */
.cta { background: var(--bg); }
.cta-inner { max-width: 740px; }
.cta-heading { font-size: clamp(1.7rem, 3.3vw, 2.5rem); margin-bottom: 16px; }
.cta-body { color: var(--ink-soft); margin-bottom: 30px; max-width: 580px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 7px; }
.field .optional { color: var(--ink-faint); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none; }
.field textarea { resize: vertical; }
.cta-alt { margin-top: 24px; color: var(--ink-soft); font-size: 0.95rem; }
.cta-alt a { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--line); }
.cta-alt a:hover { border-color: var(--accent); }

/* ---------- Footer (deep navy) ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.78); padding-block: 44px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { display: inline-flex; align-items: baseline; gap: 10px; }
.footer-brand .brand-mark { color: #fff; }
.footer-word { font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.footer-meta { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer-meta a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-fine { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .who-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; position: relative; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: absolute; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after  { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }
  .nav-menu { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--pad) 20px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility .3s ease; }
  .nav-menu.open { max-height: 380px; visibility: visible; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 14px; }
  .nav-menu a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-menu .btn-small { display: inline-block; padding: 11px 20px; }
  .brand-word { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .cred-item { font-size: 0.74rem; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .who-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Contact form: submit states ---------- */
.hp-field { position: absolute; left: -9999px; }
.form-error {
  margin-top: 12px; color: #b3261e; font-size: 0.96rem; line-height: 1.5;
}
.form-error a { color: #b3261e; text-decoration: underline; }
.form-success {
  margin-top: 8px; padding: 8px 0; animation: fadeUp .4s ease both;
}
.form-success .cta-heading { margin-bottom: 12px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
