/* =====================================================================
   Abjad Education — site.css
   Aesthetic: editorial, geometric, confident. Cream paper + navy ink +
   coral hit. Display type with weight. Sharp blocks of colour from the
   logo (coral / teal / yellow / purple / green) used as section anchors.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* paper + ink */
  --cream:       #F5ECD7;
  --cream-deep:  #EFE3C5;
  --ink:         #0E1A3C;   /* navy from logo */
  --ink-soft:    #1F2A52;
  --ink-mute:    #5A6485;
  --paper-line:  #DCCFAE;

  /* logo palette */
  --coral:   #E8624A;
  --teal:    #2EB3B0;
  --yellow:  #F2C53A;
  --purple:  #6A3E9E;
  --green:   #6FB845;

  --radius-sm: 4px;
  --radius:    10px;

  --container: 1240px;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: multiply;
}
section,
footer.site {
  position: relative;
  z-index: 1;
}
section > .wrap,
footer.site > .wrap {
  position: relative;
  z-index: 3;
}

/* ---------- container ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- typography ---------- */
.kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
}
.kicker.ink { color: var(--ink); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display .accent { color: var(--coral); font-style: italic; }
.display .small { font-size: 0.6em; display: block; font-weight: 700; letter-spacing: -0.01em; }

h2.display { font-size: clamp(38px, 5.4vw, 68px); }
h3.display { font-size: clamp(26px, 3vw, 38px); }

p.lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 56ch;
}

p { color: var(--ink-soft); }

.eyebrow-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
}
.eyebrow-line::before {
  content: ""; width: 28px; height: 2px; background: var(--coral);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 236, 215, 0.9);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  border-bottom: 1px solid var(--paper-line);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(245, 236, 215, 0.66);
  border-bottom-color: rgba(220, 207, 174, 0.55);
  box-shadow: 0 12px 30px rgba(14, 26, 60, 0.06);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 128px;
  padding: 0;
  transition: min-height .28s ease;
}
.site-header.is-scrolled .bar {
  min-height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: 0.01em; font-size: 20px; color: var(--ink);
  line-height: 1;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.site-header .brand img {
  width: 190px;
  height: 94px;
  object-fit: cover;
  object-position: 50% 50%;
  transition: width .28s ease, height .28s ease;
}
.site-header.is-scrolled .brand img {
  width: 126px;
  height: 62px;
}
.brand small {
  display: block; font-family: var(--font-sans); font-weight: 600;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 2px;
}

nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a {
  font-size: 14px; font-weight: 600;
  color: var(--ink); position: relative;
  padding: 6px 0;
  transition: color .15s ease, padding .28s ease;
}
nav.primary .btn {
  flex: 0 0 auto;
  min-width: max-content;
  padding-left: 22px;
  padding-right: 22px;
  transition: transform .15s ease, background .15s ease, min-height .28s ease, padding .28s ease;
}
.site-header.is-scrolled nav.primary .btn {
  min-height: 42px;
  padding-top: 12px;
  padding-bottom: 12px;
}
nav.primary a.active { color: var(--coral); }
nav.primary a:hover { color: var(--coral); }
nav.primary a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--coral); transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
nav.primary a:hover::after, nav.primary a.active::after { transform: scaleX(1); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.nav-social { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 14px 22px; border-radius: 999px;
  min-height: 48px;
  white-space: nowrap;
  font-weight: 700; font-size: 14px; line-height: 1.1; letter-spacing: 0.01em;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--coral); transform: translateY(-1px); }
.btn.coral { background: var(--coral); color: #fff; }
.btn.coral:hover { background: var(--ink); }
.btn .arrow { font-size: 18px; line-height: 1; }

.menu-btn { display: none; }

/* ---------- interaction helpers ---------- */
.js-enhanced .btn,
.js-enhanced .chip,
.js-enhanced .subj-card,
.js-enhanced .values-grid .item,
.js-enhanced .step,
.js-enhanced .stat,
.js-enhanced .notice {
  will-change: transform;
}
.js-enhanced .subj-card::after {
  display: none;
}
.js-enhanced .subj-card > :not(.subject-art) {
  position: relative;
  z-index: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero .grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: center;
  min-height: 640px;
}
.hero .grid::before {
  content: "";
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 50%;
  width: 100vw;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg,
      rgba(245, 236, 215, 0.98) 0%,
      rgba(245, 236, 215, 0.94) 28%,
      rgba(245, 236, 215, 0.54) 52%,
      rgba(245, 236, 215, 0.18) 78%,
      rgba(245, 236, 215, 0.02) 100%),
    radial-gradient(circle at 24% 46%, rgba(245, 236, 215, 0.92), rgba(245, 236, 215, 0.34) 34%, transparent 58%);
}
.hero .grid > div:first-child {
  position: relative;
  z-index: 4;
}
.hero .meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.hero .meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.hero .lede { margin-top: 28px; }
.hero .subjects { margin-top: 36px; }
.hero .subjects .lbl {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--ink); margin-bottom: 14px;
}
.hero .subjects .lbl::before { content: ""; width: 24px; height: 1px; background: var(--ink); }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero .chip {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: #fff;
}
.hero .chip.c1 { background: var(--coral); }
.hero .chip.c2 { background: var(--teal); }
.hero .chip.c3 { background: var(--green); }
.hero .chip.c4 { background: var(--purple); }

