/* ============================================================
   The WoodCraft Project — homepage styles
   Palette from the material: charred oak, honey oak, limewash,
   firelight amber, moss. Display: Erode. Body: Switzer.
   ============================================================ */

:root {
  --charred:    #1b1511;
  --charred-2:  #251d17;
  --charred-3:  #2f251d;
  --oak:        #c99b62;
  --oak-soft:   #dfc09a;
  --amber:      #d98e4a;
  --amber-deep: #b76f31;
  --limewash:   #f4efe6;
  --limewash-2: #ebe4d6;
  --parchment:  #f0e9dc;
  --ink:        #26201a;
  --ink-soft:   #5e5346;
  --moss:       #3f4a3a;
  --moss-deep:  #333d2f;
  --line-dark:  rgba(38, 32, 26, .16);
  --line-light: rgba(240, 233, 220, .18);
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--limewash);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: 'Erode', Georgia, serif; font-weight: 600; line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

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

::selection { background: var(--oak); color: var(--charred); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.7em;
  font-family: 'Switzer', sans-serif; font-size: 1rem; font-weight: 500;
  text-decoration: none; border-radius: 2px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn--lg { padding: .95em 2em; font-size: 1.06rem; }
.btn--solid { background: var(--amber); color: #211405; }
.btn--solid:hover { background: var(--oak-soft); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(240,233,220,.55); color: var(--parchment); }
.btn--ghost:hover { border-color: var(--parchment); background: rgba(240,233,220,.1); transform: translateY(-2px); }
.btn--light { background: var(--parchment); color: var(--moss-deep); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.text-link {
  display: inline-block; font-weight: 500; color: var(--amber-deep);
  text-decoration: none; position: relative; padding-bottom: 2px;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transition: transform .35s ease;
}
.text-link:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------- scroll progress rings (signature) ---------- */
.ring-progress {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px;
  z-index: 60; pointer-events: none; opacity: 0; transition: opacity .4s ease;
}
.ring-progress.is-on { opacity: 1; }
.rp-ring {
  fill: none; stroke: var(--oak); stroke-width: 1.6;
  stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%;
}
.rp-ring--1 { stroke-dasharray: 50.3; stroke-dashoffset: 50.3; opacity: .95; }
.rp-ring--2 { stroke-dasharray: 88; stroke-dashoffset: 88; opacity: .6; }
.rp-ring--3 { stroke-dasharray: 125.7; stroke-dashoffset: 125.7; opacity: .35; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-head.is-solid {
  background: rgba(27, 21, 17, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(240,233,220,.08);
}
.head-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.brand { flex: 0 0 auto; }
.brand-logo { width: auto; height: 74px; transition: height .35s ease; }
.site-head.is-solid .brand-logo { height: 48px; }
.head-nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.head-nav a {
  color: var(--parchment); text-decoration: none; font-size: .98rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.head-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--oak); transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.head-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { color: var(--parchment); text-decoration: none; font-weight: 500; font-size: .98rem; }
.head-phone:hover { color: var(--oak-soft); }

.nav-toggle {
  display: none; flex-direction: column; gap: 7px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--parchment); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 40; background: var(--charred);
  display: flex; flex-direction: column; justify-content: center; gap: 8vh;
  padding: 100px var(--pad) 40px; text-align: center;
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav nav a {
  color: var(--parchment); text-decoration: none;
  font-family: 'Erode', serif; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500;
  padding: 6px 0;
}
.mobile-nav nav a:hover { color: var(--oak); }
.mobile-nav-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mobile-nav-phone { color: var(--oak-soft); text-decoration: none; font-size: 1.15rem; font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--charred); color: var(--parchment); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,21,17,.55) 0%, rgba(27,21,17,.12) 34%, rgba(27,21,17,.24) 62%, rgba(27,21,17,.86) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: 140px var(--pad) clamp(64px, 11vh, 120px);
}
.hero-title {
  font-size: clamp(3.4rem, 9.5vw, 8.2rem);
  font-weight: 600; letter-spacing: -0.015em; line-height: .98;
  max-width: 12ch;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in { display: inline-block; }
.hero-title .tick { color: var(--oak); }
.hero-sub {
  margin-top: 26px; max-width: 46ch;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(240,233,220,.92);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: .95rem; color: rgba(240,233,220,.62); max-width: 52ch; }
.hero-scroll {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 36px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll-line { width: 1px; height: 56px; background: rgba(240,233,220,.4); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--oak); animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -40%; } 60%, 100% { top: 110%; } }
.hero-scroll-txt { font-size: .8rem; color: rgba(240,233,220,.55); writing-mode: vertical-rl; }

/* ---------- intro ---------- */
.intro { padding: clamp(90px, 13vh, 160px) 0 clamp(70px, 9vh, 120px); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px); align-items: center;
}
.intro-statement {
  font-family: 'Erode', serif; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.28; letter-spacing: -0.01em;
}
.intro-statement .w { display: inline-block; }
.intro-side { margin-top: clamp(28px, 4vh, 44px); color: var(--ink-soft); }
.intro-copy .text-link { margin-top: 22px; font-size: 1.05rem; }
.intro-media { margin: 0; position: relative; }
.intro-media-frame {
  overflow: hidden; border-radius: 3px;
  aspect-ratio: 4 / 5;
}
.intro-media-frame img { width: 100%; height: 112%; object-fit: cover; }
.intro-media figcaption { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- sections shared ---------- */
.sec-title {
  font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.015em;
}
.sec-title--light { color: var(--parchment); }
.sec-lead { margin-top: 18px; max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.sec-lead--light { color: rgba(240,233,220,.75); }

/* ---------- services ---------- */
.services { padding: clamp(70px, 9vh, 120px) 0; background: var(--limewash-2); }
.svc-list { margin-top: clamp(36px, 5vh, 56px); position: relative; }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  gap: clamp(14px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 3.4vh, 34px) 0;
  border-top: 1px solid var(--line-dark);
  text-decoration: none; position: relative;
  transition: padding-left .35s ease;
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line-dark); }
.svc-name {
  font-family: 'Erode', serif; font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -0.01em;
  transition: color .3s ease;
}
.svc-desc { color: var(--ink-soft); font-size: 1rem; max-width: 52ch; }
.svc-arrow {
  font-size: 1.5rem; color: var(--amber-deep);
  opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease;
}
.svc-row:hover { padding-left: 14px; }
.svc-row:hover .svc-name { color: var(--amber-deep); }
.svc-row:hover .svc-arrow { opacity: 1; transform: translateX(0); }
.svc-preview {
  position: absolute; pointer-events: none; z-index: 5;
  width: 300px; height: 210px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(27,21,17,.35);
  opacity: 0; transform: scale(.94); top: 0; left: 0; will-change: transform;
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; background: var(--limewash-2);
  padding: 0 0 clamp(50px, 7vh, 80px); white-space: nowrap;
}
.marquee-track { display: inline-flex; align-items: center; gap: 38px; will-change: transform; }
.marquee-track span {
  font-family: 'Erode', serif; font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.01em; color: rgba(38,32,26,.14);
}
.marquee-track em { font-style: normal; font-size: .9rem; color: rgba(183,111,49,.4); }

/* ---------- craft ---------- */
.craft { background: var(--charred); color: var(--parchment); padding: clamp(80px, 11vh, 150px) 0 0; }
.craft-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px); align-items: start;
}
.craft-body { margin-top: 24px; color: rgba(240,233,220,.78); max-width: 54ch; }
.craft-points { list-style: none; margin: clamp(30px, 5vh, 50px) 0 0; padding: 0; }
.craft-points li { padding: 22px 0; border-top: 1px solid var(--line-light); }
.craft-points h3 { font-size: 1.3rem; font-weight: 600; color: var(--oak-soft); }
.craft-points p { margin-top: 8px; color: rgba(240,233,220,.68); font-size: 1rem; max-width: 50ch; }
.craft-media { position: sticky; top: 90px; border-radius: 3px; overflow: hidden; }
.craft-video { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

.stats {
  margin-top: clamp(60px, 9vh, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  padding-top: 0; padding-bottom: 0;
}
.stat {
  padding: clamp(34px, 5vh, 56px) clamp(10px, 2vw, 30px);
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat-num {
  display: block; font-family: 'Erode', serif; font-weight: 600;
  font-size: clamp(3rem, 6.5vw, 5.4rem); line-height: 1; color: var(--oak);
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 10px; color: rgba(240,233,220,.65); font-size: 1rem; }

/* ---------- work: full-bleed scroll reel ----------
   Without JS (or with reduced motion) this is a clean stack of full-width
   images with captions. main.js adds .is-live, which turns it into a sticky
   full-screen stage whose slides dissolve into each other as you scroll. */
.work { padding: clamp(80px, 11vh, 140px) 0 0; }
.work .wrap { padding-bottom: clamp(40px, 6vh, 64px); }
.reel { position: relative; background: var(--charred); }
.reel-slide { position: relative; margin: 0; }
.reel-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.reel-media img { width: 100%; height: 100%; object-fit: cover; }
.reel-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(27,21,17,.85) 0%, rgba(27,21,17,.24) 36%, rgba(27,21,17,0) 62%),
    linear-gradient(to right, rgba(27,21,17,.45), rgba(27,21,17,0) 55%);
}
.reel-cap {
  position: absolute; left: 0; right: 0; bottom: clamp(1.6rem, 4.5vw, 3.4rem);
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad);
  color: var(--parchment);
}
.reel-count {
  font-size: .78rem; font-weight: 600; letter-spacing: .26em;
  color: var(--oak); margin-bottom: .8rem;
}
.reel-count i { font-style: normal; opacity: .5; margin: 0 .3rem; }
.reel-cap h3 {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em;
}
.reel-meta { margin-top: .7rem; font-size: clamp(.95rem, 1.2vw, 1.06rem); color: rgba(240,233,220,.8); max-width: 52ch; }

