/* SGmastering — v2 "front panel" */
:root {
  --alu: #dcddd8;        /* brushed aluminium page */
  --alu-2: #cfd0ca;      /* recessed panel */
  --alu-line: #b9bab3;
  --black: #1b1c1e;      /* anodised faceplate */
  --black-2: #26282b;
  --ink-2: #5c5f62;      /* secondary text on aluminium */
  --on-black: #c9cbc4;
  --on-black-2: #8a8d90;
  --yellow: #f2b705;     /* EQ faceplate */
  --led: #2742d9;        /* LED blue, links + focus */
  --led-glow: #6f86ff;
  --red: #c8102e;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--alu); color: var(--black);
  font-family: "Barlow", system-ui, sans-serif; font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--led); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--black); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2 { font-family: var(--cond); font-weight: 600; line-height: .95; letter-spacing: -.005em; margin: 0; }
h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h3 { font-family: var(--cond); font-weight: 600; font-size: 1.45rem; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; max-width: 60ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.quiet { color: var(--ink-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--on-black); }
.nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 34px; width: auto; }
.brand { display: flex; align-items: center; gap: 6px; }
.brand .logo { margin-right: 8px; }
.ig { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--on-black); transition: color .15s, background .15s; }
.ig:hover { color: #fff; background: #2e3034; }
.ig svg { width: 20px; height: 20px; }
footer .social { display: inline-flex; gap: 20px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.nav ul a { color: var(--on-black); text-decoration: none; font-weight: 500; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.nav ul a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a3c40; transition: background .2s, box-shadow .2s; }
.nav ul a:hover { color: #fff; }
.nav ul a.active::before { background: var(--led-glow); box-shadow: 0 0 8px var(--led-glow); }
.nav .lang::before { display: none; }
.nav .lang { border: 1px solid #45484c; border-radius: 4px; padding: 2px 9px; }
.menu-btn { display: none; background: none; border: 0; color: var(--on-black); padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav ul { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 6px var(--gutter) 18px; border-top: 1px solid #333; display: none; }
  .nav.open ul { display: flex; }
  .nav ul a { padding: 12px 0; font-size: 1.15rem; }
  .nav ul .lang { align-self: flex-start; margin-top: 8px; padding: 4px 12px; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* hero — full-bleed studio photo */
.hero {
  position: relative; min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: flex-end;
  background: #000 url("../img/hero.jpg") center 30% / cover no-repeat; color: #fff; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27,28,30,.6) 0%, rgba(27,28,30,.45) 28%, rgba(27,28,30,.85) 58%, var(--black) 94%);
}
.hero .wrap { width: 100%; padding-top: 48px; padding-bottom: 28px; }
.hero .tag { font-family: var(--cond); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 0 0 6px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 { font-size: clamp(3rem, 13vw, 13rem); line-height: .85; letter-spacing: -.01em; margin-bottom: clamp(18px, 3vw, 30px); }
.hero .lead { color: #e4e5e0; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 1.02rem;
  padding: 14px 22px; border-radius: 4px; text-decoration: none; cursor: pointer; border: 2px solid var(--black);
  color: var(--black); background: transparent; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--alu-2); }
.btn:active { transform: translateY(1px); }
.btn.go { background: var(--yellow); border-color: var(--yellow); color: var(--black); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.btn.go:hover { background: #ffc61a; }
.hero .btn.ghost { border-color: #fff; color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--black); }

.wave { display: block; width: 100%; height: clamp(80px, 12vw, 150px); margin-top: clamp(28px, 4vw, 48px); }
.wave rect { fill: var(--yellow); transition: height 1.8s cubic-bezier(.65,0,.25,1), y 1.8s cubic-bezier(.65,0,.25,1); }
.wave rect.peak { fill: #ff3048; }
.wave-caption { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--on-black-2); padding-top: 10px; }

/* sections */
.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec.dark { background: var(--black); color: var(--on-black); }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .quiet { color: var(--on-black-2); }
.sec.dark a { color: var(--led-glow); }
.sec.recess { background: var(--alu-2); }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .head { grid-template-columns: 1fr 1fr; align-items: end; } .head p { margin: 0; } }

/* about */
.about { display: grid; gap: clamp(28px, 5vw, 72px); }
.about > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.45fr 1fr; align-items: start; } .about > img { position: sticky; top: 96px; } }
.about h2 { margin-bottom: 26px; }
.founder { margin-top: 36px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding-top: 28px; border-top: 2px solid var(--black); }
.founder img { width: 96px; height: 96px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.founder p { margin-bottom: .6em; }
.katz { font-family: var(--cond); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.08; margin: 18px 0 4px; }

/* equipment */
.gear { display: grid; gap: 0 32px; grid-template-columns: 1fr; border-top: 1px solid #3a3c40; }
@media (min-width: 640px) { .gear { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gear { grid-template-columns: repeat(4, 1fr); } }
.gear-group { padding: 24px 0 26px; border-bottom: 1px solid #3a3c40; }
.gear-group h3 { display: flex; align-items: center; gap: 10px; color: var(--on-black-2); font-weight: 500; font-size: 1.15rem; margin-bottom: 12px; }
.gear-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.gear-group ul { list-style: none; margin: 0; padding: 0; }
.gear-group li { padding: 3px 0; }
.sec.dark .gear-group a, .gear-group span { color: #fff; text-decoration: none; font-weight: 500; font-size: 1.08rem; }
.sec.dark .gear-group a:hover { color: var(--yellow); text-decoration: underline; }

/* studio gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 6px; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery button:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px); }
  .gallery img { aspect-ratio: auto; }
  .gallery .a { grid-column: span 4; grid-row: span 2; }
  .gallery .b, .gallery .c, .gallery .d, .gallery .e, .gallery .f, .gallery .g, .gallery .h, .gallery .i { grid-column: span 2; }
}
.gallery .tall img { object-position: 50% 30%; }
@media (max-width: 759px) { .gallery .a { grid-column: span 2; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,21,22,.95); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 10px 18px; line-height: 1; }
.lb-close { top: 8px; right: 8px; } .lb-prev { left: 0; top: 50%; transform: translateY(-50%); } .lb-next { right: 0; top: 50%; transform: translateY(-50%); }

/* credits */
.player { display: grid; gap: 14px; }
@media (min-width: 1000px) { .player { grid-template-columns: 2.2fr 1fr; } }
.screen { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.screen .play::after { content: ""; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--black); margin-left: 6px; }
.screen button:focus-visible .play { outline: 3px solid #fff; outline-offset: 4px; }
.queue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
@media (min-width: 600px) and (max-width: 999px) { .queue { grid-template-columns: repeat(5, 1fr); } }
.queue button { padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16/9; }
.queue img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .15s; }
.queue button:hover img { opacity: 1; }
.queue button[aria-current="true"] { border-color: var(--yellow); }
.queue button[aria-current="true"] img { opacity: 1; }
.artists { columns: 2; column-gap: 20px; }
@media (min-width: 640px) { .artists { columns: 2; } }
@media (min-width: 1000px) { .artists { columns: 4; } }
.artists-h { margin-top: clamp(48px, 7vw, 80px); }
.artists { margin-top: 18px; list-style: none; padding: 0; font-family: var(--cond); font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 500; line-height: 1.5; }
.artists li { break-inside: avoid; border-bottom: 1px solid #34363a; padding: 4px 0; }

/* order */
.order-top { display: grid; gap: 18px; }
@media (min-width: 900px) { .order-top { grid-template-columns: 1.4fr 1fr; align-items: stretch; } }
.rates { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.rates th, .rates td { text-align: left; padding: 18px 0; border-bottom: 2px solid var(--black); vertical-align: baseline; }
.rates th { font-weight: 500; }
.rates td { text-align: right; font-family: var(--cond); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; line-height: 1; }
.rates td small { font-family: "Barlow", sans-serif; font-size: .95rem; font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.rates tr:first-child th, .rates tr:first-child td { border-top: 2px solid var(--black); }
.free { background: var(--yellow); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.14); }
.free h3 { font-size: 2.2rem; }
.free p { margin: 0; }
.free .btn { align-self: flex-start; background: var(--black); color: var(--yellow); border-color: var(--black); }
.free .btn:hover { background: #000; }
.steps { list-style: none; counter-reset: s; margin: clamp(48px, 7vw, 80px) 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-family: var(--cond); font-weight: 600; font-size: 1.4rem; }
.steps strong { display: block; font-size: 1.08rem; }
.steps span { color: var(--ink-2); font-size: .97rem; }
.send { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 800px) { .check { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.check { list-style: none; padding: 0; margin: 14px 0 0; }
.check li { padding: 11px 0 11px 30px; border-top: 1px solid var(--alu-line); position: relative; }
.check li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(39,66,217,.18); }
.upload { background: var(--black); border-radius: 10px; padding: 8px; }
.upload iframe { display: block; width: 100%; height: 910px; border: 0; border-radius: 6px; }
@media (max-width: 700px) { .upload iframe { height: 1150px; } }

/* contact */
.contact { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }
.mail { display: inline-block; margin-top: 10px; font-family: var(--cond); font-weight: 600; font-size: clamp(1.4rem, 2.7vw, 2.2rem); color: var(--yellow) !important; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { text-decoration: underline; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: .92rem; color: var(--on-black-2); }
input, textarea { font: inherit; color: #fff; background: var(--black-2); border: 1px solid #3c3f43; border-radius: 4px; padding: 13px 14px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--led-glow); box-shadow: 0 0 0 3px rgba(111,134,255,.25); }
textarea { min-height: 150px; resize: vertical; }
form .btn { justify-self: start; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } }

footer { background: var(--black); color: var(--on-black-2); border-top: 1px solid #333; padding: 28px 0; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
footer a { color: var(--on-black); text-decoration: none; }
footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
