/* The Artists Playground - Intimate & Serious single-page site
   No build step. Drop into any web server. */

:root{
  --bg: #0b0c0f;
  --bg2:#0f1118;
  --panel:#11131b;
  --soft:#f2f3f6;
  --text:#e9ecf5;
  --muted:#b4b9cc;
  --line: rgba(255,255,255,.12);
  --accent:#d9c7a3; /* warm sand */
  --accent2:#9fb0c7; /* cool slate */
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #07080b 100%);
  line-height:1.45;
}

a{ color: inherit; }
.container{ width:min(var(--max), calc(100% - 48px)); margin:0 auto; }

.topbar{
  position: sticky; top:0; z-index:50;
  background: rgba(11,12,15,.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 18px;
}

.brand{ display:flex; gap:12px; align-items:center; text-decoration:none; }
.brand__logo{
  height:44px;
  width:auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display:block;
}
.brand__mark{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  background: radial-gradient(circle at 30% 30%, var(--accent), #6f5f45);
  color:#111; font-weight:800;
  box-shadow: var(--shadow);
}
.brand__text span{ display:block; color:var(--muted); font-size:12px; margin-top:2px; }

.nav{ display:flex; gap:18px; align-items:center; }
.nav a{ text-decoration:none; color:var(--muted); font-size:14px; }
.nav a:hover{ color:var(--text); }
.nav .btn{ color:#111; }

.navtoggle{
  display:none;
  color:var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.hero{ position:relative; min-height: 78vh; display:grid; }
.hero__bg{
  position:absolute; inset:0;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.05);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(11,12,15,.35), rgba(11,12,15,.85) 55%),
    linear-gradient(180deg, rgba(11,12,15,.35) 0%, rgba(11,12,15,.96) 80%);
}
.hero__content{ position:relative; padding: 84px 0 56px; disply:flex; align-items:flex-end; }

/* Smaller hero variant (used on Films page) */
.hero--small{ min-height: 42vh; }
.hero--small .hero__content{ padding: 64px 0 28px; }

/* Films page hero background */
.hero--films .hero__bg{
  background-image: url("../img/films-hero.jpg");
  background-attachment: fixed;
}
.hero--films .hero__overlay{
  /* stronger gradient so the image doesn't read too bright */
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.92) 100%);
}

