/* Daris Education: "Ink & Ember" theme */
:root {
  --ink: #10202f;
  --ink-2: #183048;
  --ink-3: #24405c;
  --paper: #faf6ef;
  --paper-2: #f2eadc;
  --card: #ffffff;
  --ember: #f25a29;
  --ember-dark: #d4461a;
  --ember-soft: #fde6dc;
  --gold: #f4b740;
  --text: #1b2733;
  --muted: #5d6874;
  --line: #e7dcc9;
  --on-dark: #eef2f6;
  --on-dark-muted: #a9b8c7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(16, 32, 47, .35);
  --shadow-sm: 0 6px 18px -10px rgba(16, 32, 47, .3);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ember); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .97rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
  font-family: inherit; line-height: 1.2;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 22px -12px var(--ember); }
.btn-primary:hover { background: var(--ember-dark); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--ember-dark); font-weight: 600; text-decoration: none; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.text-link.light { color: var(--gold); margin-top: 14px; display: flex; }

/* Top bar */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--ember); }
.topbar-right { gap: 22px !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(16, 32, 47, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 128px; height: auto; }
.brand-sub { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); border-left: 2px solid var(--ember); padding-left: 10px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > ul { display: flex; gap: 4px; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav > ul > li > a { padding: 10px 14px; border-radius: 999px; display: block; transition: background .2s, color .2s; }
.site-nav > ul > li > a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ember-dark); background: var(--ember-soft); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; border: 1px solid var(--line); }
.sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--ember-soft); color: var(--ember-dark); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.bg-paper-2 { background: var(--paper-2); }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--on-dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--ember); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.on-dark .section-head p { color: var(--on-dark-muted); }
.accent { color: var(--ember); font-style: italic; }
.swoosh { position: relative; white-space: nowrap; }
.swoosh::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 40' preserveAspectRatio='none'%3E%3Cpath d='M2 14 22 38 218 2 24 30Z' fill='%23f25a29'/%3E%3C/svg%3E") no-repeat center / 100% 100%; z-index: -1; }
.lead { font-size: 1.15rem; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px; background: radial-gradient(circle, rgba(242, 90, 41, .16), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--ember); }
.hero-media { position: relative; }
.hero-photo { border-radius: 28px 28px 28px 120px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { position: absolute; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.hero-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
.hero-card small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; margin-top: 4px; }
.hero-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ember-soft); color: var(--ember-dark); font-size: 22px; }
.hero-card.c1 { left: -28px; bottom: 36px; }
.hero-card.c2 { right: -18px; top: 30px; }
.hero-card.c2 .ico { background: var(--ink); color: var(--gold); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { padding: 30px 26px; color: var(--on-dark); border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; font-weight: 600; }
.stat .num em { color: var(--ember); font-style: normal; }
.stat p { margin: 10px 0 0; color: var(--on-dark-muted); font-size: .93rem; line-height: 1.45; }
.stats-wrap { margin-top: -56px; position: relative; z-index: 2; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.course-card { display: flex; flex-direction: column; text-decoration: none; }
.course-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); position: relative; }
.course-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .media img { transform: scale(1.04); }
.course-card .tag { position: absolute; top: 16px; left: 16px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; letter-spacing: .03em; }
.course-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.course-card .body p { color: var(--muted); }
.course-card ul.mini { margin: 0 0 22px; display: grid; gap: 8px; }
.course-card .text-link { margin-top: auto; }
ul.mini li, ul.checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.mini svg, ul.checks svg { color: var(--ember); margin-top: .35em; }
ul.checks { display: grid; gap: 12px; }

.ielts-art { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; position: relative; overflow: hidden; }
.ielts-art span { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; letter-spacing: .02em; position: relative; }
.ielts-art::before, .ielts-art::after { content: ""; position: absolute; border-radius: 50%; }
.ielts-art::before { width: 240px; height: 240px; background: var(--ember); right: -70px; bottom: -110px; opacity: .9; }
.ielts-art::after { width: 120px; height: 120px; border: 2px solid rgba(255, 255, 255, .2); left: 30px; top: 24px; }
.ielts-art .skills { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; font-size: .78rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.ielts-art .skills i { font-style: normal; background: rgba(255, 255, 255, .12); padding: 4px 10px; border-radius: 999px; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); padding: 26px; transition: background .25s, border-color .25s; }
.why-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(242, 90, 41, .5); }
.why-item .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 90, 41, .15); color: var(--ember); font-size: 22px; margin-bottom: 16px; }
.why-item h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .94rem; }

