/* Master Academy: copper on black. Layout: one wide column per page, big kashida headlines, photography framed like a studio. */
@font-face {
  font-family: "The Year of Handicrafts";
  src: url("../fonts/TheYearofHandicrafts-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* light: gallery paper, black ink, burnished copper */
  --bg: #f6f4f1;
  --bg-2: #eeeae5;
  --panel: #ffffff;
  --line: #e2dad1;
  --line-strong: #c4b6a8;
  --fg: #14100d;
  --fg-muted: #5e5249;
  --accent-text: #8b4e28;
  --copper: #c58251;
  --copper-hover: #d6935f;
  --on-copper: #120d0a;
  --metal-1: #5c3118;
  --metal-2: #a3612f;
  --metal-3: #cf8b55;
  --metal-4: #7a4423;
  --glow: rgba(197, 130, 81, .20);
  --header-bg: rgba(246, 244, 241, .82);
  --grain-opacity: .035;
  --logo-light: block;
  --logo-dark: none;
  --chip-bg: rgba(20, 16, 13, .05);
  --input-bg: #ffffff;
  --success-bg: #f1e6dc;

  /* the stage: always black, in both themes */
  --stage: #0b0908;
  --stage-2: #15110e;
  --stage-fg: #f6efe8;
  --stage-muted: #b9aa9c;
  --stage-line: rgba(246, 239, 232, .14);
  --stage-accent: #e3a67b;

  --font-ar: "The Year of Handicrafts", "Hepta Slab", Inter, sans-serif;
  --font-latin: "Hepta Slab", Georgia, serif;
  --font-ui: Inter, system-ui, sans-serif;

  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-pill: 9999px;
  --wrap: 1180px;
  --section: clamp(48px, 7vw, 96px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0908; --bg-2: #120f0d; --panel: #17130f; --line: #2a221c; --line-strong: #44372d;
    --fg: #f5efe9; --fg-muted: #b3a597; --accent-text: #e3a67b;
    --copper: #cf8a5a; --copper-hover: #e09c6b; --on-copper: #0b0908;
    --metal-1: #8a4f2a; --metal-2: #c98a5e; --metal-3: #f3cba9; --metal-4: #b66e3e;
    --glow: rgba(207, 138, 90, .26);
    --header-bg: rgba(11, 9, 8, .78);
    --grain-opacity: .07;
    --logo-light: none; --logo-dark: block;
    --chip-bg: rgba(245, 239, 233, .06);
    --input-bg: #120f0d;
    --success-bg: #21180f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0908; --bg-2: #120f0d; --panel: #17130f; --line: #2a221c; --line-strong: #44372d;
  --fg: #f5efe9; --fg-muted: #b3a597; --accent-text: #e3a67b;
  --copper: #cf8a5a; --copper-hover: #e09c6b; --on-copper: #0b0908;
  --metal-1: #8a4f2a; --metal-2: #c98a5e; --metal-3: #f3cba9; --metal-4: #b66e3e;
  --glow: rgba(207, 138, 90, .26);
  --header-bg: rgba(11, 9, 8, .78);
  --grain-opacity: .07;
  --logo-light: none; --logo-dark: block;
  --chip-bg: rgba(245, 239, 233, .06);
  --input-bg: #120f0d;
  --success-bg: #21180f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ar);
  font-weight: 400;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, .ltr { font-family: var(--font-ui); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.en { font-family: var(--font-latin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: 0; }

/* Metallic copper type: the signature */
.metal {
  background: linear-gradient(100deg, var(--metal-1) 0%, var(--metal-2) 28%, var(--metal-3) 52%, var(--metal-4) 78%, var(--metal-1) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.stage .metal { --metal-1: #8a4f2a; --metal-2: #c98a5e; --metal-3: #f3cba9; --metal-4: #b66e3e; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--accent-text); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ar); font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: var(--r-pill);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-copper { background: var(--copper); color: var(--on-copper); }
.btn-copper:hover { background: var(--copper-hover); transform: translateY(-2px); box-shadow: 0 12px 32px var(--glow); }
.btn-line { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-line:hover { border-color: var(--copper); color: var(--accent-text); }
.stage .btn-line { border-color: rgba(246,239,232,.32); color: var(--stage-fg); }
.stage .btn-line:hover { border-color: var(--stage-accent); color: var(--stage-accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.arrow { transition: transform .2s ease; }
a:hover > .arrow, button:hover > .arrow { transform: translateX(-4px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 36px; width: auto; }
.logo .on-light { display: var(--logo-light); }
.logo .on-dark { display: var(--logo-dark); }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--fg-muted); font-size: 15px; padding: 8px 12px; border-radius: var(--r-pill); transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--fg); background: var(--chip-bg); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--chip-bg); box-shadow: inset 0 -2px 0 var(--copper); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--fg);
  transition: border-color .2s ease, color .2s ease, transform .3s ease;
}
.icon-btn:hover { border-color: var(--copper); color: var(--accent-text); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: var(--logo-dark); }
.theme-toggle .moon { display: var(--logo-light); }
.menu-btn { display: none; }
.mobile-nav { border-top: 1px solid var(--line); }
.mobile-nav .wrap { display: grid; gap: 2px; padding-block: 12px 20px; }
.mobile-nav a { text-decoration: none; padding: 12px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--accent-text); }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 480px) {
  .header-tools .btn { display: none; }
  .logo img { height: 36px; }
}

/* Page heads */
.page-head { padding-block: clamp(36px, 5vw, 72px) 0; position: relative; }
.page-head::after {
  content: ""; position: absolute; z-index: -1; top: -140px; inset-inline-start: -10%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--glow), transparent 60%); pointer-events: none;
}
.page-head h1 { font-size: clamp(34px, 5vw, 66px); line-height: 1.38; margin-top: 14px; }
.page-head .lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--fg-muted); max-width: 36em; margin-top: 18px; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--fg-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 4vw, 64px) 0; position: relative; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; inset-inline-end: -25%; top: -20%;
  background: radial-gradient(circle, var(--glow), transparent 62%);
}
.hero h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35; margin-block: 18px 22px; white-space: nowrap; text-wrap: nowrap; }
.hero .lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--fg-muted); max-width: 30em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; }
.hero-stats .num { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.hero-stats span:not(.num) { font-size: 14px; color: var(--fg-muted); }
.hero-art { position: relative; max-width: 440px; width: 100%; justify-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-art .frame { border-radius: var(--r-lg); overflow: hidden; background: var(--stage); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hero-art .frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.hero-art .frame:nth-child(2) { transform: translateY(64px); }
.badge-live {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 10px 18px; font-size: 15px; box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.badge-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 var(--copper); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(207,138,90,.6); } 100% { box-shadow: 0 0 0 12px rgba(207,138,90,0); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-bottom: 64px; }
}

/* Tool marquee */
.marquee { margin-top: var(--section); border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--font-latin); font-size: clamp(17px, 1.7vw, 22px); padding-inline: 28px; white-space: nowrap; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 48px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.42; margin-top: 8px; }
.section-head p { color: var(--fg-muted); max-width: 32em; }

/* Course cards */
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 18px; }
@media (min-width: 1140px) { .courses { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.course { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.course .shot { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--stage); }
.course .shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.course:hover .shot img { transform: scale(1.06); filter: saturate(1.15); }
.course .shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.course .tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; background: var(--copper); color: var(--on-copper); font-size: 13px; line-height: 1; padding: 8px 12px; border-radius: var(--r-pill); }
.course .price { position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 1; background: rgba(11,9,8,.72); color: #f6efe8; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; padding: 6px 12px; border-radius: var(--r-pill); }
.course h3 { font-size: 18px; line-height: 1.5; }
.course .meta { font-size: 14px; color: var(--fg-muted); }
.course .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--accent-text); }
.course .more svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--fg-muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 11px; line-height: 1.5; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.works-btn { min-height: 36px; }