.reel.is-live .reel-track { position: relative; height: calc(var(--n) * 80vh); }
.reel.is-live .reel-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.reel.is-live .reel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.reel.is-live .reel-media { aspect-ratio: auto; height: 100%; }

.reel-dots {
  position: absolute; z-index: 4; right: clamp(.9rem, 2.6vw, 2.4rem); top: 0; bottom: 0;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: .95rem;
}
.reel.is-live .reel-dots { display: flex; }
.reel-dot {
  width: 9px; height: 9px; padding: 0; cursor: pointer;
  border: 1px solid rgba(240,233,220,.8); background: rgba(27,21,17,.3);
  transform: rotate(45deg);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.reel-dot:hover { border-color: var(--oak-soft); }
.reel-dot[aria-current="true"] {
  background: var(--oak); border-color: var(--oak);
  transform: rotate(45deg) scale(1.45);
}
.reel-progress {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(240,233,220,.16); display: none;
}
.reel.is-live .reel-progress { display: block; }
.reel-progress span {
  display: block; height: 100%; background: var(--oak);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- reviews ---------- */
.reviews { background: var(--limewash-2); padding: clamp(80px, 11vh, 140px) 0; }
.rev-grid {
  margin-top: clamp(36px, 5vh, 56px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px); align-items: center;
}
/* the review panel: photo under an oak-frame arch, with a ghost arch offset
   behind it and slowly turning growth rings, so the image sits in a designed
   composition rather than on its own */
.rev-panel { position: relative; padding: 26px 26px 0 0; }
.rev-rings {
  position: absolute; z-index: 0; top: -70px; right: -60px;
  width: 240px; height: 240px; color: var(--amber-deep); opacity: .5;
  pointer-events: none;
}
.rev-arch-ghost {
  position: absolute; z-index: 0; top: 0; right: 0; bottom: 34px; left: 26px;
  border: 1px solid var(--amber-deep); opacity: .55;
  border-radius: 50% 50% 3px 3px / 34% 34% 3px 3px;
}
.rev-media {
  position: relative; z-index: 1; overflow: hidden;
  margin: 26px 26px 0 0;
  border-radius: 50% 50% 3px 3px / 34% 34% 3px 3px;
  aspect-ratio: 4 / 4.6; background: var(--limewash);
  box-shadow: 0 30px 70px rgba(27, 21, 17, .18);
}
.rev-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .8s ease, transform 6s ease;
}
.rev-media img.is-active { opacity: 1; transform: scale(1); }
.quote-stage { position: relative; min-height: 300px; }
.quote-glyph {
  position: absolute; z-index: 0; top: -86px; left: -14px;
  font-family: 'Erode', serif; font-weight: 700;
  font-size: 11rem; line-height: 1; color: var(--oak);
  opacity: .35; pointer-events: none; user-select: none;
}
.quote {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
}
.quote.is-active { opacity: 1; visibility: visible; position: relative; }
.quote p {
  font-family: 'Erode', serif; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 34ch;
}
.quote footer { margin-top: 22px; color: var(--ink-soft); font-size: 1rem; }
.quote-nav { display: flex; gap: 10px; margin-top: 34px; }
.quote-dot {
  width: 34px; height: 4px; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(38,32,26,.18); transition: background-color .3s ease;
}
.quote-dot.is-active { background: var(--amber-deep); }
.reviews-badge { margin-top: 40px; color: var(--ink-soft); }

/* ---------- courses ---------- */
.courses {
  position: relative; background: var(--moss-deep); color: var(--parchment);
  padding: clamp(80px, 11vh, 140px) 0; overflow: hidden;
}
.courses-bg { position: absolute; inset: -10% 0; }
.courses-bg img { width: 100%; height: 100%; object-fit: cover; }
.courses::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(38,46,34,.94) 30%, rgba(38,46,34,.72) 70%, rgba(38,46,34,.6));
}
.courses-inner { position: relative; z-index: 2; }
.course-grid {
  margin-top: clamp(40px, 6vh, 60px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px);
}
.course-card {
  background: rgba(31, 38, 28, .82); border: 1px solid rgba(240,233,220,.16);
  backdrop-filter: blur(6px);
  border-radius: 4px; padding: clamp(26px, 4vw, 44px);
  transition: transform .35s ease, border-color .35s ease;
}
.course-card:hover { transform: translateY(-6px); border-color: rgba(240,233,220,.3); }
.course-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.course-meta { margin-top: 10px; color: var(--oak-soft); font-size: .98rem; }
.course-desc { margin-top: 16px; color: rgba(240,233,220,.75); font-size: 1rem; }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 16px; }
.course-price { font-family: 'Erode', serif; font-size: 2rem; font-weight: 600; color: var(--parchment); }

