/* KAOS GL UK V2 — premium editorial layer */
:root {
  --color-red-dark: #a20f19;
  --color-red: #d52a32;
  --color-red-light: #f05a61;
  --color-red-soft: #f7d9d7;
  --color-ink: #100d0e;
  --color-ink-soft: #292324;
  --color-muted: #675e5d;
  --color-paper: #f5f0e9;
  --color-paper-dark: #e9e0d5;
  --color-white: #fffdf9;
  --color-border: #cec2b7;
  --font-serif: "Libre Bodoni", Didot, "Bodoni 72", Georgia, serif;
  --font-sans: "Public Sans", Arial, Helvetica, system-ui, sans-serif;
  --container: 96rem;
  --radius: 18px;
  --shadow-soft: 0 24px 80px rgba(16, 13, 14, .11);
  --shadow-deep: 0 42px 110px rgba(16, 13, 14, .25);
  --premium-ease: cubic-bezier(.16, 1, .3, 1);
  --z-premium-grain: 200;
  --z-premium-progress: 220;
}

html { background: var(--color-ink); }

body.site-v2 {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -.012em;
  isolation: isolate;
}

body.site-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-premium-grain);
  pointer-events: none;
  opacity: .055;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, transparent 0 1px, rgba(16,13,14,.52) 1px 1.7px),
    repeating-linear-gradient(97deg, transparent 0 4px, rgba(255,255,255,.2) 4px 5px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
}

