/* SixSonics Soundworks — site styles
   Colours come from the logo: deep space black, brushed silver,
   electric blue and a warm orange glow. */

:root {
  --space: #05070d;
  --space-2: #0a0f1c;
  --panel: rgba(16, 24, 42, 0.62);
  --line: rgba(150, 190, 255, 0.16);
  --silver: #e7ebf2;
  --silver-dim: #a3adbf;
  --muted: #7f8aa0;
  --blue: #2f8bff;
  --blue-hi: #6fc0ff;
  --orange: #ff9a3c;
  --orange-hi: #ffc07a;
  --radius: 18px;
  --max: 1160px;
  --head: "Michroma", "Eurostile", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--space);
  color: var(--silver);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* faint starfield behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 8%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 42%, rgba(160,200,255,.5), transparent 60%),
    radial-gradient(1px 1px at 34% 64%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 55% 86%, rgba(255,210,160,.4), transparent 60%),
    radial-gradient(1px 1px at 6% 78%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1200px 600px at 85% -10%, rgba(47,139,255,.10), transparent 70%),
    radial-gradient(900px 500px at 0% 110%, rgba(255,154,60,.07), transparent 70%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); }
a:hover { color: var(--orange-hi); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--silver); color: var(--space); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--silver); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--head); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; }
.brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--silver-dim); text-decoration: none; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav .nav-cta { color: #fff; border: 1px solid rgba(111,192,255,.45); margin-left: 6px; }
.nav .nav-cta:hover { border-color: var(--orange); background: rgba(255,154,60,.08); }

.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: transparent; border: 1px solid var(--line); color: var(--silver); cursor: pointer;
  }
  .menu-btn svg { width: 22px; height: 22px; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #05070d; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 0 0 72px; text-align: center; }
.hero-art { position: relative; max-width: 1500px; margin: 0 auto; }
.hero-art img {
  width: 100%;
  /* soften the picture's edges into the page background */
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, #000 60%, transparent 100%);
}
.hero-text { margin-top: -2vw; position: relative; }
.hero h1 {
  font-family: var(--head); font-weight: 400;
  font-size: clamp(1.35rem, 3.4vw, 2.4rem); line-height: 1.3;
  letter-spacing: 0.04em; margin: 0 auto 18px; max-width: 22ch;
  background: linear-gradient(180deg, #ffffff 0%, #c9d1de 55%, #8d97a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--silver-dim); max-width: 46ch; margin: 0 auto 30px; font-size: 1.125rem; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1f6fff 0%, #2f8bff 45%, #5fb4ff 100%);
  box-shadow: 0 0 0 1px rgba(111,192,255,.5) inset, 0 10px 30px -8px rgba(47,139,255,.7);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,192,122,.7) inset, 0 12px 34px -8px rgba(255,154,60,.55); }
.btn-ghost { color: var(--silver); border: 1px solid rgba(231,235,242,.28); background: rgba(255,255,255,.02); }
.btn-ghost:hover { color: #fff; border-color: var(--orange); }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--orange-hi); margin-bottom: 14px;
}
.section-title {
  font-family: var(--head); font-weight: 400; letter-spacing: 0.03em;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.25; margin: 0 0 16px;
}
.section-intro { color: var(--silver-dim); max-width: 60ch; margin: 0; }
.center { text-align: center; }
.center .section-intro { margin: 0 auto; }

/* glowing divider, like the lines beside "SOUNDWORKS" */
.glow-rule { height: 1px; border: 0; margin: 0 auto; max-width: var(--max);
  background: linear-gradient(90deg, transparent, rgba(47,139,255,.8) 20%, rgba(255,154,60,.6) 50%, rgba(47,139,255,.8) 80%, transparent); opacity: .5; }

/* jump links to each specialty */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--silver-dim); font-size: .92rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.jump a:hover { color: #fff; border-color: var(--c, var(--blue-hi)); }
.jump a i { font-style: normal; font-family: var(--head); font-size: .68rem; color: var(--c, var(--blue-hi)); }

/* specialty cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.card {
  --c: var(--blue-hi);
  scroll-margin-top: 84px;
  display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .2s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }

/* Image at the top of each card (custom AI images made in Magnific).
   To use your own photo, replace the files in assets/img/sd/ with the same names. */
.card-art {
  position: relative; aspect-ratio: 2 / 1; overflow: hidden;
  background: #0b1120;
  border-bottom: 1px solid var(--line);
}
.card-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-art img { transform: scale(1.04); }
/* soft dark fade at the bottom and a tint of the card's colour, so photos sit in the page */
.card-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,7,13,.35) 0%, transparent 35%, transparent 60%, rgba(10,15,28,.85) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, transparent), transparent 55%);
}
.card-art .num {
  position: absolute; left: 22px; top: 16px; z-index: 1;
  font-family: var(--head); font-size: 2.2rem; line-height: 1;
  color: #fff; opacity: .92;
  text-shadow: 0 0 18px var(--c), 0 2px 10px rgba(0,0,0,.6);
}
@media (prefers-reduced-motion: reduce) { .card-art img { transition: none; } .card:hover .card-art img { transform: none; } }

.card-body { padding: 24px 26px 28px; }
.card h3 {
  font-family: var(--head); font-weight: 400; letter-spacing: .03em;
  font-size: 1.15rem; line-height: 1.4; margin: 0 0 8px;
}
.card .blurb { color: var(--silver-dim); margin: 0 0 18px; font-size: .98rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
/* the 13th card fills the whole row, so its list gets columns */
@media (min-width: 901px) {
  .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .card:last-child:nth-child(odd) .card-art { aspect-ratio: 3 / 1; }
  .card:last-child:nth-child(odd) .ticks { grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
}
.ticks li { position: relative; padding-left: 20px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px var(--c);
}

/* colour themes for the cards (blue and orange from the logo, plus a few mood colours) */
.t-blue   { --c: #6fc0ff; --c2: #ff9a3c; }
.t-orange { --c: #ffb066; --c2: #2f8bff; }
.t-cyan   { --c: #5ee6ff; --c2: #2f8bff; }
.t-violet { --c: #b49bff; --c2: #ff9a3c; }
.t-green  { --c: #7fe0a8; --c2: #2f8bff; }
.t-red    { --c: #ff6b6b; --c2: #3a1020; }
.t-steel  { --c: #c9d1de; --c2: #ff9a3c; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--head); font-size: 1.6rem; display: block; margin-bottom: 10px;
  background: linear-gradient(90deg, var(--blue-hi), var(--orange-hi)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--silver-dim); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center;
  padding: 44px; border-radius: 26px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(47,139,255,.22), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(255,154,60,.18), transparent 60%),
    var(--space-2);
  border: 1px solid rgba(111,192,255,.25);
}
.contact-card img { border-radius: 20px; width: 100%; }
.contact-card .btns { justify-content: flex-start; margin-top: 24px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; color: var(--silver-dim); }
.contact-list strong { color: var(--silver); font-weight: 600; }
@media (max-width: 760px) {
  .contact-card { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; text-align: center; }
  .contact-card img { max-width: 180px; margin: 0 auto; }
  .contact-card .btns { justify-content: center; }
}

/* ---------- footer ---------- */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--silver-dim); text-decoration: none; }
.site-footer a:hover { color: #fff; }
