/* ==========================================================================
   Dr. Arezoo Kalantari — main stylesheet (RTL, Persian)
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand — sampled from the portrait backdrop and the logo greys */
  --red: #8e0019;
  --red-600: #7c0016;
  --red-800: #4a000c;
  --red-900: #2a0007;
  --red-tint: #fbeef0;

  --ink: #141414;
  --ink-2: #1f1f21;
  --grey-1: #5a5a5a;
  --grey-2: #8a8a8a;
  --line: #e6e2df;
  --paper: #f7f5f3;
  --white: #ffffff;

  --text: #1b1b1d;
  --muted: #5f5d5c;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px -12px rgba(20, 20, 20, .14);
  --shadow-lg: 0 30px 60px -24px rgba(42, 0, 7, .45);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #eceae8; }

/* ---------- brand stripes (from the logo's K) ---------- */
.stripes { display: inline-flex; gap: 4px; align-items: center; flex-shrink: 0; }
.stripes i {
  display: block; width: 6px; height: 18px; transform: skewX(-24deg); border-radius: 1px;
}
.stripes i:nth-child(1) { background: var(--red); }
.stripes i:nth-child(2) { background: var(--grey-1); }
.stripes i:nth-child(3) { background: var(--grey-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: 0;
}
.section--ink .eyebrow, .on-dark .eyebrow { color: #ff8095; }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-top: 12px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section--ink .section-head p { color: #b5b1ae; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(142, 0, 25, .7); }
.btn--primary:hover { background: var(--red-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--red-800); }
.btn--light:hover { background: var(--red-tint); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--red-800); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__text strong { font-size: 16px; font-weight: 900; }
.brand__text span { font-size: 12px; color: var(--muted); font-weight: 500; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: #3a3836; transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: 2px; inset-inline: 14px; height: 2px; border-radius: 2px; background: var(--red);
}
.header-cta { margin-inline-start: 8px; }

.nav-toggle {
  display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .main-nav a[aria-current="page"] { background: var(--red-tint); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .btn { display: flex; margin-top: 14px; }
}
@media (min-width: 961px) { .main-nav .nav-mobile-cta { display: none; } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 80% at 25% 40%, #7c0016 0%, #5c0011 45%, #2a0007 100%);
  isolation: isolate;
}
.hero::before { /* slanted brand bars */
  content: ""; position: absolute; inset-block: -10%; inset-inline-end: -6%; width: 46%; z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.035) 8% 26%, transparent 26% 32%,
                    rgba(255,255,255,.05) 32% 50%, transparent 50% 56%, rgba(255,255,255,.07) 56% 74%, transparent 74%);
  transform: skewX(-24deg);
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 32px;
  min-height: min(calc(100svh - var(--header-h)), 860px);
}
.hero__content { padding-block: 72px 96px; align-self: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px; font-weight: 600; color: #ffd9df;
}
.hero__kicker .stripes i:nth-child(1) { background: #fff; }
.hero__kicker .stripes i:nth-child(2) { background: #c9c9c9; }
.hero__kicker .stripes i:nth-child(3) { background: #9a9a9a; }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 6.4vw, 82px); font-weight: 900; line-height: 1.15; letter-spacing: -.5px; }
.hero h1 span { display: block; font-size: .44em; font-weight: 600; color: #ffc7d0; margin-bottom: 6px; letter-spacing: 0; }
.hero__lead { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.6vw, 19px); color: #f2dcdf; line-height: 2; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__media { position: relative; align-self: end; height: 100%; display: flex; align-items: end; justify-content: center; }
.hero__media picture { display: block; width: min(100%, 520px); }
.hero__media img {
  width: 100%; height: auto; max-height: calc(min(calc(100svh - var(--header-h)), 860px) - 24px); object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%), linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0, #000 28%), linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-composite: intersect;
}
.hero__badge {
  position: absolute; bottom: 48px; inset-inline-start: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg);
}
.hero__badge img { width: 44px; height: auto; }
.hero__badge strong { display: block; font-size: 15px; line-height: 1.5; }
.hero__badge span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__content { padding-block: 56px 8px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__media picture { width: min(88%, 420px); }
  .hero__badge { bottom: 28px; inset-inline-start: 50%; transform: translateX(50%); width: max-content; white-space: nowrap; }
}

/* ---------- stats strip ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; display: flex; align-items: center; gap: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border-inline-start: 0; }
.stat strong { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1; color: #fff; }
.stat span { font-size: 14px; color: #bdb8b5; line-height: 1.7; }
@media (max-width: 860px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); padding-inline: 0; }
  .stat { padding: 22px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .stat:nth-child(odd) { border-inline-start: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- branch cards ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .branch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .branch-grid { grid-template-columns: 1fr; } }

.branch {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.branch:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20, 20, 20, .35); }
.branch__head {
  position: relative; padding: 26px 26px 24px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-800) 100%);
}
.branch--kids .branch__head { background: linear-gradient(140deg, #2a2a2d 0%, #0e0e0f 100%); }
.branch__head::after {
  content: ""; position: absolute; inset-block: -20%; inset-inline-end: -40px; width: 150px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.1) 0 30%, transparent 30% 40%, rgba(255,255,255,.07) 40% 70%, transparent 70% 80%, rgba(255,255,255,.05) 80%);
  transform: skewX(-24deg);
}
.branch__tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
}
.branch__head h2, .branch__head h3 { margin-top: 14px; font-size: 24px; font-weight: 900; }
.branch__addr { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.branch__addr svg { width: 16px; height: 16px; flex-shrink: 0; }
.branch__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.branch__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.6;
}
.chip[lang="en"] { font-family: system-ui, sans-serif; letter-spacing: .3px; }
.branch__note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: var(--red-tint); color: var(--red-800); font-size: 14.5px; font-weight: 600; line-height: 1.8;
}
.branch--kids .branch__note { background: #f0efee; color: var(--ink); }
.branch__note svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.branch__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.branch__actions .btn { flex: 1; }

/* filter tabs */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--muted); transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: #cfc9c5; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.branch[hidden] { display: none; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__text h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 900; margin-top: 12px; }
.split__text > p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.section--ink .split__text > p { color: #b5b1ae; }
.split__text .btn, .split__text .link-arrow { margin-top: 30px; }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* family illustration panel */
.family-panel {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; isolation: isolate;
  background: linear-gradient(150deg, var(--red) 0%, var(--red-800) 70%, var(--red-900) 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.family-panel::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background: repeating-linear-gradient(-66deg, rgba(255,255,255,.05) 0 34px, transparent 34px 68px);
}
.family-panel__rings { display: grid; grid-template-columns: repeat(2, auto); gap: 22px; }
.family-panel__item {
  width: clamp(120px, 15vw, 170px); aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; text-align: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.family-panel__item:nth-child(2), .family-panel__item:nth-child(3) { transform: translateY(26px); }
.family-panel__item svg { width: 44px; height: 44px; margin-inline: auto; margin-bottom: 8px; }
.family-panel__item b { display: block; font-size: 15px; }
.family-panel__item small { display: block; font-size: 12.5px; color: #ffd0d7; }

/* ---------- disciplines ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .disc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .disc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.disc {
  position: relative; padding: 22px 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .3s, transform .3s var(--ease);
}
.disc:hover { background: #29292c; transform: translateY(-3px); }
.disc__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(142, 0, 25, .9); color: #fff;
}
.disc__icon svg { width: 24px; height: 24px; }
.disc h3, .disc h4 { margin-top: 16px; font-size: 18px; color: #fff; }
.disc p { margin-top: 6px; font-size: 14px; color: #a9a5a2; line-height: 1.85; }
.disc__for { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.disc__for span { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #d9d5d2; }

/* marquee of disciplines */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding-block: 18px; border-block: 1px solid var(--red-800); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-size: clamp(18px, 2vw, 24px); font-weight: 800; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 10px; height: 22px; background: rgba(255,255,255,.45); transform: skewX(-24deg); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- about teaser ---------- */
.portrait-frame { position: relative; max-width: 460px; margin-inline: auto; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px; border: 2px solid var(--red); z-index: 0;
}
.portrait-frame img { position: relative; z-index: 1; border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; box-shadow: var(--shadow-lg); }
.signature { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.signature img { width: 64px; }
.signature strong { display: block; font-size: 17px; }
.signature span { font-size: 14px; color: var(--muted); }

.quote {
  margin-top: 26px; padding: 4px 22px 4px 0; border-inline-start: 4px solid var(--red);
  font-size: 19px; font-weight: 700; line-height: 1.9; color: var(--ink);
}

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.value { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value__num { font-size: 15px; font-weight: 900; color: var(--red); display: flex; align-items: center; gap: 10px; }
.value h3 { margin-top: 14px; font-size: 21px; }
.value p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .article-grid { grid-template-columns: 1fr; } }
.post {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20, 20, 20, .35); }
.post__cover {
  position: relative; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 22px; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-900) 100%);
}
.post__cover--dark { background: linear-gradient(140deg, #333336 0%, #0f0f10 100%); }
.post__cover--grey { background: linear-gradient(140deg, #8a8a8a 0%, #4a4a4c 100%); }
.post__cover::before {
  content: ""; position: absolute; inset-block: -30%; inset-inline-start: 40%; width: 70%; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0 22%, transparent 22% 30%, rgba(255,255,255,.08) 30% 52%, transparent 52% 60%, rgba(255,255,255,.05) 60% 82%, transparent 82%);
  transform: skewX(-24deg);
}
.post__cover svg { position: absolute; top: 22px; inset-inline-start: 22px; width: 54px; height: 54px; opacity: .9; }
.post__cat { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; }
.post h3 { font-size: 19.5px; line-height: 1.6; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post { position: relative; }
.post p { color: var(--muted); font-size: 15px; }
.post .link-arrow { margin-top: auto; padding-top: 8px; font-size: 15px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(80% 120% at 85% 0%, #5c0011 0%, var(--red-900) 55%, #120003 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 84px);
}
.page-hero::after {
  content: ""; position: absolute; inset-block: -20%; inset-inline-end: 4%; width: 300px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.08) 0 26%, transparent 26% 37%, rgba(255,255,255,.055) 37% 63%, transparent 63% 74%, rgba(255,255,255,.035) 74%);
  transform: skewX(-24deg);
}
.page-hero h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 58px); font-weight: 900; }
.page-hero p { margin-top: 14px; max-width: 620px; font-size: 17.5px; color: #f0d6da; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #e6bfc6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.breadcrumb ol { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* ---------- article page ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 17.5px; line-height: 2.15; color: #2a2826; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; font-weight: 900; margin-top: 1.8em; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 8px; height: 26px; background: var(--red); transform: skewX(-24deg); flex-shrink: 0; }
.prose h3 { font-size: 20px; margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose .callout {
  padding: 20px 22px; border-radius: 14px; background: var(--red-tint); border-inline-start: 4px solid var(--red);
  font-size: 16px; color: var(--red-800);
}
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14.5px; color: #e6bfc6; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.author-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.author-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; margin-inline: auto; border: 3px solid var(--red-tint); }
.author-card strong { display: block; margin-top: 12px; font-size: 17px; }
.author-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.author-card .btn { margin-top: 16px; width: 100%; }
.mini-cta { padding: 24px; border-radius: var(--radius); color: #fff; background: linear-gradient(150deg, var(--red), var(--red-800)); }
.mini-cta strong { font-size: 18px; display: block; }
.mini-cta p { margin-top: 6px; font-size: 14.5px; color: #f6d2d8; }
.mini-cta .btn { margin-top: 16px; width: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px;
  padding: clamp(36px, 6vw, 64px); color: #fff;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-800) 100%);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
}
.cta-band::after {
  content: ""; position: absolute; inset-block: -40%; inset-inline-start: -60px; width: 280px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.1) 0 26%, transparent 26% 37%, rgba(255,255,255,.07) 37% 63%, transparent 63% 74%, rgba(255,255,255,.05) 74%);
  transform: skewX(-24deg);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; }
.cta-band p { margin-top: 10px; color: #f6d2d8; font-size: 17px; max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.panel h2 { font-size: 26px; font-weight: 900; }
.panel > p { margin-top: 8px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(142, 0, 25, .1);
}
.field input[dir="ltr"] { text-align: right; }
.field .error-msg { display: none; margin-top: 6px; font-size: 13px; color: #b00020; font-weight: 600; }
.field.has-error input, .field.has-error select { border-color: #b00020; }
.field.has-error .error-msg { display: block; }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form__status.is-visible { display: block; }
.form__status.is-ok { background: #e9f7ee; color: #145a2c; }
.form__status.is-info { background: var(--red-tint); color: var(--red-800); }

.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
a.contact-item:hover { border-color: var(--red); background: #fff; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; flex-shrink: 0; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-size: 15.5px; }
.contact-item span { display: block; font-size: 14px; color: var(--muted); }
.contact-item [dir="ltr"] { text-align: right; unicode-bidi: plaintext; }

.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 780px) { .locations { grid-template-columns: 1fr; } }
.location { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.location__map {
  aspect-ratio: 16 / 8; position: relative; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(255,255,255,.0), rgba(255,255,255,.0)),
    repeating-linear-gradient(0deg, #eeebe8 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, #eeebe8 0 1px, transparent 1px 36px),
    #f7f5f3;
  display: grid; place-items: center;
}
.location__map::before { content: ""; position: absolute; inset: 40% -10% auto; height: 18px; background: #fff; border-block: 1px solid #e3dfdb; transform: rotate(-12deg); z-index: -1; }
.location__map::after { content: ""; position: absolute; inset: -10% 30% auto auto; width: 14px; height: 130%; background: #fff; border-inline: 1px solid #e3dfdb; transform: rotate(18deg); z-index: -1; }
.location__pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.location__pin span { width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.location__body { padding: 24px; }
.location__body h3 { font-size: 21px; }
.location__body p { margin-top: 6px; color: var(--muted); }
.location__body .chips { margin-top: 14px; }
.location__body .btn { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: #d6cfca; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--red); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.faq details a { color: var(--red); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9b5b2; padding-top: clamp(56px, 8vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 18px; font-size: 15px; line-height: 2; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-addr li { font-size: 14.5px; line-height: 1.9; }
.footer-addr li + li { margin-top: 12px; }
.footer-addr b { color: #e9e6e3; font-weight: 700; display: block; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background-color .2s; }
.social a:hover { background: var(--red); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* utilities */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }
.family-panel__logo { width: 62%; }
.post h2 { font-size: 19.5px; line-height: 1.6; }
.post h2 a::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   v2 — family focus, talent ID, branch details
   ========================================================================== */

/* top info bar */
.topbar { background: var(--ink); color: #cfcac7; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__msg b { color: #fff; font-weight: 700; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.topbar a svg { width: 15px; height: 15px; color: #ff8095; }
.topbar a:hover { color: #ffc7d0; }
@media (max-width: 720px) { .topbar__msg { display: none; } .topbar .container { justify-content: center; } }

/* hero credential badge */
.hero__badge--top { bottom: auto; top: 46%; inset-inline-start: auto; inset-inline-end: -12px; }
.hero__badge__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex-shrink: 0; }
.hero__badge__icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .hero__badge--top { display: none; } }

/* parent + child simultaneous board */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo__col { border-radius: 24px; padding: clamp(24px, 3.5vw, 36px); }
.duo__col--kid { background: linear-gradient(150deg, var(--red) 0%, var(--red-800) 100%); color: #fff; }
.duo__col--parent { background: var(--ink); color: #fff; }
.duo__col h3 { font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.duo__col h3 small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); }
.duo__list { display: grid; gap: 10px; margin-top: 22px; }
.duo__list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 15.5px; }
.duo__list svg { width: 22px; height: 22px; flex-shrink: 0; opacity: .9; }
.duo__list small { display: block; font-weight: 500; font-size: 12.5px; opacity: .7; }
.duo__link { display: grid; place-items: center; padding: 0 16px; position: relative; }
.duo__link span {
  position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: #fff; color: var(--red); font-weight: 900; font-size: 15px; line-height: 1.4; box-shadow: var(--shadow-lg); border: 4px solid var(--paper);
}
.section--white .duo__link span { border-color: #fff; }
@media (max-width: 860px) { .duo__link { padding: 0; margin-block: -26px; } .duo__link span { width: 76px; height: 76px; font-size: 13.5px; } }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
.perk { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 15px; line-height: 1.6; }
.perk svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }

/* talent identification steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); }
.step__num { font-size: 44px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #ff8095; }
.step h3 { margin-top: 16px; font-size: 19px; color: #fff; }
.step p { margin-top: 8px; font-size: 14.5px; color: #a9a5a2; line-height: 1.9; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; inset-inline-end: -14px; width: 10px; height: 22px; background: var(--red); transform: skewX(-24deg); z-index: 1;
}
@media (max-width: 1000px) { .step::after { display: none; } }
.age-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border-radius: 20px;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-800) 100%); color: #fff;
}
.age-banner strong { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.2; }
.age-banner p { color: #f6d2d8; font-size: 15.5px; flex: 1; min-width: 220px; }
.age-banner .chips .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }

/* one registration notice */
.notice {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; margin-bottom: 32px;
  background: #fff; border: 1.5px dashed var(--red); color: var(--ink);
}
.notice__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); flex-shrink: 0; }
.notice__icon svg { width: 26px; height: 26px; }
.notice strong { display: block; font-size: 17px; }
.notice span { color: var(--muted); font-size: 14.5px; }

/* branch details */
.branch__num { position: absolute; top: 18px; inset-inline-end: 22px; font-size: 56px; font-weight: 900; line-height: 1; color: rgba(255,255,255,.14); }
.branch__info { display: grid; gap: 10px; font-size: 14.5px; }
.branch__info li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.branch__info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--red); }
.branch__info a { font-weight: 700; }
.branch__info a:hover { color: var(--red); }
.branch__info b { font-weight: 700; }
.chips + .branch__label, .branch__group + .branch__group { margin-top: 14px; display: block; }
.chip--soft { background: #fff; border-style: dashed; }

/* discipline groups */
.disc-group + .disc-group { margin-top: 48px; }
.disc-group__title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 20px; color: #fff; }
.disc-group__title small { font-size: 14px; color: #a9a5a2; font-weight: 500; }

/* credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }
.cred { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cred svg { width: 28px; height: 28px; color: var(--red); }
.cred strong { display: block; margin-top: 10px; font-size: 16px; line-height: 1.6; }
.cred span { display: block; font-size: 13.5px; color: var(--muted); }

/* contact: hotline */
.hotline {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; color: #fff;
  background: linear-gradient(130deg, var(--red), var(--red-800));
}
.hotline .contact-item__icon { background: rgba(255,255,255,.15); }
.hotline strong { display: block; font-size: 14px; font-weight: 600; color: #f6d2d8; }
.hotline span { display: block; font-size: 24px; font-weight: 900; letter-spacing: .5px; }
.location__body .branch__info { margin-top: 14px; }
.locations--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .locations--3 { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; }
.disc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .disc-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.footer-hotline { color: #fff; font-weight: 800; font-size: 18px; }
.footer-addr a { color: #e9e6e3; }
.footer-addr a:hover { color: #fff; }
.split__text .creds + .link-arrow { margin-top: 26px; }
.branch { scroll-margin-top: calc(var(--header-h) + 20px); }
