/* ==========================================================================
   Peter Lin – Premium One on One Tuition
   Theme: deep navy + champagne gold + warm ivory
   ========================================================================== */

:root {
  --ink: #0D1726;
  --navy: #14233A;
  --navy-2: #1C2F4B;
  --ivory: #F7F3EA;
  --paper: #FFFDF8;
  --gold: #C8A96A;
  --gold-soft: #E3CF9F;
  --gold-deep: #8E7340;
  --text: #1E2A3B;
  --muted: #5D6776;
  --on-navy: #D9DEE6;
  --line: rgba(20, 35, 58, .12);
  --line-gold: rgba(200, 169, 106, .45);

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

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Diamond lattice used on banners and navy panels */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cpath d='M23 0L46 23L23 46L0 23Z' fill='none' stroke='%23C8A96A' stroke-width='.7'/%3E%3Ccircle cx='23' cy='23' r='1.1' fill='%23C8A96A'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 16.5px; font-weight: 400; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--gold-soft); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--ink); text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Typographic helpers ---------- */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.eyebrow-light { color: var(--gold-soft); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-ivory { background: var(--ivory); }
.section-navy { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice); opacity: .05; pointer-events: none; }
.section-navy > .container { position: relative; }
.section-title { font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: -.005em; margin-bottom: 18px; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.rule { display: block; width: 64px; height: 1px; background: var(--gold); position: relative; margin-bottom: 26px; }
.rule::after { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }
.rule-center { margin-inline: auto; }
.rule-light { background: var(--gold-soft); }
.rule-light::after { background: var(--gold-soft); }
.note { font-size: 14px; letter-spacing: .04em; color: var(--muted); font-style: italic; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.45; color: var(--navy); font-weight: 500; }
.prose p { max-width: 68ch; }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.4; color: var(--navy);
  padding: 22px 0 0 28px; margin-top: 28px; border-left: 2px solid var(--gold);
}
.text-link { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 4px; transition: color .2s; }
.text-link:hover { color: var(--navy); }
.highlight { display: inline-block; font-weight: 600; color: var(--navy); background: linear-gradient(transparent 58%, rgba(200, 169, 106, .38) 58%); padding-inline: 2px; }
.note-box { background: var(--ivory); border-left: 2px solid var(--gold); padding: 20px 24px; margin: 24px 0; }
.fine { font-size: 14.5px; color: var(--muted); }
.callout { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); padding-top: 16px; border-top: 1px solid var(--line); }
.intro { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.intro strong { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .22em; 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-gold { background: linear-gradient(135deg, #D9BF85, var(--gold) 55%, #B3945A); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-glass { background: rgba(13, 23, 38, .35); color: var(--paper); border-color: rgba(227, 207, 159, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(13, 23, 38, .96); box-shadow: 0 1px 0 rgba(200, 169, 106, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header.is-scrolled { --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--paper); }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--gold); color: var(--gold-soft);
  font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .04em;
}
.brand-name { font-size: 13px; font-weight: 500; letter-spacing: .42em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a {
  position: relative; display: inline-block; padding: 8px 0; text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 253, 248, .86);
  transition: color .25s;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover, .site-nav a.is-active { color: var(--gold-soft); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.lang-switch {
  font: 500 13px/1 var(--sans); letter-spacing: .1em; color: var(--gold-soft); background: transparent;
  border: 1px solid rgba(227, 207, 159, .5); padding: 8px 12px; cursor: pointer; transition: background .25s, color .25s;
}
.lang-switch:hover { background: var(--gold); color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px 9px; background: transparent; border: 1px solid rgba(227, 207, 159, .5); cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: var(--gold-soft); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Banner (top of every page) ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper);
  min-height: clamp(460px, 62vh, 600px); display: flex; align-items: flex-end;
  padding-top: var(--header-h);
}
.banner-tall { min-height: clamp(600px, 94vh, 900px); align-items: center; }
.banner-media { position: absolute; inset: 0; z-index: -3; }
.banner-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--banner-focus, 50% 50%);
  opacity: var(--banner-opacity, .45);
  animation: banner-zoom 16s var(--ease) both;
}
@keyframes banner-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.banner-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 23, 38, .92) 0%, rgba(13, 23, 38, .72) 34%, rgba(13, 23, 38, .18) 68%, rgba(13, 23, 38, .30) 100%),
    linear-gradient(0deg, rgba(13, 23, 38, .85) 0%, rgba(13, 23, 38, 0) 38%),
    linear-gradient(180deg, rgba(13, 23, 38, .7) 0%, rgba(13, 23, 38, 0) 22%);
}
.banner-pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--lattice); opacity: .10;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
}
.banner-frame { position: absolute; inset: calc(var(--header-h) + 14px) 22px 22px; pointer-events: none; z-index: -1; }
.banner-frame span { position: absolute; width: 38px; height: 38px; border-color: var(--line-gold); border-style: solid; border-width: 0; }
.banner-frame span:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.banner-frame span:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.banner-frame span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.banner-frame span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.banner-inner { position: relative; padding-block: clamp(56px, 8vw, 96px); }
.banner-tall .banner-inner { padding-block: clamp(48px, 7vw, 80px); }
.banner-title {
  color: var(--paper); font-size: clamp(46px, 6.4vw, 86px); font-weight: 500; line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: 26px; text-shadow: 0 2px 30px rgba(13, 23, 38, .45);
}
.banner-title span { display: block; }
.banner-title em { font-style: italic; color: var(--gold-soft); }
.banner-tall .banner-title { font-size: clamp(52px, 7.4vw, 104px); }
.banner-sub { display: grid; gap: 2px; margin-bottom: 40px; }
.banner-sub .big { font-size: clamp(13px, 1.25vw, 15.5px); font-weight: 500; letter-spacing: .32em; color: var(--paper); }
.banner-sub .small { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-soft); line-height: 1.3; }
.jump-buttons, .banner-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jump-buttons { max-width: 820px; }
.jump-rows { display: grid; gap: 12px; }
.banner-inner > * { animation: rise .9s var(--ease) both; }
.banner-inner > :nth-child(2) { animation-delay: .1s; }
.banner-inner > :nth-child(3) { animation-delay: .2s; }
.banner-inner > :nth-child(4) { animation-delay: .3s; }
.banner-inner > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Banner with its text on the right (for pictures whose empty space is on the right, e.g. Contact) */
@media (min-width: 761px) {
  .banner-align-right .banner-inner { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
  .banner-align-right .jump-rows { justify-items: end; }
  .banner-align-right .jump-buttons { justify-content: flex-end; }
  .banner-align-right .banner-shade {
    background:
      linear-gradient(270deg, rgba(13, 23, 38, .82) 0%, rgba(13, 23, 38, .5) 28%, rgba(13, 23, 38, 0) 58%),
      linear-gradient(0deg, rgba(13, 23, 38, .6) 0%, rgba(13, 23, 38, 0) 35%),
      linear-gradient(180deg, rgba(13, 23, 38, .7) 0%, rgba(13, 23, 38, 0) 22%);
  }
  .banner-align-right .banner-pattern {
    -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
    mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
  }
}

/* ---------- Stats ring ---------- */
.stats { position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.ring-stage { position: relative; perspective: 900px; }
.ring-stage::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(255, 253, 248, .9) 30%, rgba(200, 169, 106, .14) 52%, rgba(200, 169, 106, 0) 70%);
  filter: blur(10px);
}
.ring {
  position: relative; z-index: 1; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%; cursor: pointer; container-type: inline-size;
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.ring:focus-visible { outline: 1px solid var(--gold); outline-offset: 10px; }
.ring svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 26px rgba(13, 23, 38, .16)); }
.ring-ticks line { stroke: var(--gold); stroke-width: .55; opacity: .55; }
.ring-ticks line.major { stroke-width: 1.1; opacity: 1; }
.ring-hairline { fill: none; stroke: var(--gold); stroke-width: .6; opacity: .55; }
.ring-track { fill: none; stroke: url(#ring-hatch-faint); stroke-width: 24; }
.ring-value { fill: none; stroke: url(#ring-hatch); stroke-width: 24; }
.ring-sheen { fill: none; stroke: url(#ring-sheen); stroke-width: 24; pointer-events: none; }
.ring-bead { fill: #FFF6E0; stroke: var(--gold-deep); stroke-width: 1.2; }
.js .ring:not(.is-done) .ring-bead { opacity: 0; }
.ring-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none;
  transform: translateZ(40px);
  font-size: 3.6cqi; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5;
}
.ring-label strong { display: block; font-size: 4.4cqi; font-weight: 600; letter-spacing: .06em; color: var(--navy); }
.ring-label .pct {
  display: block; font-family: var(--serif); font-size: 15cqi; font-weight: 600; letter-spacing: 0; line-height: 1;
  color: var(--gold-deep); margin-bottom: .05em;
  background: linear-gradient(160deg, #B08E50, #8E7340 45%, #C8A96A 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stats-text p { font-size: 17.5px; }
.stats-text .emph { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.3; font-weight: 500; color: var(--navy); }
.stats-text .closing {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-gold);
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.4; color: var(--gold-deep);
}

/* ---------- Reviews (one review per row, strictly in sort_order, all equal) ---------- */
.reviews .container { max-width: 1400px; }
.review-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
.review-card figure {
  position: relative; margin: 0; display: flex; flex-direction: column;
  padding: clamp(46px, 5vw, 58px) clamp(22px, 4vw, 56px) clamp(24px, 3vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: 0 22px 40px -34px rgba(13, 23, 38, .45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review-card figure:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -34px rgba(13, 23, 38, .55); }
.review-card figure::before {
  content: "\201C"; position: absolute; top: 4px; left: clamp(12px, 3vw, 40px);
  font-family: var(--serif); font-size: 80px; line-height: 1; color: var(--gold); opacity: .55;
}
.review-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 21px); line-height: 1.6; color: var(--text); }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }
.review-author { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(48px, 7vw, 110px); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.about-background { margin-top: clamp(64px, 8vw, 96px); }
/* Background intro: each sentence on its own single line; the size scales with the column so the longest line always fits. */
.about-background .prose { container-type: inline-size; }
.lead-lines span { display: block; }
.lead-lines span + span { margin-top: .2em; }
@media (min-width: 761px) {
  .lead-lines { font-size: min(25px, 3.9cqi); }
  .lead-lines span { white-space: nowrap; }
}
.edu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.edu-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.edu-logo { width: 64px; height: 64px; padding: 3px; border: 1px solid var(--gold); background: var(--paper); }
.edu-logo img { width: 100%; height: 100%; object-fit: cover; }
.edu-degree { display: block; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); font-weight: 600; color: var(--navy); line-height: 1.25; }
.edu-school { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.framed-photo { position: relative; margin: 0; }
.framed-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.framed-photo img { position: relative; z-index: 1; width: 100%; height: auto; }
.exp-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.exp-points li { position: relative; padding: 20px 0 20px 32px; border-bottom: 1px solid var(--line); }
.exp-points li::before { content: ""; position: absolute; left: 2px; top: 31px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.schools { margin-top: 48px; padding: clamp(28px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--gold); }
.exp-summary { margin-top: 48px; max-width: 900px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 138px; top: 8px; bottom: 8px; width: 1px; background: rgba(200, 169, 106, .35); }
.timeline-group { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); padding: 26px 0 10px 168px; }
.timeline-group:first-child { padding-top: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 58px; padding: 18px 0; }
.timeline-item::before { content: ""; position: absolute; left: 134px; top: 32px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.timeline-year { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--paper); text-align: right; }
.timeline-body p { color: var(--on-navy); }
.timeline-body strong { color: var(--gold-soft); font-weight: 500; }
.exp-closing { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(200, 169, 106, .3); text-align: center; }
.exp-closing p { max-width: 760px; margin-inline: auto; }
.exp-closing strong { display: block; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); font-weight: 500; line-height: 1.3; color: var(--paper); margin: 12px 0; }

/* ---------- Speciality ---------- */
.feature-group + .feature-group { margin-top: clamp(64px, 8vw, 104px); }
.features { display: grid; gap: 28px; }
.features-2 { grid-template-columns: 1fr 1fr; }
.feature {
  position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start;
  padding: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold);
}
.feature-lg { grid-template-columns: 96px 1fr; }
.feature-icon { position: relative; width: 72px; height: 72px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); }
.feature-icon::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(200, 169, 106, .4); }
.feature-lg .feature-icon { width: 96px; height: 96px; }
.feature-icon svg { width: 34px; height: 34px; }
.feature h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; }
.feature h3 small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }

/* ---------- Accordions ---------- */
.accordions { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 16px;
  padding: 30px 0; transition: color .25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--gold-deep); }
