/* ==================================================================
   LINGUA AUSTRALIS: styles
   Brand colors and fonts live in the :root block right below.
   Change a color there and it updates everywhere on the site.
   ================================================================== */

:root {
  /* Brand palette */
  --burgundy: #7a1c2e;
  --green:    #95a800;
  --cream:    #f9f5ea;
  --gold:     #c38725;

  /* Supporting shades */
  --burgundy-dark: #5c1222;
  --ink:      #3d0f18;        /* body text on cream */
  --grid-line: #e9e2cd;       /* grid-paper lines */
  --sand:     #e6cf9f;        /* outline color from the map */

  /* Fonts */
  --font-cover:  "Saira", "Arial Black", sans-serif;          /* stand-in for Worker */
  --font-body:   "Playfair Display", Georgia, serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive; /* stand-in for Handsome */

  --radius: 6px;
  --container: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--burgundy);
  margin: 0 0 .6em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Shared text styles ---------- */
.cover-title {
  font-family: var(--font-cover);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .95;
}
.cover-title.small { font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.05; }

.script { font-family: var(--font-script); font-weight: 700; }
.eyebrow {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: .1em;
  line-height: 1.2;
}
.eyebrow.gold { color: var(--sand); }
.eyebrow.cream-text { color: var(--cream); }

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-intro { font-size: 1.12rem; }

/* Backgrounds */
.cream { background: var(--cream); }
.grid-paper {
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid-line) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-line) 2px, transparent 2px);
  background-size: 54px 54px;
}
.green { background: var(--green); color: var(--cream); }
.green h2, .green h3 { color: var(--cream); }
.burgundy { background: var(--burgundy); color: var(--cream); }
.burgundy h2, .burgundy h3, .burgundy h4, .burgundy h5 { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}
.btn-burgundy { background: var(--burgundy); color: var(--cream); }
.btn-burgundy:hover { background: var(--burgundy-dark); }
.btn-cream { background: var(--cream); color: var(--burgundy); }
.btn-cream:hover { background: #fff; }
.btn-gold { background: var(--gold); color: var(--cream); }
.btn-gold:hover { background: #a9711b; }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }
.btn-block { width: 100%; }

.link-arrow { color: var(--cream); font-weight: 700; text-decoration: none; }
.link-arrow span { display: inline-block; transition: transform .15s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(61, 15, 24, .08); border-color: var(--grid-line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-cover); font-weight: 800; text-transform: uppercase;
  color: var(--burgundy); font-size: 1.1rem; letter-spacing: .04em;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--burgundy); font-weight: 600; font-size: .98rem;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .btn { color: var(--cream); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--burgundy); margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--green);
  color: var(--cream);
  padding: 18px;
}
/* The wavy burgundy frame from the Instagram posts */
.wavy-frame {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
}
.wavy-frame::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 18 C8 18 10 4 18 4 C26 4 22 16 16 14 C10 12 18 2 30 4 C40 6 40 18 48 18' fill='none' stroke='%237a1c2e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --wave-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='48' viewBox='0 0 24 48'%3E%3Cpath d='M18 0 C18 8 4 10 4 18 C4 26 16 22 14 16 C12 10 2 18 4 30 C6 40 18 40 18 48' fill='none' stroke='%237a1c2e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background:
    var(--wave) top left / 48px 24px repeat-x,
    var(--wave) bottom left / 48px 24px repeat-x,
    var(--wave-v) top left / 24px 48px repeat-y,
    var(--wave-v) top right / 24px 48px repeat-y;
}
.wavy-frame::before { transform: none; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.hero-eyebrow { color: var(--cream); font-size: 1.6rem; margin-bottom: .2em; opacity: .95; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(3rem, 9vw, 6.2rem);
  margin-bottom: .25em;
  text-shadow: 3px 3px 0 var(--burgundy);
}
.hero-tagline {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.25; margin-bottom: .5em;
}
.hero-lede { font-size: 1.15rem; }
.hero-text p { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 380px); }
.hero-map { width: 100%; filter: drop-shadow(6px 8px 0 rgba(61, 15, 24, .25)); }
.hero-seal {
  position: absolute; width: 42%; right: -6%; bottom: 2%;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
  transform: rotate(-8deg);
}

/* ---------- Polaroids ---------- */
.polaroid {
  background: #fdfbf6;
  padding: 14px 14px 0;
  margin: 0;
  box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 14px 30px rgba(61, 15, 24, .14);
  border: 1px solid #e3dccb;
}
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid figcaption {
  text-align: center; color: var(--burgundy); font-size: 1.6rem; padding: 10px 6px 14px; line-height: 1.2;
}
.polaroid.small { padding: 10px 10px 0; }
.polaroid.small figcaption { font-size: 1.35rem; padding: 6px 4px 10px; }
.tilt-left { transform: rotate(-2.5deg); }
.tilt-right { transform: rotate(2.5deg); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-photo .polaroid img { aspect-ratio: 4 / 5; }
.about-photo .polaroid { max-width: 420px; margin-inline: auto; }
.stat {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 18px 22px;
  background: var(--burgundy); color: var(--cream); border-radius: var(--radius);
}
.stat-number { font-family: var(--font-cover); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--sand); }
.stat-label { font-size: 1rem; line-height: 1.5; }

