/* =========================================================
   RENE'S ACADEMY — stylesheet
   Design language: "marked homework" — a schoolbook world of
   ruled paper, red-pen ticks, and stamped grades. Warm ivory
   paper, deep navy ink, brick-red marking pen, mustard highlight.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --paper:      #F6F0DF;
  --paper-2:    #EEE4C8;
  --paper-line: #DCCFA6;
  --white:      #FFFDF7;
  --ink:        #163149;
  --ink-70:     #16314b b3;
  --brick:      #C1432B;
  --brick-dark: #9C3220;
  --gold:       #E2A836;
  --leaf:       #3D7A52;
  --sky:        #2C6E90;

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --head:    'Space Grotesk', sans-serif;
  --body:    'Source Serif 4', Georgia, serif;
  --mono:    'IBM Plex Mono', monospace;

  --max: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px -14px rgba(22,49,73,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

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

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

/* ---------- ruled-paper texture ---------- */
.ruled{
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 37px,
    var(--paper-line) 37px, var(--paper-line) 38px
  );
}
.ruled-white{
  background-color:var(--white);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 33px,
    #E7DFC7 33px, #E7DFC7 34px
  );
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--head); margin:0 0 .5em; font-weight:700; line-height:1.1; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
@media (max-width:720px){ section{ padding:56px 0; } }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brick);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  font-weight:600;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--brick);
  display:inline-block;
}

/* ---------- display headline ---------- */
.display{
  font-family:var(--display);
  text-transform:uppercase;
  line-height:.98;
  letter-spacing:-.01em;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--head);
  font-weight:700;
  font-size:15.5px;
  padding:15px 26px;
  border-radius:999px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--brick); color:var(--white); box-shadow:var(--shadow); }
.btn-primary:hover{ background:var(--brick-dark); }
.btn-ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--paper); }
.btn-light{ background:var(--paper); color:var(--ink); }
.btn-light:hover{ background:var(--white); }

