/* ===================================================================
   Méntal — Semi-Permanent Makeup, Bangkok
   Palette: taupe #8B7355 · cream #F2EDE5 · charcoal #2C2C2A
   Type: Cormorant Garamond (serif) + Inter (sans)
   =================================================================== */

:root {
  color-scheme: light;
  --bg:          #FAFAF8;   /* page base */
  --surface:     #F2EDE5;   /* warm cream — hero text panel, cards, quote */
  --surface-2:   #E8E4DD;   /* outer frame */
  --card:        #FFFFFF;   /* nav, white sections, cards, float bar */
  --text:        #2C2C2A;   /* charcoal */
  --muted:       #6B6B68;   /* secondary text */
  --accent:      #8B7355;   /* taupe */
  --accent-soft: #B8A290;
  --line:        rgba(0,0,0,0.06);

  --btn-bg:      #2C2C2A;   /* primary button / dark pill */
  --btn-fg:      #FAFAF8;
  --on-accent:   #FFFFFF;   /* text/icon on a taupe pill */
  --footer-bg:   #2C2C2A;   /* footer stays dark in both themes */
  --footer-fg:   #FAFAF8;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1280px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #181613;
  --surface:     #211E1A;
  --surface-2:   #100F0D;
  --card:        #262220;
  --text:        #ECE6DB;
  --muted:       #A99E8E;
  --accent:      #C8A87B;
  --accent-soft: #9A8568;
  --line:        rgba(255,255,255,0.10);

  --btn-bg:      #C8A87B;
  --btn-fg:      #181613;
  --on-accent:   #181613;
  --footer-bg:   #100F0D;
  --footer-fg:   #ECE6DB;
}

/* smooth theme crossfade */
body, header, .hero-text, .services, .essence, .care, .academy, .quote,
.about, .service-card, .float-bar, .mobile-menu, footer, .tag, .theme-toggle {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--serif); }

/* The site sits in a centered frame, like the mockup */
header, main, footer { max-width: var(--max); margin-left: auto; margin-right: auto; }
header { background: var(--card); }
main { background: var(--bg); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); padding: 16px 32px; }
.btn-primary:hover { transform: translateY(-2px); opacity: .9; }
.btn-text { background: transparent; color: var(--text); padding: 16px 8px; }
.btn-text:hover { color: var(--accent); }

/* ===================== NAV ===================== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 0.5px solid var(--line);
  position: relative;
}
.social-pills { display: flex; gap: 8px; }
.social-pills span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .02em;
  transition: transform .25s ease, background .25s ease;
}
.social-pills a:hover span { transform: translateY(-2px); background: var(--text); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.nav-link { color: var(--text); position: relative; padding-bottom: 2px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent); transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

.logo { text-align: center; line-height: 1; }
.logo-1 {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.logo-2 {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--accent);
  margin-top: 1px;
  padding-left: 0.5em; /* optical balance for tracking */
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; }
.lang button {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); padding: 0;
}
.lang button.is-active { color: var(--text); }
.lang .lang-zh:hover { color: var(--accent); }
.lang-sep { color: var(--accent-soft); }

/* theme toggle pill */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--text); }
.theme-label-light { display: none; }
html[data-theme="dark"] .theme-label-dark { display: none; }
html[data-theme="dark"] .theme-label-light { display: inline; }

.menu-toggle { display: none; }

.mobile-menu { display: none; }

/* ===================== HERO ===================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 78px);
}
.hero-text {
  background: var(--surface);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-text h1 {
  font-size: clamp(44px, 5.2vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 24px 0;
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
}
.hero-sub em { font-style: italic; color: var(--accent); }
.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-image {
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 20%;
}

/* ===================== SERVICES ===================== */
.services { background: var(--card); padding: 80px 60px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 300;
  margin-top: 16px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(44,44,42,.45);
}
.service-num {
  font-size: 48px; font-weight: 300;
  color: var(--accent); line-height: 1;
  margin-bottom: 12px;
}
.service-card h3 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-card .price {
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.15em; font-weight: 500; margin-bottom: 0;
}

/* ===================== ESSENCE / VALUES ===================== */
.essence { background: var(--surface); padding: 88px 60px; text-align: center; }
.essence-lead {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 300;
  line-height: 1.45;
  max-width: 760px;
  margin: 18px auto 0;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 920px;
  margin: 56px auto 0;
  text-align: left;
}
.value h4 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.value p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===================== CARE ===================== */
.care { background: var(--surface); padding: 80px 60px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-intro {
  font-size: 14px; color: var(--muted); line-height: 1.8;
  margin: 14px auto 0; max-width: 540px;
}
.care-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; max-width: 980px; margin: 8px auto 0;
}
.care-col h3 { font-size: 22px; font-weight: 400; margin-bottom: 16px; }
.care-list { list-style: none; }
.care-list li {
  font-size: 13px; color: var(--muted); line-height: 1.7;
  padding: 11px 0 11px 20px; position: relative;
  border-bottom: 0.5px solid var(--line);
}
.care-list li:last-child { border-bottom: none; }
.care-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

