/* Self-hosted Cormorant Garamond and Manrope (latin, latin-ext, cyrillic, cyrillic-ext) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-400-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-400-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-400-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-normal-400-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Maysen / Şah Grup — luxe motion-scroll design system */
:root {
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --header: 76px;
  --r-xl: 40px;
  --r-lg: 30px;
  --r-md: 20px;
  scroll-padding-top: 110px;
}
body.theme-maysen {
  --bg: #e9dfcb;
  --bg-2: #dfd2b9;
  --ink: #14233a;
  --muted: #4a5a70;
  --line: rgba(20, 35, 58, 0.16);
  --navy-1: #1f3a63;
  --navy-2: #0d1a2e;
  --on-dark: #f8f2e4;
  --on-dark-muted: #c6cfdd;
  --gold: #c9a96a;
  --gold-1: #efdcaf;
  --gold-2: #b08d4a;
  --gold-ink: #7c5d22;
  --sky: #86c5ec;
  --glass: rgba(18, 33, 58, 0.44);
  --glass-solid: rgba(18, 33, 58, 0.78);
  --glass-line: rgba(255, 255, 255, 0.2);
  --card-a: #25436f;
  --card-b: #0e1c33;
  --panel: rgba(255, 252, 244, 0.52);
  --logo-filter: brightness(0) invert(1);
}
body.theme-sah {
  --bg: #0b0e14;
  --bg-2: #11151e;
  --ink: #efe8d8;
  --muted: #aaa496;
  --line: rgba(239, 232, 216, 0.14);
  --navy-1: #1a212f;
  --navy-2: #07090d;
  --on-dark: #f3ede0;
  --on-dark-muted: #b9b3a5;
  --gold: #c9a96b;
  --gold-1: #ecd8a8;
  --gold-2: #a98544;
  --gold-ink: #d9bb80;
  --sky: #c9a96b;
  --glass: rgba(12, 15, 22, 0.5);
  --glass-solid: rgba(12, 15, 22, 0.82);
  --glass-line: rgba(255, 255, 255, 0.14);
  --card-a: #1b2230;
  --card-b: #0b0e15;
  --panel: rgba(255, 255, 255, 0.04);
  --logo-filter: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.theme-maysen { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed; }
img, video, iframe { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.8vw, 4.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
p + p { margin-top: 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--gold); color: #17110a; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 14px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.eyebrow { font: 700 0.72rem/1.4 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.8; }
.tone-dark .eyebrow, .hero .eyebrow, body.theme-sah .eyebrow { color: var(--gold); }

/* ───────── Loader ───────── */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1f3a63, #0a1424 70%); color: #f8f2e4; transition: opacity 0.7s var(--ease), visibility 0.7s; }
body.theme-sah .loader { background: radial-gradient(circle at 50% 40%, #1a212f, #05070a 70%); }
.loader-inner { display: grid; justify-items: center; gap: 22px; width: min(260px, 70vw); }
.loader-inner img { width: 100%; height: auto; filter: var(--logo-filter); animation: loader-breathe 2.4s ease-in-out infinite; }
.loader-bar { width: 100%; height: 2px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, transparent, #efdcaf, transparent); transform: translateX(-100%); animation: loader-run 1.2s var(--ease) infinite; }
.loader small { letter-spacing: 0.3em; font-size: 0.66rem; text-transform: uppercase; opacity: 0.7; }
html.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-run { to { transform: translateX(100%); } }
@keyframes loader-breathe { 50% { opacity: 0.72; transform: scale(0.98); } }

/* ───────── Header (transparent glass) ───────── */
.site-header {
  position: fixed; z-index: 100; top: calc(10px + var(--bar-y, 38px)); left: 50%; translate: -50% 0;
  width: min(1320px, 100% - 24px); height: var(--header);
  display: flex; align-items: center; gap: 18px; padding: 0 18px 0 24px;
  color: var(--on-dark); border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 18px 50px -24px rgba(5, 12, 26, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.5s var(--ease), box-shadow 0.5s;
}
.site-header.is-scrolled { background: var(--glass-solid); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; filter: var(--logo-filter); }
body.theme-sah .brand img { height: 40px; }
.desktop-nav { display: flex; gap: 2px; margin-inline: auto; }
.desktop-nav a { position: relative; padding: 10px 14px; font: 600 0.82rem/1 var(--sans); letter-spacing: 0.02em; border-radius: 999px; opacity: 0.88; transition: opacity 0.3s, background 0.3s; white-space: nowrap; }
.desktop-nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.desktop-nav a[aria-current="page"] { opacity: 1; color: #17110a; background: linear-gradient(135deg, var(--gold-1), var(--gold)); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.desktop-nav + .header-tools { margin-left: 0; }
.support-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-line); font-weight: 700; font-size: 0.82rem; white-space: nowrap; transition: background 0.3s; }
.support-pill:hover { background: rgba(255, 255, 255, 0.18); }
.support-pill b { color: #17110a; background: linear-gradient(135deg, var(--gold-1), var(--gold)); border-radius: 999px; padding: 3px 9px; font-size: 0.68rem; letter-spacing: 0.06em; position: relative; }
.support-pill b::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--gold-1); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.45, 1.7); opacity: 0; } }
.support-pill b.ico { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; }
.support-pill b.ico svg { width: 15px; height: 15px; }
.support-pill b.ico::after { display: none; }
.store-links { display: flex; gap: 6px; }
.store-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.07); font-size: 0.72rem; line-height: 1.1; font-weight: 700; white-space: nowrap; transition: background 0.3s, transform 0.3s; }
.store-link svg { width: 16px; height: 16px; flex: none; }
.store-link small { display: block; font-size: 0.58rem; font-weight: 600; opacity: 0.7; letter-spacing: 0.04em; }
a.store-link:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.store-link.is-soon { opacity: 0.7; cursor: default; }
.flag-switch { display: flex; gap: 6px; align-items: center; }
.flag-switch a { display: block; width: 32px; height: 24px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: 0.75; transition: opacity 0.3s, transform 0.3s, border-color 0.3s; }
.flag-switch a img, .flag-picker img, .language-options img, .lang-row img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.flag-switch a:hover { opacity: 1; transform: translateY(-2px); }
.flag-switch a[aria-current="true"] { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 169, 106, 0.25); }
.flag-picker { position: relative; display: none; }
.flag-picker summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 999px; border: 1px solid var(--glass-line); cursor: pointer; }
.flag-picker summary::-webkit-details-marker { display: none; }
.flag-picker summary img { width: 26px; height: 18px; border-radius: 3px; }
.language-options { position: absolute; right: 0; top: calc(100% + 12px); min-width: 170px; display: grid; padding: 8px; border-radius: 20px; background: var(--glass-solid); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); z-index: 5; }
.language-options a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 0.86rem; font-weight: 600; }
.language-options img { width: 26px; height: 18px; flex: none; }
.language-options a:hover, .language-options a[aria-current="true"] { background: rgba(255, 255, 255, 0.12); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.08); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.nav-dialog { margin: 0; padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: var(--on-dark); }
.nav-dialog::backdrop { background: rgba(6, 12, 24, 0.55); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.nav-dialog-inner { height: 100%; padding: 26px var(--gutter) 40px; display: flex; flex-direction: column; gap: 26px; overflow: auto; }
.nav-dialog-top { display: flex; justify-content: space-between; align-items: center; }
.nav-dialog-top img { height: 44px; width: auto; filter: var(--logo-filter); }
.nav-dialog-top button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.08); font-size: 1.5rem; }
.nav-dialog nav { display: grid; gap: 4px; margin-top: 4vh; }
.nav-dialog nav a { font: 500 clamp(2rem, 8vw, 3.4rem)/1.15 var(--serif); padding: 4px 0; border-bottom: 1px solid var(--glass-line); display: flex; justify-content: space-between; }
.nav-dialog nav a::after { content: "↗"; font: 400 1rem var(--sans); color: var(--gold); align-self: center; }
.nav-dialog .store-links, .nav-dialog .lang-row { flex-wrap: wrap; gap: 10px; }
.lang-row { display: flex; }
.lang-row a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--glass-line); font-weight: 700; font-size: 0.86rem; }
.lang-row img { width: 26px; height: 18px; flex: none; }
.lang-row a[aria-current="true"] { background: var(--gold); color: #17110a; }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent; font: 700 0.9rem/1 var(--sans); letter-spacing: 0.02em; transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s; position: relative; overflow: hidden; }
.btn::after { content: "↗"; font-weight: 500; transition: transform 0.4s var(--ease); }
.btn:hover::after { transform: translate(3px, -3px); }
.btn-gold { color: #17110a; background: linear-gradient(135deg, var(--gold-1), var(--gold) 55%, var(--gold-2)); box-shadow: 0 16px 40px -18px rgba(201, 169, 106, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -16px rgba(201, 169, 106, 1), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-gold::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.btn-gold:hover::before { transform: translateX(120%); }
.btn-ghost { color: inherit; border-color: currentColor; background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.tone-dark .btn-ghost, .hero .btn-ghost { color: var(--on-dark); border-color: var(--glass-line); }

/* ───────── Progress & rail ───────── */
.scroll-progress { position: fixed; z-index: 150; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-1), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
.chapter-rail { position: fixed; z-index: 60; right: 22px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 14px; }
.chapter-rail a { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--rail, var(--gold)); background: transparent; transition: background 0.4s, transform 0.4s; }
.chapter-rail a.is-active { background: var(--gold); transform: scale(1.35); }
.chapter-rail a span { position: absolute; right: 24px; top: 50%; translate: 0 -50%; white-space: nowrap; font: 700 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--glass-solid); color: var(--on-dark); border: 1px solid var(--glass-line); opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity 0.3s, transform 0.3s; }
.chapter-rail a:hover span, .chapter-rail a:focus-visible span { opacity: 1; transform: none; }
@media (min-width: 1180px) { .chapter-rail.is-ready { display: flex; } }

/* ───────── Chapters ───────── */
.chapter { position: relative; padding-block: clamp(84px, 12vw, 168px); overflow-x: clip; }
.tone-dark { background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%); color: var(--on-dark); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); z-index: 1; --c-muted: var(--on-dark-muted); }
.tone-dark + .tone-light, .tone-light + .tone-dark { margin-top: calc(var(--r-xl) * -1); }
.tone-light { color: var(--ink); --c-muted: var(--muted); }
body.theme-sah .tone-light { background: var(--bg-2); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); z-index: 1; }
.chapter-head { display: grid; gap: 22px; max-width: 880px; margin-bottom: clamp(36px, 6vw, 72px); }
.chapter-head p { color: var(--c-muted); font-size: 1.08rem; max-width: 62ch; }
.chapter-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; opacity: 0.55; }
.orb-a { width: 38vw; height: 38vw; right: -10vw; top: -8vw; background: radial-gradient(circle, rgba(134, 197, 236, 0.5), transparent 70%); }
.orb-b { width: 30vw; height: 30vw; left: -8vw; bottom: -6vw; background: radial-gradient(circle, rgba(201, 169, 106, 0.45), transparent 70%); }
body.theme-sah .orb-a { background: radial-gradient(circle, rgba(201, 169, 106, 0.28), transparent 70%); }
.chapter > .wrap { position: relative; z-index: 1; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--on-dark); background: linear-gradient(155deg, #1f3a63 0%, #13233f 45%, #0a1424 100%); overflow: hidden; isolation: isolate; padding: calc(var(--header) + 70px) 0 90px; }
body.theme-sah .hero { background: #07090d; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 36, 0.96) 0%, rgba(10, 20, 36, 0.78) 38%, rgba(10, 20, 36, 0.28) 70%, rgba(10, 20, 36, 0.5) 100%), linear-gradient(180deg, rgba(10, 20, 36, 0.4), transparent 30%, rgba(10, 20, 36, 0.85) 100%); }
body.theme-sah .hero-media::after { background: linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.6) 45%, rgba(5, 7, 10, 0.2) 100%), linear-gradient(180deg, rgba(5, 7, 10, 0.5), transparent 30%, rgba(5, 7, 10, 0.92) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-ring { position: absolute; z-index: -1; right: -14vw; top: 50%; width: min(72vw, 880px); aspect-ratio: 1; translate: 0 -50%; color: var(--gold); opacity: 0.55; pointer-events: none; }
.hero-ring circle { fill: none; stroke: currentColor; stroke-width: 0.5; }
.hero-ring .ring-dash { stroke-dasharray: 1 7; }
.hero-ring g { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.hero-ring g:nth-child(2) { animation-duration: 140s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { display: grid; gap: 32px; align-items: end; position: relative; }
.hero-copy { display: grid; gap: 28px; max-width: 800px; }
.hero h1 { font-size: clamp(2.9rem, 8vw, 7.2rem); line-height: 0.98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; }
.hero h1 em { background: linear-gradient(100deg, var(--gold-1), var(--gold) 40%, #fff3d0 60%, var(--gold)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: 0.08em; }
@keyframes shimmer { to { background-position: -220% 0; } }
.hero-intro { font-size: clamp(1.02rem, 1.5vw, 1.25rem); max-width: 54ch; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-meta span, .hero-meta a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero-card { display: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font: 700 0.64rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
  .hero-card { display: grid; gap: 14px; justify-self: end; width: min(340px, 100%); padding: 26px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); animation: float 7s ease-in-out infinite; }
  .hero-card strong { font: 500 1.9rem/1.1 var(--serif); }
  .hero-card strong em { color: var(--gold); font-style: italic; }
  .hero-card p { color: var(--on-dark-muted); font-size: 0.9rem; }
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* ───────── Statement / marquee ───────── */
.statement { text-align: center; }
.statement p { font: 500 clamp(1.9rem, 4.6vw, 3.8rem)/1.18 var(--serif); letter-spacing: -0.015em; max-width: 1040px; margin-inline: auto; text-wrap: balance; }
.statement .w { display: inline-block; white-space: pre; }
.sc-gsap .statement .w { opacity: 0.16; }
.statement .eyebrow { margin-bottom: 30px; }
.marquee { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 3rem; width: max-content; will-change: transform; }
.marquee-track span { font: 500 clamp(2rem, 5vw, 4rem)/1 var(--serif); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--gold-2); display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; font-size: 0.5em; color: var(--gold); -webkit-text-stroke: 0; }

/* ───────── Intent cards (reference visuals) ───────── */
.intent-grid { display: grid; gap: 22px; }
.intent-card { position: relative; display: block; min-height: 480px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.6); transition: transform 0.7s var(--ease); }
.intent-card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: transform 1.4s var(--ease); }
.intent-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 16, 32, 0.92) 100%); }
.intent-card:hover { transform: translateY(-8px); }
.intent-card:hover img { transform: scale(1.07); }
.intent-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: grid; gap: 10px; }
.intent-copy small { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-1); }
.intent-copy strong { font: 500 clamp(1.8rem, 3vw, 2.5rem)/1.05 var(--serif); }
.intent-arrow { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform 0.5s var(--ease), background 0.4s; }
.intent-card:hover .intent-arrow { background: var(--gold); color: #17110a; transform: rotate(45deg); }
@media (min-width: 900px) { .intent-grid { grid-template-columns: repeat(3, 1fr); } .intent-card { min-height: 640px; } .intent-card:nth-child(2) { margin-top: 56px; } }

/* ───────── Rail (horizontal scroll) ───────── */
.rail { overflow: hidden; }
.rail-viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: var(--gutter); }
.rail-viewport::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 22px; width: max-content; padding-block: 14px 30px; }
.rail.is-pinned .rail-viewport { overflow: visible; scroll-snap-type: none; }
.rail-card { position: relative; flex: none; width: clamp(280px, 30vw, 420px); min-height: 560px; border-radius: var(--r-xl); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; box-shadow: 0 30px 70px -40px rgba(10, 20, 36, 0.6); }
.rail-card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: transform 1.2s var(--ease); }
.rail-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 16, 32, 0.05) 25%, rgba(8, 16, 32, 0.94) 100%); }
.rail-card:hover img { transform: scale(1.06); }
.rail-card .num { position: absolute; top: 22px; left: 26px; font: 500 1rem/1 var(--serif); letter-spacing: 0.2em; color: var(--gold-1); }
.rail-card-copy { padding: 28px; display: grid; gap: 10px; }
.rail-card-copy small { font: 700 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-1); }
.rail-card-copy p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rail-more { display: flex; justify-content: center; margin-top: 18px; }

