/* ==========================================================================
   SCHOOL OF STRUT — DESIGN SYSTEM
   Palette:  Ink #0A0A0A · Paper #FFFFFF · Warm Paper #FAF8F4
             Gold #C6A667 · Gold Deep #8B6F3F · Gold Pale #EFE6D2 · Line #E8E3D9
   Type:     Display — Fraunces (editorial serif, optical size + soft axis)
             Body    — Inter
             Mono    — IBM Plex Mono (eyebrows, data, labels)
   Signature: THE STRIDE RULE — an asymmetric short–long–short gold divider
              that stands in for the standard hairline, plus a chevron
              "strut mark" (⟩) used wherever a bullet or arrow would go —
              both echo the rhythm of a confident, deliberate walk.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink: #0A0A0A;
  --ink-soft: #232220;
  --paper: #FFFFFF;
  --paper-warm: #FAF8F4;
  --paper-deep: #F3EFE7;
  --gold: #C6A667;
  --gold-deep: #8B6F3F;
  --gold-pale: #EFE6D2;
  --line: #E8E3D9;
  --gray: #6B6660;
  --gray-light: #948E85;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  --container: 1220px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.68,0,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Type scale ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 22px; height: 1px;
  background: var(--gold-deep);
  display:inline-block;
}

h1{ font-size: clamp(40px, 6vw, 78px); line-height: 1.03; }
h2{ font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
h3{ font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
h4{ font-size: 19px; line-height: 1.3; }

.lede{
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--gray);
  font-weight: 400;
  max-width: 46em;
}

.serif-italic{ font-style: italic; font-weight: 400; color: var(--gold-deep); }

/* ---------- Signature: Stride Rule ---------- */
.stride-rule{
  width: 100%;
  height: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.stride-rule span{ display:block; height: 1px; background: var(--line); }
.stride-rule span:nth-child(1){ flex: 0 0 14px; background: var(--gold); height: 2px; }
.stride-rule span:nth-child(2){ flex: 0 0 46px; background: var(--gold-deep); height: 2px; }
.stride-rule span:nth-child(3){ flex: 0 0 22px; background: var(--gold); height: 2px; }
.stride-rule span:nth-child(4){ flex: 1 1 auto; background: var(--line); }

.stride-rule.center{ justify-content: center; }
.stride-rule.center span:nth-child(4){ flex: 0 0 22px; }

/* strut mark — chevron used as bullet / link arrow, echoes forward stride */
.strut-mark{
  display:inline-block;
  transform: translateY(-1px);
  color: var(--gold-deep);
  font-family: var(--font-body);
}
li.strut-item{
  display:flex; gap: 14px; align-items:flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
li.strut-item:last-child{ border-bottom:none; }
li.strut-item .strut-mark{ margin-top: 3px; flex: none; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--gold-deep); transform: translateY(-2px); }
.btn-gold{
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover{ background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.btn-outline.on-dark{ color: var(--paper); border-color: rgba(255,255,255,.4); }
.btn-outline.on-dark:hover{ border-color: var(--gold); color: var(--gold); }
.btn-ghost{
  background:none; color: var(--ink); padding: 8px 0; border-radius:0;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost:hover{ color: var(--gold-deep); border-color: var(--gold-deep); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 11px 20px; font-size: 13px; }

/* ---------- Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand{
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .01em;
  display:flex; align-items:center; gap:10px;
}
.brand .mark{
  width:9px; height:9px; background: var(--gold); border-radius: 50%;
  transform: translateY(-1px);
}
.nav-links{
  display:flex; align-items:center; gap: 34px;
  font-size: 14.5px; font-weight: 500;
}
.nav-links a{
  position: relative; padding: 4px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background: var(--gold-deep); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--gold-deep); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none; background:none; border:none; flex-direction:column; gap:5px; padding:6px;
}
.nav-toggle span{ width:22px; height:1.5px; background:var(--ink); display:block; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: #EDEAE3;
  padding: 84px 0 0;
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h5{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight:500;
}
.footer-grid ul li{ margin-bottom: 12px; }
.footer-grid ul li a{ color: #C9C5BC; font-size: 14.5px; transition: color .25s ease; }
.footer-grid ul li a:hover{ color: var(--gold); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 28px 0 40px; font-size: 13px; color: #9C978E; flex-wrap:wrap; gap:12px;
}
.footer-brand{ font-family: var(--font-display); font-size: 24px; color:var(--paper); margin-bottom:16px; }
.footer-desc{ color:#B4AFA5; font-size:14.5px; max-width:32ch; line-height:1.7; }
.social-row{ display:flex; gap:16px; margin-top:22px; }
.social-row a{
  width:36px; height:36px; border:1px solid rgba(255,255,255,.2); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:13px; color:#D8D4CB;
  transition: all .25s ease;
}
.social-row a:hover{ border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
section{ padding: 110px 0; }
.section-warm{ background: var(--paper-warm); }
.section-ink{ background: var(--ink); color: var(--paper); }
.section-ink .lede{ color: #B9B4A9; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  margin-bottom: 56px;
}
.section-head .side{ text-align:right; }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; }
.tag{
  font-family: var(--font-mono); font-size:11.5px; letter-spacing:.06em;
  padding: 7px 13px; border:1px solid var(--line); border-radius: 30px; color: var(--gray);
}

/* ---------- Cards ---------- */
.card{
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,10,10,.18); border-color: var(--gold-pale); }

.course-card{ display:flex; flex-direction:column; }
.course-card .thumb{
  height: 220px; background: var(--paper-deep); position:relative; overflow:hidden;
}
.course-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.course-card .thumb .level{
  position:absolute; top:16px; left:16px; background: var(--paper); font-family: var(--font-mono);
  font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; padding:6px 11px; color: var(--gold-deep);
}
.course-card .body{ padding: 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.course-card .meta{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:11.5px; color:var(--gray-light); letter-spacing:.03em; }
.course-card h4{ font-size:19px; }
.course-card p{ color: var(--gray); font-size:14.5px; line-height:1.6; }
.course-card .foot{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; padding-top:14px; border-top:1px solid var(--line); }
.price{ font-family: var(--font-display); font-size:18px; color:var(--ink); }
.price .was{ text-decoration:line-through; color:var(--gray-light); font-size:14px; margin-right:8px; font-family:var(--font-body); }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

/* ---------- Stats ---------- */
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat{ padding: 40px 30px; border-right:1px solid var(--line); }
.stat:last-child{ border-right:none; }
.stat .num{ font-family:var(--font-display); font-size:44px; color:var(--gold-deep); }
.stat .lbl{ font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; color:var(--gray); text-transform:uppercase; margin-top:6px; }

/* ---------- Testimonials ---------- */
.testi-card{
  padding: 40px 36px; border:1px solid var(--line); background:var(--paper); display:flex; flex-direction:column; gap:22px; height:100%;
}
.testi-card .quote{ font-family:var(--font-display); font-size:19px; line-height:1.55; font-style:italic; }
.testi-card .who{ display:flex; align-items:center; gap:14px; }
.testi-card .who img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.testi-card .who .name{ font-weight:600; font-size:14.5px; }
.testi-card .who .role{ font-size:13px; color:var(--gray); }
.stars{ color:var(--gold); letter-spacing:2px; font-size:14px; }

/* ---------- Instructor ---------- */
.instructor-card{ text-align:left; }
.instructor-card .photo{ aspect-ratio: 4/5; background:var(--paper-deep); overflow:hidden; margin-bottom:20px; }
.instructor-card .photo img{ width:100%; height:100%; object-fit:cover; filter: grayscale(15%); transition: filter .4s ease, transform .5s ease; }
.instructor-card:hover .photo img{ filter:grayscale(0%); transform:scale(1.03); }
.instructor-card h4{ margin-bottom:4px; }
.instructor-card .role{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:12px; display:block; }
.instructor-card p{ color:var(--gray); font-size:14px; line-height:1.6; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding: 26px 0; background:none; border:none; text-align:left;
  font-family:var(--font-display); font-size:19px; color:var(--ink);
}
.faq-q .plus{ font-family:var(--font-mono); color:var(--gold-deep); font-size:20px; transition: transform .3s var(--ease); flex:none; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a-in{ padding: 0 0 26px; color:var(--gray); font-size:15px; line-height:1.7; max-width: 62ch; }

/* ---------- Forms ---------- */
.field{ margin-bottom: 20px; }
.field label{ display:block; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray); margin-bottom:9px; }
.field input, .field textarea, .field select{
  width:100%; padding: 15px 16px; border:1px solid var(--line); background:var(--paper);
  font-family: var(--font-body); font-size:15px; color:var(--ink); border-radius: var(--radius);
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--gold-deep); outline:none; }
.field textarea{ resize:vertical; min-height:130px; }
.checkrow{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--gray); }

.newsletter-box{
  background: var(--ink); color:var(--paper); padding: 64px; display:flex; justify-content:space-between; align-items:center; gap:40px;
}
.newsletter-box form{ display:flex; gap:0; min-width:380px; }
.newsletter-box input{
  flex:1; padding:16px 18px; border:1px solid rgba(255,255,255,.25); background:transparent; color:var(--paper); font-family:var(--font-body); font-size:14.5px;
}
.newsletter-box input::placeholder{ color:#9C978E; }
.newsletter-box button{ padding:16px 26px; background:var(--gold); border:1px solid var(--gold); color:var(--ink); font-weight:600; font-size:14px; }
.newsletter-box button:hover{ background:transparent; color:var(--gold); }

/* ---------- Hero ---------- */
.hero{ padding: 78px 0 100px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:60px; align-items:center; }
.hero-visual{ position:relative; aspect-ratio: 4/5; background:var(--paper-deep); }
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-visual .ring-label{
  position:absolute; bottom:22px; left:22px; background:var(--paper); padding:14px 18px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; display:flex; gap:10px; align-items:center;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
}
.hero-visual .ring-label .dot{ width:7px; height:7px; border-radius:50%; background: var(--gold); }
.hero-cta-row{ display:flex; gap:16px; align-items:center; margin-top:38px; flex-wrap:wrap; }
.hero-trust{ display:flex; align-items:center; gap:14px; margin-top:34px; font-size:13.5px; color:var(--gray); }
.hero-trust .avatars{ display:flex; }
.hero-trust .avatars img{ width:32px; height:32px; border-radius:50%; border:2px solid var(--paper); object-fit:cover; margin-left:-10px; }
.hero-trust .avatars img:first-child{ margin-left:0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding: 64px 0 70px; border-bottom:1px solid var(--line); }
.breadcrumb{ font-family: var(--font-mono); font-size:12px; color:var(--gray-light); letter-spacing:.04em; margin-bottom: 20px; }
.breadcrumb a:hover{ color: var(--gold-deep); }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0 !important; }
.center{ text-align:center; }
.flex{ display:flex; }
.flex-between{ display:flex; justify-content:space-between; align-items:center; }
.flex-wrap{ flex-wrap:wrap; }
.gap-10{ gap:10px; } .gap-16{ gap:16px; } .gap-20{ gap:20px; } .gap-30{ gap:30px; }
.mono-label{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray-light); }
.divider{ height:1px; background:var(--line); border:none; margin: 60px 0; }
.pill{ display:inline-block; padding:6px 14px; border-radius:30px; background:var(--gold-pale); color:var(--gold-deep); font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; }
.badge-new{ background:var(--ink); color:var(--paper); }

/* ---------- Progress / dashboard ---------- */
.progress-track{ height:6px; background:var(--line); border-radius:10px; overflow:hidden; }
.progress-fill{ height:100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius:10px; }

.dash-shell{ display:grid; grid-template-columns: 260px 1fr; min-height: 70vh; }
.dash-side{ border-right:1px solid var(--line); padding: 40px 26px; }
.dash-side .user{ display:flex; gap:12px; align-items:center; margin-bottom:34px; }
.dash-side .user img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.dash-side .user .name{ font-weight:600; font-size:14.5px; }
.dash-side .user .plan{ font-size:12px; color:var(--gold-deep); font-family:var(--font-mono); }
.dash-nav a{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:4px; font-size:14.5px; color:var(--gray); margin-bottom:4px; }
.dash-nav a:hover{ background:var(--paper-warm); color:var(--ink); }
.dash-nav a.active{ background:var(--ink); color:var(--paper); }
.dash-main{ padding: 48px 44px; }

.table-clean{ width:100%; border-collapse:collapse; }
.table-clean th{ text-align:left; font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray-light); padding:12px 14px; border-bottom:1px solid var(--line); }
.table-clean td{ padding:16px 14px; border-bottom:1px solid var(--line); font-size:14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
  .hero-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .dash-shell{ grid-template-columns:1fr; }
  .dash-side{ border-right:none; border-bottom:1px solid var(--line); }
  .stat-row{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2){ border-right:none; }
}
@media (max-width: 760px){
  section{ padding:70px 0; }
  .nav-links, .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:16px; }
  .section-head .side{ text-align:left; }
  .newsletter-box{ flex-direction:column; align-items:flex-start; padding:40px 28px; }
  .newsletter-box form{ min-width:100%; flex-direction:column; gap:12px; }
  .stat-row{ grid-template-columns:1fr; }
  .stat{ border-right:none !important; border-bottom:1px solid var(--line); }
  .container{ padding:0 20px; }
  .nav{ padding:18px 20px; }
}

/* Mobile nav drawer */
.mobile-drawer{
  position:fixed; inset:0; background:var(--paper); z-index:200; padding: 26px 24px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  display:flex; flex-direction:column;
}
.mobile-drawer.open{ transform: translateX(0); }
.mobile-drawer .top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:40px; }
.mobile-drawer a{ font-family:var(--font-display); font-size:26px; padding:14px 0; border-bottom:1px solid var(--line); }
.mobile-drawer .close{ background:none;border:none;font-size:26px; }