/* Trainee work (works.js) */
.works-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.works-section { padding-top: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.work-grid.is-single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.work-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.work-card.is-featured { border-color: var(--copper); box-shadow: 0 24px 60px rgba(11, 9, 8, .16); }
.work-cover { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.work-cover img, .work-cover .work-thumb { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; pointer-events: none; }
.work-cover .work-thumb { object-fit: cover; }
.work-thumb-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-muted); font-family: var(--font-ui); font-weight: 700; background: linear-gradient(110deg, var(--bg-2) 30%, var(--line) 50%, var(--bg-2) 70%); background-size: 220% 100%; animation: work-wait 1.4s linear infinite; }
.work-thumb-wait.is-failed { animation: none; background: var(--bg-2); }
@keyframes work-wait { to { background-position: -220% 0; } }
.work-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: radial-gradient(120% 90% at 50% 0%, rgba(197, 130, 81, .22), transparent 60%), var(--bg-2); color: var(--fg-muted); text-align: center; }
.work-placeholder-icon { display: grid; place-items: center; width: 64px; height: 76px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--panel); color: var(--accent-text); font-family: var(--font-ui); font-size: 15px; font-weight: 700; }
.work-placeholder-name { font-size: 15px; color: var(--fg); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-progress { position: relative; display: grid; place-items: center; min-height: 100%; overflow: hidden; border-radius: var(--r-md); }
.work-progress-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.1); opacity: .45; transform: scale(1.08); pointer-events: none; }
.work-progress-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(360px, 100%); padding: 26px 22px; border-radius: var(--r-md); background: color-mix(in srgb, var(--panel) 86%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(11, 9, 8, .18); text-align: center; }
.work-progress-label { margin: 0; font-size: 16px; color: var(--fg); }
.work-progress-value { margin: 0; font-family: var(--font-ui); font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--accent-text); font-variant-numeric: tabular-nums; direction: ltr; }
.work-progress-bar { position: relative; width: 100%; height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.work-progress-bar span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: var(--copper); transition: width .2s ease; }
.work-progress.is-indeterminate .work-progress-bar span { width: 35% !important; animation: work-indet 1.2s ease-in-out infinite; }
@keyframes work-indet { from { inset-inline-start: -35%; } to { inset-inline-start: 100%; } }
.work-progress-detail { margin: 0; min-height: 1.4em; font-family: var(--font-ui); font-size: 12.5px; color: var(--fg-muted); direction: ltr; }
.work-failed { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .work-progress-bar span { transition: none; } .work-progress.is-indeterminate .work-progress-bar span { animation: none; inset-inline-start: 0; width: 100% !important; opacity: .5; } }
.work-type { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: rgba(11, 9, 8, .72); color: #f6efe8; font-family: var(--font-ui); font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 10px; border-radius: var(--r-pill); }
.work-shield { position: absolute; inset: 0; z-index: 1; background: transparent; }
.work-card .pad { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.work-card h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.work-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; color: var(--fg-muted); font-size: 14px; }
.work-meta span + span::before { content: "·"; margin-inline-end: 12px; }
.work-rating { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--accent-text); font-size: 13px; font-weight: 600; }
.work-rating .stars { letter-spacing: 2px; font-size: 17px; line-height: 1; }
.work-rating .stars i { font-style: normal; opacity: .25; }
.work-rating .stars i.on { opacity: 1; }
.work-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.work-buttons .btn { width: 100%; justify-content: center; }
.work-note { color: var(--fg-muted); margin: 0; }
.work-dialog { width: min(980px, calc(100vw - 24px)); height: min(92dvh, 1000px); max-height: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0; background: var(--panel); color: var(--fg); overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.work-dialog[open] { display: flex; flex-direction: column; }
.work-dialog::backdrop { background: rgba(11, 9, 8, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.work-dialog-title { display: flex; flex-direction: column; min-width: 0; }
.work-dialog-title strong { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-dialog-meta { color: var(--fg-muted); font-size: 13px; }
.work-viewer { flex: 1; overflow: auto; padding: 12px; background: var(--bg-2); overscroll-behavior: contain; }
.work-viewer .work-note { padding: 24px; text-align: center; }
.work-image { position: relative; display: grid; place-items: center; min-height: 100%; }
.work-image img { max-width: 100%; max-height: calc(92dvh - 100px); object-fit: contain; display: block; pointer-events: none; }
.work-pages { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.work-page { position: relative; max-width: 100%; box-shadow: 0 6px 24px rgba(11, 9, 8, .18); }
.work-page canvas { display: block; max-width: 100%; height: auto; background: #fff; }
.work-toast { position: fixed; z-index: 60; inset-inline: 16px; bottom: 20px; margin-inline: auto; width: fit-content; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.work-toast.is-on { opacity: 1; transform: none; }
@media print { .works-view, .work-dialog { display: none !important; } }

.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--fg-muted); font-size: 16px; }
.soon .item { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.soon .item img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }

/* Stage band (always dark) */
.stage { background: linear-gradient(160deg, #1a140f 0%, var(--stage) 55%); color: var(--stage-fg); border-radius: var(--r-lg); position: relative; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(227, 166, 123, .16); }
.stage::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-start: -20%; bottom: -60%; background: radial-gradient(circle, rgba(207,138,90,.32), transparent 62%); }
.stage .kicker { color: var(--stage-accent); }
.stage .section-head p, .stage p { color: var(--stage-muted); }
.stage-pad { padding: clamp(26px, 4.5vw, 60px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 22px; inset-inline: 28px; height: 1px; background: linear-gradient(to left, var(--stage-accent), rgba(227,166,123,.1)); }
.steps li { position: relative; display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--stage); color: var(--stage-accent); border: 1px solid var(--stage-accent);
}
.steps li:last-child::before { background: var(--stage-accent); color: var(--stage); box-shadow: 0 0 36px rgba(227,166,123,.45); }
.steps h3 { font-size: 20px; line-height: 1.5; }
.steps p { font-size: 14.5px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 23px; bottom: 23px; inset-inline: auto; inset-inline-start: 22px; width: 1px; height: auto; background: linear-gradient(to bottom, var(--stage-accent), rgba(227,166,123,.1)); }
  .steps li { padding-inline-start: 64px; }
  .steps li::before { position: absolute; inset-inline-start: 0; top: 0; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 3fr 1fr 1fr; grid-auto-rows: auto; gap: 14px; }
.gallery figure { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); min-height: 0; aspect-ratio: 4 / 3; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery figcaption { position: absolute; inset-inline-start: 12px; bottom: 12px; background: rgba(11,9,8,.72); color: #f6efe8; font-size: 14px; padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure.tall { grid-column: span 2; grid-row: auto; aspect-ratio: 1170 / 582; }
  .gallery figcaption { inset-inline-start: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 12px; padding: 5px 9px; }
}

/* Quotes + FAQ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.45; margin-block: 8px 28px; }
.quotes { display: grid; gap: 14px; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 18px; }
.quote blockquote { font-size: 16.5px; line-height: 1.8; }
.quote blockquote::before { content: "”"; font-family: var(--font-latin); font-size: 52px; line-height: .4; display: block; color: var(--copper); margin-bottom: 14px; }
.who { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-muted); }
.who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--chip-bg); color: var(--accent-text); border: 1px solid var(--line); font-size: 18px; flex: none; }
.who b { font-weight: 400; color: var(--fg); display: block; line-height: 1.4; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 17px; font-size: 17px; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .25s ease, background-color .2s ease; }
.faq .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.faq details p { color: var(--fg-muted); padding-bottom: 24px; max-width: 36em; }

/* Closing call */
.closing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.closing h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.38; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-card { border: 1px solid var(--stage-line); background: rgba(246,239,232,.04); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; }
.contact-card .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.contact-card .label { font-size: 14px; color: var(--stage-muted); }
.contact-card .value { font-size: 19px; font-weight: 600; color: var(--stage-fg); }
.contact-card hr { border: 0; height: 1px; background: var(--stage-line); margin: 0; }
.copy-btn { font-family: var(--font-ar); font-size: 14px; color: var(--stage-fg); background: transparent; border: 1px solid rgba(246,239,232,.3); border-radius: var(--r-pill); padding: 8px 14px; cursor: pointer; text-decoration: none; }
.copy-btn:hover { border-color: var(--stage-accent); color: var(--stage-accent); }
@media (max-width: 900px) { .closing { grid-template-columns: 1fr; } }

/* Courses page: rows */
.course-rows { display: grid; gap: 18px; }
.course-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); text-decoration: none; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.course-row:hover { border-color: var(--copper); transform: translateY(-3px); box-shadow: 0 20px 50px var(--glow); }
.course-row .shot { border-radius: var(--r-md); overflow: hidden; background: var(--stage); }
.course-row .shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.course-row h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; }
.course-row p { color: var(--fg-muted); font-size: 15px; margin-top: 6px; max-width: 40em; }
.course-row dl { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 16px; font-size: 15px; }
.course-row dt { color: var(--fg-muted); }
.course-row dl div { display: flex; gap: 8px; }
.course-row dd { color: var(--fg); }
.course-row .go { display: grid; justify-items: center; gap: 6px; padding-inline: 12px; text-align: center; }
.course-row .go .price { font-size: 24px; font-weight: 700; line-height: 1; }
.course-row .go small { color: var(--fg-muted); font-size: 14px; }
.course-row .go .circle { margin-top: 10px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: var(--on-copper); }
.course-row .go .circle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .course-row { grid-template-columns: 1fr; gap: 18px; }
  .course-row .go { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; gap: 12px; padding: 0; }
  .course-row .go .circle { margin: 0; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stats div { padding: 24px 8px; display: grid; gap: 4px; }
.stats div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.stats .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stats span:not(.num) { color: var(--fg-muted); font-size: 16px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats div + div { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 8px; } }

/* Course page */
.course-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.course-hero .poster { border-radius: var(--r-lg); overflow: hidden; background: var(--stage); box-shadow: 0 30px 80px rgba(0,0,0,.35); max-width: 360px; justify-self: end; width: 100%; }
.course-hero .poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .course-hero { grid-template-columns: 1fr; } .course-hero .poster { justify-self: start; max-width: 420px; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.facts div { padding: 18px 20px; display: grid; gap: 4px; }
.facts div + div { border-inline-start: 1px solid var(--line); }
.facts .label { font-size: 14px; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 8px; }
.facts .label svg { width: 16px; height: 16px; color: var(--accent-text); }
.facts .value { font-size: 17px; line-height: 1.5; }
.facts .value.num { font-weight: 700; font-size: 20px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-inline-start: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.prose-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } }
.prose-grid h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.45; margin-top: 8px; }
.prose-grid .body { font-size: 17px; line-height: 1.95; color: var(--fg); }

.learn { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.learn li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); font-size: 15px; line-height: 1.7; }
.learn li svg { flex: none; width: 22px; height: 22px; color: var(--copper); margin-top: 3px; }
.axes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; counter-reset: ax; }
.axes li { counter-increment: ax; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); display: grid; gap: 8px; align-content: start; }
.axes li::before { content: counter(ax, decimal-leading-zero); font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--accent-text); letter-spacing: .05em; }
.axes h3 { font-size: 18px; line-height: 1.5; }
.axes p { color: var(--fg-muted); font-size: 14.5px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.flow span { padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 15px; }
.flow span:last-child { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.flow svg { width: 18px; height: 18px; color: var(--accent-text); }

/* Enrol: details + form */
.enrol { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .enrol { grid-template-columns: 1fr; } }
.details-card { padding: clamp(26px, 4vw, 40px); position: sticky; top: 100px; }
@media (max-width: 960px) { .details-card { position: static; } }
.details-card h2 { font-size: 23px; line-height: 1.5; margin-top: 8px; color: var(--stage-fg); }
.details-card dl { display: grid; margin-top: 18px; }
.details-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--stage-line); }
.details-card dt { color: var(--stage-muted); font-size: 14.5px; }
.details-card dd { text-align: end; font-size: 15px; color: var(--stage-fg); }
.details-card .big-price { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; }
.details-card .big-price .num { font-size: 42px; font-weight: 700; line-height: 1; color: var(--stage-fg); letter-spacing: -.03em; }
.details-card .big-price span:last-child { color: var(--stage-muted); }
.trainer { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px; border-radius: var(--r-md); background: rgba(246,239,232,.05); border: 1px solid var(--stage-line); }
.trainer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: #2a221c; }
.trainer small { display: block; color: var(--stage-muted); font-size: 13px; line-height: 1.4; }
.trainer b { font-weight: 400; color: var(--stage-fg); font-size: 16px; }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: 23px; line-height: 1.5; margin-top: 8px; }
.form-card > p { color: var(--fg-muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; color: var(--fg-muted); }
.field .hint { font-size: 13px; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 11px 13px; font-size: 15px; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px var(--glow); }
.field input[type="tel"], .field input[type="email"], .field input[type="number"] { direction: ltr; text-align: right; font-family: var(--font-ui); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--fg-muted); }
.check input { width: 20px; height: 20px; accent-color: var(--copper); }
.check a { color: var(--accent-text); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--fg-muted); font-size: 14px; max-width: 26em; }
.form-done { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--success-bg); border: 1px solid var(--line-strong); font-size: 16px; }
.form-done b { font-weight: 400; color: var(--accent-text); }