/* full-bleed hero shape field */
.shape-stage {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 50%;
  width: 100vw;
  height: auto;
  aspect-ratio: auto;
  max-width: none;
  margin: 0;
  justify-self: auto;
  isolation: isolate;
  overflow: hidden;
  perspective: 1050px;
  transform-style: preserve-3d;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: auto;
}
.hero-orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.94;
  mix-blend-mode: normal;
  cursor: grab;
  touch-action: none;
}
.hero-orbit-canvas.is-dragging {
  cursor: grabbing;
}
.shape {
  position: absolute;
  border: 2px solid var(--ink);
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: visible;
  cursor: grab;
  pointer-events: auto;
  filter: drop-shadow(0 18px 22px rgba(14, 26, 60, 0.1));
  transition: filter .25s ease, opacity .25s ease;
  touch-action: none;
}
.shape::after {
  content: "";
  position: absolute;
  inset: 10%;
  background: rgba(255,255,255,0.13);
  clip-path: inherit;
  transform: translateZ(20px);
  pointer-events: none;
}
.shape.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 26px 34px rgba(14, 26, 60, 0.18));
  z-index: 20;
}
.shape.pentagon {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  border: none;
}
.shape.triangle { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); border: none; }
.s1 { width: 42%; height: 42%; top: 2%; right: 2%;  background: var(--coral);  transform: rotate(-8deg); z-index: 3;}
.s2 { width: 32%; height: 32%; top: 30%; left: -8%; background: var(--teal);  transform: rotate(14deg); z-index: 2;}
.s3 { width: 28%; height: 28%; bottom: -2%; left: 24%; background: var(--yellow); transform: rotate(-20deg); z-index: 4;}
.s4 { width: 19%; height: 19%; top: 12%; left: 34%; background: var(--purple); z-index: 1;}
.s5 { width: 23%; height: 23%; bottom: 18%; right: -6%; background: var(--green); transform: rotate(28deg); z-index: 2;}
.hero .shape-stage .shape { display: none; }

/* ---------- promise band (dark) ---------- */
.band.dark {
  background: var(--ink); color: var(--cream);
  position: relative; overflow: hidden;
  padding: 100px 0;
}
.band.dark .kicker { color: var(--yellow); }
.band.dark .display { color: #fff; }
.band.dark .display .accent { color: var(--green); font-style: italic; }
.band.dark p.lede { color: rgba(245, 236, 215, 0.85); }

.band.dark .corner {
  position: absolute; pointer-events: none;
}
.band.dark .corner.tl { top: -40px; right: -40px; width: 220px; height: 220px;
  background: var(--coral); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  transform: rotate(18deg); }
.band.dark .corner.bl { bottom: -50px; left: -50px; width: 180px; height: 180px;
  background: var(--green); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); transform: rotate(-12deg); }

.pillars {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(245, 236, 215, 0.2);
}
.pillars .pillar {
  padding: 28px 24px 0 0;
  border-right: 1px solid rgba(245, 236, 215, 0.2);
}
.pillars .pillar:last-child { border-right: none; padding-right: 0; }
.pillars .pillar h4 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: #fff;
}
.pillars .pillar p { color: rgba(245,236,215, 0.75); font-size: 14px; margin: 0; }

/* ---------- section base ---------- */
section.block { padding: 100px 0; }
section.block.tight { padding: 60px 0; }

.section-head {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: end; margin-bottom: 56px;
}
.section-head .meta .kicker { display: block; margin-bottom: 18px; }
.section-head p.lede { margin: 0; }

/* ---------- subjects 2x2 ---------- */
.subjects-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.subj-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  color: #fff;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.subj-card.coral  { background: var(--coral); }
.subj-card.teal   { background: var(--teal); }
.subj-card.purple { background: var(--purple); }
.subj-card.green  { background: var(--green); }
.subj-card .lbl {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 700; opacity: 0.85;
}
.subj-card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 4.1vw, 56px); line-height: 1; margin: 14px 0 0;
  overflow-wrap: anywhere;
}
.subj-card p { color: rgba(255,255,255,0.92); font-size: 14px; margin: 18px 0 0; max-width: 28ch; }