@media (max-width: 760px){
  /* iOS/Safari can behave weird with fixed backgrounds */
  .hero--films .hero__bg{ background-attachment: scroll; }
}
.hero__card{
  width:min(620px, 100%);
  background: rgba(17,19,27,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.kicker{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing:.12em;
  font-size:12px;
  margin:0 0 10px;
}
h1{ margin:0 0 10px; font-size:42px; line-height:1.05; }
.lead{ margin: 0 0 18px; color: var(--text); font-size:16px; }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin: 8px 0 14px; }
.hero__bullets{ margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.hero__bullets li{ margin: 6px 0; }

.section{ padding: 64px 0; background: transparent; }
.section--soft{ background: linear-gradient(180deg, rgba(242,243,246,.06), rgba(242,243,246,.02)); }
.section--dark{ background: linear-gradient(180deg, rgba(15,17,24,.9), rgba(11,12,15,.95)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.section__head{ margin-bottom: 18px; }
h2{ margin:0 0 10px; font-size:30px; }
h3{ margin:0 0 8px; font-size:18px; }
.muted{ color: var(--muted); }

.section__grid{
  display:grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 22px;
  align-items:start;
}

.cards{ display:grid; gap: 14px; margin-top: 16px; }
.cards--three{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: rgba(17,19,27,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card__meta{ color: var(--accent2); font-size:13px; margin:0 0 8px; }
.card--coach{ padding:0; overflow:hidden; }
.card--coach img{ width:100%; height:280px; object-fit:cover; display:block; }
.card--coach .card__body{ padding:16px; }

.panel{
  background: rgba(217,199,163,.08);
  border: 1px solid rgba(217,199,163,.22);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.panel__cta{ margin-top:14px; display:grid; gap:10px; }
.link{ color: var(--accent); text-decoration:none; }
.link:hover{ text-decoration:underline; }

.checklist{ margin: 10px 0 0; padding:0; list-style:none; }
.checklist li{ margin: 10px 0; padding-left: 28px; position:relative; color: var(--muted); }
.checklist li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color: var(--accent);
  font-weight:800;
}
.checklist--light li{ color: rgba(233,236,245,.9); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #b39a6f);
  color:#111;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  font-weight:700;
}
.btn:hover{ transform: translateY(-1px); }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow:none;
}
.btn--small{ padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.btn--full{ width:100%; }

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.gallery__item{
  background: rgba(17,19,27,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.gallery__item img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery__item:nth-child(1){ grid-column: span 7; aspect-ratio: 16/9; }
.gallery__item:nth-child(2){ grid-column: span 5; aspect-ratio: 16/9; }
.gallery__item:nth-child(3){ grid-column: span 6; aspect-ratio: 16/9; }
.gallery__item:nth-child(4){ grid-column: span 6; aspect-ratio: 16/9; }
.gallery__item:nth-child(5){ grid-column: span 4; aspect-ratio: 16/9; }
.gallery__item:nth-child(6){ grid-column: span 8; aspect-ratio: 16/9; }

.note{ margin-top: 16px; color: var(--muted); }

.quotes{ display:grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.quote{
  margin:0;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(17,19,27,.65);
  box-shadow: var(--shadow);
}
.quote p{ margin:0 0 10px; }
.quote footer{ color: var(--accent2); font-size: 13px; }

.map iframe{
  width:100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form{
  background: rgba(17,19,27,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.field{ display:grid; gap:8px; margin-bottom: 12px; }
label, legend{ font-weight:650; font-size:13px; color: rgba(233,236,245,.95); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
}
input:focus, textarea:focus{ outline: 2px solid rgba(217,199,163,.35); border-color: rgba(217,199,163,.35); }
.check{ display:flex; gap:10px; align-items:flex-start; color: rgba(233,236,245,.88); margin: 8px 0; }
.check input{ width: 18px; height: 18px; margin-top: 2px; }
.tiny{ color: var(--muted); font-size: 12px; margin: 10px 0 0; }

.footer{
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: rgba(7,8,11,.8);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items:center;
}
.footer__links{ display:flex; gap: 14px; flex-wrap:wrap; justify-content:center; }
.footer__links a{ color: var(--muted); text-decoration:none; font-size: 13px; }
.footer__links a:hover{ color: var(--text); }

@media (max-width: 980px){
  .cards--three{ grid-template-columns: 1fr; }
  .quotes{ grid-template-columns: 1fr; }
  .section__grid{ grid-template-columns: 1fr; }
  h1{ font-size: 36px; }
  .gallery__item{ grid-column: span 12 !important; }
}

@media (max-width: 820px){
  .nav{ display:none; position:absolute; right:12px; top:60px;
        flex-direction:column; background: rgba(11,12,15,.92);
        padding: 12px; border:1px solid var(--line); border-radius: 16px; }
  .nav.show{ display:flex; }
  .navtoggle{ display:block; }
}


/* Ensure important headroom is visible on certain crops */
.card--coach img.img-top{object-position:50% 0%;}


/* --- Branding logo --- */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__logo{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.brand__text{
  display:inline-block;
}

/* --- Films page --- */
.films-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:28px;
  margin-top:22px;
}
.film-card{
  grid-column: span 12;
  display:grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas:
    "head head"
    "poster body";
  gap:16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius:18px;
  overflow:hidden;
  align-items: center;
  padding: 10px;
}
.film-head{
  grid-area: head;
  padding:16px 16px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.film-head .film-title{ font-size: 2.85rem; margin:10 10 12px 0; }
.film-poster{
  grid-area: poster;
  width:100%;
  height:auto;
  object-fit:contain;
  background: rgba(0,0,0,.75);
  max-height: 360px;
  place-items: center;
}
.film-body{
  grid-area: body;
  padding:16px 16px 16px 0;
}
.film-title{
  margin:0 0 6px 0;
  font-size: 1.2rem;
}
.film-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 10px 0;
  opacity:.9;
  font-size:.95rem;
}
.film-produced{
  margin:10px 0 0 0;
  font-size:.95rem;
  opacity:.85;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size:.85rem;
}
.embed{
  margin-top:14px;
  border-radius:14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.embed iframe{
  width:100%;
  aspect-ratio: 16 / 9;
  border:0;
  display:block;
}
@media (max-width: 560px){
  .brand__logo{ height:32px; border-radius:10px; }
  .hero--films .hero__bg{ background-attachment: scroll; }
  .film-card{
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "poster"
      "body";
  }
  .film-body{ padding:14px; }
  .film-head{ padding:14px 14px 0 14px; }
  .film-body{ padding:14px; }
  .film-poster{ max-height: 520px; }
}


/* === Films page fixed background === */
body.films-bg{
  background: transparent;
}

/* Fixed, full-page background image + gradient so it stays visible behind scrolling content */
body.films-bg::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(5,7,10,.78) 100%, rgba(5,7,10,0.22) 0%, rgba(5,7,10,0.88) 0%),
    url("../img/films-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Subtle vignette to keep text readable while still showing the image */
body.films-bg::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.70) 100%);
}


@media (max-width: 520px){
  .brand__logo{ height:34px; border-radius:10px; }
}

/* === Films page transparency over fixed hero === */
body.films-page {
  background: transparent;
}

.films-page .section,
.films-page main {
  background: transparent !important;
}

.films-page .film-card {
  background: rgba(15, 17, 24, 0.15);
  backdrop-filter: blur(4px);
}