/* ───────── Journey (sticky chapters) ───────── */
.journey-grid { display: grid; gap: 28px; }
.journey-media { position: sticky; top: calc(var(--header) + 28px); height: 46vh; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7); z-index: 2; }
.journey-media img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.1); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.journey-media img.is-active { opacity: 1; transform: scale(1); }
.journey-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); pointer-events: none; }
.journey-count { position: absolute; z-index: 2; left: 24px; bottom: 22px; font: 500 3.4rem/1 var(--serif); color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5); }
.journey-count small { font-size: 1rem; opacity: 0.7; }
.journey-steps { display: grid; gap: 0; }
.journey-step { min-height: 52vh; display: grid; align-content: center; gap: 14px; transition: opacity 0.6s var(--ease); }
.sc-gsap .journey-step { opacity: 0.3; }
.sc-gsap .journey-step.is-active { opacity: 1; }
.journey-step .step-no { font: 500 1.1rem/1 var(--serif); color: var(--gold); letter-spacing: 0.2em; }
.journey-step p { color: var(--c-muted); max-width: 46ch; font-size: 1.05rem; }
.journey-steps { position: relative; padding-left: 34px; }
.journey-line { position: absolute; left: 6px; top: 8vh; bottom: 8vh; width: 2px; background: var(--line); border-radius: 2px; }
.journey-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold-1), var(--gold)); transform-origin: top; transform: scaleY(var(--fill, 0.12)); border-radius: inherit; box-shadow: 0 0 14px rgba(201, 169, 106, 0.6); }
.journey-step { position: relative; }
.journey-step::before { content: ""; position: absolute; left: -34px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 5px rgba(201, 169, 106, 0.18); }
.tone-dark .journey-step::before { background: var(--navy-2); }
.step-ghost { position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 500 clamp(7rem, 16vw, 13rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold-2); opacity: 0.22; pointer-events: none; user-select: none; }
.step-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #17110a; background: linear-gradient(135deg, var(--gold-1), var(--gold)); box-shadow: 0 16px 34px -16px rgba(201, 169, 106, 0.9); }
.step-icon svg { width: 28px; height: 28px; }
.journey-step .step-no { font: 800 0.7rem/1 var(--sans); letter-spacing: 0.26em; }
.journey-step h3 { font-size: clamp(2rem, 3.6vw, 3rem); position: relative; }
.step-points { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; position: relative; }
.step-points li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; max-width: 420px; }
.tone-dark .step-points li { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); }
.step-points li::before { content: "✦"; color: var(--gold); font-size: 0.8rem; }
.journey-caption { position: absolute; z-index: 2; right: 20px; bottom: 22px; left: 120px; display: grid; gap: 4px; text-align: right; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }
.journey-caption span { font: 800 0.62rem/1 var(--sans); letter-spacing: 0.26em; color: var(--gold-1); }
.journey-caption strong { font: 500 1.5rem/1.1 var(--serif); }
.journey-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(8, 16, 32, 0.78)); }
@media (max-width: 899px) { .step-ghost { font-size: 6rem; opacity: 0.16; } .journey-caption strong { font-size: 1.1rem; } .journey-steps { padding-left: 26px; } .journey-step::before { left: -26px; } .journey-step { min-height: 46vh; } }
@media (min-width: 900px) {
  .journey-grid { grid-template-columns: 1.05fr 0.95fr; gap: 6vw; align-items: start; }
  .journey-media { height: 74vh; top: calc(var(--header) + 40px); }
  .journey-step { min-height: 72vh; }
}

