/* ==========================================================================
   BIG OATS MUSIC — lift-and-shift static rebuild
   This is a hand-built copy of the content/layout/behavior of the live
   Squarespace site (bigoatsmusic.com), NOT a re-brand. No Squarespace
   code, CDN assets, or fonts are referenced anywhere — every image slot
   below is a solid-color placeholder box until real photos/audio/video
   are dropped in (see README.md).
   ========================================================================== */

:root{
  --black:#0a0a0a;
  --black-2:#141414;
  --gold:#ffe45c;
  --gold-hi:#fff58a;
  --gold-dim:#8c7936;
  --white:#f5f4f0;
  --gray:#b9b6ac;
  --line: rgba(255,255,255,.14);
  --font-display:'Helvetica Neue', Arial, sans-serif;
  --font-body:'Roboto', sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font-body);
  color:var(--white);
  background:var(--black);
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.container{ max-width:1240px; margin:0 auto; padding:0 32px; }

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; letter-spacing:.03em; margin:0; }
h1{ font-size:clamp(1.8rem,4vw,2.6rem); }
h2{ font-size:clamp(1.8rem,3.4vw,2.6rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--gray); }

/* ---- Placeholder image blocks — "random solid color" per instance ---- */
.ph{ display:flex; align-items:center; justify-content:center; background:var(--ph-1); color:rgba(0,0,0,.35); font-family:var(--font-display); font-size:.75rem; text-transform:uppercase; letter-spacing:.05em; text-align:center; padding:8px; }
.ph-1{ --ph-1:#8a6a52; }
.ph-2{ --ph-1:#4f6d7a; }
.ph-3{ --ph-1:#7a5c6e; }
.ph-4{ --ph-1:#5c7a5e; }
.ph-5{ --ph-1:#a1683f; }
.ph-6{ --ph-1:#6a6a8a; }
.ph-7{ --ph-1:#7a6a3f; }
.ph-8{ --ph-1:#3f6a6a; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:700; font-size:1rem;
  padding:15px 30px; background:var(--gold); color:#1a1400; border-radius:40px;
  transition:background .2s ease; cursor:pointer; border:none;
}
.btn:hover{ background:var(--gold-hi); }

/* ---- Header ---- */
.site-header{
  position:absolute; top:0; left:0; right:0; z-index:50;
  background:rgba(10,10,10,.35); border-bottom:1px solid var(--gold-dim);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; height:84px; gap:20px;
  max-width:none; padding:0 130px 0 175px;
}
/* The header overlays the top of whatever section comes first on the
   page (the hero, on the homepage). Pages without a hero push their
   <main> down by the header's height instead of being covered by it. */
.main--offset{ padding-top:84px; }
.logo-ph{ width:56px; height:56px; border-radius:50%; flex-shrink:0; font-size:.62rem; object-fit:cover; display:block; background:#000; }
.logo-full{ height:50px; width:auto; flex-shrink:0; object-fit:contain; display:block; }
@media (max-width:900px){
  .site-header .container{ padding:0 40px; }
}
@media (max-width:600px){
  .site-header .container{ height:68px; padding:0 28px; }
  .main--offset{ padding-top:68px; }
  .logo-full{ height:40px; }
}
.nav-group{ display:flex; align-items:center; gap:36px; margin-left:auto; }
.main-nav ul{ display:flex; align-items:center; gap:36px; list-style:none; margin:0; padding:0; font-family:var(--font-display); font-weight:600; font-size:1rem; }
.main-nav a{ color:var(--white); border-bottom:2px solid transparent; padding-bottom:4px; }
.main-nav a:hover, .main-nav a.is-current{ color:var(--gold); border-color:var(--gold); }
.header-right{ display:flex; align-items:center; gap:26px; }
.social-icons{ display:flex; gap:12px; }
.social-icons a{
  width:38px; height:38px; border:1px solid var(--gold-dim); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--white);
  font-family:var(--font-display); font-size:.7rem;
}
.social-icons a:hover{ border-color:var(--gold); background:rgba(217,178,60,.1); }
.nav-toggle{ display:none; background:none; border:none; color:var(--white); font-size:1.7rem; cursor:pointer; }
@media (max-width:820px){
  .main-nav{ display:none; }
  .main-nav.is-open{
    display:block; position:absolute; top:84px; left:0; right:0;
    background:rgba(10,10,10,.75); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    padding:20px 28px; border-bottom:1px solid var(--gold-dim); z-index:60;
  }
  .main-nav.is-open ul{ flex-direction:column; align-items:flex-start; gap:18px; }
  .nav-toggle{ display:block; }
}
@media (max-width:600px){
  .main-nav.is-open{ top:68px; }
}

/* ---- Sections (marble/dark texture stands in as a plain dark panel —
   the actual marble photo backgrounds are image assets, so per the
   placeholder rule they're just solid dark panels here, not a fake
   texture trying to imitate the original file). ---- */
.section{ padding:90px 0; position:relative; }
.section--panel{ background:var(--black-2); border-top:1px solid var(--gold-dim); border-bottom:1px solid var(--gold-dim); }
.section--standout, .section--testimonials{ padding-bottom:140px; }
.section-head{ text-align:center; margin-bottom:48px; }
.section-head h2{ text-transform:none; }
.section-head .btn--spotify{ display:inline-block; margin-top:18px; }
.gold{ color:var(--gold); }

/* ---- Reusable background-image utilities. The marble textures run
   with no overlay; the 2 Pro Tools screenshots get a slight dark
   overlay for legibility and are anchored to the top so the blank
   inserts/sends rows in the screenshot sit behind the section heading. ---- */
.bg-marble-1, .bg-marble-2, .bg-marble-3, .bg-pro-tools-1, .bg-pro-tools-2{
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.bg-marble-1{ background-image:url('../images/bg-marble-1.jpg'); }
.bg-marble-2{ background-image:url('../images/bg-marble-2.jpg'); }
.bg-marble-3{ background-image:url('../images/bg-marble-3.jpg'); }
/* Two marble textures cross-faded into one tall composite — used on the
   Mixes & Masters section since it runs much taller than the others and
   a single image stretched to cover it that far was going blurry. */
.bg-mixmasters-blend{ background-image:url('../images/bg-mixmasters-blend.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; }
.bg-pro-tools-1{
  background-image:linear-gradient(rgba(10,10,10,.5),rgba(10,10,10,.5)), url('../images/bg-pro-tools-1.jpg');
  background-position:center 12%;
}
.bg-pro-tools-2{
  background-image:linear-gradient(rgba(10,10,10,.5),rgba(10,10,10,.5)), url('../images/bg-pro-tools-2.jpg');
  background-position:center 12%;
}

/* ---- Hero ---- */
.hero{
  min-height:78vh; text-align:center;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background-color:var(--black);
  border-bottom:1px solid var(--gold-dim);
  padding:60px 24px;
}
.hero__logo{ width:min(760px,92%); height:auto; margin-bottom:28px; margin-left:3.5%; }
/* The whole phrase ("prefix + first word") is centered normally on
   load — that's the correct centered look. A little JS then locks the
   heading's width to exactly that measured size, so it stops growing
   or shrinking (and re-centering) every time the animated word
   changes; a longer word simply overflows past that fixed box to the
   right instead of shifting the prefix. */
.hero h1.hero-heading{
  display:inline-block; white-space:nowrap; text-align:left; overflow:visible;
  font-size:clamp(1.3rem,3.2vw,2.4rem); line-height:1.4;
}
.hero-heading__prefix{ white-space:nowrap; }
.hero h1 .rotator-mask{
  display:inline-block; overflow:hidden; height:1.4em;
  white-space:nowrap; text-align:left; vertical-align:top;
}
.hero h1 .rotator{ color:var(--gold); display:inline-block; white-space:nowrap; will-change:transform; }
@media (max-width:700px){
  .hero h1.hero-heading{
    display:block; white-space:normal; text-align:center; font-size:1.4rem; width:auto !important;
  }
  .hero-heading__prefix{ white-space:normal; }
}
@media (max-width:460px){
  .hero h1.hero-heading{ font-size:1.2rem; }
}

/* ---- Stand-out projects / track cards (shared by the featured pair
   and the full portfolio grid) ---- */
.track-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.track-grid--3{ grid-template-columns:repeat(3,1fr); }
.track-grid--4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .track-grid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px){ .track-grid, .track-grid--3, .track-grid--4{ grid-template-columns:1fr; } }

.track-card{ position:relative; background:var(--black-2); border:1px solid var(--line); border-radius:8px; padding:22px; min-width:0; }
.track-card__photo{ height:200px; border-radius:6px; margin-bottom:18px; }
.track-card__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-bottom:2px; }
.track-card h3{
  min-width:0; white-space:nowrap; overflow:hidden;
  text-overflow:ellipsis; transform-origin:left center; font-size:1.05rem; margin-bottom:0;
}
.track-card .artist{ color:var(--gold); font-weight:600; margin-bottom:12px; font-size:.95rem; }
.track-card .tag{
  flex-shrink:0; max-width:120px;
  display:inline-block; background:rgba(217,178,60,.14); color:var(--gold); border:1px solid var(--gold-dim);
  border-radius:20px; padding:4px 10px; font-size:.72rem; font-weight:600; line-height:1; text-align:center;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.track-card .badge{ font-weight:700; font-size:.85rem; margin:14px 0 6px; color:var(--white); }
.track-card audio{ width:100%; margin-bottom:6px; }
.track-card .spotify-link{ display:inline-block; margin-top:12px; color:var(--gold); font-weight:600; font-size:.9rem; border-bottom:1px solid var(--gold-dim); }
.track-card .note{ font-style:italic; color:var(--gray); font-size:.85rem; margin-top:8px; }

.disclaimer{ text-align:center; font-style:italic; color:var(--gray); font-size:.85rem; max-width:640px; margin:36px auto 0; }

/* ---- Before/After player with generated waveform ---- */
.ab-player{ position:relative; background:var(--black-2); border:1px solid var(--line); border-left:3px solid var(--gold); border-radius:6px; padding:16px; margin-bottom:10px; min-width:0; max-width:100%; box-sizing:border-box; overflow:visible; }
.ab-player__switch{ display:flex; gap:8px; margin-bottom:14px; }
.ab-player__switch button{
  flex:1 1 0; min-width:0; background:transparent; border:1px solid var(--line); color:var(--gray); padding:6px 8px; border-radius:20px;
  font-family:var(--font-body); font-weight:600; font-size:.7rem; letter-spacing:.02em; text-transform:uppercase; cursor:pointer;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center;
}
.ab-player__switch button.is-active{ border-color:var(--gold); color:#1a1400; background:var(--gold); }
.waveform{ display:flex; align-items:center; justify-content:center; gap:3px; height:44px; margin-bottom:10px; overflow:hidden; }
.waveform span{ flex:none; background:var(--gold); border-radius:1px; transition:height .25s ease, background .2s ease; }
.waveform.is-unmixed span{ background:var(--gray); }
.ab-player__scrub{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-width:0; }
.ab-player__scrub input[type="range"]{ flex:1 1 60px; min-width:0; max-width:100%; accent-color:var(--gold); }
.ab-player__time{ font-size:.78rem; color:var(--gray); min-width:34px; flex-shrink:0; }
.ab-player__play{
  width:38px; height:38px; border-radius:50%; border:2px solid var(--gold); background:transparent;
  color:var(--gold); cursor:pointer; flex-shrink:0; font-size:.9rem;
}
.ab-player__volume{ position:relative; flex-shrink:0; margin-left:auto; }
.ab-player__volume-toggle{
  width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:transparent;
  color:var(--gray); cursor:pointer; font-size:.8rem; display:flex; align-items:center; justify-content:center;
  padding:0; line-height:1;
}
.ab-player__volume-toggle:hover{ border-color:var(--gold); color:var(--gold); }
.ab-player__volume.is-open .ab-player__volume-toggle{ border-color:var(--gold); color:var(--gold); }
.ab-player__volume-pop{
  display:none; position:absolute; bottom:calc(100% + 8px); right:0; z-index:5;
  background:var(--black-2); border:1px solid var(--gold-dim); border-radius:8px;
  padding:10px 12px; box-shadow:0 6px 18px rgba(0,0,0,.45);
}
.ab-player__volume.is-open .ab-player__volume-pop{ display:block; }
.ab-player__volume-pop input[type="range"]{ width:90px; accent-color:var(--gold); }

/* ---- Behind the scenes — continuous auto-scrolling filmstrip. The
   track's content is duplicated once in the HTML so the CSS animation
   can loop seamlessly from the end back to a visually identical start. ---- */
.filmstrip{ overflow:hidden; border-top:1px solid var(--gold-dim); border-bottom:1px solid var(--gold-dim); }
.filmstrip__track{ display:flex; width:max-content; animation:filmstrip-scroll 153s linear infinite; }
.filmstrip__track.is-reverse{ animation-direction:reverse; }
.filmstrip__item{ flex:0 0 auto; width:300px; height:360px; margin-right:4px; position:relative; }
.filmstrip__item img{ width:100%; height:100%; object-fit:cover; display:block; }
/* Each track is now 3 identical sets back to back (instead of 2), so the
   loop only needs to travel one set-width (33.3334%) to reset seamlessly,
   but the total track is 50% wider than before — wide enough that it never
   runs out of images and shows blank space on large/wide monitors. */
@keyframes filmstrip-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-33.3334%); }
}

/* ---- Sound design videos ---- */
.video-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:800px){ .video-grid{ grid-template-columns:1fr; } }
.video-slot{ aspect-ratio:16/9; border-radius:8px; }
.video-slot video{ width:100%; height:100%; border-radius:8px; background:#000; }
.video-caption{ text-align:center; font-style:italic; color:var(--gray); margin-top:12px; }

/* ---- Testimonials carousel (shares the carousel engine below) ---- */
.t-slide{ height:auto; min-height:0; padding:4px 10px; display:flex; }
.t-card{
  background:var(--black-2); border:1px solid var(--line); border-left:3px solid var(--gold); border-radius:6px; padding:24px;
  width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; box-sizing:border-box;
}
.t-card p{ color:var(--white); font-size:.95rem; margin-bottom:12px; }
.t-card cite{ color:var(--gold); font-weight:600; font-style:normal; font-size:.88rem; }

/* ---- Carousel engine (photo/testimonial carousels share this) ---- */
.carousel-row{ display:flex; align-items:center; gap:16px; }
.carousel-row .carousel{ flex:1; min-width:0; }
.carousel{ position:relative; overflow:hidden; border-radius:6px; }
.carousel__track{ display:flex; transition:transform .4s ease; }
.carousel__slide{ flex-shrink:0; box-sizing:border-box; }
.carousel__arrow{
  position:relative; background:var(--black-2); color:var(--white); border:1px solid var(--gold-dim);
  width:38px; height:38px; border-radius:50%; cursor:pointer; font-family:var(--font-display); font-size:1rem;
  display:flex; align-items:center; justify-content:center; opacity:.85; flex-shrink:0;
}
.carousel__arrow:hover{ opacity:1; border-color:var(--gold); color:var(--gold); }
@media (max-width:600px){
  .carousel-row{ gap:8px; }
  .carousel__arrow{ width:32px; height:32px; }
}
.carousel__dots{ display:flex; gap:8px; justify-content:center; margin-top:18px; }
.carousel__dots button{ width:8px; height:8px; border-radius:50%; border:none; background:var(--line); cursor:pointer; padding:0; }
.carousel__dots button.is-active{ background:var(--gold); }

/* ---- About ---- */
.about-photos{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-bottom:36px; }
@media (max-width:700px){ .about-photos{ grid-template-columns:1fr; } }
.about-photos img{ width:100%; height:480px; border-radius:6px; object-fit:cover; display:block; }
@media (max-width:700px){ .about-photos img{ height:360px; } }
.about-body{ max-width:820px; margin:0 auto; text-align:center; }
.about-body strong{ color:var(--gold); }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; max-width:820px; margin:36px auto 0; text-align:left; }
@media (max-width:700px){ .about-grid{ grid-template-columns:1fr; } }
.about-grid h4{ font-family:var(--font-display); text-transform:uppercase; font-size:1rem; letter-spacing:.04em; margin-bottom:14px; }
.credentials-list{ list-style:none; margin:0; padding:0; }
.credentials-list li{ margin-bottom:10px; color:var(--gray); font-size:.95rem; }
.credentials-list strong{ color:var(--gold); }
.about-contact p{ margin-bottom:8px; }
.about-contact a{ color:var(--gold); border-bottom:1px solid var(--gold-dim); }
.avid-badge{ height:64px; width:auto; border-radius:4px; margin-top:18px; display:block; }

/* ---- Footer ---- */
.footer{ padding:48px 0; border-top:1px solid var(--gold-dim); }
.footer .container{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; }
.footer-brand h3{ color:var(--gold); margin-bottom:6px; }
.footer-brand .copyright{ color:var(--gray); font-size:.88rem; margin-bottom:14px; }
.footer-brand .privacy-link{ display:block; margin-top:14px; color:var(--gold); font-size:.88rem; border-bottom:1px solid var(--gold-dim); width:fit-content; }
.footer-col h4{ font-family:var(--font-display); color:var(--gold); text-transform:uppercase; font-size:.95rem; letter-spacing:.04em; margin-bottom:10px; }
.footer-col p, .footer-col a{ color:var(--gray); font-size:.92rem; }
.footer-col a:hover{ color:var(--gold); }
.footer-col .social-icons{ margin-top:2px; }

/* ---- Contact page ---- */
.contact-hero{ text-align:center; padding:70px 24px 0; }
.section--contact-form{ padding-top:24px; }
.contact-form{ max-width:640px; margin:0 auto; display:grid; gap:22px; }
.contact-form .name-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:560px){ .contact-form .name-row{ grid-template-columns:1fr; } }
.contact-form label{ display:block; font-family:var(--font-display); font-weight:600; font-size:1.05rem; margin-bottom:4px; color:var(--white); }
.contact-form .required{ color:var(--gold); font-weight:400; font-size:.85rem; }
.contact-form .field-help{ color:var(--gray); font-size:.85rem; margin-bottom:8px; }
.contact-form input, .contact-form textarea{
  width:100%; background:var(--white); border:none; border-radius:6px; padding:13px 14px;
  color:#111; font-family:var(--font-body); font-size:.95rem;
}
.contact-form textarea{ min-height:150px; resize:vertical; }
.contact-form button[type="submit"]{ width:fit-content; }
.form-note{ color:var(--gray); font-size:.92rem; margin-top:6px; }
.form-note.is-success{ color:var(--gold); }

/* ---- Privacy / Terms page ---- */
.legal{ max-width:760px; margin:0 auto; padding:70px 24px 100px; }
.legal h1{ margin-bottom:8px; }
.legal .effective{ color:var(--gray); font-size:.9rem; margin-bottom:32px; }
.legal p{ color:var(--gray); margin-bottom:1.3em; }
.legal a{ color:var(--gold); border-bottom:1px solid var(--gold-dim); }

/* ---- Pricing page ---- */
.page-hero{ text-align:center; padding:0 24px 48px; }
.page-hero .lede{ max-width:640px; margin:14px auto 0; color:var(--gray); }
.price-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:28px; }
.price-grid > .price-card{ flex:0 1 calc((100% - 56px) / 3); min-width:0; box-sizing:border-box; }
@media (max-width:900px){ .price-grid > .price-card{ flex-basis:calc((100% - 28px) / 2); } }
@media (max-width:560px){ .price-grid > .price-card{ flex-basis:100%; } }
.price-card{ border-left:3px solid var(--gold); display:flex; flex-direction:column; gap:10px; }
/* Pricing cards don't carry a genre pill like the portfolio track cards
   do, so cancel the nowrap/ellipsis/reserved-space rules .track-card h3
   applies for that — titles here should just wrap normally. */
.price-card h3{
  margin:0; white-space:normal; overflow:visible; text-overflow:clip; padding-right:0;
}
.price-card__amount{ color:var(--gold); font-weight:700; font-size:1.4rem; margin:0; }
.price-card__amount span{ color:var(--gray); font-weight:400; font-size:.85rem; }
.price-card p{ color:var(--gray); font-size:.92rem; margin:0; }
