/* =====================================================================
   Fresh Cut Records — Late-Night Luxury
   Palette: neon green + gold on near-black · Type: Clash Display + Inter
   ===================================================================== */

/* ------------------------------------------------------------------ *
 * 1. Design tokens
 * ------------------------------------------------------------------ */
:root {
  /* surfaces */
  --bg:           #0A0A0A;
  --bg-elev:      #101010;
  --surface:      #141414;
  --surface-2:    #181818;

  /* ink */
  --ink:          #FAFAFA;
  --ink-muted:    rgba(250, 250, 250, 0.66);
  --ink-faint:    rgba(250, 250, 250, 0.42);

  /* brand */
  --accent:       #00E091;   /* electric green */
  --accent-deep:  #00B675;
  --gold:         #FFBD59;   /* warm gold */

  /* lines */
  --line:         rgba(250, 250, 250, 0.10);
  --line-strong:  rgba(250, 250, 250, 0.18);

  /* type */
  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* layout */
  --maxw:         1240px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --radius:       14px;

  /* motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ *
 * 2. Reset & base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

::selection { background: var(--accent); color: #061a13; }

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

/* ------------------------------------------------------------------ *
 * 3. Utilities
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 0.6rem 1rem; background: var(--accent); color: #061a13;
  border-radius: 8px; font-weight: 600;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead { font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem); color: var(--ink); line-height: 1.5; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5ch;
  font-weight: 600; letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: var(--gold); gap: 0.9ch; }
.link-arrow:hover span { transform: translate(2px, -2px); }

/* scroll-reveal (progressive enhancement — only hidden when JS is active) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ *
 * 4. Buttons
 * ------------------------------------------------------------------ */
.btn {
  --pad-y: 0.95rem; --pad-x: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6ch;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent; border-radius: 100px; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: var(--accent); color: #061a13;
  box-shadow: 0 0 0 rgba(0, 224, 145, 0);
}
.btn--primary:hover {
  color: #061a13; background: #1aeea2;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -10px rgba(0, 224, 145, 0.65);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn--sm { --pad-y: 0.6rem; --pad-x: 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ *
 * 5. Header / nav
 * ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled="true"] {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.85rem var(--gutter);
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 46px; width: auto; }

.nav { display: flex; align-items: center; }
.nav__menu { list-style: none; display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__menu > li > a {
  color: var(--ink); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  position: relative; padding-block: 0.4rem;
}
.nav__menu > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav__menu > li > a:not(.btn):hover { color: var(--ink); }
.nav__menu > li > a:not(.btn):hover::after,
.nav__menu > li > a.is-active::after { width: 100%; }
.nav__cta .btn { color: #061a13; }

.nav__toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before { position: absolute; top: -7px; left: 0; }
.nav__toggle-bars::after  { position: absolute; top: 7px;  left: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ *
 * 6. Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem 0 clamp(3rem, 6vw, 5.5rem);
  isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: grayscale(0.1) contrast(1.05); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 110%, rgba(0, 224, 145, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.28) 32%, rgba(10,10,10,0.72) 78%, var(--bg) 100%);
}
.hero__content { position: relative; width: 100%; max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); }
.hero__title {
  font-size: clamp(2.9rem, 9vw, 6.2rem);
  font-weight: 600; letter-spacing: -0.03em; margin-top: 1.1rem;
}
.hero__lead { max-width: 56ch; margin-top: 1.5rem; color: var(--ink-muted); font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 6vw, 5.5rem); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted);
  writing-mode: vertical-rl;
}
.hero__scroll:hover { color: var(--accent); }
.hero__scroll-line { width: 1px; height: 56px; background: linear-gradient(var(--accent), transparent); }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ------------------------------------------------------------------ *
 * 7. Section scaffolding
 * ------------------------------------------------------------------ */