.subject-art {
  position: absolute;
  top: 12%;
  right: -2%;
  width: 52%;
  max-width: 290px;
  min-width: 180px;
  height: 78%;
  color: rgba(255,255,255,0.48);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: 50% 50%;
  transition: opacity .35s ease;
  will-change: transform;
}
.subj-card:hover .subject-art { opacity: 0.66; }
.subject-art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
  animation: subject-art-drift 5.4s ease-in-out infinite alternate;
  will-change: transform;
}
.subject-art--history svg,
.subject-art--geography svg { animation-name: subject-art-drift-alt; }
.subject-art--arabic svg { animation-duration: 6.2s; }
.subject-art__text {
  fill: currentColor;
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0.78;
}
.subject-art__text--arabic {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 148px;
  font-weight: 700;
  opacity: 0.58;
}
.subject-art__stroke,
.subject-art__thin,
.subject-art__arch {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.subject-art__stroke { stroke-width: 8; opacity: 0.56; }
.subject-art__thin { stroke-width: 4; opacity: 0.42; }
.subject-art__arch { stroke-width: 5; opacity: 0.5; }
.subject-art__fill {
  fill: currentColor;
  opacity: 0.34;
}
.subject-art__dot {
  fill: currentColor;
  opacity: 0.46;
}

@keyframes subject-art-drift {
  from { transform: translate3d(-6px, 4px, 0) rotate(-1.5deg) scale(0.99); }
  to { transform: translate3d(8px, -6px, 0) rotate(2deg) scale(1.025); }
}

@keyframes subject-art-drift-alt {
  from { transform: translate3d(7px, -4px, 0) rotate(1.5deg) scale(1.01); }
  to { transform: translate3d(-7px, 6px, 0) rotate(-2deg) scale(1.035); }
}

/* ---------- big number block ---------- */
.number-block {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
.giant-num {
  font-family: var(--font-display); font-weight: 900;
  color: var(--coral);
  font-size: clamp(180px, 22vw, 320px);
  line-height: 0.85; letter-spacing: -0.04em;
}
.giant-num + .label {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-top: 8px;
}
.bullet-list { list-style: none; padding: 0; margin: 24px 0 0; }
.bullet-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--paper-line);
  font-weight: 600; color: var(--ink);
}
.bullet-list li::before {
  content: ""; width: 10px; height: 10px; background: var(--coral);
  margin-top: 8px; transform: rotate(45deg); flex: none;
}

/* ---------- values grid ---------- */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 2px solid var(--ink);
}
.values-grid .item {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--paper-line);
}
.values-grid .item:last-child { border-right: none; padding-right: 0; }
.values-grid .num {
  font-family: var(--font-display); font-weight: 900; color: var(--coral);
  font-size: 22px; margin-bottom: 14px;
}
.values-grid h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  margin: 0 0 10px; color: var(--ink);
}
.values-grid p { font-size: 14px; margin: 0; color: var(--ink-soft); }

/* ---------- how online works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.step {
  background: var(--cream-deep);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
}
.step .n {
  display: inline-block; background: var(--coral); color: #fff;
  font-weight: 800; font-size: 12px; padding: 4px 8px;
  border-radius: 4px; letter-spacing: 0.08em; margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; }
.step p  { margin: 0; font-size: 14px; }

.stat-row { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 28px; border-radius: var(--radius);
  background: var(--coral); color: #fff;
}
.stat .v { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; }
.stat .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.stat.green { background: var(--green); }
.stat.teal  { background: var(--teal); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--coral); color: #fff;
  padding: 60px 0;
  position: relative; overflow: hidden;
}
.cta-strip .inner {
  display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center;
}
.cta-strip h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 4vw, 48px); margin: 0; line-height: 1; color: #fff;
}
.cta-strip p { color: rgba(255,255,255,0.92); margin: 12px 0 0; }
.cta-strip .btn { background: var(--ink); color: var(--cream); }
.cta-strip .btn:hover { background: #fff; color: var(--ink); }

/* ---------- inline contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 620px;
}
.contact-form > div:not(.row),
.contact-form .row > div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.contact-form label {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 15px;
  padding: 14px 16px; border: 1.5px solid var(--paper-line);
  background: #fffaf0; color: var(--ink); border-radius: var(--radius-sm);
  outline: none; transition: border-color .15s ease;
  min-height: 50px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--coral); }
.contact-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button[type="submit"] { justify-self: start; margin-top: 6px; }

.contact-meta { padding-top: 8px; }
.contact-meta .item { padding: 18px 0; border-top: 1px solid var(--paper-line); }
.contact-meta .item:last-child { border-bottom: 1px solid var(--paper-line); }
.contact-meta .item .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); }
.contact-meta .item .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-top: 4px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink); color: var(--cream);
  padding: 64px 0 32px;
}
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
footer.site .brand img {
  width: 180px;
  height: auto;
  max-width: min(220px, 100%);
  filter: brightness(0) invert(1);
}
footer.site .brand { color: #fff; }
footer.site .brand small { color: rgba(245,236,215,0.6); }
footer.site h5 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--yellow); margin: 8px 0 14px;
}
footer.site a { display: block; padding: 4px 0; color: rgba(245,236,215,0.85); font-size: 14px; }
footer.site a:hover { color: var(--coral); }
footer.site p { color: rgba(245,236,215,0.7); font-size: 14px; }
footer.site .social-link {
  color: rgba(245,236,215,0.86);
  margin-top: 12px;
}
footer.site .bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(245,236,215,0.15);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(245,236,215,0.55);
}

/* ---------- generic blocks for inner pages ---------- */
.inner-hero {
  padding: 80px 0 40px;
  background: var(--cream);
}
.inner-hero p.lede { margin-top: 28px; }