.faq details { border-bottom: 0.5px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 13px 0; font-family: var(--serif); font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 13px; color: var(--muted); line-height: 1.7; padding: 0 0 14px; }

/* ===================== ACADEMY ===================== */
.academy { background: var(--card); padding: 80px 60px; }
.courses {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  max-width: 820px; margin: 0 auto; border-top: 0.5px solid var(--line);
}
.courses li {
  font-family: var(--serif); font-size: 19px;
  padding: 16px 8px; border-bottom: 0.5px solid var(--line);
  display: flex; gap: 12px; align-items: center;
}
.courses li::before { content: "—"; color: var(--accent); }
.courses li:nth-child(odd) { padding-right: 24px; }
.courses li:nth-child(even) { padding-left: 24px; }
.academy-cta { text-align: center; margin-top: 44px; }

/* ===================== QUOTE ===================== */
.quote { background: var(--surface); padding: 100px 60px; text-align: center; }
.quote p:first-child {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300; font-style: italic;
  line-height: 1.4;
  max-width: 720px; margin: 0 auto 20px;
}
.quote .signature {
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--accent); font-weight: 500; font-style: normal;
}

/* ===================== ABOUT ===================== */
.about { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--card); }
.about-img {
  background-image: url('images/katiya.jpg');
  background-size: cover;
  background-position: center 18%;
  min-height: 500px;
}
.about-text {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-text h2 { font-size: clamp(30px, 3.2vw, 36px); font-weight: 300; margin: 16px 0 20px; }
.about-text p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  background: var(--surface); color: var(--accent);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
}

/* ===================== FOOTER ===================== */
footer { background: var(--footer-bg); color: var(--footer-fg); padding: 56px 60px 40px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-1 { color: var(--footer-fg); }
.footer-brand .logo-2 { color: var(--accent-soft); }
.footer-zh {
  display: block;
  font-family: var(--serif), 'Noto Serif TC', serif;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--accent-soft);
  margin-top: 10px;
}
.footer-brand p {
  font-size: 13px; line-height: 1.8;
  color: rgba(250,250,248,0.7);
  margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 16px; font-weight: 500;
}
.footer-col p { font-size: 13px; line-height: 1.8; color: rgba(250,250,248,0.85); }
.footer-col .footer-meta { color: rgba(250,250,248,0.55); margin-top: 12px; }
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(250,250,248,0.85); padding: 4px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: #FFF; }
.footer-col a span { margin-right: 10px; color: var(--accent-soft); display: inline-block; min-width: 3em; }
.footer-legal {
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid rgba(250,250,248,0.1);
  font-size: 11px; letter-spacing: 0.06em;
  color: rgba(250,250,248,0.4);
}

/* ===================== FLOATING BAR ===================== */
.float-bar {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--card);
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 12px;
  z-index: 100;
}
.float-label { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-right: 2px; }
.float-bar .pill {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform .25s ease, background .25s ease;
}
.float-bar .pill:hover { transform: translateY(-2px); background: var(--text); }
.float-bar .book-btn {
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 12px 26px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  white-space: nowrap;
  transition: opacity .25s ease;
}
.float-bar .book-btn:hover { opacity: .9; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-center { gap: 0; }
  .nav-center .nav-link { display: none; }      /* collapse text links to hamburger */
  .logo-1 { font-size: 22px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

  .mobile-menu.open {
    display: flex; flex-direction: column;
    background: var(--card); border-bottom: 0.5px solid var(--line);
    padding: 8px 24px 20px;
  }
  .mobile-menu a { padding: 12px 0; font-size: 14px; letter-spacing: .05em; border-bottom: 0.5px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 64vh; order: -1; background-position: center 15%; }
  .hero-text { padding: 56px 32px; }

  .services, .quote, .essence, .care, .academy { padding: 64px 32px; }
  .service-grid { gap: 16px; }
  .values { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; text-align: center; max-width: 360px; }
  .care-grid { grid-template-columns: 1fr; gap: 40px; }
  .courses { grid-template-columns: 1fr; }
  .courses li:nth-child(odd), .courses li:nth-child(even) { padding-left: 8px; padding-right: 8px; }

  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 60vh; order: -1; }
  .about-text { padding: 56px 32px; }

  footer { padding: 48px 32px 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }

  .float-label { display: none; }
  .float-bar { bottom: 16px; gap: 10px; padding: 7px 7px 7px 14px; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 40px; }
  .float-bar .pill { width: 34px; height: 34px; }
  .float-bar .book-btn { padding: 11px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* visible focus for keyboard users */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ===================== BILINGUAL (EN / 中文) ===================== */
.zh { display: none; }
html[lang="zh"] .en { display: none; }
html[lang="zh"] .zh { display: inline; }

html[lang="zh"] body { font-family: 'Noto Sans TC', var(--sans); }
html[lang="zh"] .serif,
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4,
html[lang="zh"] .essence-lead,
html[lang="zh"] .studio-quote blockquote {
  font-family: 'Noto Serif TC', var(--serif);
}
/* Chinese needs no italics and tighter tracking */
html[lang="zh"] em { font-style: normal; }
html[lang="zh"] .hero-lead,
html[lang="zh"] .essence-lead,
html[lang="zh"] .studio-quote blockquote { font-style: normal; }
html[lang="zh"] .eyebrow,
html[lang="zh"] .nav-link,
html[lang="zh"] .btn,
html[lang="zh"] .tag,
html[lang="zh"] .footer-col h4,
html[lang="zh"] .studio-sig,
html[lang="zh"] .price { letter-spacing: 0.06em; text-transform: none; }


.logo-2 { font-family: 'Noto Serif TC', var(--serif); letter-spacing: 0.28em; padding-left: 0.28em; }

/* ===================== SERVICE IMAGE CARDS ===================== */
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -28px rgba(20,18,16,.5); }
.card-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
/* discreet card for the intimate service (no public photos) */
.card-private { aspect-ratio: 3 / 4; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(150deg, var(--surface), var(--accent-soft)); }
.card-private .mono { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--accent); opacity: .55; }
.card-private .plabel { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); opacity: .8; }
html[lang="zh"] .card-private .plabel { letter-spacing: .1em; text-transform: none; }
.card-body { padding: 22px 22px 26px; }
.service-num { display: block; font-size: 13px; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 6px; }
.service-card h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.card-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.card-body .price { font-size: 11px; color: var(--accent); letter-spacing: 0.15em; font-weight: 500; margin-bottom: 0; }