/* ---------- nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,240,223,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--paper-line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.nav-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-brand img{ width:46px; height:46px; border-radius:50%; }
.nav-brand-text{ font-family:var(--display); font-size:18px; color:var(--ink); text-transform:uppercase; letter-spacing:-.01em; }
.nav-links{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; font-family:var(--head); font-weight:600; font-size:15px;
  color:var(--ink); position:relative; padding:4px 0;
}
.nav-links a.active{ color:var(--brick); }
.nav-links a:not(.btn)::after{
  content:""; position:absolute; left:0; right:100%; bottom:-3px; height:2px; background:var(--brick);
  transition:right .2s ease;
}
.nav-links a:not(.btn):hover::after{ right:0; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle svg{ width:26px; height:26px; }

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:70px 0 0 0; background:var(--paper);
    flex-direction:column; align-items:flex-start; padding:30px 24px;
    gap:22px; transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:block; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  padding:64px 0 40px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:38px; } }

.hero h1{ font-size:clamp(40px,6vw,68px); color:var(--ink); }
.hero h1 .mark{
  color:var(--brick);
  position:relative;
  white-space:nowrap;
}
.hero-sub{ font-size:19px; max-width:46ch; color:#2b465e; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin:30px 0 34px; }

.stamp-row{ display:flex; gap:14px; flex-wrap:wrap; }
.stamp{
  font-family:var(--mono);
  font-size:13px;
  font-weight:600;
  border:2px solid var(--ink);
  border-radius:999px;
  padding:8px 16px;
  display:flex; align-items:center; gap:8px;
  transform:rotate(-2deg);
  background:var(--white);
}
.stamp:nth-child(2n){ transform:rotate(1.5deg); }
.stamp .num{ color:var(--brick); font-size:15px; }

.hero-photo{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:6px solid var(--white);
  transform:rotate(1.2deg);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/5; }
.tick-badge{
  position:absolute; top:-18px; right:-18px;
  width:88px; height:88px;
  background:var(--brick);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transform:rotate(-8deg);
  box-shadow:var(--shadow);
  border:4px solid var(--paper);
}
.tick-badge svg{ width:44px; height:44px; }

/* ---------- trust strip ---------- */
.trust-strip{
  background:var(--ink);
  color:var(--paper);
  padding:22px 0;
}
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap:28px 46px; justify-content:space-between; align-items:center;
}
.trust-item{ display:flex; align-items:baseline; gap:10px; font-family:var(--head); }
.trust-item .n{ font-family:var(--display); font-size:26px; color:var(--gold); }
.trust-item .l{ font-size:13px; color:#CBD9E1; text-transform:uppercase; letter-spacing:.06em; }

/* ---------- section headings ---------- */
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(30px,4vw,44px); color:var(--ink); }
.section-head p{ font-size:17.5px; color:#3a5468; }

/* ---------- cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:980px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .card-grid{ grid-template-columns:1fr; } }

.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:30px 26px;
  border:1px solid var(--paper-line);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .icon{
  width:52px; height:52px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.card .icon svg{ width:26px; height:26px; }
.card h3{ font-size:20px; color:var(--ink); margin-bottom:8px; }
.card p{ font-size:15.5px; color:#455b6c; margin-bottom:0; }

.icon-brick{ background:#F5DCD3; color:var(--brick); }
.icon-gold{ background:#F8E6BE; color:#9C6E10; }
.icon-leaf{ background:#DCEBE0; color:var(--leaf); }
.icon-sky{ background:#DCEAF0; color:var(--sky); }

/* ---------- process ---------- */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; }
@media (max-width:900px){ .process{ grid-template-columns:1fr 1fr; row-gap:34px; } }
@media (max-width:560px){ .process{ grid-template-columns:1fr; } }
.step{ position:relative; padding:0 22px 0 0; }
.step:not(:last-child)::after{
  content:""; position:absolute; top:22px; right:0; width:100%; height:2px;
  background:repeating-linear-gradient(to right, var(--paper-line) 0 8px, transparent 8px 14px);
}
@media (max-width:900px){ .step:not(:last-child)::after{ display:none; } }
.step-num{
  font-family:var(--mono); font-weight:600; color:var(--brick);
  width:44px; height:44px; border:2px solid var(--brick); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:16px; margin-bottom:16px;
  background:var(--white);
}
.step h4{ font-size:17.5px; color:var(--ink); margin-bottom:6px; }
.step p{ font-size:14.5px; color:#4a6272; }

/* ---------- testimonials ---------- */
.quote-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .quote-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .quote-grid{ grid-template-columns:1fr; } }
.quote-card{
  background:var(--white);
  border:1px solid var(--paper-line);
  border-radius:var(--radius);
  padding:26px 24px;
  position:relative;
}
.quote-stars{ color:var(--gold); letter-spacing:2px; font-size:15px; margin-bottom:12px; }
.quote-card p{ font-size:15.5px; color:#33495a; margin-bottom:14px; }
.quote-name{ font-family:var(--head); font-weight:700; font-size:14.5px; color:var(--ink); }
.quote-meta{ font-family:var(--mono); font-size:12px; color:#7a8fa0; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--brick);
  color:var(--white);
  border-radius:24px;
  padding:56px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-band h2{ color:var(--white); font-size:clamp(28px,4vw,40px); margin-bottom:14px; }
.cta-band p{ color:#FBE1DA; font-size:17px; max-width:52ch; margin:0 auto 28px; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
@media (max-width:600px){ .cta-band{ padding:40px 24px; } }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:#CBD9E1; padding:64px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; row-gap:36px; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ width:44px; height:44px; border-radius:50%; }
.footer-brand-text{ font-family:var(--display); font-size:17px; color:var(--white); text-transform:uppercase; }
.site-footer h5{
  font-family:var(--mono); text-transform:uppercase; letter-spacing:.1em; font-size:12.5px;
  color:var(--gold); margin-bottom:16px; font-weight:600;
}
.site-footer p{ font-size:14.5px; color:#AFC2CE; }
.footer-links{ list-style:none; margin:0; padding:0; }
.footer-links li{ margin-bottom:10px; }
.footer-links a{ text-decoration:none; font-size:14.5px; color:#CBD9E1; }
.footer-links a:hover{ color:var(--gold); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13px; color:#8FA5B4; font-family:var(--mono);
}
.social-row{ display:flex; gap:12px; margin-top:16px; }
.social-row a{
  width:38px; height:38px; border:1px solid rgba(255,255,255,.25); border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-decoration:none;
}
.social-row a:hover{ background:var(--brick); border-color:var(--brick); }
.social-row svg{ width:17px; height:17px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ padding:56px 0 44px; }
.page-hero .eyebrow{ justify-content:flex-start; }
.page-hero h1{ font-size:clamp(34px,5vw,54px); color:var(--ink); max-width:16ch; }
.page-hero p{ font-size:18px; color:#3a5468; max-width:56ch; }
.breadcrumb{ font-family:var(--mono); font-size:12.5px; color:#7a8fa0; margin-bottom:18px; }
.breadcrumb a{ text-decoration:none; color:#7a8fa0; }
.breadcrumb a:hover{ color:var(--brick); }

/* ---------- pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:1fr 1.3fr; gap:26px; align-items:start; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-panel{
  background:var(--white); border:1px solid var(--paper-line); border-radius:var(--radius); padding:30px;
}
.price-panel h3{ font-size:20px; margin-bottom:4px; }
.price-panel .sub{ font-family:var(--mono); font-size:12.5px; color:var(--sky); text-transform:uppercase; letter-spacing:.06em; margin-bottom:22px; }
.price-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:16px 0; border-top:1px dashed var(--paper-line);
}
.price-row:first-of-type{ border-top:none; }
.price-row .label{ font-family:var(--head); font-weight:600; font-size:15.5px; color:var(--ink); }
.price-row .amount{ font-family:var(--display); font-size:22px; color:var(--brick); white-space:nowrap; }
.price-row .amount span{ font-family:var(--mono); font-size:11.5px; color:#7a8fa0; text-transform:uppercase; display:block; text-align:right; font-weight:600; }

.program-card{
  background:var(--white); border:1px solid var(--paper-line); border-radius:var(--radius);
  padding:26px; position:relative; margin-bottom:18px;
}
.program-card.popular{ border-color:var(--brick); box-shadow:var(--shadow); }
.popular-flag{
  position:absolute; top:-13px; left:26px; background:var(--gold); color:var(--ink);
  font-family:var(--mono); font-size:11.5px; font-weight:700; text-transform:uppercase;
  padding:5px 12px; border-radius:999px; letter-spacing:.05em;
}
.program-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:10px; }
.program-head h4{ font-size:18px; color:var(--ink); margin-bottom:4px; }
.program-head .desc{ font-size:14px; color:#5c7385; }
.program-price{ font-family:var(--display); font-size:26px; color:var(--brick); white-space:nowrap; text-align:right; }
.program-price span{ display:block; font-family:var(--mono); font-size:11px; color:#7a8fa0; font-weight:600; }

.perk-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
@media (max-width:700px){ .perk-strip{ grid-template-columns:1fr; } }
.perk{ display:flex; gap:14px; align-items:flex-start; }
.perk .icon{ flex-shrink:0; width:44px; height:44px; border-radius:10px; }
.perk h5{ font-family:var(--head); font-size:15.5px; margin-bottom:4px; color:var(--ink); }
.perk p{ font-size:14px; color:#5c7385; margin-bottom:0; }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:34px; } }
.photo-stack{ position:relative; }
.photo-stack img{ border-radius:18px; border:6px solid var(--white); box-shadow:var(--shadow); }
.photo-stack .p1{ width:78%; }
.photo-stack .p2{ width:56%; position:absolute; right:-6%; bottom:-10%; transform:rotate(4deg); }
@media (max-width:520px){ .photo-stack{ padding-bottom:60px; } }

.stat-block{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
@media (max-width:560px){ .stat-block{ grid-template-columns:1fr 1fr; } }
.stat{ background:var(--white); border:1px solid var(--paper-line); border-radius:12px; padding:18px; text-align:center; }
.stat .n{ font-family:var(--display); font-size:28px; color:var(--brick); }
.stat .l{ font-family:var(--mono); font-size:11px; text-transform:uppercase; color:#5c7385; letter-spacing:.04em; }

.value-list{ list-style:none; margin:26px 0; padding:0; display:grid; gap:14px; }
.value-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:#33495a; }
.value-list svg{ flex-shrink:0; width:20px; height:20px; color:var(--leaf); margin-top:2px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background:var(--white); border:1px solid var(--paper-line); border-radius:var(--radius); padding:14px;
  overflow:hidden;
}
.contact-list{ list-style:none; margin:0; padding:0; display:grid; gap:20px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list .ic{
  width:46px; height:46px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.contact-list h5{ font-family:var(--head); font-size:15.5px; margin-bottom:2px; color:var(--ink); }
.contact-list p, .contact-list a{ font-size:15px; color:#455b6c; text-decoration:none; }
.contact-list a:hover{ color:var(--brick); }
.hours-table{ width:100%; border-collapse:collapse; margin-top:8px; }
.hours-table td{ padding:8px 0; font-size:14.5px; border-top:1px dashed var(--paper-line); }
.hours-table td:first-child{ font-family:var(--head); font-weight:600; color:var(--ink); }
.hours-table td:last-child{ text-align:right; font-family:var(--mono); color:#455b6c; }

.form{ display:grid; gap:16px; }
.form label{ font-family:var(--head); font-weight:600; font-size:14px; color:var(--ink); display:block; margin-bottom:6px; }
.form input, .form select, .form textarea{
  width:100%; padding:13px 14px; border-radius:10px; border:1px solid var(--paper-line);
  font-family:var(--body); font-size:15px; background:var(--white); color:var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus{
  outline:2px solid var(--sky); outline-offset:1px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.form-note{ font-size:13px; color:#7a8fa0; }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- misc ---------- */
.badge-strip{ display:flex; flex-wrap:wrap; gap:12px; }
.pill{
  font-family:var(--mono); font-size:12.5px; font-weight:600; padding:7px 14px;
  border-radius:999px; background:var(--paper-2); color:var(--ink);
}
:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; }