.story-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 60px;
  margin-top: 24px;
}
.story-list .item h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  margin: 0 0 12px; color: var(--ink); display: flex; align-items: center; gap: 12px;
}
.story-list .item h3::before {
  content: ""; width: 28px; height: 3px; background: var(--coral);
}

.notice {
  background: var(--ink); color: var(--cream);
  padding: 36px 36px;
  border-radius: var(--radius);
  display: flex; gap: 28px; align-items: center;
}
.notice .badge {
  background: var(--yellow); color: var(--ink); font-weight: 800;
  padding: 8px 12px; font-size: 12px; letter-spacing: 0.15em;
  border-radius: 4px; flex: none;
}
.notice p { color: rgba(245,236,215,0.9); margin: 0; }

.flag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--cream-deep);
  border: 1px solid var(--paper-line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.flag .swatch { width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }

.success {
  margin: 24px 0; padding: 18px 22px;
  background: #E7F5E2; border: 1.5px solid var(--green);
  border-radius: var(--radius); color: var(--ink); font-weight: 600;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .grid {
    grid-template-columns: 1fr;
    min-height: 760px;
    align-items: start;
  }
  .hero .grid::before {
    top: -10%;
    bottom: -10%;
    background:
      linear-gradient(180deg,
        rgba(245, 236, 215, 1) 0%,
        rgba(245, 236, 215, 0.99) 45%,
        rgba(245, 236, 215, 0.58) 66%,
        rgba(245, 236, 215, 0.16) 100%);
  }
  .shape-stage {
    top: 30%;
    bottom: -8%;
    left: 50%;
    width: 124vw;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .subjects-grid { grid-template-columns: 1fr; }
  .number-block { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar { border-right: none; border-bottom: 1px solid rgba(245,236,215,0.2); padding: 20px 0; }
  .pillars .pillar:last-child { border-bottom: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-list { grid-template-columns: 1fr; }
  .cta-strip .inner { grid-template-columns: 1fr; }
  footer.site .top { grid-template-columns: 1fr; gap: 30px; }
  footer.site .brand img { width: 150px; }
  footer.site .bottom { flex-direction: column; gap: 10px; }

  nav.primary { display: none; }
  nav.primary.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245, 236, 215, 0.94); padding: 24px 28px;
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    border-bottom: 1px solid var(--paper-line);
  }
  nav.primary.open .btn {
    width: 100%;
    justify-content: center;
  }
  .menu-btn {
    display: inline-flex; padding: 8px 12px;
    border: 1.5px solid var(--ink); border-radius: 4px;
    font-weight: 700; font-size: 13px; color: var(--ink);
  }
  .site-header .bar {
    min-height: 112px;
    position: relative;
  }
  .site-header.is-scrolled .bar { min-height: 70px; }
  .site-header .brand img {
    width: 154px;
    height: 76px;
    object-fit: cover;
  }
  .site-header.is-scrolled .brand img {
    width: 118px;
    height: 58px;
  }
}

@media (max-width: 560px) {
  .site-bg-canvas { opacity: 0.3; }
  .shape-stage {
    top: 36%;
    bottom: -6%;
    width: 132vw;
    margin: 0;
  }
  .subject-art {
    min-width: 140px;
    width: 46%;
    opacity: 0.42;
  }
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .subject-art svg { animation: none; }
}