/* Results */
.result-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.result-card .year { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.result-card h3 { margin: 6px 0 20px; }
.result-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.grade-box { background: var(--paper); border-radius: 14px; padding: 18px; }
.grade-box .g { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.grade-box .g sup { font-size: .5em; color: var(--ember); }
.grade-box small { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.grade-box.star { background: var(--ink); }
.grade-box.star .g { color: #fff; }
.grade-box.star small { color: var(--on-dark-muted); }
.pdf-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pdf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ember-soft); color: var(--ember-dark); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background .2s, color .2s; }
.pdf-chip:hover { background: var(--ember); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }

/* Books */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book-card .media { background: var(--paper-2); aspect-ratio: 3 / 2; overflow: hidden; }
.book-card .media img { width: 100%; height: 100%; object-fit: cover; }
.book-card .body { padding: 24px 26px 28px; }
.book-card .code { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--ember-dark); background: var(--ember-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.book-card p { color: var(--muted); margin: 0; }
.story-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.story { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s, transform .2s; }
.story:hover { border-color: var(--ember); transform: translateY(-2px); }
.story .ico { width: 42px; height: 52px; border-radius: 6px 10px 10px 6px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 18px; flex: none; box-shadow: inset 4px 0 0 var(--ember); }
.story strong { display: block; font-weight: 600; line-height: 1.3; }
.story small { color: var(--muted); }

/* About */
.portrait { position: relative; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.portrait .badge { position: absolute; right: -14px; bottom: -22px; background: var(--ember); color: #fff; padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow); max-width: 220px; }
.portrait .badge strong { font-family: var(--font-display); font-size: 2.2rem; display: block; line-height: 1; }
.portrait .badge span { font-size: .88rem; line-height: 1.35; display: block; margin-top: 6px; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.cred { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: .93rem; line-height: 1.4; }
.cred svg { color: var(--ember); font-size: 20px; margin-top: 1px; }
.cred strong { display: block; color: var(--ink); }
.cred span { color: var(--muted); }
.timeline { position: relative; display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 164px; top: 8px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, .12); }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 48px; padding: 0 0 34px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .when { font-family: var(--font-display); color: var(--ember); font-weight: 600; font-size: 1.05rem; text-align: right; padding-top: 2px; }
.tl-item::after { content: ""; position: absolute; left: 157px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--ember); }
.tl-item h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 0 0 4px; }
.tl-item p { margin: 0; font-size: .95rem; }
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; color: var(--ink); max-width: 860px; margin: 0 auto; text-align: center; font-weight: 500; }
.quote::before { content: "\201C"; display: block; font-size: 4em; line-height: .6; color: var(--ember); margin-bottom: 8px; }
.quote-by { text-align: center; color: var(--muted); margin-top: 18px; font-weight: 600; }
.cambridge-years { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cambridge-years span { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; }

/* Page hero */
.page-hero { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 84px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(242, 90, 41, .3), transparent 65%); }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: 26px; width: 260px; height: 48px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 40'%3E%3Cpath d='M2 14 22 38 218 2 24 30Z' fill='%23f25a29' opacity='.35'/%3E%3C/svg%3E") no-repeat center / contain; }
.page-hero h1 { color: #fff; max-width: 780px; position: relative; }
.page-hero p { color: var(--on-dark-muted); max-width: 640px; font-size: 1.12rem; margin: 0; position: relative; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--on-dark-muted); margin-bottom: 18px; position: relative; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ember); display: block; line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ember) 0%, #e8481b 100%); border-radius: 26px; padding: clamp(36px, 5vw, 60px); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 40'%3E%3Cpath d='M2 14 22 38 218 2 24 30Z' fill='%23fff' opacity='.18'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(-8deg); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ember-dark); border-color: #fff; }

/* Info blocks */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ember-soft); color: var(--ember-dark); font-size: 22px; margin-bottom: 14px; }
.info h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.info p { color: var(--muted); margin: 0; font-size: .95rem; }
.info a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info a:hover { color: var(--ember-dark); }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--ember); font-size: 20px; flex: none; }
.contact-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--ember-dark); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.form-card { background: var(--card); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-legend { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line); }
.form-legend:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: .97rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ember); background: #fff; box-shadow: 0 0 0 4px rgba(242, 90, 41, .14); }
textarea { min-height: 100px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #e8f6ee; color: #1d6b40; font-weight: 500; font-size: .93rem; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }

/* Notice */
.notice { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--ember); }
.notice .ico { font-size: 26px; color: var(--ember); margin-top: 2px; }
.notice h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-about img { width: 140px; margin-bottom: 12px; }
.footer-tag { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--ember); margin-top: .3em; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--ember); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: .86rem; flex-wrap: wrap; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 18, 27, .92); display: grid; place-items: center; z-index: 200; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; cursor: pointer; line-height: 1; }