/* ───────── Packages ───────── */
.package-list { display: grid; gap: 14px; }
.package-row { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); transition: transform 0.5s var(--ease), background 0.4s; }
.tone-dark .package-row { background: rgba(255, 255, 255, 0.05); border-color: var(--glass-line); }
.package-row:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.package-row img { width: 100%; height: 190px; border-radius: var(--r-md); }
.package-row div { padding: 6px 12px 12px; display: grid; gap: 6px; }
.package-row small { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.tone-dark .package-row small { color: var(--gold); }
.package-row p { color: var(--c-muted); font-size: 0.95rem; }
.package-row .go { width: 52px; height: 52px; border-radius: 50%; display: none; place-items: center; border: 1px solid currentColor; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.package-row:hover .go { background: var(--gold); color: #17110a; border-color: var(--gold); transform: rotate(45deg); }
@media (min-width: 760px) { .package-row { grid-template-columns: 260px 1fr 52px; padding-right: 26px; } .package-row img { height: 160px; } .package-row .go { display: grid; } }

/* ───────── Credentials ───────── */
.docs-grid { display: grid; gap: 22px; }
.doc-card { position: relative; border-radius: var(--r-lg); padding: 14px 14px 22px; background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 16px; text-align: left; transition: transform 0.6s var(--ease), box-shadow 0.6s; cursor: zoom-in; width: 100%; }
.tone-dark .doc-card { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); }
.doc-card:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.7); }
.doc-paper { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: #fff; display: grid; place-items: center; }
.doc-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-card h3 { font-size: 1.3rem; padding-inline: 8px; }
.doc-card span { padding-inline: 8px; font: 700 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.tone-dark .doc-card span { color: var(--gold); }
.verify-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.verify-row a { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font: 700 0.8rem/1 var(--sans); background: var(--panel); }
.tone-dark .verify-row a { border-color: var(--glass-line); background: rgba(255, 255, 255, 0.06); }
@media (min-width: 800px) { .docs-grid { grid-template-columns: repeat(3, 1fr); } }
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(92vw, 980px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 10, 20, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 16px; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.lightbox button { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: #17110a; font-size: 1.4rem; font-weight: 700; z-index: 2; }

/* ───────── Blog ───────── */
.blog-grid { display: grid; gap: 24px; }
.blog-card { position: relative; display: flex; flex-direction: column; border-radius: 40px; overflow: hidden; color: #f8f2e4; background: linear-gradient(155deg, var(--card-a) 0%, var(--card-b) 100%); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 70px -44px rgba(8, 16, 32, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1); transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 50px 90px -40px rgba(8, 16, 32, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.blog-card-image { position: relative; margin: 12px 12px 0; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 11; }
.blog-card-image img { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.07); }
.blog-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 20, 36, 0.5)); }
.blog-card-image span { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 7px 13px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--glass-line); font: 700 0.64rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.blog-card-copy { padding: 24px 28px 30px; display: grid; gap: 12px; flex: 1; align-content: start; }
.blog-card-copy time { font: 700 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-1); }
.blog-card-copy h3 { color: #fff; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.14; }
.blog-card-copy p { color: rgba(248, 242, 228, 0.78); font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-copy .more { margin-top: 6px; font: 700 0.78rem/1 var(--sans); color: var(--gold-1); letter-spacing: 0.06em; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 34px; }
.blog-tools input { flex: 1 1 260px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); outline: none; }
.blog-tools input:focus { border-color: var(--gold); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 700 0.76rem/1 var(--sans); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.theme-sah .chip[aria-pressed="true"] { background: var(--gold); color: #17110a; border-color: var(--gold); }
.no-results { padding: 40px 0; color: var(--muted); }

/* ───────── Page head / prose ───────── */
.page-hero { position: relative; padding: calc(var(--header) + 90px) 0 clamp(50px, 7vw, 90px); background: linear-gradient(155deg, var(--navy-1), var(--navy-2)); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero .wrap { display: grid; gap: 22px; max-width: 980px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.page-hero p.lead { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 60ch; }
.page-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); }
.page-hero.has-image .wrap { max-width: none; grid-template-columns: 1fr; }
.page-hero-image { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 40px 90px -40px #000; }
.page-hero-image img { width: 100%; height: 100%; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.06em; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs i { opacity: 0.5; font-style: normal; }
@media (min-width: 960px) { .page-hero.has-image .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; } }
.page-body { position: relative; z-index: 2; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); padding-block: clamp(50px, 7vw, 100px); background: var(--bg); }
body.theme-maysen .page-body { background: linear-gradient(180deg, #ece3d1, #e1d5bd); }
.prose { max-width: 760px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 2em 0 0.5em; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--ink); opacity: 0.92; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin-block: 1em; }
.prose li::marker { color: var(--gold-2); }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.article-layout { display: grid; gap: 40px; }
.aside-card { position: sticky; top: calc(var(--header) + 30px); align-self: start; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(155deg, var(--card-a), var(--card-b)); color: var(--on-dark); display: grid; gap: 14px; box-shadow: 0 40px 80px -44px #000; }
.aside-card h3 { font-size: 1.6rem; }
.aside-card p { color: var(--on-dark-muted); font-size: 0.94rem; }
.note { margin-top: 2.4em; padding: 18px 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); font-size: 0.9rem; color: var(--muted); }
.legal-prose { max-width: 860px; }
.legal-prose p { margin-top: 0.8em; }
.legal-prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal-nav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font: 700 0.78rem/1 var(--sans); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
body.theme-sah .legal-nav a[aria-current="page"] { background: var(--gold); color: #17110a; }
.card-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; } }
.about-split { display: grid; gap: 30px; align-items: center; }
.about-split figure { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -44px #000; }
.about-split figure img { width: 100%; height: 100%; }
@media (min-width: 900px) { .about-split { grid-template-columns: 0.9fr 1.1fr; gap: 6vw; } .about-split.flip { grid-template-columns: 1.1fr 0.9fr; } .about-split.flip figure { order: 2; } }
.pillars { display: grid; gap: 18px; margin-top: 30px; }
.pillar { padding: 30px; border-radius: var(--r-lg); background: linear-gradient(155deg, var(--card-a), var(--card-b)); color: var(--on-dark); display: grid; gap: 12px; }
.pillar p { color: var(--on-dark-muted); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.partner-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.partner-row span { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; font-size: 0.86rem; }

/* ───────── Contact ───────── */
.contact-grid { display: grid; gap: 26px; }
.contact-form { position: relative; display: grid; gap: 16px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 50px 100px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.14); color: var(--on-dark); }
body.theme-maysen .tone-light .contact-form { background: linear-gradient(155deg, rgba(37, 67, 111, 0.88), rgba(14, 28, 51, 0.92)); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: 8px; font: 700 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-1); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; font: 500 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; outline: none; transition: border-color 0.3s, background 0.3s; }
.contact-form select option { color: #14233a; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.14); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 0.8rem; color: var(--on-dark-muted); line-height: 1.55; }
.form-note a { color: var(--gold-1); text-decoration: underline; }
.contact-side { display: grid; gap: 18px; align-content: start; }
.map-card { border-radius: var(--r-xl); overflow: hidden; min-height: 320px; border: 1px solid var(--line); box-shadow: 0 40px 80px -44px rgba(8, 16, 32, 0.8); background: var(--navy-2); position: relative; }
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: saturate(0.85) contrast(1.02); }
.info-cards { display: grid; gap: 12px; }
.info-card { display: grid; gap: 6px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.info-card small { font: 700 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.tone-dark .info-card small { color: var(--gold); }
.info-card a, .info-card address { font: 600 1.05rem/1.45 var(--sans); font-style: normal; }
.info-card .support-tag { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-1), var(--gold)); color: #17110a; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; vertical-align: middle; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; } .map-card iframe { min-height: 420px; } }

/* ───────── Footer ───────── */
.site-footer { position: relative; z-index: 3; background: linear-gradient(160deg, var(--navy-1), var(--navy-2)); color: var(--on-dark); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); padding: clamp(60px, 8vw, 110px) 0 36px; overflow: hidden; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { height: 56px; width: auto; filter: var(--logo-filter); margin-bottom: 22px; }
.footer-brand p { color: var(--on-dark-muted); max-width: 40ch; font-size: 0.95rem; }
.footer-col h3 { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.26em; color: var(--gold); margin-bottom: 20px; text-transform: uppercase; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col a { color: var(--on-dark-muted); font-size: 0.95rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-1); }
.footer-col .store-links { flex-direction: column; align-items: flex-start; margin-top: 8px; }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-line); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.social-row a:hover { background: var(--gold); color: #17110a; transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--glass-line); font-size: 0.84rem; color: var(--on-dark-muted); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover { color: var(--gold-1); }
.footer-legal .spacer { flex: 1; }
.footer-company { margin-top: 22px; font-size: 0.78rem; color: var(--on-dark-muted); opacity: 0.8; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }

/* ───────── Floating contact ───────── */
.float-left { position: fixed; z-index: 90; left: 16px; bottom: 16px; display: grid; gap: 10px; justify-items: center; }
.float-right { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; gap: 10px; justify-items: end; }
.float-social { display: grid; gap: 6px; }
@media (max-width: 760px) { .float-left { left: 8px; justify-items: start; } .float-social { margin-left: -2px; } }
.float-social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.25); transition: transform 0.4s var(--ease); }
.float-social a:hover { transform: scale(1.12) translateX(3px); }
.float-social svg { width: 14px; height: 14px; }
.float-left .wa { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2fd47a, #12a75a); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--ease); }
.float-left .wa:hover { transform: scale(1.08); }
.float-left .wa svg { width: 28px; height: 28px; }
.float-right .call { display: none; width: 52px; height: 52px; border-radius: 50%; place-items: center; color: #fff; background: var(--glass-solid); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.float-right .call svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .float-right .call { display: grid; } body.theme-maysen .float-right .call { display: none; } }

/* ───────── Info bar ───────── */
.info-bar { --bar: 38px; position: relative; z-index: 101; height: var(--bar); background: linear-gradient(90deg, #0a1424, #13233b 50%, #0a1424); color: var(--on-dark); font: 600 0.74rem/1 var(--sans); letter-spacing: 0.02em; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
body.theme-sah .info-bar { background: #05070a; }
.info-bar-inner { height: 100%; width: min(1320px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.info-bar-inner::-webkit-scrollbar { display: none; }
.bar-left, .bar-right { display: flex; align-items: center; gap: 16px; }
.info-bar b { color: var(--gold-1); font-weight: 800; }
.info-bar a { opacity: 0.9; transition: opacity 0.3s, color 0.3s; }
.info-bar a:hover { opacity: 1; color: var(--gold-1); }
.bar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
.bar-wa { display: inline-flex; align-items: center; gap: 6px; }
.bar-wa svg { width: 14px; height: 14px; color: #37d67a; }
@media (max-width: 1000px) { .bar-office { display: none; } }
@media (max-width: 760px) { .bar-mail, .bar-left .bar-sep, .bar-left a:nth-of-type(2) { display: none; } .info-bar { font-size: 0.7rem; } }
@media (max-width: 460px) { .bar-wa { display: none; } }

/* ───────── Assistant widget ───────── */
.assistant-launch { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--glass-line); background: linear-gradient(145deg, var(--navy-1), var(--navy-2)); display: grid; place-items: center; box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.75); transition: transform 0.4s var(--ease); }
.assistant-launch:hover { transform: scale(1.07); }
.assistant-launch img { width: 40px; height: auto; filter: brightness(0) invert(1); }
.assistant-launch .pulse { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 169, 106, 0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(201, 169, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 169, 106, 0); } }
.assistant-launch, .assistant-panel { position: fixed; z-index: 95; right: 16px; bottom: 16px; }
.assistant-panel { bottom: 92px; width: min(380px, 100% - 32px); max-height: min(560px, 100svh - 130px); overflow: auto; border-radius: var(--r-lg); color: var(--on-dark); background: var(--glass-solid); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); box-shadow: 0 40px 90px -30px #000; animation: panel-in 0.5s var(--ease); }
.assistant-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.assistant-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--glass-line); }
.assistant-top strong { display: block; font: 500 1.35rem/1.1 var(--serif); }
.assistant-top small { color: var(--on-dark-muted); font-size: 0.72rem; }
.assistant-top button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--glass-line); background: transparent; color: inherit; font-size: 1.2rem; flex: none; }
.assistant-body { padding: 18px 20px 22px; display: grid; gap: 12px; }
.assistant-body p { color: var(--on-dark-muted); font-size: 0.92rem; }
.assistant-body .choice { text-align: left; padding: 13px 16px; border-radius: 18px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.07); color: inherit; font-weight: 600; font-size: 0.92rem; display: grid; gap: 2px; transition: background 0.3s, transform 0.3s; }
.assistant-body .choice small { color: var(--gold-1); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.assistant-body .choice:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(3px); }
.assistant-body label { display: grid; gap: 8px; font-size: 0.78rem; color: var(--gold-1); font-weight: 700; }
.assistant-body input { min-height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; outline: none; }
.assistant-body .btn { min-height: 48px; width: 100%; }
.assistant-body .note { margin: 0; padding: 0; border: 0; background: none; font-size: 0.74rem; color: var(--on-dark-muted); }

/* ───────── Credential strip ───────── */
.cred-strip { position: relative; z-index: 2; padding: 26px 0; margin-top: calc(var(--r-xl) * -1); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.cred-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cred { display: grid; grid-template-rows: auto auto auto; justify-items: center; align-content: center; gap: 4px; padding: 16px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); text-align: center; transition: background 0.3s, transform 0.4s var(--ease); min-height: 112px; }
.cred:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-3px); }
.cred strong { font: 600 1.15rem/1.2 var(--serif); color: var(--gold-1); letter-spacing: 0.02em; }
.cred small { color: var(--on-dark-muted); font-size: 0.7rem; letter-spacing: 0.04em; }
.cred-name { font: 800 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.22); line-height: 1; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.cred-logo { height: 38px; display: grid; place-items: center; }
.cred-logo img { height: 100%; width: auto; max-width: 140px; object-fit: contain; }
@media (min-width: 860px) { .cred-row { grid-template-columns: repeat(4, 1fr); } }