/* ---------- cta ---------- */
.cta { position: relative; color: var(--parchment); overflow: hidden; background: var(--charred); }
.cta-bg { position: absolute; inset: -12% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,21,17,.9), rgba(27,21,17,.62) 55%, rgba(27,21,17,.9));
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding-top: clamp(90px, 14vh, 170px); padding-bottom: clamp(90px, 14vh, 170px); }
.cta-title { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.015em; }
.cta-body { margin: 22px auto 0; max-width: 54ch; color: rgba(240,233,220,.85); font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.cta-mail { margin-top: 26px; }
.cta-mail a { color: var(--oak-soft); text-decoration: none; }
.cta-mail a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { background: var(--charred); color: rgba(240,233,220,.72); padding: clamp(60px, 8vh, 90px) 0 30px; border-top: 1px solid var(--line-light); }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.foot-brand img { width: 190px; height: auto; }
.foot-brand p { margin-top: 18px; font-size: .97rem; }
.foot-brand a { color: var(--oak-soft); text-decoration: none; }
.foot-brand a:hover { text-decoration: underline; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 {
  font-family: 'Switzer', sans-serif; font-size: .92rem; font-weight: 600;
  color: var(--parchment); margin-bottom: 8px;
}
.foot-col a { color: rgba(240,233,220,.72); text-decoration: none; font-size: .97rem; }
.foot-col a:hover { color: var(--oak-soft); }
.foot-base { margin-top: clamp(40px, 6vh, 60px); padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .9rem; }

/* ---------- reveal defaults (JS overrides when motion allowed) ---------- */
[data-rev] { opacity: 1; transform: none; }
[data-clip] { clip-path: none; }
.sec-title .t-line { display: block; overflow: hidden; }
.sec-title .t-line-in { display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .head-nav { display: none; }
  .head-phone { display: none; }
  .nav-toggle { display: flex; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-media { position: relative; top: 0; order: -1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .head-actions .btn { display: none; }
  .brand-logo { height: 46px; }
  .site-head.is-solid .brand-logo { height: 40px; }
  .hero-inner { padding-top: 120px; }
  .hero-scroll { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media-frame { aspect-ratio: 4 / 3; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-panel { order: -1; max-width: 420px; }
  .rev-media { aspect-ratio: 4 / 4.2; }
  .quote-glyph { top: -60px; font-size: 7.5rem; }
  .reel-media { aspect-ratio: 4 / 3; }
  .reel.is-live .reel-track { height: calc(var(--n) * 64vh); }
  .reel-dots { right: .55rem; gap: .7rem; }
  .reel-dot { width: 7px; height: 7px; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .svc-row:hover { padding-left: 0; }
  .svc-arrow { display: none; }
  .svc-preview { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item, .work-item--wide, .work-item--tall { grid-column: auto; }
  .work-item--wide .work-img img { aspect-ratio: 3 / 2; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-light); }
  .course-grid { grid-template-columns: 1fr; }
  .quote-stage { min-height: 340px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-scroll-line::after { animation: none; }
}
