/* ==========================================================================
   Orchids The International School — Masjid Bunder
   Redesign tokens: yellow #FED500 · maroon #9A262F · red #C4202D
                     ink #231F20 · gold #CC902D  (+ white/cream neutrals)
   Signature idea: the page is treated like an official school record —
   a rubber-stamp seal motif marks the hero and each Mandatory Disclosure
   section, echoing the compliance/registrar nature of the content.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
  --yellow:#FED500;
  --maroon:#9A262F;
  --red:#C4202D;
  --ink:#231F20;
  --gold:#CC902D;
  --paper:#FFFDF8;
  --cream:#FBF6EC;
  --line: rgba(35,31,32,0.12);

  --display: "Inter", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "Inter", sans-serif;

  --max: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; color:var(--ink); }
p{ margin:0; }
ul{ margin:0; padding:0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:var(--paper);
  border-bottom:2px solid var(--ink);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px; gap:20px;
  position:relative;
}
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand img{ height:38px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:28px; }
.main-nav a{
  font-weight:700; font-size:14.5px; text-decoration:none; color:var(--ink);
  position:relative; padding-bottom:4px;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--red); transform:scaleX(0); transform-origin:left;
  transition:transform .2s ease;
}
.main-nav a:hover::after{ transform:scaleX(1); }
.nav-cta{
  background:var(--red); color:#fff !important; padding:10px 18px;
  border-radius:2px; font-weight:800 !important;
}
.nav-cta::after{ display:none; }

/* hamburger toggle — hidden on desktop */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:2px solid var(--ink);
  border-radius:2px; cursor:pointer; padding:0; flex-shrink:0;
}
.nav-toggle span{
  display:block; width:18px; height:2px; background:var(--ink); margin:0 auto;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{ background:var(--maroon); color:#fff; position:relative; overflow:hidden; border-bottom:2px solid rgba(0,0,0,.2); }
.hero .wrap{
  display:grid; grid-template-columns:1.05fr 1fr; gap:48px;
  align-items:center; padding-top:48px; padding-bottom:48px;
}
.hero-eyebrow{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--yellow); margin:0 0 18px;
  display:flex; align-items:center; gap:10px;
}
.hero-eyebrow::before{ content:""; width:26px; height:2px; background:var(--yellow); display:inline-block; }
.hero h1{
  font-size:clamp(2.1rem, 3.6vw, 3rem); font-weight:600; line-height:1.12;
  color:#fff; margin-bottom:20px;
}
.hero p.lede{
  font-size:1.1rem; color:#F5D0D2; max-width:46ch; margin-bottom:30px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-block; font-weight:800; font-size:14.5px; text-decoration:none;
  padding:13px 24px; border-radius:2px; border:2px solid transparent; cursor:pointer;
}
.btn-primary{ background:var(--yellow); color:var(--ink); }
.btn-primary:hover{ background:#e6c000; }
.btn-outline{ border-color:#fff; color:#fff; background:transparent; }
.btn-outline:hover{ background:#fff; color:var(--maroon); }

.hero-photo{ position:relative; }
.hero-photo .frame{
  border:4px solid var(--ink); box-shadow:0 16px 36px rgba(0,0,0,.18);
  width:100%; max-width:480px; margin-left:auto; overflow:hidden; position:relative;
  aspect-ratio:4/3;
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-photo figcaption{
  font-family:var(--mono); font-size:11.5px; color:#F5D0D2; margin-top:10px;
  text-align:right; max-width:480px; margin-left:auto;
}

/* stamp seal */
.seal{
  position:absolute; left:-18px; bottom:-18px; width:112px; height:112px;
  z-index:5; filter:drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
@media (max-width:900px){ .seal{ width:88px; height:88px; left:-10px; bottom:-10px; } }

/* ---------- section shell ---------- */
section{ padding:72px 0; }
.section-head{ margin-bottom:36px; max-width:62ch; }
.kicker{
  font-family:var(--mono); font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--maroon); display:block; margin-bottom:10px;
}
.section-head h2{ font-size:clamp(1.6rem,2.6vw,2.2rem); font-weight:600; }
.rule{ height:3px; width:64px; background:var(--gold); margin:16px 0 0; }

/* ---------- about + video ---------- */
.about{ background:var(--cream); }
.about .grid{
  display:grid; grid-template-columns:0.95fr 1.05fr; gap:52px; align-items:start;
}
.video-frame{
  border:3px solid var(--ink); background:#000; position:relative; padding:6px;
}
.video-frame .tag{
  position:absolute; top:-14px; left:18px; background:var(--yellow); color:var(--ink);
  font-family:var(--mono); font-size:11px; font-weight:700; letter-spacing:.08em;
  padding:5px 10px; text-transform:uppercase;
}
.video-frame iframe{ width:100%; aspect-ratio:16/9; height:auto; display:block; }

.about-copy h3{ font-size:1.6rem; font-weight:600; margin-bottom:6px; }
.about-copy .subhead{
  font-family:var(--mono); font-size:13px; color:var(--red); text-transform:uppercase;
  letter-spacing:.06em; margin-bottom:18px; display:block;
}
.about-copy p{ margin-bottom:14px; color:#403C3C; }
.about-copy details summary{
  cursor:pointer; color:var(--maroon); font-weight:700; font-size:14px;
  list-style:none; display:inline-flex; align-items:center; gap:6px; margin-top:4px;
}
.about-copy details summary::-webkit-details-marker{ display:none; }
.about-copy details summary::after{ content:"+"; font-size:18px; line-height:1; }
.about-copy details[open] summary::after{ content:"–"; }
.about-copy details p{ margin-top:14px; }

.pillars{ display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.pillars span{
  font-family:var(--mono); font-size:12px; font-weight:600; color:var(--ink);
  background:#fff; border:1.5px solid var(--ink); padding:6px 12px; border-radius:20px;
}

/* ---------- admission journey ---------- */
.journey .steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; margin-top:10px;
}
.journey .steps::before{
  content:""; position:absolute; top:34px; left:8%; right:8%; height:2px;
  background:repeating-linear-gradient(to right, var(--gold) 0 10px, transparent 10px 18px);
  z-index:0;
}
.step{ position:relative; z-index:1; padding:0 20px; text-align:left; }
.step-num{
  font-family:var(--display); font-size:2.1rem; font-weight:600; color:var(--maroon);
  background:var(--paper); display:inline-block; padding-right:14px;
}
.step h3{ font-size:1.15rem; font-weight:700; margin:14px 0 10px; }
.step p{ color:#4A4544; font-size:14.5px; margin-bottom:16px; }
.step a{
  font-weight:800; font-size:13.5px; text-decoration:none; color:var(--red);
  border-bottom:2px solid var(--red); padding-bottom:2px;
}
@media (max-width:820px){
  .journey .steps{ grid-template-columns:1fr; gap:34px; }
  .journey .steps::before{ display:none; }
}

/* ---------- fees (ledger) ---------- */
.fees{ background:var(--cream); color:var(--ink); }
.fees .section-head .kicker{ color:var(--maroon); }
.fees .section-head h2{ color:var(--ink); }
.fees .section-head p{ color:#403C3C; margin-top:10px; }
.ledger{
  background:var(--paper); color:var(--ink); border-radius:2px; overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}
.ledger table{ width:100%; border-collapse:collapse; }
.ledger thead th{
  background:var(--gold); color:var(--ink); font-family:var(--mono);
  text-transform:uppercase; font-size:12px; letter-spacing:.06em;
  padding:14px 20px; text-align:left;
}
.ledger thead th:nth-child(2),
.ledger thead th:last-child{ text-align:right; }
.ledger tbody td{
  padding:12px 20px; border-top:1px solid var(--line); font-size:14.5px;
}
.ledger tbody tr:nth-child(even){ background:#F5EFE2; }
.ledger tbody td:nth-child(2),
.ledger tbody td:last-child{
  text-align:right; font-family:var(--mono); font-weight:700; color:var(--maroon);
}
.ledger tbody tr.shift td:first-child::before{
  content:"2ND SHIFT · "; font-family:var(--mono); font-size:10.5px; color:var(--red);
}
.fee-notes{
  margin-top:22px; display:grid; gap:8px; color:#403C3C; font-size:13.5px;
}
.fee-notes li{ list-style:none; padding-left:18px; position:relative; }
.fee-notes li::before{ content:"—"; position:absolute; left:0; color:var(--maroon); }

/* ---------- mandatory disclosure ---------- */
.disclosure{ background:var(--paper); scroll-margin-top:88px; }
.disclosure .section-head{ max-width:none; }
.disclosure-sub{
  margin-top:44px; position:relative;
}
.disclosure-sub + .disclosure-sub{ margin-top:56px; }
.disc-head{
  display:flex; align-items:center; gap:14px; margin-bottom:16px;
}
.disc-letter{
  font-family:var(--display); font-size:1.9rem; font-weight:700; color:#fff;
  background:var(--maroon); width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.disc-head h3{ font-size:1.15rem; font-weight:700; text-transform:uppercase; letter-spacing:.02em; }

.disc-table{ width:100%; border-collapse:collapse; font-size:14px; }
.disc-table th{
  text-align:left; font-family:var(--mono); font-size:11.5px; text-transform:uppercase;
  letter-spacing:.06em; color:var(--maroon); border-bottom:2px solid var(--ink);
  padding:10px 14px;
}
.disc-table td{
  padding:11px 14px; border-bottom:1px solid var(--line); vertical-align:top;
}
.disc-table td:first-child{ font-family:var(--mono); color:var(--red); width:44px; }
.disc-table a{ color:var(--red); font-weight:700; text-decoration:underline; }
.disc-table tbody tr:hover{ background:var(--cream); }
.table-scroll{ overflow-x:auto; }

.stamp-badge{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--mono);
  font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--maroon);
  border:1.5px dashed var(--maroon); padding:5px 12px; border-radius:20px; margin-bottom:14px;
  transform:rotate(-1deg);
}

/* ---------- contact ---------- */
.contact{ background:var(--cream); }
.contact .grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:48px; align-items:stretch; }
.contact-card{
  background:var(--paper); border:2px solid var(--ink); padding:34px; display:flex;
  flex-direction:column; justify-content:space-between;
}
.contact-card h3{ font-size:1.05rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.contact-card address{ font-style:normal; color:#403C3C; margin-bottom:26px; line-height:1.7; }
.contact-phone{
  display:inline-block; font-family:var(--mono); font-weight:700; font-size:15px;
  color:var(--red); text-decoration:none; border-top:2px solid var(--line); padding-top:16px;
}
.map-frame{ border:2px solid var(--ink); overflow:hidden; min-height:320px; }
.map-frame iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }

@media (max-width:900px){
  .contact .grid{ grid-template-columns:1fr; }
}

/* ---------- footer ---------- */
.site-footer{ background:var(--paper); border-top:1px solid var(--line); padding:30px 0; }
.site-footer .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.site-footer img{ height:40px; width:auto; }
.site-footer small{ font-family:var(--mono); font-size:11.5px; color:#7A756F; }

/* ---------- responsive ---------- */
@media (max-width:960px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:32px; padding-bottom:36px; }
  .hero-photo .frame{ margin:0 auto; }
  .hero-photo figcaption{ text-align:center; margin:10px auto 0; }
  .about .grid{ grid-template-columns:1fr; }
}
@media (max-width:780px){
  .nav-toggle{ display:flex; }
  .main-nav{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:var(--paper); border-bottom:2px solid var(--ink);
    box-shadow:0 12px 24px rgba(0,0,0,.1);
    max-height:0; overflow:hidden; opacity:0;
    transition:max-height .25s ease, opacity .2s ease;
  }
  .main-nav.open{ max-height:420px; opacity:1; }
  .main-nav a{ padding:14px 28px; border-bottom:1px solid var(--line); }
  .main-nav a::after{ display:none; }
  .nav-cta{ margin:14px 28px; text-align:center; border-bottom:none !important; }
}
@media (max-width:640px){
  .wrap{ padding:0 18px; }
  section{ padding:52px 0; }
  .disc-table{ font-size:12.5px; }
}