/* ───────── Footer verification cards ───────── */
.verify-badge { display: flex; width: fit-content; margin-inline: auto; align-items: stretch; margin-top: 46px; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 6px; gap: 6px; }
.verify-link { display: flex; align-items: center; gap: 12px; padding: 4px 18px 4px 4px; border-radius: 999px; min-width: 0; font: 700 0.74rem/1.3 var(--sans); letter-spacing: 0.03em; color: var(--on-dark); transition: background 0.3s, transform 0.4s var(--ease); }
.verify-link:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.verify-logo { flex: none; display: grid; place-items: center; width: 96px; height: 50px; border-radius: 999px; padding: 6px 12px; overflow: hidden; }
.verify-light .verify-logo { background: #fff; }
.verify-dark .verify-logo { background: transparent; }
.verify-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) { .verify-badge { border-radius: 26px; flex-direction: column; width: 100%; } .verify-link { border-radius: 20px; } }

/* ───────── Reveal ───────── */
.sc-motion [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.sc-motion [data-reveal].in { opacity: 1; transform: none; }
.sc-motion [data-mask] { clip-path: inset(10% 6% 10% 6% round 40px); transition: clip-path 1.4s var(--ease); }
.sc-motion [data-mask].in { clip-path: inset(0 0 0 0 round 40px); }

/* ───────── Responsive header ───────── */
@media (max-width: 1240px) { .store-links { display: none; } }
@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .site-header { height: 64px; padding: 0 10px 0 16px; gap: 8px; }
  .brand img { height: 36px; }
  .support-pill { padding: 6px 12px 6px 8px; gap: 8px; font-size: 0.76rem; }
  .header-tools { gap: 6px; }
  .flag-switch { display: none; }
  .flag-picker { display: block; }
  .hero { padding-bottom: 110px; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 8px 0 14px; gap: 6px; }
  .header-tools { gap: 5px; min-width: 0; }
  .support-pill { padding: 5px 10px 5px 6px; gap: 6px; font-size: 0.7rem; }
  .support-pill b { padding: 3px 7px; font-size: 0.6rem; }
  .menu-toggle { width: 40px; height: 40px; flex: none; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:first-child { top: 16px; }
  .menu-toggle span:last-child { top: 22px; }
  .flag-picker summary { padding: 6px 8px; }
  .flag-picker summary svg { display: none; }
}
@media (max-width: 400px) {
  .brand img { height: 30px; }
  body.theme-sah .brand img { height: 30px; }
  .support-pill { font-size: 0.66rem; }
  .flag-picker summary img { width: 22px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .sc-motion [data-reveal], .sc-gsap .statement .w { opacity: 1 !important; transform: none !important; }
  .sc-motion [data-mask] { clip-path: none !important; }
}

/* ───────── Hero with the world scene ───────── */
.hero-world .health-world-scene { max-width: min(640px, 70svh); justify-self: center; }
.hero-world .hero-grid { align-items: center; }
@media (min-width: 1000px) { .hero-world .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
@media (max-width: 999px) { .hero-world { padding-bottom: 60px; } .hero-world .health-world-scene { max-width: 420px; margin-top: 10px; } }

/* ───────── Before / after comparison ───────── */
.planning-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .planning-grid { grid-template-columns: 1fr 1fr; } }
.planning-grid figure { display: grid; gap: 14px; }
.planning-grid figcaption { display: flex; justify-content: space-between; font: 500 1.3rem/1 var(--serif); padding-inline: 8px; }
.planning-comparison { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 1 / 1; background: var(--navy-2); box-shadow: 0 40px 80px -44px #000; touch-action: pan-y; }
.planning-comparison svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.model-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--comparison)); }
.model-labels { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; pointer-events: none; }
.model-labels span { padding: 7px 14px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-line); font: 700 0.66rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.comparison-handle { position: absolute; top: 50%; left: var(--comparison); width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #17110a; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); pointer-events: none; }
.comparison-handle::before { content: ""; position: absolute; left: 50%; top: -400px; bottom: -400px; width: 2px; translate: -50% 0; background: var(--gold); z-index: -1; }
.planning-comparison input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.planning-comparison:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Marquee on Şah Grup: flat band between dark chapters, no rounded overlap */
body.theme-sah .marquee { margin: 0; padding-bottom: calc(26px + var(--r-xl)); border-radius: 0; background: var(--navy-2); position: relative; z-index: 1; border-block: 1px solid rgba(201, 169, 107, 0.18); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
body.theme-sah .marquee-track span { -webkit-text-stroke: 1px rgba(201, 169, 107, 0.7); }

.docs-single { grid-template-columns: minmax(0, 360px) !important; justify-content: center; }
.docs-single .doc-paper { aspect-ratio: 3 / 4; }

.footer-credit { margin-top: 14px; font: 500 0.68rem/1 var(--sans); letter-spacing: 0.08em; color: var(--on-dark-muted); opacity: 0.6; text-align: center; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s, opacity 0.3s; }
.footer-credit a:hover { color: var(--gold-1); opacity: 1; }

/* ───────── Group links (Şah Grup → Maysen) ───────── */
.group-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .group-grid { grid-template-columns: 1fr 1fr; } }
.group-card { display: grid; gap: 14px; justify-items: start; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); color: var(--on-dark); background: linear-gradient(155deg, #25436f, #0e1c33); border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -44px #000; transition: transform 0.6s var(--ease); position: relative; overflow: hidden; }
.group-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 106, 0.35), transparent 70%); }
.group-card:hover { transform: translateY(-8px); }
.group-card img { height: 54px; width: auto; filter: brightness(0) invert(1); position: relative; z-index: 1; }
.group-card h3 { color: #fff; position: relative; z-index: 1; }
.group-card p { color: var(--on-dark-muted); position: relative; z-index: 1; max-width: 38ch; }
.group-card .btn { position: relative; z-index: 1; margin-top: 8px; min-height: 48px; }
.group-card img { object-fit: contain; object-position: left center; }
.footer-credit .heart { display: inline-block; color: #ff6b81; text-decoration: none; animation: beat 1.8s ease-in-out infinite; margin-inline: 2px; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

@media (max-width: 1180px) { .bar-long, .bar-auth, .bar-left .bar-sep { display: none; } }

/* ───────── Cookie consent ───────── */
.consent { position: fixed; z-index: 160; left: 50%; bottom: 14px; translate: -50% 0; width: min(760px, 100% - 24px); display: grid; gap: 14px; padding: 18px 22px; border-radius: 28px; color: var(--on-dark); background: var(--glass-solid); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 30px 80px -30px #000; font-size: 0.86rem; animation: panel-in 0.6s var(--ease); }
.consent[hidden] { display: none; }
.consent p { color: var(--on-dark-muted); line-height: 1.55; }
.consent a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent .btn { min-height: 42px; padding: 0 22px; font-size: 0.8rem; }
.consent .btn::after { content: none; }
@media (min-width: 760px) { .consent { grid-template-columns: 1fr auto; align-items: center; } }

.cred-seal { filter: drop-shadow(0 6px 14px rgba(201, 169, 106, 0.35)); }
.cred-seal svg { height: 100%; width: auto; }

/* Logo row of the credential cards: every logo sits in the same 40px band */
.cred-logo { height: 40px; margin-bottom: 4px; }
.cred-logo { width: 100%; display: flex; justify-content: center; }
.cred-logo svg { height: 100%; width: auto; max-width: 100%; display: block; }
.cred-logo img { height: 100%; width: auto; max-width: 100%; }
/* Wordmarks scale to the card (aspect ratio kept), never wider than it */
.cred-wordmark svg { width: 100%; height: 40px; }
.cred-seal svg { width: auto; height: 100%; }
@media (max-width: 859px) { .cred { padding: 14px 10px; } .cred-logo { height: 36px; } .cred-wordmark svg { height: 36px; } }

/* Credential logos: full wordmark on wide screens, compact mark on narrow ones, never wider than the card */
.cred-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .cred-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cred { min-width: 0; overflow: hidden; }
.cred-wordmark { overflow: hidden; }
.cred-wordmark .logo-full { display: block; width: 100%; }
.cred-wordmark .logo-mark, .cred-source { display: none; }
.cred-wordmark .logo-mark svg { height: 40px; width: 40px; }
@media (max-width: 859px) {
  .cred-wordmark .logo-full { display: none; }
  .cred-wordmark .logo-mark { display: block; }
  .cred-wordmark .logo-mark svg { height: 38px; width: 38px; }
  .cred-source { display: inline; }
}