.acc-title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; color: var(--navy); line-height: 1.25; transition: color .25s; }
.acc-title small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.acc summary:hover .acc-title { color: var(--gold-deep); }
.acc-icon { position: relative; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; transition: background .3s, transform .4s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--gold-deep); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc-icon { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.acc[open] .acc-icon::before { background: var(--gold-soft); }
.acc[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--gold-soft); }
.acc::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.acc-body { padding: 0 56px 40px 80px; }
.acc-body h5 { font-size: 22px; margin: 8px 0 10px; }

/* ---------- Services ---------- */
.course-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course { padding: 26px 28px; background: var(--ivory); border: 1px solid var(--line); }
.course h4 { font-size: 23px; color: var(--navy); margin-bottom: 8px; }
.course p { color: var(--muted); }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold); padding: 2px 8px; line-height: 1.6;
}
.gold-list { list-style: none; margin: 0; padding: 0; }
.gold-list li { position: relative; padding: 5px 0 5px 22px; }
.gold-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Fees ---------- */
/* Standard and Enhanced use identical cards on purpose – neither is more prominent. */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.price-card {
  display: flex; flex-direction: column; padding: 32px 32px 28px; text-align: center;
  background: var(--paper); border: 1px solid var(--line-gold); position: relative;
}
.price-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.price-card h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); line-height: 1.7; margin: 0 0 20px; flex: 1; }
.price-card h4 .rate-name { display: block; }
.price-card h4 .rate-applies { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; letter-spacing: .01em; text-transform: none; color: var(--muted); }
.price-card h4 .rate-applies strong { font-weight: 700; color: var(--navy); }
.fees-intro { max-width: 62ch; margin: 4px 0 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 23px); font-weight: 500; line-height: 1.5; color: var(--navy); }
.price-line { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 58px; font-weight: 500; line-height: 1; color: var(--navy); }
.price-unit { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.price-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.travel-tier { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.travel-tier:first-of-type { border-top: 0; }
.tier-label { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.example { font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 34px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.c-icon { position: relative; width: 56px; height: 56px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); margin-bottom: 28px; }
.c-icon::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(200, 169, 106, .4); }
.c-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 28px; }
.c-value { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--navy); word-break: break-word; margin-bottom: 26px; }
.contact-card > .btn, .card-actions { margin-top: auto; }
.phone-list { width: 100%; margin: 0 0 26px; }
.phone-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.phone-list > div:first-child { padding-top: 0; }
.phone-list dt { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.phone-list dd { font-variant-numeric: lining-nums; margin: 2px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--navy); }