.polaroid-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: clamp(56px, 8vw, 88px);
}

/* ---------- Ribbon / bow divider ---------- */
.ribbon-divider {
  position: absolute; left: 0; right: 0; top: 14px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26' viewBox='0 0 44 26'%3E%3Cpath d='M0 18 C10 18 14 6 20 8 C26 10 20 22 15 16 C10 10 22 2 28 8 C33 13 36 18 44 18' fill='none' stroke='%237a1c2e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 44px 26px repeat-x;
}
.ribbon-divider.light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26' viewBox='0 0 44 26'%3E%3Cpath d='M0 18 C10 18 14 6 20 8 C26 10 20 22 15 16 C10 10 22 2 28 8 C33 13 36 18 44 18' fill='none' stroke='%23f9f5ea' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Teachers ---------- */
.teachers { display: grid; gap: clamp(56px, 8vw, 96px); }
.teacher { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.teacher:nth-child(even) { grid-template-columns: 1fr 360px; }
.teacher:nth-child(even) .polaroid { order: 2; }
.teacher-flag { font-weight: 400; font-size: .8em; color: var(--gold); }
.teacher h3 { font-size: 2rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.why-ship { width: 100%; filter: drop-shadow(4px 6px 0 rgba(61, 15, 24, .2)); }
.why-lede { font-size: 1.3rem; line-height: 1.5; }
#why h2 { color: var(--cream); text-shadow: 2px 2px 0 var(--burgundy); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.step {
  background: var(--cream);
  border: 2px solid var(--burgundy);
  border-radius: var(--radius);
  padding: 44px 28px 28px;
  position: relative;
  box-shadow: 6px 6px 0 var(--green);
}
.step-num {
  position: absolute; top: -26px; left: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--burgundy); color: var(--cream);
  font-family: var(--font-cover); font-weight: 800; font-size: 1.6rem;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.35rem; }
.note { font-size: .95rem; font-style: italic; opacity: .85; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.chips li { font-size: .95rem; line-height: 1.5; padding-left: 14px; border-left: 3px solid var(--gold); }
.chips strong { display: block; color: var(--burgundy); }

/* Prices (hidden for now; uncomment in index.html to show) */
.price {
  font-family: var(--font-cover); font-weight: 800; font-size: 1.8rem; color: var(--gold); margin: .3em 0 .6em;
}
.price span { font-family: var(--font-body); font-weight: 400; font-size: 1rem; opacity: .85; }
.step .price { font-size: 1.3rem; color: var(--burgundy); }
.step .price strong { color: var(--gold); }

/* ---------- Programs ---------- */
.program {
  border-top: 1px solid rgba(249, 245, 234, .3);
  padding: 48px 0;
}
.program:first-of-type { border-top: 0; padding-top: 0; }
.program:last-of-type { padding-bottom: 0; }
.program > p, .program > ul, .program > a { max-width: 820px; }
.program-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 18px; }
.program-num { font-family: var(--font-cover); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--green); }
.program h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .15em; }
.program-tag { font-style: italic; color: var(--sand); margin: 0; font-size: 1.15rem; }
.program .btn { margin-top: 8px; }

.packages-title { font-size: 1.3rem; margin-top: 32px; }
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.package {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
}
.package h5 { color: var(--burgundy); font-size: 1.5rem; margin-bottom: .1em; }
.package-sub { font-family: var(--font-script); font-weight: 700; color: var(--gold); font-size: 1.4rem; margin-bottom: .6em; }
.package .btn { margin-top: auto; align-self: flex-start; }
.package.featured { box-shadow: 0 0 0 4px var(--gold); }
.badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--green); color: var(--cream);
  font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 999px;
}
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 14px; height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); /* little star, like the map */
}
.burgundy .checks li::before { background: var(--sand); }
.package .checks li::before { background: var(--gold); }
.checks.two-col { columns: 2; column-gap: 32px; }
.checks.two-col li { break-inside: avoid; }

