/* ==========================================================================
   Tortuga Recording Studio
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #0c0e11;
  --surface: #14171c;
  --surface-2: #1b1f26;
  --line: rgba(241, 236, 228, 0.09);
  --line-strong: rgba(241, 236, 228, 0.18);
  --text: #f1ece4;
  --muted: #a8a196;
  --accent: #27b9ea;
  --accent-strong: #5fd0f5;
  --accent-ink: #03131b;
  --warm: #e2793f;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

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

.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(241, 236, 228, 0.06); border-color: var(--text); }
.btn--wa { --btn-bg: #25d366; --btn-fg: #062c14; }
.btn--wa:hover { background: #4be083; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.93rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(12, 14, 17, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .15s ease;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 14, 17, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav .btn { margin: 18px 0 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(48px, 8vw, 96px);
  isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,14,17,0.55) 0%, rgba(12,14,17,0.35) 35%, rgba(12,14,17,0.92) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(12,14,17,0.85) 0%, rgba(12,14,17,0.2) 70%);
}
.hero__content { max-width: 860px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #d9d3c9; max-width: 640px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: #d9d3c9; font-size: 0.95rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Partner strip ---------- */

.partner-strip { border-block: 1px solid var(--line); background: var(--surface); }
.partner-strip .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px 32px; padding-block: 22px;
}
.partner-strip p { color: var(--muted); font-size: 0.98rem; }
.partner-strip strong { color: var(--text); font-weight: 600; }
.orchard-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em;
}
.orchard-badge small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.orchard-badge svg { width: 34px; height: 34px; color: var(--accent); }

/* ---------- Cover marquee ---------- */

.marquee { overflow: hidden; padding: 28px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a { flex: none; width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.marquee__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.marquee__track a:hover img { transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why (differentiators) ---------- */

.why-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.why-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
}
.why-card__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.why-card p { color: var(--muted); }

/* ---------- Services ---------- */

.services { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.service {
  grid-column: span 4;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.service:hover { border-color: var(--line-strong); }
.service__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(39, 185, 234, 0.12); color: var(--accent);
}
.service__icon svg { width: 24px; height: 24px; }
.service p { color: var(--muted); }
.service ul:not(.checklist) { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service ul:not(.checklist) li { font-size: 0.82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: #d9d3c9; }

.service--feature {
  grid-column: span 12;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(39,185,234,0.22) 0%, transparent 55%),
    var(--surface-2);
  border-color: rgba(39, 185, 234, 0.35);
  padding: clamp(28px, 4vw, 48px);
}
.service--feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service--feature .tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px;
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }

@media (max-width: 980px) {
  .service { grid-column: span 6; }
  .service--feature { grid-column: span 12; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service { grid-column: span 12; }
}

/* ---------- Process ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--bg); position: relative; z-index: 1; margin-bottom: 24px;
}
.step::after {
  content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line-strong));
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step .badge { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 600; color: var(--accent); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding: 0 0 0 78px; min-height: 54px; }
  .step::before { position: absolute; left: 0; top: 0; margin: 0; }
  .step::after { top: 54px; left: 27px; right: auto; bottom: -32px; width: 1px; height: auto; background: var(--line-strong); }
}

/* ---------- Listen ---------- */

.listen { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .listen { grid-template-columns: 1fr; } }

.player-facade {
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  min-height: 352px; display: grid; place-items: center; text-align: center; padding: 32px;
}
.player-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade__cover-grid {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); opacity: 0.6;
}
.player-facade__cover-grid img { width: 100%; height: 100%; object-fit: cover; }
.player-facade__cover-grid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(12,14,17,0.55), rgba(12,14,17,0.9)); }
.player-facade__inner { position: relative; display: grid; gap: 14px; justify-items: center; }
.player-facade__inner p { color: #d9d3c9; font-size: 0.88rem; max-width: 340px; }
.play-btn {
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(39,185,234,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.play-btn:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(39,185,234,0.22); }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }

.release-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.release-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px;
  padding: 10px; padding-right: 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.release-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.release-row img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.release-row strong { display: block; font-weight: 600; line-height: 1.3; }
.release-row span { color: var(--muted); font-size: 0.9rem; }
.release-row .genre { font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: #d9d3c9; white-space: nowrap; }
@media (max-width: 480px) { .release-row .genre { display: none; } .release-row { grid-template-columns: 56px 1fr; } .release-row img { width: 56px; height: 56px; } }

/* ---------- Studio ---------- */

.rooms { display: grid; gap: clamp(48px, 7vw, 88px); }
.rooms a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); cursor: zoom-in; }
.rooms a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rooms a:hover img { transform: scale(1.04); }

.room { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.room--flip .room__main { order: 2; }
.room__main { aspect-ratio: 3 / 2; border-radius: var(--radius-lg) !important; }
.room__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.room__body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.room__body > p { color: var(--muted); font-size: 1.05rem; }
.room__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.room__list li { display: flex; gap: 12px; align-items: flex-start; }
.room__list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.room__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.room__thumbs a { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .room { grid-template-columns: 1fr; }
  .room--flip .room__main { order: 0; }
}

.steinway {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg);
  background: radial-gradient(100% 120% at 0% 0%, rgba(226,121,63,0.18), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong);
}
.steinway h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.steinway__text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.steinway .eyebrow { color: var(--warm); }
.steinway__photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 38vw, 460px); }
.steinway__photos a:first-child { grid-row: span 2; }
@media (max-width: 900px) {
  .steinway { grid-template-columns: 1fr; }
  .steinway__photos { height: 360px; }
}

