/* Rupayanam — Modern Beauty Editorial */
:root {
  --ivory: #F7EDE7;
  --ivory-soft: #FBF6F2;
  --paper: #FFFDFB;
  --rose: #D9ADA9;
  --rose-soft: #EBCFCB;
  --rose-ink: #9E6863;
  --espresso: #43332F;
  --espresso-2: #5E4A44;
  --bronze: #B68A72;
  --bronze-ink: #8A6350;
  --line: rgba(67, 51, 47, .14);
  --muted: #7A6660;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ivory-soft);
  color: var(--espresso);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { font-style: italic; color: var(--rose-ink); }
p { margin: 0 0 1em; }
address { font-style: normal; }
::selection { background: var(--rose-soft); }
:focus-visible { outline: 2px solid var(--bronze-ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 500 .74rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-ink); margin-bottom: 1rem; }
.lede { font-size: 1.12rem; color: var(--espresso-2); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; margin-inline: auto; }
.spacer { height: 64px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.8em; border-radius: 999px; border: 1px solid transparent;
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--espresso); color: var(--ivory); }
.btn-primary:hover { background: var(--rose-ink); }
.btn-ghost { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-ghost:hover { background: var(--espresso); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--espresso); }
.btn-light:hover { background: var(--rose); }
.btn-outline-light { border-color: rgba(247, 237, 231, .6); color: var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--espresso); }
.btn-sm { padding: .75em 1.3em; font-size: .72rem; }
.btn-block { width: 100%; }
.btn .ico { width: 1.25em; height: 1.25em; fill: currentColor; }

.arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s var(--ease); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--espresso); padding: .4em 0; border-bottom: 1px solid var(--rose); }
.link-arrow:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