.exam-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: none !important; }
.exam-list li {
  background: rgba(249, 245, 234, .08);
  border: 1px solid rgba(249, 245, 234, .25);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.exam-list strong { display: block; color: var(--sand); font-size: 1.15rem; margin-bottom: 4px; }
.exam-list span { font-size: .95rem; line-height: 1.55; }

/* ---------- Workshops (hidden for now) ---------- */
.workshops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.workshop {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: 6px 6px 0 var(--burgundy);
}
.workshop h3 { color: var(--burgundy); }
.workshop-meta { font-family: var(--font-script); font-weight: 700; color: var(--gold); font-size: 1.3rem; margin-bottom: .3em; }
.workshop .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials (hidden for now) ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial {
  margin: 0; background: #fdfbf6; padding: 30px 28px;
  border: 1px solid #e3dccb; border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(61, 15, 24, .1);
}
.testimonial blockquote { margin: 0 0 16px; font-style: italic; font-size: 1.1rem; }
.testimonial figcaption { font-size: .95rem; color: var(--burgundy); }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--grid-line);
  padding: 4px 0;
}
.faq details:first-child { border-top: 1px solid var(--grid-line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; color: var(--burgundy); font-size: 1.15rem;
  padding: 18px 44px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-cover); font-size: 1.6rem; color: var(--gold); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-right: 44px; }

/* ---------- CTA band: burgundy stripes + scalloped green card ---------- */
.cta-band {
  background: repeating-linear-gradient(90deg, var(--burgundy) 0 34px, var(--cream) 34px 172px);
  padding: clamp(56px, 8vw, 96px) 16px;
}
.scallop-card {
  --r: 20px;
  max-width: 760px; margin: 0 auto;
  background: var(--green); color: var(--cream);
  text-align: center;
  padding: calc(var(--r) * 3) clamp(28px, 6vw, 72px);
  /* scalloped edge */
  -webkit-mask:
    radial-gradient(var(--r), #000 calc(100% - 1px), #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round,
    linear-gradient(#000 0 0) 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
          mask:
    radial-gradient(var(--r), #000 calc(100% - 1px), #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round,
    linear-gradient(#000 0 0) 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
}
.scallop-card h2 { color: var(--cream); text-shadow: 2px 2px 0 var(--burgundy); }
.cta-seal { width: 150px; margin: 0 auto 16px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.cta-script { font-size: 1.9rem; color: var(--burgundy); margin: .2em 0 .8em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-links { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 600; word-break: break-word;
}
.contact-links a:hover { text-decoration: underline; }
.icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--burgundy); display: grid; place-items: center;
}
.icon svg { width: 20px; height: 20px; fill: var(--cream); }

.contact-form {
  background: #fdfbf6;
  border: 2px solid var(--burgundy);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 8px 8px 0 var(--green);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label, .field .label { font-weight: 700; font-size: .95rem; color: var(--burgundy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #d9cfb6; border-radius: var(--radius);
  padding: 11px 13px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195, 135, 37, .25);
}
.radio-row { display: flex; gap: 24px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; }
.radio input { accent-color: var(--burgundy); width: 18px; height: 18px; }
.child-fields {
  border: 1.5px dashed var(--gold); border-radius: var(--radius);
  padding: 16px 18px 0; margin: 0 0 18px;
}
.child-fields legend { font-family: var(--font-script); font-weight: 700; color: var(--gold); font-size: 1.35rem; padding: 0 6px; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.2em; }
.form-status.success { color: #4f5a00; }
.form-status.error { color: var(--burgundy); }
.form-privacy { font-size: .85rem; opacity: .7; margin: 6px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--burgundy); color: var(--cream);
  padding: 72px 0 36px; position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { height: 64px; width: auto; }
.footer-name { font-family: var(--font-cover); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; margin: 0; }
.footer-tag { color: var(--sand); font-size: 1.3rem; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.footer-links a { color: var(--cream); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--sand); }
.footer-copy { grid-column: 1 / -1; font-size: .88rem; opacity: .75; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid rgba(249, 245, 234, .2); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--cream); }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 980px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--burgundy);
    padding: 8px 16px 20px;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    box-shadow: 0 12px 24px rgba(61, 15, 24, .12);
  }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--grid-line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .nav-toggle { display: block; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .workshops, .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero-grid, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(70%, 300px); order: -1; }
  .hero-text { text-align: left; }
  .about-photo .polaroid { max-width: 340px; }
  .polaroid-row { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .teacher, .teacher:nth-child(even) { grid-template-columns: 1fr; }
  .teacher:nth-child(even) .polaroid { order: 0; }
  .teacher .polaroid { max-width: 340px; margin-inline: auto; }
  .why-ship { max-width: 220px; margin-inline: auto; }
  .packages, .exam-list { grid-template-columns: 1fr; }
  .checks.two-col { columns: 1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding: 10px; }
  .wavy-frame { padding: 56px 12px; }
  .brand-name { font-size: .95rem; }
  .field-row, .field-row.three { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .program-head { gap: 14px; }
  .program-num { font-size: 2.6rem; }
  .cta-band { background: repeating-linear-gradient(90deg, var(--burgundy) 0 22px, var(--cream) 22px 100px); }
  .scallop-card { --r: 14px; }
}

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