.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section__label {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.section__title { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem); }
.section__note { margin-top: 1.4rem; color: var(--ink-muted); }
.section__head--center { text-align: center; max-width: 40ch; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center .section__label { display: block; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.grid-2 .section__title { position: sticky; top: 100px; }

/* ------------------------------------------------------------------ *
 * 8. The Sound
 * ------------------------------------------------------------------ */
.section--sound .section__body > * + * { margin-top: 1.4rem; }
.section--sound .section__body p { color: var(--ink-muted); }
.section--sound .section__body .lead { color: var(--ink); }

.taglist {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem !important;
}
.taglist li {
  font-size: 0.82rem; font-weight: 500; color: var(--ink-muted);
  padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 100px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.taglist li:hover { color: var(--accent); border-color: var(--accent); }

/* ------------------------------------------------------------------ *
 * 9. Events — cards
 * ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 2.2rem; min-height: 270px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }
.card__index { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0; }
.card__title { font-size: 1.45rem; margin: 1.6rem 0 0.7rem; }
.card__text { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.6; }

/* ------------------------------------------------------------------ *
 * 10. Why — callouts
 * ------------------------------------------------------------------ */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.callout { padding: clamp(1.8rem, 3vw, 2.8rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background 0.3s var(--ease); }
.callout:hover { background: var(--surface); }
.callouts .callout:nth-child(2n) { border-right: 0; }
.callouts .callout:nth-last-child(-n+2) { border-bottom: 0; }
.callout__num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--line-strong); line-height: 1; margin-bottom: 1.2rem; -webkit-text-stroke: 1px var(--ink-faint); -webkit-text-fill-color: transparent; }
.callout:hover .callout__num { color: var(--accent); -webkit-text-fill-color: var(--accent); -webkit-text-stroke: 0; transition: color 0.3s var(--ease); }
.callout__title { font-size: 1.4rem; margin-bottom: 0.8rem; }
.callout__text { color: var(--ink-muted); font-size: 0.97rem; }

/* ------------------------------------------------------------------ *
 * 11. Proof — quotes
 * ------------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.5rem;
}
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote blockquote::first-letter { color: var(--accent); }
.quote figcaption { display: flex; flex-direction: column; gap: 0.2rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote__name { font-weight: 600; }
.quote__meta { font-size: 0.85rem; color: var(--ink-faint); }

/* ------------------------------------------------------------------ *
 * 12. FAQ — accordion
 * ------------------------------------------------------------------ */
.grid-2--faq { grid-template-columns: 0.85fr 1.15fr; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; background: none; border: 0; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  text-align: left; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); letter-spacing: -0.01em;
  padding: 1.5rem 0;
}
.accordion__trigger:hover { color: var(--accent); }
.accordion__icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__trigger[aria-expanded="true"] { color: var(--accent); }
.accordion__panel { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.accordion__panel p { color: var(--ink-muted); padding-bottom: 1.6rem; max-width: 60ch; }

/* ------------------------------------------------------------------ *
 * 13. Contact
 * ------------------------------------------------------------------ */
.grid-2--contact { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact__intro .lead { color: var(--ink-muted); margin-top: 1.5rem; max-width: 46ch; }
.contact__direct { list-style: none; margin-top: 2.2rem; display: grid; gap: 1rem; }
.contact__direct li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact__direct-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 224, 145, 0.18);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: right 1.05rem center, right 0.78rem center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.contact__form .btn { margin-top: 0.4rem; }
.contact__form-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--ink-faint); text-align: center; }

/* ---- form success banner ----------------------------------------- */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 224, 145, 0.10);
  border: 1px solid rgba(0, 224, 145, 0.35);
  border-radius: var(--radius);
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.form-success[hidden] { display: none; }
.form-success__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  margin-top: 0.1rem;
}
.form-success strong { display: block; font-size: 1rem; color: var(--accent); margin-bottom: 0.2rem; }
.form-success p { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* ------------------------------------------------------------------ *
 * 14. Footer
 * ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--bg-elev); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.site-footer__brand img { height: 52px; width: auto; }
.site-footer__tag { color: var(--ink-faint); font-size: 0.9rem; margin-top: 1.1rem; max-width: 34ch; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__nav a, .site-footer__contact a { color: var(--ink-muted); font-size: 0.95rem; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--accent); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.site-footer__legal p { color: var(--ink-faint); font-size: 0.85rem; }
.site-footer__top { color: var(--ink-muted); font-size: 0.85rem; }

/* ------------------------------------------------------------------ *
 * 15. Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.4rem;
    padding: 6rem var(--gutter) 2rem; background: var(--bg-elev);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.7);
  }
  .nav__menu[data-open="true"] { transform: translateX(0); }
  .nav__menu > li { width: 100%; }
  .nav__menu > li > a { display: block; padding: 0.8rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__menu > li > a::after { display: none; }
  .nav__cta { margin-top: 1rem; }
  .nav__cta .btn { width: 100%; }
  body[data-nav-open="true"] { overflow: hidden; }

  .grid-2, .grid-2--faq, .grid-2--contact { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2 .section__title { position: static; }
  .callouts { grid-template-columns: 1fr; }
  .callout { border-right: 0 !important; }
  .callout:last-child { border-bottom: 0; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .hero { align-items: center; text-align: left; }
}

/* nav backdrop */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.nav-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------------ *
 * 16. Reduced motion
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