/* ===================== STUDIO QUOTE BAND ===================== */
.studio-quote {
  position: relative; isolation: isolate;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 90px var(--pad);
  overflow: hidden;
}
.studio-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('images/studio.jpg') center 22%/cover no-repeat;
  transform: scale(1.03);
  filter: grayscale(0.2);
}
.studio-quote::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(26,22,19,.52), rgba(26,22,19,.7));
}
.studio-inner { max-width: 760px; color: #FAF6F0; }
.studio-quote blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1.42; margin-top: 14px;
}
.studio-quote .eyebrow.light { color: #E4D0B6; }
.studio-sig { margin-top: 20px; font-size: 11px; letter-spacing: 0.3em; color: #DCC8AC; }

@media (max-width: 768px) {
  .studio-quote { min-height: 60vh; padding: 64px 32px; }
}

/* ===================== POLICY (Care / 須知) ===================== */
.policy-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px; max-width: 980px; margin: 0 auto 56px;
}
.policy-block h4 { font-size: 19px; font-weight: 400; margin-bottom: 12px; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-wrap h3 { font-size: 22px; font-weight: 400; text-align: center; margin-bottom: 16px; }

/* ===================== ACADEMY TRACKS ===================== */
.tracks {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem); max-width: 980px; margin: 0 auto 44px; text-align: left;
}
.track-no { font-size: 1.5rem; color: var(--accent); }
.track h3 { font-size: 1.5rem; font-weight: 400; margin: 4px 0 10px; }
.track-lead { font-size: 14px; color: var(--text); font-weight: 500; margin-bottom: 14px; }
.track > p:not(.track-lead) { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.track .courses { grid-template-columns: 1fr; max-width: none; }
.track .courses li { font-size: 17px; padding: 12px 4px; }
.track .courses li:nth-child(odd), .track .courses li:nth-child(even) { padding-left: 4px; padding-right: 4px; }
.academy-photo { position: relative; max-width: 980px; margin: 0 auto 44px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: clamp(240px, 32vw, 360px); background: var(--surface); }
.academy-photo .aslide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; transition: opacity 1.1s ease; }
.academy-photo .aslide.is-active { opacity: 1; }
.academy-photo .aslide img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.academy-photo.single img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.aslide-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.aslide-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); transition: background .3s ease; }
.aslide-dots span.on { background: #fff; }
.aslide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(28,24,20,.34); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s ease; }
.aslide-nav:hover { background: rgba(28,24,20,.6); }
.aslide-nav.prev { left: 12px; } .aslide-nav.next { right: 12px; }
@media (max-width: 560px){ .aslide-nav { width: 34px; height: 34px; font-size: 19px; } }
.academy-service {
  max-width: 980px; margin: 0 auto 40px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 4vw, 46px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; text-align: left;
}
.academy-service .as-text { flex: 1; min-width: 260px; }
.academy-service .as-eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
html[lang="zh"] .academy-service .as-eyebrow { letter-spacing: .12em; text-transform: none; }
.academy-service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 10px; }
.academy-service p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 58ch; }
.academy-service .btn { white-space: nowrap; }
@media (max-width: 640px){ .academy-service { flex-direction: column; align-items: flex-start; } }

@media (max-width: 768px) {
  .policy-grid { grid-template-columns: 1fr; gap: 32px; }
  .tracks { grid-template-columns: 1fr; }
}

/* collapsible policy accordions */
.policy-wrap { margin-bottom: 44px; }
.faq details .care-list { padding: 4px 0 14px; }
.faq details .care-list li { border-bottom: none; padding: 6px 0 6px 20px; }
.faq details .care-list li:last-child { padding-bottom: 2px; }