.more-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; background: var(--panel); transition: border-color .2s ease; }
.mini:hover { border-color: var(--copper); }
.mini img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.mini b { font-weight: 400; font-size: 15px; line-height: 1.5; display: block; }
.mini small { color: var(--fg-muted); font-size: 14px; }

/* About */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.about-hero .poster { border-radius: var(--r-lg); overflow: hidden; }
.about-hero .poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero .poster { max-width: 420px; } }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stage-line); }
.timeline li { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.timeline li + li { border-inline-start: 1px solid var(--stage-line); padding-inline-start: 24px; }
.timeline .year { font-family: var(--font-ui); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -.03em; color: var(--stage-fg); }
.timeline li:last-child .year { color: var(--stage-accent); }
.timeline h3 { font-size: 18px; color: var(--stage-fg); }
.timeline p { font-size: 14.5px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } .timeline li + li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--stage-line); } }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vm article { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.vm h3 { font-size: 24px; line-height: 1.4; }
.vm p { font-size: 16.5px; line-height: 1.9; margin-top: 14px; color: var(--fg-muted); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.values li { padding: 26px 22px; border-top: 2px solid var(--copper); background: var(--panel); border-radius: 0 0 var(--r-md) var(--r-md); }
.values h3 { font-size: 21px; line-height: 1.4; }
.values p { color: var(--fg-muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
.clients { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.clients li { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 1; display: grid; place-items: center; padding: 14px; }
.clients img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.team li { display: grid; gap: 12px; }
.team .ph { border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.team .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(.25) contrast(1.05); transition: filter .4s ease, transform .5s ease; }
.team li:hover .ph img { filter: none; transform: scale(1.03); }
.team b { font-weight: 400; font-size: 17px; display: block; line-height: 1.4; }
.team small { color: var(--fg-muted); font-size: 13.5px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr 1fr; } }

/* Business */
.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; counter-reset: tr; }
.track { counter-increment: tr; text-align: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); display: grid; gap: 10px; align-content: start; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.track:hover, .track[aria-pressed="true"] { border-color: var(--copper); transform: translateY(-3px); box-shadow: 0 16px 40px var(--glow); }
.track::before { content: counter(tr, decimal-leading-zero); font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--accent-text); letter-spacing: .05em; }
.track h3 { font-size: 18px; line-height: 1.5; }
.track p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.8; }
.track .pick { font-size: 14px; color: var(--accent-text); display: inline-flex; gap: 6px; align-items: center; }
.track[aria-pressed="true"] .pick { color: var(--fg); }
.track.custom { background: var(--stage); color: var(--stage-fg); border-color: var(--stage); }
.track.custom p { color: var(--stage-muted); }
.track.custom::before, .track.custom .pick { color: var(--stage-accent); }

/* Terms */
.terms-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 15px; }
.toc a { text-decoration: none; color: var(--fg-muted); padding: 7px 12px; border-radius: var(--r-sm); display: flex; gap: 10px; }
.toc a:hover { color: var(--fg); background: var(--chip-bg); }
.toc .num { color: var(--accent-text); font-size: 13px; font-weight: 600; padding-top: 3px; }
@media (max-width: 900px) { .terms-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.lang-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); gap: 4px; margin-bottom: 28px; }
.lang-switch button { border: 0; background: transparent; padding: 8px 18px; border-radius: var(--r-pill); cursor: pointer; font-size: 15px; color: var(--fg-muted); }
.lang-switch button[aria-pressed="true"] { background: var(--copper); color: var(--on-copper); }
.clauses { display: grid; counter-reset: cl; }
.clauses li { counter-increment: cl; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.clauses li::before { content: counter(cl, decimal-leading-zero); font-family: var(--font-ui); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--accent-text); grid-row: span 2; }
.clauses h3 { font-size: 19px; line-height: 1.5; }
.clauses p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.95; }
.clauses[dir="ltr"] h3 { font-family: var(--font-latin); font-weight: 700; font-size: 18px; }
.clauses[dir="ltr"] p { font-family: var(--font-latin); font-size: 15px; line-height: 1.8; }
.signoff { margin-top: 28px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); font-size: 17px; line-height: 1.9; }
.signoff small { display: block; margin-top: 8px; color: var(--accent-text); font-size: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pillars li { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
.pillars h3 { font-size: 19px; }
.pillars p { color: var(--fg-muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 0; padding: clamp(24px, 4vw, 36px); }
.info-list .item { display: flex; gap: 16px; align-items: flex-start; padding-block: 18px; border-bottom: 1px solid var(--stage-line); }
.info-list .item:last-of-type { border-bottom: 0; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stage-line); color: var(--stage-accent); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 14px; color: var(--stage-muted); }
.info-list .v { font-size: 16px; color: var(--stage-fg); }
.info-list .v.num { font-size: 18px; font-weight: 600; }
.info-list .quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.visit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: v; }
.visit li { counter-increment: v; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); font-size: 15px; line-height: 1.8; display: grid; gap: 10px; align-content: start; }
.visit li::before { content: counter(v); font-family: var(--font-ui); font-weight: 700; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--copper); color: var(--on-copper); font-size: 15px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--line); }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-block: 44px 32px; }
.site-footer .top > div { min-width: 0; }
.site-footer .big { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35; margin-top: 18px; }
.site-footer p, .site-footer li { color: var(--fg-muted); font-size: 14.5px; }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; color: var(--fg); }
.site-footer ul { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-text); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--fg); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.socials a:hover { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.socials svg { width: 18px; height: 18px; }
.site-footer .bottom { border-top: 1px solid var(--line); }
.site-footer .bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 18px; font-size: 14px; color: var(--fg-muted); }
.site-footer .parent { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Carousel: tall cards, centred, blurred edges ---------- */
.carousel { position: relative; --card-w: min(340px, 27vw); --car-gap: 22px; --car-fade: var(--bg); }
.car-viewport { position: relative; }
.car-viewport::before, .car-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 3; pointer-events: none;
  width: clamp(48px, 13vw, 220px);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.car-viewport::before { left: 0; background: linear-gradient(to right, var(--car-fade) 8%, transparent); -webkit-mask-image: linear-gradient(to right, #000 30%, transparent); mask-image: linear-gradient(to right, #000 30%, transparent); }
.car-viewport::after { right: 0; background: linear-gradient(to left, var(--car-fade) 8%, transparent); -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.car-track {
  display: flex; gap: var(--car-gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: calc(50% - var(--card-w) / 2); padding-block: 18px 26px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: -3px; }
.car-item { flex: 0 0 var(--card-w); scroll-snap-align: center; transition: transform .6s cubic-bezier(.2,.75,.2,1), opacity .6s ease, filter .6s ease; }
.carousel.is-ready .car-item:not(.is-active) { transform: scale(.9); opacity: .55; filter: saturate(.7); }
.car-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.car-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--panel); color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.car-arrow:hover { background: var(--copper); border-color: var(--copper); color: var(--on-copper); transform: scale(1.06); }
.car-arrow svg { width: 20px; height: 20px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--line-strong); cursor: pointer; transition: width .35s ease, background-color .35s ease; }
.car-dots button[aria-current="true"] { width: 30px; background: var(--copper); }
@media (max-width: 760px) { .carousel { --card-w: 74vw; --car-gap: 14px; } .car-viewport::before, .car-viewport::after { width: 9vw; } }

/* Course card (tall, image-led) */
.ccard { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); color: var(--stage-fg); text-decoration: none; aspect-ratio: 3 / 4.4; box-shadow: 0 24px 60px rgba(0,0,0,.28); isolation: isolate; }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ccard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,6,5,.96) 0%, rgba(8,6,5,.72) 34%, rgba(8,6,5,0) 62%); }
.ccard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); z-index: 2; pointer-events: none; transition: box-shadow .4s ease; }
.ccard.is-active::before, .ccard:hover::before { box-shadow: inset 0 0 0 1px rgba(227,166,123,.55); }
.ccard:hover img { transform: scale(1.06); }
.ccard-top { position: absolute; top: 16px; inset-inline: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ccard .tag { background: var(--copper); color: var(--on-copper); font-size: 12.5px; line-height: 1; padding: 7px 12px; border-radius: var(--r-pill); }
.ccard .price { margin-inline-start: auto; background: rgba(11,9,8,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; padding: 6px 12px; border-radius: var(--r-pill); }
.ccard-body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; display: grid; gap: 8px; }
.ccard-body .kicker { color: var(--stage-accent); font-size: 13px; }
.ccard h3 { font-size: 22px; line-height: 1.45; }
.ccard .meta { font-size: 14px; color: var(--stage-muted); }
.ccard .chips span { color: #e9ddd2; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.ccard-cta { margin-top: 8px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: var(--r-pill); background: rgba(246,239,232,.08); border: 1px solid rgba(246,239,232,.16); font-size: 14.5px; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.ccard-cta svg { width: 16px; height: 16px; }
.ccard.is-active .ccard-cta, .ccard:hover .ccard-cta { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.ccard-soon { cursor: default; }
.ccard-soon img { filter: saturate(.45) brightness(.85); }
.ccard-soon:hover img { transform: none; }
.ccard-soon .ccard-cta, .ccard-soon.is-active .ccard-cta, .ccard-soon:hover .ccard-cta { background: rgba(246,239,232,.04); border-color: rgba(246,239,232,.2); border-style: dashed; color: var(--stage-muted); justify-content: center; }


/* Testimonial card */
.car-quotes { --card-w: min(440px, 34vw); }
@media (max-width: 760px) { .car-quotes { --card-w: 82vw; } }
.qcard { position: relative; margin: 0; height: 100%; min-height: 300px; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.qcard::before { content: "”"; position: absolute; top: -34px; inset-inline-end: 14px; font-family: var(--font-latin); font-size: 180px; line-height: 1; color: var(--copper); opacity: .14; }
.qcard.is-active { border-color: var(--copper); box-shadow: 0 24px 60px var(--glow); }
.qcard .stars { display: flex; gap: 3px; }
.qcard .stars svg { width: 16px; height: 16px; fill: var(--copper); }
.qcard blockquote { font-size: 18px; line-height: 1.85; flex: 1; }
.qcard .who { border-top: 1px solid var(--line); padding-top: 18px; }
.qcard .who .av { width: 46px; height: 46px; background: linear-gradient(135deg, var(--metal-2), var(--metal-1)); color: #fff; border: 0; }
.qcard .course-chip { margin-inline-start: auto; font-size: 12.5px; color: var(--accent-text); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 10px; line-height: 1.5; white-space: nowrap; }

/* ---------- Trainers: small copper-ringed portraits ---------- */
.trainers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tcard { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; padding: 30px 14px 22px; border-radius: var(--r-md); border: 1px solid var(--stage-line); background: rgba(246,239,232,.025); transition: transform .35s ease, border-color .35s ease, background-color .35s ease; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(227,166,123,.45); background: rgba(246,239,232,.05); }
.ring { position: relative; width: 104px; height: 104px; border-radius: 50%; padding: 3px; margin-bottom: 14px; isolation: isolate; box-shadow: 0 0 34px rgba(227,166,123,.22); }
.ring::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: conic-gradient(from 210deg, #5c3118, #c98a5e, #f3cba9, #b66e3e, #5c3118); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tcard:hover .ring::before { transform: rotate(240deg); }
.ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--stage); background: #1a140f; }
.tcard b { font-weight: 400; font-size: 18px; color: var(--stage-fg); line-height: 1.5; }
.tcard small { font-size: 13.5px; color: var(--stage-muted); line-height: 1.6; }
.tcard .t-link { margin-top: 10px; font-size: 13px; color: var(--stage-accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tcard .t-link svg { width: 14px; height: 14px; }
.tcard .t-link:hover { text-decoration: underline; }
@media (max-width: 960px) { .trainers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trainers { grid-template-columns: 1fr 1fr; } .ring { width: 88px; height: 88px; } }

/* ---------- Client logos: moving, frameless ---------- */
:root { --logo-filter: grayscale(1) contrast(1.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-filter: grayscale(1) invert(1) brightness(1.2); } }
:root[data-theme="dark"] { --logo-filter: grayscale(1) invert(1) brightness(1.2); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; animation: slide 36s linear infinite; padding-block: 10px; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 84px; width: 84px; object-fit: contain; margin-inline: clamp(22px, 3.4vw, 48px); filter: var(--logo-filter); opacity: .82; transition: filter .4s ease, opacity .4s ease, transform .4s ease; }
.logo-track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .logo-track { flex-wrap: wrap; justify-content: center; width: auto; } .logo-track img[aria-hidden="true"] { display: none; } }

/* Live form feedback */
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); font-size: 15px; border: 1px solid var(--line-strong); background: var(--success-bg); }
.form-status.is-ok { border-color: #2f8f5b; color: var(--fg); }
.form-status.is-ok::before { content: "✓ "; color: #2f8f5b; font-family: var(--font-ui); font-weight: 700; }
.form-status.is-error { border-color: #b4503c; }
.form-status.is-error::before { content: "! "; color: #c4573f; font-family: var(--font-ui); font-weight: 700; }
button[disabled] { opacity: .7; cursor: progress; }
.confirm-dialog { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--panel); color: var(--fg); padding: 28px 24px; width: min(420px, calc(100vw - 32px)); text-align: center; font-family: var(--font-ar); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.confirm-dialog::backdrop { background: rgba(8,6,5,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.confirm-dialog h3 { font-size: 19px; line-height: 1.6; }
.confirm-dialog .confirm-phone { font-size: 22px; font-weight: 700; margin-top: 10px; }
.confirm-dialog .confirm-course { color: var(--fg-muted); font-size: 14px; margin-top: 4px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.lang-btn { font-family: var(--font-ui); font-weight: 700; font-size: 13px; text-decoration: none; }

/* ---------- English (left-to-right) ---------- */
[lang="en"] { font-family: var(--font-latin); }
[lang="en"] body, [dir="ltr"] { line-height: 1.7; }
[dir="ltr"] h1, [dir="ltr"] h2 { letter-spacing: -.01em; }
[dir="ltr"] .hero h1 { line-height: 1.12; }
[dir="ltr"] .page-head h1, [dir="ltr"] .closing h2, [dir="ltr"] .section-head h2 { line-height: 1.2; }
[dir="ltr"] .site-footer .big { line-height: 1.25; }
[dir="ltr"] .arrow, [dir="ltr"] .car-arrow svg, [dir="ltr"] .flow svg { transform: scaleX(-1); }
[dir="ltr"] a:hover > .arrow, [dir="ltr"] button:hover > .arrow { transform: scaleX(-1) translateX(-4px); }
[dir="ltr"] .marquee-track, [dir="ltr"] .logo-track { animation-name: slide-ltr; }
@keyframes slide-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="ltr"] .steps::before { background: linear-gradient(to right, var(--stage-accent), rgba(227,166,123,.1)); }
@media (max-width: 860px) { [dir="ltr"] .steps::before { background: linear-gradient(to bottom, var(--stage-accent), rgba(227,166,123,.1)); } }
[dir="ltr"] .field input[type="tel"], [dir="ltr"] .field input[type="email"], [dir="ltr"] .field input[type="number"] { text-align: left; }
.lang-btn { font-family: var(--font-ui); font-weight: 700; font-size: 13px; text-decoration: none; }
.lang-btn[lang="ar"] { font-family: var(--font-ar); font-size: 17px; font-weight: 400; }
.form-status .wa-confirm { margin-top: 12px; display: inline-flex; }

/* Trainer application (About page #join), 2026-11-24 */
.details-card .join-text { margin-top: 12px; color: var(--stage-muted); }
.form-part { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1.5; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); }
.form-grid > .form-part:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.form-part .num { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: var(--r-pill); border: 1px solid var(--copper); color: var(--accent-text); font-size: 14px; font-family: var(--font-ui); }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { font-size: 14px; color: var(--fg-muted); padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--input-bg); font-size: 15px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.choice:hover span { border-color: var(--copper); }
.choice input:checked + span { border-color: var(--copper); background: var(--copper); color: var(--on-copper, #fff); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--glow); }
.field input[type="url"] { font-family: var(--font-ui); }
[dir="rtl"] .field input[type="url"] { text-align: right; }
.field input[type="file"] { padding: 9px 11px; cursor: pointer; }
.form-grid .check.full { align-items: flex-start; line-height: 1.7; }
.form-grid .check.full input { margin-top: 4px; flex: none; }