.container { width: min(calc(100% - clamp(2rem, 6vw, 8rem)), var(--container)); }
.narrow { width: min(calc(100% - 2rem), 58rem); }
.section { padding-block: clamp(5.5rem, 10vw, 11rem); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.stack > * + * { margin-top: clamp(1rem, 1.8vw, 1.8rem); }
.grid { gap: clamp(1rem, 2vw, 2rem); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -.052em;
  text-wrap: balance;
}

h1 { line-height: .92; }
h2 { line-height: .98; }
h3 { line-height: 1.02; }
p { text-wrap: pretty; }
.lede { font-family: var(--font-sans); font-weight: 350; line-height: 1.55; letter-spacing: -.025em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.eyebrow::before {
  content: "";
  width: 1.85rem;
  height: 2px;
  background: var(--color-red);
}

.skip-link { border-radius: 999px; box-shadow: var(--shadow-soft); }
:focus-visible { box-shadow: 0 0 0 3px var(--color-paper), 0 0 0 6px var(--color-red); }

/* Reading progress */
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: var(--z-premium-progress);
  pointer-events: none;
  background: linear-gradient(90deg, var(--color-red) calc(var(--scroll-progress, 0) * 100%), transparent 0);
}

/* Announcement */
.announcement {
  position: relative;
  z-index: 60;
  background: var(--color-red);
  color: var(--color-white);
  border: 0;
}

.announcement__inner {
  justify-content: space-between;
  min-height: 42px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.announcement__inner a::after { content: "  ↗"; }

/* Premium navigation */
.site-header {
  background: transparent;
  border: 0;
  transition: transform .4s var(--premium-ease);
}

.header-main {
  background: rgba(250, 247, 241, .9);
  border: 1px solid rgba(16, 13, 14, .12);
  box-shadow: 0 16px 60px rgba(16, 13, 14, .08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.brand img {
  filter: drop-shadow(0 14px 22px rgba(162, 15, 25, .22));
  transition: width .35s var(--premium-ease), transform .35s var(--premium-ease);
}

.brand:hover img { transform: translateY(-3px) rotate(-1deg); }
.brand-name { letter-spacing: .04em; }

.desktop-nav { counter-reset: premium-nav; }
.desktop-nav > a,
.desktop-nav > details > summary {
  counter-increment: premium-nav;
  position: relative;
  gap: .45rem;
  color: var(--color-ink);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.desktop-nav > a::before,
.desktop-nav > details > summary::before {
  content: "0" counter(premium-nav);
  color: var(--color-red);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .04em;
  transform: translateY(-.52em);
}

.desktop-nav > a::after,
.desktop-nav > details > summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .25rem;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--premium-ease);
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.desktop-nav > details:hover > summary::after,
.desktop-nav > details[open] > summary::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav .nav-menu summary::after { content: ""; }

.desktop-nav .nav-popover {
  top: calc(100% + 1.35rem);
  min-width: 23rem;
  padding: .7rem;
  background: var(--color-ink);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.desktop-nav .nav-popover::before {
  content: "KEŞFET";
  display: block;
  padding: .8rem 1rem .55rem;
  color: var(--color-red-light);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.desktop-nav .nav-popover a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: .8rem 1rem;
  border-color: rgba(255,255,255,.12);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: -.025em;
  transition: padding .25s var(--premium-ease), background .25s var(--premium-ease);
}

.desktop-nav .nav-popover a::after { content: "↗"; color: var(--color-red-light); font-family: var(--font-sans); }
.desktop-nav .nav-popover a:hover { padding-left: 1.35rem; background: rgba(255,255,255,.07); }

.utility-nav { color: var(--color-muted); font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.utility-nav a { text-decoration: none; }
.utility-nav a:hover { color: var(--color-red-dark); }

.header-actions .button--primary {
  min-height: 48px;
  padding-inline: 1.2rem;
  background: var(--color-red);
  border-color: var(--color-red);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(165, 15, 25, .2);
}

.header-actions .button--primary::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 5px rgba(255,255,255,.16);
}

.header-actions .button--primary img { display: none; }
.header-actions .button--primary:hover { background: var(--color-ink); border-color: var(--color-ink); }
.mobile-toggle { border-radius: 50%; border-color: rgba(16,13,14,.2); }

body.nav-expanded::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(16,13,14,.42);
  backdrop-filter: blur(3px);
}

/* Buttons */
.button {
  position: relative;
  min-height: 52px;
  padding: .8rem 1.25rem;
  border-width: 1.5px;
  border-radius: 999px;
  overflow: hidden;
  font-size: .84rem;
  letter-spacing: -.01em;
  transition: color .3s var(--premium-ease), background .3s var(--premium-ease), border-color .3s var(--premium-ease), transform .3s var(--premium-ease), box-shadow .3s var(--premium-ease);
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16,13,14,.14); }
.button:active { transform: translateY(0) scale(.975); }
.button img { transition: transform .3s var(--premium-ease); }
.button:hover img { transform: translateX(4px); }
.button--primary { background: var(--color-red); border-color: var(--color-red); }
.button--primary:hover { background: #7d0710; border-color: #7d0710; }
.hero .button:not(.button--primary),
.section--ink .button:not(.button--primary),
.action-panel:nth-child(3) .button,
.cookie-banner .button:not(.button--primary),
.mobile-panel .button:not(.button--primary) { color: var(--color-white); border-color: rgba(255,255,255,.72); }
.hero .button:not(.button--primary):hover,
.section--ink .button:not(.button--primary):hover,
.action-panel:nth-child(3) .button:hover,
.cookie-banner .button:not(.button--primary):hover,
.mobile-panel .button:not(.button--primary):hover { background: var(--color-white); color: var(--color-ink); }

/* Hero */
.hero {
  min-height: min(900px, calc(100dvh - 42px));
  background:
    radial-gradient(circle at 80% 20%, rgba(213,42,50,.2), transparent 30%),
    linear-gradient(125deg, #0d0a0b 0%, #1d1719 65%, #100d0e 100%);
  color: var(--color-white);
  border: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: clamp(72px, 8vw, 128px) clamp(72px, 8vw, 128px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
}

.hero__inner { position: relative; min-height: inherit; padding-block: clamp(7rem, 12vw, 12rem); }
.home-hero h1 { font-size: clamp(4.4rem, 8.8vw, 10.6rem); max-width: 10ch; font-weight: 500; letter-spacing: -.075em; }
.home-hero .lede { max-width: 43ch; color: rgba(255,255,255,.73); font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.home-hero .eyebrow { color: var(--color-red-light); }

.hero__art {
  min-height: min(68vh, 680px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  align-content: space-between;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,.36), transparent 8%),
    radial-gradient(circle at 44% 36%, #ef5960 0 7%, transparent 7.2%),
    conic-gradient(from 205deg at 50% 68%, #800710, #de3038 30%, #a30f19 62%, #f47276 80%, #800710);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 48% 48% 12px 12px;
  box-shadow: 28px 38px 0 rgba(255,255,255,.045), 0 50px 120px rgba(0,0,0,.4);
  transform: rotate(2.5deg) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform .6s var(--premium-ease);
}

.hero__art::before { inset: 1.7rem; border-radius: 48% 48% 4px 4px; opacity: .5; }
.hero__art::after {
  content: "LONDON / 51.5072° N";
  position: absolute;
  right: 2.2rem;
  bottom: 2.1rem;
  z-index: 2;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.hero__word { font-size: clamp(4.5rem, 9vw, 9.5rem); letter-spacing: -.095em; mix-blend-mode: screen; }
.hero__line { height: 4px; }

/* Internal page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 9rem);
  background:
    radial-gradient(circle at 85% 18%, rgba(213,42,50,.22), transparent 24%),
    var(--color-ink);
  color: var(--color-white);
  border: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -5%;
  width: min(48vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgba(255,255,255,.025), 0 0 0 12vw rgba(255,255,255,.018);
}

.page-hero__grid { position: relative; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); }
.page-hero h1 { font-size: clamp(3.8rem, 7.4vw, 8rem); max-width: 12ch; }
.page-hero .lede { color: rgba(255,255,255,.72); }
.page-hero .poster { transform: rotate(3deg); box-shadow: 18px 20px 0 rgba(255,255,255,.06); }
.page-hero .breadcrumb { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a { color: var(--color-white); }
.breadcrumb li + li::before { color: var(--color-red-light); }

/* Editorial sections */
.section--paper-dark {
  background:
    linear-gradient(90deg, rgba(16,13,14,.055) 1px, transparent 1px),
    var(--color-paper-dark);
  background-size: clamp(72px, 8vw, 128px) 100%;
}

.section--ink { background: var(--color-ink); }
.section--red { background: linear-gradient(135deg, #9d0a14, #df343c); }
.section > .container > h2, .section > .container.stack > h2 { max-width: 15ch; font-size: clamp(3rem, 5vw, 6.4rem); }

.rule-top { border-top-width: 1px; }
.quote {
  position: relative;
  align-self: center;
  border: 0;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  font-size: clamp(1.7rem, 3vw, 3.1rem);
}
.quote::before { content: "“"; position: absolute; top: -.25em; left: .15em; color: var(--color-red); font-size: 5rem; }

/* Cards and editorial grids */
.card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  min-height: 280px;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(16,13,14,.12);
  border-top: 1px solid rgba(16,13,14,.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(213,42,50,.105), transparent 32%),
    rgba(255,253,249,.78);
  box-shadow: 0 12px 40px rgba(16,13,14,.045);
  overflow: hidden;
  transition: transform .4s var(--premium-ease), box-shadow .4s var(--premium-ease), border-color .4s var(--premium-ease);
}

.card::after {
  content: "↗";
  position: absolute;
  right: 1.25rem;
  top: 1.1rem;
  color: var(--color-red);
  font-size: 1.15rem;
  transition: transform .35s var(--premium-ease);
}

.card:hover { transform: translateY(-7px); border-color: rgba(213,42,50,.45); box-shadow: 0 28px 70px rgba(16,13,14,.11); }
.card:hover::after { transform: translate(3px,-3px); }
.card--filled { background: var(--color-ink); border-color: var(--color-ink); }
.card h3, .card h2 { margin-top: auto; }
.card__meta { color: var(--color-red-dark); font-weight: 750; }
.card__link { text-decoration: none; }

.poster {
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(162,15,25,.07) 16px 17px),
    var(--color-red-soft);
  border: 0;
  border-radius: var(--radius);
}
.poster::before { inset: 10%; border: 1px solid var(--color-red); border-radius: 50%; }
.poster::after { inset: 28% 10%; border: 0; border-radius: 0; }
.poster span { border-radius: 999px; box-shadow: 0 12px 28px rgba(16,13,14,.1); }

.action-panels { gap: 1rem; }
.action-panel {
  min-height: 430px;
  padding: clamp(2rem, 3vw, 3.4rem);
  border: 0;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--premium-ease), box-shadow .45s var(--premium-ease);
}
.action-panel:nth-child(1) { transform: translateY(3rem); }
.action-panel:nth-child(2) { background: linear-gradient(155deg, #bd1721, #7f0710); transform: translateY(-1.5rem); }
.action-panel:nth-child(3) { background: var(--color-ink); color: var(--color-white); transform: translateY(1rem); }
.action-panel:hover { transform: translateY(-.5rem); box-shadow: 0 36px 90px rgba(16,13,14,.18); }

.feature { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-deep); }
.feature__copy { padding: clamp(3rem, 6vw, 7rem); }
.feature__art { min-height: 560px; background: radial-gradient(circle at 65% 24%, #f77c80, transparent 12%), linear-gradient(145deg,#d52a32,#78060e); }
.feature__art::after { content: "DAYANIŞMA"; position: absolute; right: 1.5rem; top: 2rem; writing-mode: vertical-rl; font-size: .64rem; font-weight: 800; letter-spacing: .2em; }

.programme-panel {
  min-height: 420px;
  padding: clamp(2rem, 3vw, 3rem);
  border: 0;
  border-radius: 28px 28px 6px 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .4s var(--premium-ease);
}
.programme-panel::before { content: ""; position: absolute; inset: auto -12% -30% auto; width: 70%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .16; }
.programme-panel:hover { transform: translateY(-8px) rotate(-.5deg); }
.programme-panel:nth-child(2) { transform: translateY(3rem); background: var(--color-ink); color: var(--color-white); }
.programme-panel:nth-child(3) { transform: translateY(-1.5rem); background: linear-gradient(145deg,#efd4d1,#f8ece7); }
.programme-panel__code { font-size: 8rem; opacity: .08; }

.data-strip { border: 1px solid rgba(16,13,14,.15); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.55); }
.data-strip > div { padding: clamp(1.5rem, 3vw, 2.7rem); }
.data-strip strong { font-size: clamp(1.25rem, 2vw, 2rem); }

.status, .tag { border-radius: 999px; }

/* Tabs, accordions, documents */
.tabs [role="tablist"] { gap: .5rem; padding: .35rem; border: 1px solid rgba(16,13,14,.13); border-radius: 999px; background: rgba(255,255,255,.55); width: fit-content; }
.tabs [role="tab"] { border-radius: 999px; padding-inline: 1.25rem; }
.tabs [role="tab"][aria-selected="true"] { background: var(--color-red); }

.accordion { border-top: 0; }
.accordion details { border: 1px solid rgba(16,13,14,.13); border-radius: 14px; margin-bottom: .75rem; background: rgba(255,255,255,.52); transition: background .25s ease; }
.accordion details[open] { background: var(--color-white); box-shadow: 0 16px 44px rgba(16,13,14,.07); }
.accordion summary { padding: 1.35rem 4rem 1.35rem 1.35rem; }
.accordion__content { padding: 0 1.35rem 1.5rem; }
.document { border: 1px solid rgba(16,13,14,.12); border-radius: 16px; background: var(--color-white); box-shadow: 0 10px 32px rgba(16,13,14,.055); }

/* Magazine */
.mag-cover {
  border: 0;
  border-radius: 4px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255,255,255,.4), transparent 7%),
    linear-gradient(145deg, #dc343b, #8b0710);
  box-shadow: 26px 28px 0 var(--color-ink), 0 45px 90px rgba(16,13,14,.26);
  transform: rotate(-2deg);
  transition: transform .5s var(--premium-ease);
}
.mag-cover:hover { transform: rotate(0) translateY(-8px); }

/* Forms */
.form { width: 100%; }
.form-section {
  position: relative;
  margin-bottom: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(16,13,14,.1);
  border-top: 1px solid rgba(16,13,14,.1);
  border-radius: 20px;
  background: rgba(255,253,249,.88);
  box-shadow: 0 16px 50px rgba(16,13,14,.055);
}
.form-section legend { padding: 0 .6rem; font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 500; letter-spacing: -.04em; }
.field { margin-top: 1.15rem; }
.field label, .field-label { margin-bottom: .55rem; font-size: .76rem; font-weight: 750; letter-spacing: .035em; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select, .search-form input {
  min-height: 56px;
  padding: .85rem 1rem;
  border: 1px solid #c9bdb3;
  border-radius: 12px;
  background: #fffefa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8d8179; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-bar input:focus, .filter-bar select:focus, .search-form input:focus { outline: none; border-color: var(--color-red); box-shadow: 0 0 0 4px rgba(213,42,50,.14); background: var(--color-white); }
.field textarea { min-height: 170px; }

.choice-grid { gap: .65rem; }
.choice label { min-height: 52px; border: 1px solid #c9bdb3; border-radius: 999px; background: var(--color-white); transition: all .24s var(--premium-ease); }
.choice label:hover { border-color: var(--color-red); color: var(--color-red-dark); }
.choice input:checked + label { background: var(--color-red); border-color: var(--color-red); box-shadow: 0 10px 24px rgba(162,15,25,.18); }
.checkbox { padding: .65rem .75rem; border-radius: 10px; transition: background .2s ease; }
.checkbox:hover { background: rgba(213,42,50,.055); }
.checkbox input { accent-color: var(--color-red); }

.summary-box {
  top: 116px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 20px;
  background: var(--color-ink);
  color: var(--color-white);
  box-shadow: var(--shadow-deep);
}
.summary-box dl { border-color: rgba(255,255,255,.25); }
.summary-box dd { color: var(--color-red-light); }

.form-progress {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--color-ink);
  color: var(--color-white);
}
.form-progress__meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; font-size: .73rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.form-progress__track { height: 5px; border-radius: 999px; background: rgba(255,255,255,.17); overflow: hidden; }
.form-progress__bar { width: var(--form-progress, 0%); height: 100%; border-radius: inherit; background: var(--color-red-light); transition: width .35s var(--premium-ease); }

.error-summary { border: 0; border-left: 5px solid var(--color-error); border-radius: 12px; box-shadow: var(--shadow-soft); }
.success-message { border: 0; border-left: 5px solid var(--color-success); border-radius: 12px; box-shadow: var(--shadow-soft); }

.filter-bar { padding: 1rem; border: 1px solid rgba(16,13,14,.12); border-radius: 18px; background: var(--color-white); box-shadow: var(--shadow-soft); }
.search-form { padding: .45rem; border: 1px solid rgba(16,13,14,.12); border-radius: 999px; background: var(--color-white); box-shadow: var(--shadow-soft); }
.search-form input { border: 0; border-radius: 999px; box-shadow: none; }

.donation-compact { border-radius: 30px; background: linear-gradient(145deg,#a20f19,#d52a32); box-shadow: var(--shadow-deep); }
.donation-compact .form-section { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: none; }

/* Article and legal reading */
.article-header { padding-block: clamp(6rem, 11vw, 11rem); background: var(--color-ink); color: var(--color-white); border: 0; }
.article-header h1 { font-size: clamp(4rem, 8vw, 8rem); }
.article-header .lede { color: rgba(255,255,255,.7); }
.article-body { padding-block: clamp(5rem, 9vw, 9rem); }
.prose { font-size: 1.06rem; line-height: 1.8; }
.prose > p:first-of-type { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.prose h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.toc { position: sticky; top: 120px; align-self: start; padding: 1.25rem; border: 1px solid rgba(16,13,14,.12); border-top: 1px solid rgba(16,13,14,.12); border-radius: 14px; background: rgba(255,255,255,.55); backdrop-filter: blur(12px); }
.toc a { min-height: 42px; display: flex; align-items: center; text-decoration: none; }
.legal-note { border: 0; border-radius: 14px; background: var(--color-red-soft); }

/* Tables */
.comparison-wrap { border-radius: 18px; box-shadow: var(--shadow-soft); }
.comparison th, .comparison td { padding: 1.25rem; }
.comparison thead th { background: var(--color-ink); }
.comparison tbody tr { background: var(--color-white); transition: background .2s ease; }
.comparison tbody tr:hover { background: var(--color-red-soft); }

/* System and empty states */
.system-page { min-height: 78dvh; background: radial-gradient(circle at 50% 10%, rgba(213,42,50,.16), transparent 30%), var(--color-paper); }
.system-code { color: var(--color-red); text-shadow: 10px 12px 0 var(--color-red-soft); }
.empty-state { border: 1px dashed rgba(16,13,14,.28); border-radius: 18px; background: rgba(255,255,255,.4); }

/* Cookie dialog */
.cookie-backdrop { background: rgba(16,13,14,.7); backdrop-filter: blur(9px); }
.cookie-banner { left: 50%; right: auto; bottom: 2rem; width: min(calc(100% - 2rem), 46rem); max-width: none; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: var(--color-ink); color: var(--color-white); box-shadow: 0 40px 120px rgba(0,0,0,.5); transform: translateX(-50%); }
.cookie-banner h2 { font-size: clamp(2rem, 4vw, 3.5rem); }

/* Mobile dock */
.premium-dock {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  z-index: 48;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  padding: .4rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(16,13,14,.92);
  box-shadow: 0 18px 50px rgba(16,13,14,.28);
  backdrop-filter: blur(18px);
}
.premium-dock a { min-height: 48px; display: grid; place-items: center; border-radius: 999px; color: var(--color-white); font-size: .78rem; font-weight: 750; text-decoration: none; }
.premium-dock a:first-child { background: var(--color-red); }
body.menu-open .premium-dock, body.dialog-open .premium-dock { display: none; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(6rem, 10vw, 10rem); background: #0b090a; }
.site-footer::before { content: "KAOS / GL / UK"; position: absolute; right: -.03em; bottom: -.18em; color: rgba(255,255,255,.035); font: 500 clamp(6rem, 17vw, 19rem)/.75 var(--font-serif); letter-spacing: -.08em; white-space: nowrap; }
.footer-grid { position: relative; grid-template-columns: 1.5fr 1fr 1fr; }
.footer-logo { width: 94px; filter: drop-shadow(0 18px 30px rgba(213,42,50,.24)); }
.footer-title { color: var(--color-red-light); font-size: .68rem; letter-spacing: .14em; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.74); transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--color-white); transform: translateX(4px); }
.footer-bottom { position: relative; color: rgba(255,255,255,.5); }

@media (min-width: 64rem) {
  .site-header { top: .8rem; margin-bottom: .8rem; }
  .header-main { min-height: 104px; border-radius: 18px; padding-inline: 1rem; }
  .brand img { width: 72px; position: absolute; top: -.1rem; margin-top: 0; }
  .desktop-nav { gap: clamp(.65rem, 1.2vw, 1.5rem); padding-left: .5rem; }
  .site-header.is-compact .header-main { min-height: 74px; border-radius: 999px; }
  .site-header.is-compact .brand img { width: 44px; }
  .site-header.is-compact .utility-nav { opacity: 0; pointer-events: none; }
  .home-hero .hero__inner { padding-left: 0; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
  .grid-3 > .card:first-child:nth-last-child(n + 3) { grid-column: span 2; }
  .grid-3 > .card:first-child:nth-last-child(n + 3) h3,
  .grid-3 > .card:first-child:nth-last-child(n + 3) h2 { font-size: clamp(2.3rem, 3.5vw, 4.2rem); max-width: 14ch; }
  .premium-dock { display: none; }
}

@media (min-width: 64rem) and (max-width: 74.99rem) {
  .desktop-nav, .utility-nav { display: none; }
  .mobile-toggle { display: grid; }
  .header-main { grid-template-columns: 52px 1fr auto; min-height: 86px; border-radius: 16px; }
  .brand img, .site-header.is-compact .brand img { position: static; width: 42px; }
  .brand-name { display: block; font-size: .76rem; }
  .mobile-panel { background: radial-gradient(circle at 80% 8%, rgba(213,42,50,.26), transparent 28%), var(--color-ink); color: var(--color-white); }
  .mobile-panel__top { border-color: rgba(255,255,255,.2); }
  .mobile-panel .mobile-toggle { border-color: rgba(255,255,255,.32); color: var(--color-white); }
  .mobile-panel a, .mobile-panel summary { color: var(--color-white); }
  .mobile-panel details a { color: rgba(255,255,255,.68); }
}

@media (max-width: 63.99rem) {
  body.site-v2 { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .site-header { position: sticky; top: 0; }
  .header-main { min-height: 86px; border-radius: 0; border-inline: 0; }
  .brand img { width: 42px; }
  .brand-name { font-size: .74rem; }
  .mobile-panel { background: radial-gradient(circle at 80% 8%, rgba(213,42,50,.26), transparent 28%), var(--color-ink); color: var(--color-white); }
  .mobile-panel__top { border-color: rgba(255,255,255,.2); }
  .mobile-panel .mobile-toggle { border-color: rgba(255,255,255,.32); color: var(--color-white); }
  .mobile-panel nav { counter-reset: mobile-nav; }
  .mobile-panel nav > a,
  .mobile-panel nav > details { counter-increment: mobile-nav; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-panel nav > a::before,
  .mobile-panel nav > details > summary::before { content: "0" counter(mobile-nav); margin-right: .8rem; color: var(--color-red-light); font: 700 .62rem var(--font-sans); letter-spacing: .08em; }
  .mobile-panel a, .mobile-panel summary { color: var(--color-white); font-size: clamp(1.75rem, 8vw, 3.5rem); font-weight: 500; letter-spacing: -.05em; }
  .mobile-panel details a { color: rgba(255,255,255,.68); font-size: 1rem; }
  .mobile-panel__actions .button { font-size: .72rem; }
  .hero { min-height: auto; }
  .hero__inner { padding-block: 5rem 7rem; }
  .hero__art { min-height: 480px; width: min(90%, 420px); justify-self: center; }
  .home-hero h1 { font-size: clamp(4rem, 16vw, 7rem); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero .poster { max-width: 420px; }
  .action-panels { gap: 1rem; }
  .action-panel:nth-child(n), .programme-panel:nth-child(n) { transform: none; }
  .action-panel { min-height: 340px; }
  .programme-panel { min-height: 340px; }
  .feature__art { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .header-actions > .button { min-height: 44px; font-size: .7rem; }
  .header-actions .button--primary::before { display: none; }
  .hero__art { min-height: 390px; }
  .page-hero { padding-block: 4.5rem; }
  .page-hero h1 { font-size: clamp(3.3rem, 16vw, 5.8rem); }
  .section { padding-block: 5rem; }
  .action-panel, .programme-panel { border-radius: 18px; }
  .feature { border-radius: 20px; }
  .form-section { padding: 1.15rem; border-radius: 15px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs [role="tablist"] { width: 100%; border-radius: 15px; }
  .tabs [role="tab"] { flex: 1; white-space: normal; border-radius: 11px; }
  .cookie-banner { bottom: .75rem; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__art, .card, .action-panel, .programme-panel, .mag-cover, .button, .brand img { transform: none !important; transition: none !important; }
  .reading-progress { display: none; }
}

@media print {
  .premium-dock, .reading-progress { display: none !important; }
}
