/* =========================================================
   HARMONY AUDIO — Shared Stylesheet
   Design: Warm trust-first (cream/maroon) + technical accents
   ========================================================= */

:root {
  --maroon: #6e1a1f;
  --maroon-deep: #4a0f13;
  --maroon-soft: #8a3a40;
  --maroon-bright: #a8323c;
  --cream: #faf6ef;
  --cream-warm: #f3ebdc;
  --sand: #e8dcc4;
  --ink: #2a2520;
  --ink-soft: #3a342e;
  --gray: #6b6560;
  --gray-light: #8a847e;
  --rule: #d9cfb8;
  --gold: #b8935a;
  --gold-deep: #9a7842;
  /* technical dark accents */
  --tech-dark: #1a1714;
  --tech-line: rgba(255,255,255,0.1);
  --tech-mute: #9a9690;
  --tech-green: #5fcc7a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.mono { font-family: 'JetBrains Mono', monospace; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

/* ---------- Top strip ---------- */
.top-strip {
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 9px 0;
  font-size: 13px;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.top-strip a { color: var(--cream); text-decoration: none; font-weight: 500; transition: opacity .2s; }
.top-strip a:hover { opacity: .8; }
.top-contact { display: flex; gap: 26px; align-items: center; }
.top-contact .ph::before { content: '\260E'; margin-right: 8px; color: var(--gold); }
.top-contact .em::before { content: '\2709'; margin-right: 8px; color: var(--gold); }

/* ---------- Header ---------- */
header.site {
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 54px; }
nav.main ul { display: flex; gap: 4px; list-style: none; align-items: center; }
nav.main a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 3px;
  transition: color .2s, background .2s;
}
nav.main a:hover, nav.main a.active { color: var(--maroon); }
nav.main a.cta {
  background: var(--maroon);
  color: var(--cream) !important;
  padding: 12px 22px;
  margin-left: 10px;
  border-radius: 2px;
  letter-spacing: .03em;
  transition: background .2s, transform .2s;
}
nav.main a.cta:hover { background: var(--maroon-deep); transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-decoration: none; border-radius: 2px;
  transition: all .2s; border: 1px solid transparent; cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.btn-primary { background: var(--maroon); color: var(--cream); }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(110,26,31,.22); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--cream); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--maroon); font-weight: 600; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }
.title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500; line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 22px; max-width: 820px;
}
.title em { font-style: italic; color: var(--maroon); }
.lede { font-size: 17px; color: var(--gray); line-height: 1.65; max-width: 640px; }

/* ---------- Technical data chip ---------- */
.data-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--gray); background: var(--cream); border: 1px solid var(--rule);
  padding: 5px 10px; border-radius: 4px;
}
.data-chip::before { content: ''; width: 6px; height: 6px; background: var(--maroon); border-radius: 50%; }

/* ---------- Footer ---------- */
footer.site { background: var(--tech-dark); color: var(--cream); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-brand img { height: 52px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand .tag { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: rgba(250,246,239,.75); margin-bottom: 18px; line-height: 1.5; }
.footer-brand .small { font-size: 13px; color: rgba(250,246,239,.5); line-height: 1.6; }
.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; margin-bottom: 18px; color: var(--gold); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(250,246,239,.75); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--tech-line); padding-top: 26px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(250,246,239,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(250,246,239,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--cream-warm); padding: 44px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-band-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; font-weight: 500; }
.trust-logos { display: flex; gap: 38px; align-items: center; flex-wrap: wrap; }
.trust-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gray); font-weight: 600; transition: color .2s; }
.trust-logo:hover { color: var(--maroon); }

/* ---------- Cards / services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--cream); padding: 34px 30px; border: 1px solid var(--rule);
  border-radius: 4px; transition: all .3s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(42,37,32,.09); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold-deep); margin-bottom: 26px; letter-spacing: .1em; }
.svc-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 600; margin-bottom: 11px; letter-spacing: -.01em; }
.svc-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--gray); background: var(--cream-warm); border: 1px solid var(--rule); padding: 4px 8px; border-radius: 4px; }

/* ---------- Generic prose page ---------- */
.prose { max-width: 800px; }
.prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; margin: 40px 0 14px; letter-spacing: -.01em; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }
.prose a { color: var(--maroon); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--tech-dark); color: var(--cream); padding: 80px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -100px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(110,26,31,.4), transparent 70%); filter: blur(60px); }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--tech-line) 1px, transparent 1px), linear-gradient(90deg, var(--tech-line) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .25; pointer-events: none;
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 6vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: 18px; color: rgba(250,246,239,.78); max-width: 620px; line-height: 1.6; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--tech-mute); margin-bottom: 22px; letter-spacing: .05em; }
.breadcrumb a { color: var(--tech-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 12px; letter-spacing: .04em; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-row label .req { color: var(--maroon); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--rule); border-radius: 2px;
  padding: 12px 14px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(110,26,31,.1); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn { width: 100%; background: var(--maroon); color: var(--cream); border: none; padding: 16px; border-radius: 2px; font-size: 14px; font-weight: 600; letter-spacing: .07em; cursor: pointer; transition: all .2s; font-family: 'Manrope', sans-serif; margin-top: 10px; }
.submit-btn:hover { background: var(--maroon-deep); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--gray-light); margin-top: 14px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 70px 0; }
  nav.main ul { 
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 6px; transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.15); z-index: 200;
  }
  nav.main ul.open { transform: translateX(0); }
  nav.main li { width: 100%; }
  nav.main a { display: block; font-size: 17px; padding: 14px 8px; border-bottom: 1px solid var(--rule); }
  nav.main a.cta { margin-left: 0; margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; z-index: 201; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .top-strip { font-size: 11px; }
  .top-strip-inner { flex-direction: column; gap: 6px; text-align: center; }
  .top-contact { gap: 14px; }
  .trust-band-inner { flex-direction: column; text-align: center; }
}