.demo-tag { display: inline-block; vertical-align: middle; font: 500 .6rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .45em .6em; border-radius: 3px; background: var(--rose-soft); color: var(--rose-ink); margin-left: .4em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 242, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 246, 242, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 600 1.75rem/1 var(--serif); letter-spacing: .02em; margin: 0; }
.logo-tag { font: 400 .62rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-ink); margin: .45em 0 0; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; font: 400 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--espresso); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--ivory-soft); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 24px var(--gutter) 40px; gap: 24px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    height: calc(100dvh - 78px); overflow-y: auto;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; font: 500 2rem/1 var(--serif); letter-spacing: 0; text-transform: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current="page"] { color: var(--rose-ink); }
  .nav-cta { padding: 1.1em; font-size: .8rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.tint { background: var(--ivory); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }

/* ---------- photo + placeholders ---------- */
.photo { margin: 0; position: relative; overflow: hidden; background: var(--rose-soft); border-radius: var(--radius); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shape-tall { aspect-ratio: 3 / 4; }
.shape-square { aspect-ratio: 1; }
.shape-wide { aspect-ratio: 16 / 10; }
.shape-arch { aspect-ratio: 4 / 5.4; border-radius: 999px 999px var(--radius) var(--radius); }
.ph { display: grid; place-items: center; isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 1px, transparent 1px 14px); }
.tone-0 { background: linear-gradient(160deg, #E8C6C0 0%, #C99189 100%); }
.tone-1 { background: linear-gradient(160deg, #EAD9CC 0%, #B68A72 100%); }
.tone-2 { background: linear-gradient(160deg, #F1DDD5 0%, #D9ADA9 100%); }
.tone-3 { background: linear-gradient(160deg, #D8B9A6 0%, #8E6450 100%); }
.ph-mark { font: italic 500 clamp(3rem, 9vw, 6rem)/1 var(--serif); color: rgba(255, 253, 251, .55); }
.ph-label { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 500 .62rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 251, .9); padding: 0 12px; }

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 3rem; }
.stats { list-style: none; margin: 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats strong { display: block; font: 500 1.9rem/1.1 var(--serif); }
.stats span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; margin-top: .3em; }
.hero-media { position: relative; padding: 0 0 12% 10%; }
.hero-main { width: 100%; }
.hero-detail { position: absolute; left: 0; bottom: 0; width: 42%; border: 8px solid var(--ivory-soft); border-radius: var(--radius); }

/* ---------- divisions ---------- */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.division { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.division:hover { box-shadow: 0 30px 60px -30px rgba(67, 51, 47, .3); transform: translateY(-3px); }
.division:hover .photo img { transform: scale(1.04); }
.division-media { display: block; text-decoration: none; }
.division-media .photo { border-radius: 0; }
.hero-main .ph-label { bottom: auto; top: 18%; }
.division-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; flex: 1; }
.division-body .link-arrow { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; }
.ticks li { padding: .55em 0 .55em 1.8em; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--bronze); }

/* ---------- masonry ---------- */
.masonry { columns: 3 280px; column-gap: clamp(12px, 2vw, 24px); }
.masonry-item { display: block; width: 100%; break-inside: avoid; margin: 0 0 clamp(12px, 2vw, 24px); padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; text-align: left; color: inherit; font: inherit; }
.masonry-item .photo { border-radius: var(--radius); }
.masonry-item:hover .photo img { transform: scale(1.05); }
.masonry-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: #fff; background: linear-gradient(transparent, rgba(43, 32, 29, .6)); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.masonry-caption span { font: italic 500 1.2rem/1.2 var(--serif); }
.masonry-caption small { font: 500 .6rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.masonry-item:hover .masonry-caption, .masonry-item:focus-visible .masonry-caption { opacity: 1; transform: none; }
.masonry-item.is-hidden { display: none; }
.ph + .masonry-caption .ph-label { display: none; }
.masonry-item .ph-label { display: none; }
@media (hover: none) { .masonry-caption { opacity: 1; transform: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { font: 400 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .8em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--espresso); cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--espresso); }
.chip.is-active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(30, 22, 20, .92); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; }
.lb-stage { grid-column: 2; grid-row: 1; display: grid; place-items: center; height: 100%; padding: 24px 0 0; }
.lb-stage img, .lb-stage .photo { max-height: 82vh; max-width: min(100%, 900px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lb-stage .photo { height: 70vh; aspect-ratio: 4 / 5; }
.lb-caption { grid-column: 1 / -1; grid-row: 2; text-align: center; color: var(--ivory); font: italic 500 1.3rem/1.3 var(--serif); padding: 16px; margin: 0; }
.lightbox button { background: none; border: 0; color: var(--ivory); font: 300 2.6rem/1 var(--sans); cursor: pointer; width: 56px; height: 56px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: fixed; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 44px 1fr 44px; } .lb-stage .photo { height: 60vh; } }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); display: flex; flex-direction: column; }
.service:hover { background: var(--paper); }
.service-no { font: italic 500 1rem/1 var(--serif); color: var(--bronze); display: block; margin-bottom: 1.6rem; }
.service h3 { font-size: 1.45rem; }
.service p { color: var(--espresso-2); font-size: .96rem; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; display: flex; flex-direction: column; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(67, 51, 47, .35); }
.course-card.is-featured { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.course-card.is-featured .course-level, .course-card.is-featured dt { color: var(--rose); }
.course-card.is-featured .course-summary, .course-card.is-featured .syllabus li { color: rgba(247, 237, 231, .8); }
.course-card.is-featured .course-meta { border-color: rgba(247, 237, 231, .18); }
.course-card.is-featured .course-meta div + div { border-color: rgba(247, 237, 231, .18); }
.course-card.is-featured .btn-ghost { border-color: var(--ivory); color: var(--ivory); }
.course-card.is-featured .btn-ghost:hover { background: var(--ivory); color: var(--espresso); }
.course-card.is-featured .syllabus li::before { background: var(--rose); }
.ribbon { position: absolute; top: -11px; right: 20px; margin: 0; background: var(--rose); color: var(--espresso); font: 500 .6rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .6em .9em; border-radius: 999px; }
.course-level { font: 500 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-ink); margin-bottom: 1rem; }
.course-card h3 { font-size: 1.5rem; }
.course-summary { font-size: .92rem; color: var(--espresso-2); }
.course-meta { display: grid; grid-template-columns: 1fr 1fr; margin: .4rem 0 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-meta div { padding: .9rem 0; }
.course-meta div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.course-meta dt { font: 500 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.course-meta dd { margin: 0; font: 500 1.2rem/1.2 var(--serif); }
.course-meta .price { font-size: 1.35rem; }
.course-meta .demo-tag { margin-left: .2em; }
.syllabus-toggle { margin-bottom: 1.4rem; }
.syllabus-toggle summary { cursor: pointer; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; list-style: none; padding: .4rem 0; }
.syllabus-toggle summary::-webkit-details-marker { display: none; }
.syllabus-toggle summary::after { content: "+"; float: right; font-size: 1rem; line-height: .7; }
.syllabus-toggle[open] summary::after { content: "–"; }
.syllabus-title { font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: .4rem 0 .8rem; }
.syllabus { list-style: none; padding: 0; margin: .6rem 0 1.4rem; font-size: .9rem; }
.syllabus li { padding: .3em 0 .3em 1.3em; position: relative; color: var(--espresso-2); }
.syllabus li::before { content: ""; position: absolute; left: 0; top: 1em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.course-card .btn { margin-top: auto; }
.course-grid.detailed .syllabus { flex: 1; }

.batch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.batch-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); background: transparent; }
.section:not(.tint) .batch-card { background: var(--ivory); border-color: transparent; }
.batch-card h3 { margin-bottom: .6rem; }
.batch-days { font-weight: 500; margin: 0; }
.batch-time { font: italic 500 1.6rem/1.3 var(--serif); color: var(--rose-ink); margin: .2rem 0 .8rem; }

.batch-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.switch-btn { border: 0; background: transparent; padding: .9em 1.5em; border-radius: 999px; font: 500 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--espresso); cursor: pointer; transition: all .3s var(--ease); }
.switch-btn.is-active { background: var(--espresso); color: var(--ivory); }
.timetable { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.timetable[hidden] { display: none; }
.tt-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.tt-day { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 6px; text-align: center; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; color: var(--muted); }
.tt-day.is-on { background: var(--rose-soft); border-color: var(--rose); color: var(--espresso); }
.tt-name { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.tt-slot { font: 500 .95rem/1.25 var(--serif); }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.split-copy > p { color: var(--espresso-2); }
.signature { font: italic 500 1.5rem/1.2 var(--serif); margin-top: 1.6rem; }
.signature span { display: block; font: 500 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-ink); font-style: normal; margin-top: .4rem; }
.split-copy .link-arrow { margin-top: .8rem; }
.founder { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.founder h3 { margin-bottom: .3rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 2.4rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: italic 500 1.3rem/1.3 var(--serif); color: var(--bronze); }
.steps strong { font-weight: 500; }
.steps span { color: var(--muted); font-size: .95rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.feature-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.feature-list strong { display: block; font: 500 1.3rem/1.3 var(--serif); }
.feature-list span { color: var(--muted); font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 32px; background: var(--paper); border-radius: var(--radius); border-top: 2px solid var(--rose); }
.value p { color: var(--espresso-2); margin: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 32px; }
.person h3 { margin: 1.2rem 0 .3rem; font-size: 1.4rem; }
.person .eyebrow { margin-bottom: .6rem; }
.person .muted { font-size: .92rem; }

/* ---------- testimonials ---------- */
.rating { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; text-align: center; margin: 0 auto 48px; }
.rating strong { font: 500 3.4rem/1 var(--serif); color: var(--rose-ink); }
.rating span { max-width: 18em; text-align: left; color: var(--espresso-2); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--paper); padding: 32px; border-radius: var(--radius); display: flex; flex-direction: column; border: 1px solid var(--line); }
.tint .quote { border-color: transparent; }
.quote blockquote { margin: 0 0 1.6rem; flex: 1; }
.quote blockquote p { font: italic 500 1.25rem/1.45 var(--serif); margin: 0; }
.quote blockquote::before { content: "“"; display: block; font: 500 3rem/.6 var(--serif); color: var(--rose); margin-bottom: .6rem; height: .5em; }
.quote figcaption { font-size: .85rem; font-weight: 500; }
.quote-type { font: 500 .6rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-ink); margin-left: .4em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--espresso); color: var(--ivory); padding: clamp(72px, 10vw, 120px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(217, 173, 169, .2); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cta-inner { position: relative; }
.cta-band .eyebrow { color: var(--rose); }
.cta-band h2 { max-width: 16em; margin: 0 auto .8em; }
.cta-band h2 em { color: var(--rose); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 1.6rem; }
.cta-small { margin-top: 2rem; font-size: .9rem; color: rgba(247, 237, 231, .7); }
.cta-small a { color: var(--ivory); }

.insta { text-align: center; margin-top: 64px; padding: clamp(32px, 5vw, 56px); background: var(--ivory); border-radius: var(--radius); }

/* ---------- page hero + subnav ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14em; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.page-hero .lede { margin-bottom: 0; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2.2rem; }
.subnav a { font: 400 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .85em 1.3em; border: 1px solid var(--line); border-radius: 999px; transition: all .3s var(--ease); }
.subnav a:hover { border-color: var(--espresso); }
.subnav a[aria-current="page"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.notfound { min-height: 60vh; display: flex; align-items: center; border: 0; }
.notfound .cta-actions { justify-content: flex-start; }

/* ---------- forms / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.enquiry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; }
.enquiry h2 { font-size: 2rem; margin-bottom: .2rem; }
.enquiry .eyebrow { margin-bottom: 0; }
.enquiry:target { box-shadow: 0 0 0 2px var(--rose); }
label { display: grid; gap: 6px; font: 500 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--espresso-2); }
input, select, textarea {
  font: 300 1rem/1.4 var(--sans); color: var(--espresso); letter-spacing: 0; text-transform: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: .85em 1em; background: var(--ivory-soft); width: 100%;
  transition: border-color .25s, background .25s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); background: #fff; }
.is-invalid { border-color: #B5524A; background: #FDF2F1; }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-row { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.radio-row legend { font: 500 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--espresso-2); margin-bottom: 6px; padding: 0; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; letter-spacing: 0; text-transform: none; font: 500 .95rem/1.3 var(--sans); color: var(--espresso); }
.radio:has(input:checked) { border-color: var(--rose-ink); background: #FBF1EF; }
.radio input { width: auto; margin-top: .2em; accent-color: var(--rose-ink); }
.radio small { display: block; font-weight: 300; color: var(--muted); font-size: .85rem; margin-top: 3px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.contact-info { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact-info address { font-size: 1.1rem; margin-bottom: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: .8rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { font: 500 .68rem/1.8 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--rose); word-break: break-word; }
.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--rose-soft); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.35) sepia(.15); }

/* ---------- footer ---------- */
.site-footer { background: #2F2421; color: rgba(247, 237, 231, .78); padding: 72px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .logo-name { color: var(--ivory); }
.site-footer .logo-tag { color: var(--rose); margin-bottom: 1.4rem; }
.footer-title { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; color: rgba(247, 237, 231, .85); transition: color .2s; word-break: break-word; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247, 237, 231, .12); font-size: .8rem; }
.footer-base p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--ivory); box-shadow: 0 12px 30px -10px rgba(67, 51, 47, .6); transition: transform .3s var(--ease), background .3s; }
.wa-float:hover { transform: scale(1.06); background: var(--rose-ink); }
.wa-float .ico { width: 26px; height: 26px; fill: currentColor; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .division-grid, .contact-grid, .contact-info, .timetable { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .split-media { max-width: 460px; }
  .values { grid-template-columns: 1fr; }
  .batch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .course-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stats strong { font-size: 1.4rem; }
  .stats span { font-size: .72rem; }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tt-week { grid-template-columns: 1fr; }
  .tt-day { flex-direction: row; min-height: 0; padding: 12px 16px; align-items: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .masonry { columns: 2; }
  .rating span { text-align: center; }
}