/* ---------- Story banner ---------- */
.story-banner { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper); padding-block: clamp(96px, 13vw, 170px); text-align: center; }
.story-banner-media { position: absolute; inset: -12% 0; z-index: -3; }
.story-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--banner-focus, 50% 50%); opacity: var(--banner-opacity, .3); will-change: transform; }
.story-banner::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at center, rgba(13, 23, 38, .45), rgba(13, 23, 38, .9) 75%); }
.story-banner .banner-pattern { -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 80%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 80%); opacity: .08; }
.story-banner-title { color: var(--paper); font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; line-height: 1.25; margin-bottom: 30px; }
.story-banner-title span { display: block; }
.story-banner-title strong { display: block; margin-top: 18px; font-size: 1.25em; font-weight: 600; letter-spacing: .06em; color: var(--gold-soft); }
.story-banner-text p { margin: 0 auto 6px; max-width: 640px; font-size: 17px; color: var(--on-navy); }
.story-banner-text p:last-child { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-soft); }

/* ---------- My story ---------- */
.my-story-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.my-story-media .framed-photo { max-width: 360px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.my-story-text p:not(.eyebrow) { font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-navy); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice); opacity: .03; pointer-events: none; }
.footer-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.footer-brand .brand-mark { grid-row: span 2; }
.footer-name { font-size: 13px; font-weight: 500; letter-spacing: .42em; color: var(--paper); }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-soft); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--on-navy); transition: color .2s; }
.footer-nav a:hover { color: var(--gold-soft); }
.copyright { position: relative; border-top: 1px solid rgba(200, 169, 106, .2); padding-block: 22px; font-size: 13px; color: rgba(217, 222, 230, .7); }
.copyright strong { font-weight: 500; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 16px); opacity: 0;
  padding: 14px 24px; background: var(--navy); color: var(--paper); border: 1px solid var(--gold);
  font-size: 14px; letter-spacing: .04em; transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav ul { gap: 16px; }
  .brand-name { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .ring-stage { max-width: 440px; margin-inline: auto; width: 100%; }
  .stats-text { text-align: center; }
  .about-intro { grid-template-columns: 1fr; }
  .about-aside { position: static; max-width: 360px; order: -1; }
  .features-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .brand-name { display: inline; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: rgba(13, 23, 38, .98); border-top: 1px solid rgba(200, 169, 106, .3);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; }
  .site-nav li { border-bottom: 1px solid rgba(200, 169, 106, .15); }
  .site-nav a { display: block; padding: 16px 0; font-size: 13px; }
  .site-nav a::after { display: none; }
  .lang-item { border-bottom: 0 !important; padding-top: 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .banner { min-height: 440px; }
  .banner-tall { min-height: min(88vh, 760px); align-items: flex-end; }
  .banner-shade {
    background:
      linear-gradient(0deg, rgba(13, 23, 38, .95) 0%, rgba(13, 23, 38, .65) 45%, rgba(13, 23, 38, .25) 75%),
      linear-gradient(180deg, rgba(13, 23, 38, .7) 0%, rgba(13, 23, 38, 0) 22%);
  }
  .banner-pattern { -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%); mask-image: linear-gradient(0deg, #000, transparent 70%); }
  .banner-frame { display: none; }
  .btn { padding-inline: 20px; letter-spacing: .16em; }
  .review-grid { gap: 20px; }
  .exp-points, .course-list, .price-cards, .contact-grid { grid-template-columns: 1fr; }
  .feature, .feature-lg { grid-template-columns: 1fr; gap: 20px; }
  .travel-tier { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { left: 4px; }
  .timeline-group { padding-left: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline-item::before { left: 0; top: 18px; }
  .timeline-year { text-align: left; font-size: 36px; }
  .acc summary { grid-template-columns: 1fr 40px; padding: 24px 0; }
  .acc-num { display: none; }
  .acc-body { padding: 0 0 32px; }
  .my-story-inner { grid-template-columns: 1fr; }
  .framed-photo::before { inset: 12px -12px -12px 12px; }
}

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