/* Logo intro (plays once per session; timing modelled on duabd.org) */
.intro-overlay { display: none; }
.intro-on .intro-overlay {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden;
  background: var(--ink); color: #fff; cursor: pointer;
}
.intro-on body { overflow: hidden; }
.intro-overlay.is-leaving { animation: intro-exit .7s var(--ease-out) forwards; pointer-events: none; }
.intro-glow { position: absolute; left: 50%; top: 50%; width: 42rem; height: 42rem; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 90, 41, .22), transparent 62%); pointer-events: none; }
.intro-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 24px; text-align: center; }
.intro-mark { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.intro-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro-ring circle { fill: none; stroke: var(--ember); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 358.2; stroke-dashoffset: 358.2; animation: intro-ring 1.5s var(--ease-out) forwards; }
.intro-emblem { width: 112px; height: 112px; opacity: 0; filter: drop-shadow(0 10px 30px rgba(242, 90, 41, .35)); animation: intro-spin 1.5s var(--ease-out) forwards; }
.intro-d { fill: #fff; }
.intro-tick { fill: var(--ember); clip-path: inset(0 100% 0 0); animation: intro-swipe .6s var(--ease-out) 1s forwards; }
.intro-text { display: grid; justify-items: center; gap: 6px; opacity: 0; animation: intro-up .8s var(--ease-out) .75s forwards; }
.intro-text img { width: 190px; }
.intro-sub { font-size: .78rem; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; color: var(--on-dark-muted); margin-right: -.5em; }
.intro-tagline { margin: 10px 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 3vw, 1.5rem); color: var(--ember); }
.intro-skip { position: absolute; right: 28px; bottom: 28px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--on-dark-muted); font: 500 .78rem var(--font-body); cursor: pointer; transition: background .2s, color .2s; }
.intro-skip:hover { background: rgba(255, 255, 255, .14); color: #fff; }
@keyframes intro-spin { from { opacity: 0; transform: rotate(-200deg) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes intro-ring { from { stroke-dashoffset: 358.2; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes intro-swipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes intro-exit { to { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .intro-emblem, .intro-text { animation: intro-fade .4s ease forwards; }
  .intro-ring circle { animation: none; stroke-dashoffset: 0; }
  .intro-tick { animation: none; clip-path: none; }
  .intro-overlay.is-leaving { animation: intro-fade-out .3s ease forwards; }
}
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-fade-out { to { opacity: 0; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 14px; }
  .site-nav > ul > li > a { padding: 10px 10px; }
}
@media (max-width: 960px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16, 32, 47, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - 78px); overflow-y: auto; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav > ul > li > a { padding: 12px 14px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; min-width: 0; }
  .has-sub > a::after { display: none; }
  .hero-grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .why-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .result-band, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .portrait { max-width: 600px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .site-nav { inset: 70px 0 auto 0; max-height: calc(100vh - 70px); }
  .header-inner { height: 70px; }
  .brand img { width: 108px; }
  .brand-sub { font-size: .95rem; }
  .course-grid, .book-grid, .why-grid, .info-grid, .steps, .skill-grid, .creds, .form-grid, .result-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card.c1 { left: 10px; bottom: 14px; }
  .hero-card.c2 { right: 10px; top: 14px; }
  .hero-card { padding: 12px 14px; }
  .hero-card strong { font-size: 1.3rem; }
  .hero-card .ico { width: 38px; height: 38px; font-size: 18px; }
  .stat { padding: 22px 18px; }
  .stats-wrap { margin-top: -40px; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .tl-item::after { left: 0; }
  .tl-item .when { text-align: left; }
  .portrait .badge { right: 10px; bottom: -18px; }
  .gallery { grid-auto-rows: 130px; gap: 10px; }
  .gallery .wide { grid-column: span 2; }
  .notice { flex-direction: column; gap: 10px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
