:root{
  --bg: #ffffff;
  --alt: #f6f7f9;
  --text: #1f2328;
  --muted: #5f6b7a;
  --border: #e6e8ec;
  --card: #ffffff;
  --shadow: 0 8px 30px rgba(0,0,0,.06);
  --radius: 18px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a{ color: inherit; }
a:focus-visible{
  outline: 3px solid rgba(0,0,0,.18);
  outline-offset: 3px;
  border-radius: 12px;
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.skip-link:focus{ left: 12px; z-index: 9999; }

/* HERO */
.hero{
  background: linear-gradient(180deg, var(--bg), var(--alt));
  border-bottom: 1px solid var(--border);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  padding: 42px 0 14px;
  align-items: center;
}
.hero-copy{ position: relative; padding: 10px 0; }

.watermark{
  position: absolute;
  inset: -6px auto auto 0;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 46px;
  color: rgba(0,0,0,.12);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.hero-title{
  margin: 0 0 8px 0;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.02em;
}
.hero-byline{
  margin: 0 0 16px 0;
  color: var(--muted);
  font-weight: 600;
}
.hero-lead{
  margin: 0 0 10px 0;
  color: var(--text);
  max-width: 62ch;
}

.studio-mark{
  margin-top: 6px;
  margin-bottom: 10px;
}
.studio-mark img{
  height: 48px;
  opacity: 0.75;
  display: block;
}

/* Jump pills (keep as-is; they’re perfect) */
.jump{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.jump a{
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .15s ease, transform .15s ease;
}
.jump a:hover{
  color: var(--text);
  transform: translateY(-1px);
}
.jump a:active{
  color: #000;
  transform: translateY(0px);
}

.hero-media{
  display: flex;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.hero-media img{
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.hero-media::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%;
  border-radius: var(--radius);
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    var(--bg) 1%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
}

/* SECTIONS */
.section{ padding: 44px 0; }
#events.section{
  padding-top: 10px;
  padding-bottom: 40px;
}
.section.alt{
  background: var(--alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head h2{
  margin: 0 0 6px 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
}
.section-head p{
  margin: 0 0 18px 0;
  color: var(--muted);
}

/* Cards / embeds */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.embed-card{ overflow: hidden; }
.embed-card iframe{
  width: 100%;
  height: min(62vw, 520px);
  border: 0;
  display: block;
}

.section-actions{ margin-top: 14px; }

/* Button links (match jump feel: muted -> dark + tiny lift; NO box pop-in) */
.btn{
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}
.btn:hover{
  background: rgba(255,255,255,1);
  color: var(--text);
  transform: translateY(-1px);
}
.btn:active{
  color: #000;
  transform: translateY(0px);
}

/* Training video tiles */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 18px;
}
.video-card{
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  overflow: hidden;
}
.thumb{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef0f3;
}
.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}
.meta{ padding: 12px 12px 14px; }
.meta h3{
  margin: 0 0 6px 0;
  font-size: 15px;
  line-height: 1.25;
}
.meta p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.footer{
  padding: 26px 0 34px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner p{ margin: 0 0 8px 0; }
.fineprint{
  color: var(--muted);
  font-size: 12.5px;
  max-width: 90ch;
}

/* Scribe grid */
.scribe-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.scribe-card{
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  text-decoration: none;
  color: var(--muted);
  transition: color .15s ease, transform .15s ease;
}
.scribe-card:hover{
  color: var(--text);
  transform: translateY(-2px);
}
.scribe-card:active{
  color: #000;
  transform: translateY(0px);
}
.scribe-card h3{
  margin: 0;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 700px){
  .scribe-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; padding-top: 34px; }
  .watermark{ font-size: 38px; }
  .hero-media img{ max-width: 680px; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .container{ width: min(var(--max), calc(100% - 24px)); }
  .watermark{ font-size: 30px; }
  .jump a{ padding: 9px 11px; }
  .cards{ grid-template-columns: 1fr; }
}