/* ---------- Flicks by Los — styles ---------- */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #e9e9e9;
  --soft: #f5f5f4;
  --accent: #111111;
  --radius: 10px;
  --max: 1200px;
  --nav-h: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  border: 1px solid var(--ink); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.btn-light { background: #fff; color: var(--ink); }
.btn.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn.btn-sm { padding: 9px 16px; font-size: 14px; }
.nav-links .btn { color: #fff; }

/* ---------- Intro (home) ---------- */
.intro { padding: calc(var(--nav-h) + 56px) 0 48px; }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 440px) 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center; min-height: calc(100svh - var(--nav-h) - 104px);
}
.intro { overflow: hidden; }
.intro-art { position: relative; will-change: transform; }
.intro-photo {
  position: relative; z-index: 1;
  aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--soft);
}
/* Ink marks around the photo corners */
.ink { position: absolute; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.ink .bold { stroke-width: 4.5; }
.ink-tl { width: 118px; top: -50px; left: -30px; z-index: 2; transform: rotate(-8deg); }
.ink-tr { width: 230px; top: -30px; right: -60px; z-index: 2; transform: rotate(-14deg); }
.ink-br { width: 150px; bottom: -64px; right: -70px; z-index: 2; }
.ink-bl { width: 150px; bottom: -48px; left: -16px; z-index: 2; transform: rotate(4deg); }
/* highlighter: thick translucent marker strokes with flat ends */
.ink .hl { stroke: #ffe15a; stroke-width: 24; stroke-linecap: butt; opacity: .8; mix-blend-mode: multiply; stroke-dasharray: 400; stroke-dashoffset: 400; }
.ink .hl-2 { stroke-width: 16; opacity: .6; }
.ink .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.is-drawn .ink .draw { animation: ink-draw 1.6s cubic-bezier(.3,.6,.2,1) forwards; }
.is-drawn .ink .hl { animation: ink-draw .9s cubic-bezier(.4,.1,.3,1) forwards; }
.ink-tl .draw { animation-delay: .35s; }
.ink-tl .draw:nth-child(2) { animation-delay: .6s; }
.ink-tr .hl { animation-delay: .25s; }
.ink-tr .hl-2 { animation-delay: .55s; }
.ink-br .draw { animation-delay: .7s; }
.ink-br .draw:nth-child(2) { animation-delay: .8s; }
.ink-br .draw:nth-child(3) { animation-delay: .9s; }
.ink-br .draw:nth-child(4) { animation-delay: 1s; }
.ink-bl .draw { animation-delay: .85s; }
.ink-bl .draw:nth-child(2) { animation-delay: 1.05s; }
@keyframes ink-draw { to { stroke-dashoffset: 0; } }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.intro-text h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.035em; max-width: 12ch; }
.intro-sub { font-size: clamp(18px, 2.2vw, 26px); color: var(--muted); margin-top: 18px; max-width: 34ch; line-height: 1.4; }
.intro-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.intro-actions .btn-light { border-color: #d9d9d9; }
.intro-actions .btn-light:hover { border-color: var(--ink); }

/* ---------- Schools marquee ---------- */
.marquee-section { padding: 40px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-section .eyebrow { margin-bottom: 28px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(to left, #fff, rgba(255,255,255,0)); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.marquee-item { display: flex; align-items: center; padding: 0 22px; }
.marquee-item img { height: 84px; width: auto; max-width: 180px; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { color: var(--muted); max-width: 48ch; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section-head-center p:not(.eyebrow) { max-width: 44ch; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
/* letter-spacing adds a trailing gap; nudge centered labels so they sit truly centered */
.eyebrow-center, .section-head-center .eyebrow { text-align: center; padding-left: .14em; max-width: none; }

/* ---------- Gallery ---------- */
.gallery { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 20px; align-items: start; padding-top: 32px; }
.gallery-col:empty { display: none; }
.gallery-col { display: grid; gap: 20px; will-change: transform; }
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft);
  cursor: zoom-in;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.photo:hover img { transform: scale(1.04); }
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 4 / 3; }
.photo.square { aspect-ratio: 1 / 1; }
.photo.portrait { aspect-ratio: 2 / 3; }
.photo.placeholder {
  cursor: default; background: #e4e4e2;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a8a88;
}
.photo.placeholder:hover { background: #e4e4e2; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Offerings strip (home) ---------- */
.offer-strip { background: var(--soft); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.offer-card h3 { font-size: 17px; margin-bottom: 6px; }
.offer-card p { color: var(--muted); font-size: 14px; }
.offer-card { position: relative; }
.offer-card .tag { position: absolute; top: 14px; right: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 8px; }
.offer-card h3 { padding-right: 96px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; padding: 110px 0; }
.cta h2 { font-size: clamp(30px, 4.5vw, 56px); max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.cta p { color: var(--muted); margin: 16px auto 28px; max-width: 46ch; }
.cta h2 + .btn { margin-top: 36px; }

.more-sports { border-top: 1px solid var(--line); }

/* ---------- Studio Session page ---------- */
.studio-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 64px; }
.studio-intro p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.inspo { background: var(--soft); }
.inspo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inspo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.inspo-card .num { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.inspo-card h3 { font-size: 18px; margin-bottom: 8px; }
.inspo-card p { color: var(--muted); font-size: 15px; }
.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 980px; margin-inline: auto; }
.swatch { display: grid; gap: 10px; text-align: center; }
.swatch-color { aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid rgba(0,0,0,.06); }
.swatch strong { display: block; font-size: 14px; }
.swatch span { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.palette-from { color: var(--muted); font-size: 14px; margin-top: 28px; }
@media (max-width: 1000px) { .inspo-grid { grid-template-columns: repeat(2, 1fr); } .palette { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .studio-intro { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; } .inspo-grid { grid-template-columns: 1fr; } .palette { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 480px) { .palette { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.footer { background: #0e0e0e; color: rgba(255,255,255,.6); padding: 48px 0 40px; font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: grid; gap: 14px; }
.footer-brand img { height: 64px; width: auto; }
.footer-links { display: flex; gap: 10px; }
.footer-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-links a:hover { background: #fff; color: #0e0e0e; border-color: #fff; transform: translateY(-2px); }
.footer-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: calc(var(--nav-h) + 72px) 0 48px; }
.page-head h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.035em; }
.page-head p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 52ch; }

/* ---------- Offerings page ---------- */
.offering { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.offering-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; margin-bottom: 28px; }
.offering-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; margin-top: -0.08em; }
.offering-title img { display: block; width: min(100%, 480px); height: clamp(130px, 14vw, 200px); object-fit: contain; object-position: left center; margin: -28px 0 0 -8px; }
.offering-head p { color: var(--muted); max-width: 46ch; }
.offering-head .actions { display: flex; justify-content: flex-end; }
.offering-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offering-grid .photo { aspect-ratio: 1 / 1; }
.badge { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }

/* ---------- About page ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; padding-bottom: 96px; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { font-size: 18px; display: grid; gap: 18px; padding-top: 8px; }
.about-text h2 { font-size: 28px; margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
.facts .fact:last-child { grid-column: 1 / -1; }
.book-facts { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.book-facts .fact:last-child { grid-column: auto; }
.fact { background: var(--soft); border-radius: var(--radius); padding: 16px 18px; }
.fact strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- Book page ---------- */
.book { max-width: 860px; padding: 16px 0 112px; }
.book-inline { margin-inline: auto; padding: 0; }
.form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); }
.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.form-status.ok { display: block; background: #eef7ee; color: #1f5a2a; }
.form-status.err { display: block; background: #fdeeee; color: #7a1f1f; }
.honey { position: absolute; left: -9999px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .offering-head { grid-template-columns: 1fr; gap: 12px; }
  .offering-title img { width: 100%; height: 140px; margin-top: -12px; }
  .offering-head .actions { justify-content: flex-start; }
  .offering-grid { grid-template-columns: 1fr; }
  .offering-grid .photo { aspect-ratio: 4 / 5; }
  .gallery { --cols: 2; gap: 14px; }
  .gallery-col { gap: 14px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 17px; width: 100%; }
  .nav-links .btn { margin-top: 8px; width: auto; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .marquee-item { padding: 0 14px; }
  .marquee-item img { height: 64px; max-width: 140px; }
  .marquee-track { animation-duration: 48s; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .facts, .book-facts { grid-template-columns: 1fr; }
  .intro { padding-top: calc(var(--nav-h) + 28px); }
  .intro-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .intro-art { max-width: 420px; }
  .ink-tl { width: 84px; top: -36px; left: -22px; }
  .ink-tr { width: 160px; top: -22px; right: -30px; }
  .ink-br { width: 104px; bottom: -44px; right: -30px; }
  .ink-bl { width: 104px; bottom: -34px; left: -14px; }
}
@media (max-width: 480px) {
  .gallery { --cols: 1; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img { transition: none; }
  .marquee-track { animation: none; }
  .ink .draw, .ink .hl { stroke-dashoffset: 0; animation: none; }
  .ink .dot { opacity: 1; transition: none; }
}