.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.details a { aspect-ratio: 1; }
@media (max-width: 700px) { .details { grid-template-columns: 1fr 1fr; } }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; display: none; place-items: center;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(6, 7, 9, 0.92); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; object-fit: contain; border-radius: 10px; }
.lightbox__btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(20, 23, 28, 0.85); border: 1px solid var(--line-strong); color: var(--text);
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { border-color: var(--text); }
.lightbox__close { top: 16px; right: 16px; font-size: 1.1rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */

.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-size: 1.08rem; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 22px 22px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Contact ---------- */

.contact {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__aside p { color: var(--muted); font-size: 1.1rem; margin-top: 18px; }
.contact__promise { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.contact__promise li { display: flex; gap: 12px; }
.contact__promise svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 10px; }

.form {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); display: grid; gap: 24px;
}
.field { display: grid; gap: 8px; }
.field > label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 10px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39,185,234,0.25); }
.form ::placeholder { color: #6f6a62; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg);
  font-size: 0.93rem; cursor: pointer; transition: all .15s ease; user-select: none;
}
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:hover span { border-color: var(--text); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form__note { font-size: 0.85rem; color: var(--muted); text-align: center; }
.form__status { padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; display: none; }
.form__status.is-ok { display: block; background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.4); }
.form__status.is-err { display: block; background: rgba(226, 121, 63, 0.12); border: 1px solid rgba(226, 121, 63, 0.45); }
.hp { position: absolute; left: -9999px; }

/* ---------- Final CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(226,121,63,0.22) 0%, transparent 55%),
    radial-gradient(90% 120% at 100% 0%, rgba(39,185,234,0.25) 0%, transparent 55%),
    var(--surface-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 640px; }
.cta-band p { color: #d9d3c9; margin-top: 12px; max-width: 560px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 120px; color: var(--muted); font-size: 0.93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--text); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .site-footer { padding-bottom: 56px; } }

/* ---------- Mobile sticky CTA ---------- */

.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; gap: 8px; padding: 8px;
  background: rgba(20, 23, 28, 0.92); border: 1px solid var(--line-strong); border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; padding: 0 14px; }
.sticky-cta .btn--wa { flex: 0 0 48px; padding: 0; }
@media (max-width: 900px) { .sticky-cta { display: flex; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

[hidden] { display: none !important; }

/* ==========================================================================
   Portfolio page
   ========================================================================== */

.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(32px, 5vw, 56px); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin-top: 18px; }


.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(12, 14, 17, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line); padding: 14px 0;
}
.toolbar .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.toolbar .chips { flex: 1 1 auto; }
.toolbar .chip span { min-height: 38px; padding: 0 14px; font-size: 0.88rem; }
.toolbar__right { display: flex; gap: 10px; flex: 1 1 320px; max-width: 460px; }
.search { position: relative; flex: 1; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input, .toolbar select {
  width: 100%; min-height: 42px; padding: 0 14px 0 42px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; font-size: 0.93rem;
}
.toolbar select { width: auto; padding: 0 14px; appearance: auto; }
.search input:focus, .toolbar select:focus { outline: none; border-color: var(--accent); }

.result-count { color: var(--muted); font-size: 0.92rem; margin: 28px 0 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 14px 14px 16px; }
  .card__body h3 { font-size: 1rem; }
  .card__play { width: 44px; height: 44px; right: 10px; bottom: 10px; }
  .card__type { left: 10px; top: 10px; }
  .card--cta { grid-column: 1 / -1; min-height: 0; }
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 1; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__play {
  position: absolute; right: 14px; bottom: 14px;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform .15s ease;
}
.card__play:hover { transform: scale(1.08); }
.card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.card__type { position: absolute; left: 14px; top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(12,14,17,0.75); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.card__body { padding: 18px 18px 20px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card__body h3 { font-size: 1.15rem; }
.card__artist { color: var(--muted); font-size: 0.95rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.card__meta span { font-size: 0.76rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: #d9d3c9; }
.card__meta .svc { border-color: rgba(39,185,234,0.4); color: var(--accent-strong); }
.card__links { display: flex; gap: 14px; margin-top: 12px; font-size: 0.88rem; }
.card__links a { color: var(--accent); text-decoration: none; font-weight: 600; }
.card__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__embed { border-top: 1px solid var(--line); }
.card__embed iframe { display: block; width: 100%; border: 0; }

.card--cta {
  border-style: dashed; border-color: rgba(39,185,234,0.5);
  background: radial-gradient(100% 100% at 100% 0%, rgba(39,185,234,0.16), transparent 60%), var(--surface);
  justify-content: center; padding: 32px 26px; gap: 14px; text-decoration: none;
  min-height: 320px;
}
.card--cta h3 { font-size: 1.6rem; }
.card--cta p { color: var(--muted); }

.empty { text-align: center; padding: 60px 0; color: var(--muted); }
