/* Audcath Studios — home page styles */

:root {
  --bg:          #ffffff;
  --bg-alt:      #f5f6f8;
  --surface:     #ffffff;
  --border:      #e3e5ea;
  --text:        #14161c;
  --text-muted:  #5a6072;
  --accent:      #2f5bd7;
  --accent-soft: #eaf0ff;
  --accent-text: #ffffff;
  --glow:        rgba(47, 91, 215, 0.16);
  --shadow:      0 1px 2px rgba(16, 20, 32, 0.05), 0 8px 24px rgba(16, 20, 32, 0.06);
  --radius:      14px;
  --wrap:        1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0b0d12;
    --bg-alt:      #11141b;
    --surface:     #141821;
    --border:      #262c39;
    --text:        #eef1f6;
    --text-muted:  #9aa3b6;
    --accent:      #7ea2ff;
    --accent-soft: #1a2136;
    --accent-text: #0b0d12;
    --glow:        rgba(126, 162, 255, 0.14);
    --shadow:      0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg:          #0b0d12;
  --bg-alt:      #11141b;
  --surface:     #141821;
  --border:      #262c39;
  --text:        #eef1f6;
  --text-muted:  #9aa3b6;
  --accent:      #7ea2ff;
  --accent-soft: #1a2136;
  --accent-text: #0b0d12;
  --glow:        rgba(126, 162, 255, 0.14);
  --shadow:      0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.022em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-light { color: var(--text-muted); font-weight: 500; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--text); background: var(--bg-alt); }

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--border);
}
.nav-cta:hover { background: var(--accent-soft) !important; }

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

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

.hero {
  position: relative;
  padding: clamp(72px, 13vw, 140px) 0 clamp(64px, 10vw, 110px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -35% -10% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  color: var(--text-muted);
  max-width: 33em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 570;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }

.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-alt); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

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

.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  font-weight: 660;
  margin-bottom: 18px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }

.card h3 { font-size: 1.12rem; font-weight: 620; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- approach ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

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

.approach-lede { color: var(--text-muted); max-width: 30em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }

.step-num {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 2px;
}

.steps h3 { font-size: 1.06rem; font-weight: 620; margin-bottom: 4px; }
.steps p { color: var(--text-muted); font-size: 0.98rem; }

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

.contact { text-align: center; }
.contact-lede {
  color: var(--text-muted);
  max-width: 32em;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-meta { opacity: 0.8; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
