/* =========================================================================
   Fırtına ve Mermer — Çarpan küreleri mekaniği anlatımı
   Dünya: fırtına ve mermer. Lacivert gök, altın küreler, kanelürlü sütun.
   ========================================================================= */

:root {
  --bg: #141A2E;
  --bg-deep: #0E1322;
  --surface: #1E2740;
  --surface-2: #283353;
  --surface-3: #324066;
  --ink: #F0ECE2;
  --ink-soft: #B7BED2;
  --ink-faint: #8C93AA;
  --accent: #C9A227;          /* altın — dolgu / çizgi / küre */
  --accent-text: #E0BC45;     /* altın — koyu üstünde metin */
  --accent-deep: #9C7B14;
  --accent2: #8FA8D8;         /* mermer mavisi */
  --accent2-soft: #A9BEE6;
  --line: rgba(240, 236, 226, 0.14);
  --line-strong: rgba(240, 236, 226, 0.30);
  --marble: linear-gradient(135deg, #222c49 0%, #1b2540 45%, #28324f 100%);

  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', 'Trebuchet MS', Tahoma, system-ui, -apple-system, sans-serif;
  --mono: 'Consolas', 'SFMono-Regular', ui-monospace, 'Courier New', monospace;

  --header-h: 74px;
  --sec-pad: clamp(56px, 8vw, 104px);
  --wrap: 1080px;
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease2: cubic-bezier(.4, 0, .2, 1);

  interpolate-size: allow-keywords;
}

/* ----------------------------------------------------------------- reset */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  max-width: 100%;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

figure, figcaption, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.16;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.008em;
}
p { margin: 0 0 1em; }
a { color: var(--accent2-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--bg-deep); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--bg-deep); }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

main, .site-footer { position: relative; z-index: 1; }
main { padding-top: var(--header-h); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink); line-height: 1.6; }
.muted { color: var(--ink-soft); }
.serif { font-family: var(--serif); }

/* word safety */
.breakable { word-break: break-word; overflow-wrap: anywhere; }

/* =============================================================== HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 19, 34, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .24s var(--ease), box-shadow .24s var(--ease), height .24s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 17, 30, 0.97);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
  height: 64px;
}
.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #f6e39b 0%, var(--accent) 42%, var(--accent-deep) 78%, #5e4a0c 100%);
  box-shadow: 0 0 0 1px rgba(224, 188, 69, .5), inset 0 -3px 6px rgba(0, 0, 0, .35);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px 7px auto 6px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  filter: blur(1px);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 26px);
  }
  .nav-desktop a {
    position: relative;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 6px 0;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color .2s var(--ease);
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    transition: right .26s var(--ease);
  }
  .nav-desktop a:hover,
  .nav-desktop a.is-active { color: var(--ink); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { right: 0; }
}

/* burger */
.nav-toggle {
  position: relative;
  width: 46px; height: 46px;
  padding: 0;
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(40, 51, 83, 0.4);
  color: var(--ink);
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2.5px;
  translate: -50% -50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); opacity: 1; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); opacity: 1; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 1040;
  transition: opacity .24s var(--ease), visibility .24s var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 90vw);
  background: var(--bg-deep);
  border-left: 1px solid var(--line-strong);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 26px 32px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent-text); padding-left: 6px; }
.drawer-note {
  margin-top: auto;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* =============================================================== BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #e4c457 0%, var(--accent) 55%, var(--accent-deep) 100%);
  color: var(--bg-deep);
  box-shadow: 0 10px 26px -14px rgba(201, 162, 39, .85);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(201, 162, 39, .95);
}
.btn-primary .arr { transition: transform .2s var(--ease); }
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-ghost {
  background: rgba(40, 51, 83, 0.35);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(40, 51, 83, 0.7);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =============================================================== HERO */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,17,30,.72) 0%, rgba(14,17,30,.35) 34%, rgba(14,17,30,.55) 64%, rgba(14,17,30,.96) 100%),
    radial-gradient(120% 90% at 78% 12%, rgba(143,168,216,.22), transparent 55%);
}
/* entrance lightning */
.hero-flash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 80% at 72% 8%, rgba(230,240,255,.9), rgba(180,200,255,.2) 32%, transparent 55%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: lightning 7.5s ease-in-out 1.2s infinite;
}
@keyframes lightning {
  0%, 100% { opacity: 0; }
  1.2% { opacity: .95; }
  2.4% { opacity: .15; }
  3.4% { opacity: .8; }
  5% { opacity: 0; }
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) clamp(44px, 7vw, 90px);
}
.hero-eyebrow {
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  line-height: 1.04;
  max-width: 15ch;
  margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(10, 14, 26, .6);
}
.hero h1 .glint { color: var(--accent-text); }
/* theme micro-effect: a slow gold shimmer sweeps the accent word, like light
   catching gilt in a storm — guarded by @supports so text never turns invisible */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 .glint {
    background: linear-gradient(100deg,
      var(--accent-text) 36%, #fff4d2 50%, var(--accent-text) 64%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: glintSweep 7s ease-in-out 1.6s infinite;
  }
}
@keyframes glintSweep {
  0%, 100% { background-position: 160% center; }
  50% { background-position: -60% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .glint {
    animation: none;
    -webkit-text-fill-color: var(--accent-text);
    color: var(--accent-text);
  }
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--ink);
  max-width: 54ch;
  line-height: 1.55;
  margin: 0 0 30px;
  text-shadow: 0 1px 16px rgba(10, 14, 26, .7);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-trust span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,.2);
}

/* =============================================================== SECTIONS */
section { padding-block: var(--sec-pad); position: relative; }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 18px); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-soft); font-size: clamp(16px, 2vw, 18.5px); }

.band { background: var(--bg-deep); border-block: 1px solid var(--line); }
.band-surface { background: var(--surface); }

/* fluted marble column decor */
.fluted {
  position: absolute;
  top: 0; bottom: 0;
  width: 46px;
  pointer-events: none;
  opacity: .5;
  background:
    repeating-linear-gradient(90deg,
      rgba(240,236,226,.02) 0px,
      rgba(240,236,226,.09) 5px,
      rgba(10,14,26,.28) 9px,
      rgba(240,236,226,.02) 13px);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.fluted-left { left: max(8px, 3vw); }
.fluted-right { right: max(8px, 3vw); }
@media (max-width: 1100px) { .fluted { display: none; } }

/* two-column text + figure */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.split.rev .split-media { order: -1; }
.split-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}
.figure { position: relative; }
.figure figcaption {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.01em;
}
.figure-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(14,17,30,.85);
  border: 1px solid var(--accent);
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 6px;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .split-media { order: 0; }
}

.prose p { max-width: 64ch; }
.prose h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.4em; color: var(--ink); }
.prose ul { padding: 0; margin: 1em 0 1.3em; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  max-width: 62ch;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}
.prose ul li strong { color: var(--ink); }

/* =============================================================== SVG DIAGRAMS */
.diagram-wrap {
  background: var(--marble);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.diagram-wrap .sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(240px 240px at var(--mx, 70%) var(--my, 20%), rgba(240,236,226,.12), transparent 70%);
  mix-blend-mode: screen;
}
.diagram-svg { width: 100%; height: auto; display: block; }
.diagram-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.diagram-cap b { color: var(--accent-text); font-weight: 700; }

/* grid cell styling in svg uses classes via attributes; legend chips */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.legend i {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

/* =============================================================== SPHERE TABLE / CARDS */
.cards {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .cards-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  position: relative;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
  min-width: 0;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px -28px rgba(201,162,39,.6);
}
.card h3 { font-size: 1.28rem; color: var(--ink); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .sphere-chip {
  width: 44px; height: 44px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: radial-gradient(circle at 34% 30%, #f6e39b 0%, var(--accent) 45%, var(--accent-deep) 82%);
  box-shadow: inset 0 -4px 7px rgba(0,0,0,.4), 0 6px 16px -8px rgba(201,162,39,.7);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--bg-deep);
  font-size: 15px;
}

/* =============================================================== TOOL */
.tool {
  background: var(--marble);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}
@media (max-width: 920px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-build {
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
@media (max-width: 920px) { .tool-build { border-right: none; border-bottom: 1px solid var(--line); } }
.tool-panel {
  padding: clamp(22px, 3vw, 36px);
  background: rgba(14,17,30,.5);
}
.tool h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.tool-hint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }

.sphere-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.sphere-btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--bg-deep);
  background: radial-gradient(circle at 34% 28%, #f7e7a3 0%, var(--accent) 46%, var(--accent-deep) 84%);
  box-shadow: inset 0 -5px 8px rgba(0,0,0,.4), 0 8px 18px -9px rgba(201,162,39,.8);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.sphere-btn:hover { transform: translateY(-3px) scale(1.04); }
.sphere-btn:active { transform: translateY(0) scale(.96); }
.sphere-btn.v2  { filter: none; }
.sphere-btn.v25 { background: radial-gradient(circle at 34% 28%, #ffe9a8 0%, #d8a81f 46%, #8c6a0d 84%); }

.chain {
  min-height: 92px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(14,17,30,.35);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.chain-empty {
  color: var(--ink-faint);
  font-size: 13.5px;
  font-style: italic;
  margin: 0 auto;
}
.chain-orb {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 14px;
  color: var(--bg-deep);
  background: radial-gradient(circle at 34% 28%, #f7e7a3 0%, var(--accent) 46%, var(--accent-deep) 84%);
  box-shadow: inset 0 -4px 7px rgba(0,0,0,.4), 0 6px 14px -7px rgba(201,162,39,.7);
  cursor: pointer;
  animation: orbRise .4s var(--ease) both;
}
@keyframes orbRise {
  from { opacity: 0; transform: translateY(16px) scale(.6); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chain-orb::after {
  content: "×";
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink);
  font-size: 13px; font-family: var(--sans);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .18s var(--ease);
  border: 1px solid var(--line-strong);
}
.chain-orb:hover::after, .chain-orb:focus-visible::after { opacity: 1; }
.chain-orb.merged {
  animation: orbMerge .5s var(--ease) both;
}
@keyframes orbMerge {
  0% { transform: scale(1); }
  50% { transform: scale(1.16); box-shadow: 0 0 22px 2px rgba(224,188,69,.75); }
  100% { transform: scale(1); }
}

.tool-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.panel-row:last-of-type { border-bottom: none; }
.panel-row .k { color: var(--ink-soft); font-size: 14px; }
.panel-row .val {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.panel-total {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(201,162,39,.08);
  text-align: center;
}
.panel-total .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-text);
  font-weight: 700;
}
.panel-total .big {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  min-width: 5ch;
  display: inline-block;
}
.panel-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.55;
}
.panel-note strong { color: var(--accent-text); }

.trigger-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(40,51,83,.3);
}
.trigger-box .t-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 10px;
}
.trigger-dots { display: flex; gap: 6px; }
.trigger-dots i {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(14,17,30,.5);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.trigger-dots i.on {
  background: radial-gradient(circle at 36% 30%, #ffe9a8, var(--accent) 60%, var(--accent-deep));
  box-shadow: 0 0 8px 1px rgba(224,188,69,.6);
  border-color: var(--accent);
}
.trigger-status { font-size: 13px; color: var(--ink); font-weight: 600; }
.trigger-status.ready { color: var(--accent-text); }

/* range */
.range-field { margin-bottom: 12px; }
.range-field label {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px;
}
.range-field label b { color: var(--ink); font-family: var(--mono); }
.range-wrap { position: relative; height: 26px; display: flex; align-items: center; }
.range-wrap .range-track {
  position: absolute; left: 0; right: 0; height: 5px;
  border-radius: 4px; background: var(--surface-3);
}
.range-wrap .range-fill {
  position: absolute; left: 0; height: 5px;
  border-radius: 4px; width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}
.range-wrap input[type="range"] {
  position: relative;
  width: 100%;
  margin: 0;
  background: transparent;
  -webkit-appearance: none; appearance: none;
  height: 26px;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f7e7a3, var(--accent) 60%, var(--accent-deep));
  border: 2px solid var(--bg-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  cursor: pointer;
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f7e7a3, var(--accent) 60%, var(--accent-deep));
  border: 2px solid var(--bg-deep);
  cursor: pointer;
}

/* =============================================================== TABLE */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.table-scroll > table { margin: 0 !important; min-width: 460px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table { font-size: 15px; }
thead th {
  text-align: left;
  background: var(--surface-2);
  color: var(--accent-text);
  font-family: var(--sans);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
}
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody td:first-child { color: var(--ink); font-weight: 600; }
td .orb-num {
  font-family: var(--mono); color: var(--accent-text); font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* =============================================================== FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px clamp(18px, 3vw, 26px);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--accent); border-radius: 2px;
  translate: -50% -50%;
}
.faq summary .plus::before { width: 14px; height: 2px; }
.faq summary .plus::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq details[open] summary .plus::after { transform: rotate(90deg); scale: 1 0; }
.faq details > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height .36s var(--ease2), padding-block-end .36s var(--ease2);
}
.faq details[open] > .answer { height: auto; padding-block-end: 22px; }
.faq .answer p { color: var(--ink-soft); margin: 0 0 .8em; max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq details > .answer { transition: none; }
}

/* =============================================================== EDIT LOG / NOTES */
.log-list { list-style: none; padding: 0; margin: 0; }
.log-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.log-list li:last-child { border-bottom: none; }
.log-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-text);
  letter-spacing: 0.02em;
}
.log-list p { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) {
  .log-list li { grid-template-columns: 1fr; gap: 4px; }
}

.editor-note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.editor-note cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-faint);
}

/* atmosphere photo band */
.photo-band {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.photo-band img {
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  object-fit: cover;
  display: block;
}
.photo-band .band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(14,17,30,.15) 0%, rgba(14,17,30,.2) 40%, rgba(14,17,30,.86) 100%);
}
.photo-band .band-overlay .container { width: 100%; padding-bottom: clamp(24px, 4vw, 44px); }
.photo-band .band-overlay p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(10,14,26,.7);
}
.photo-band .band-overlay .tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
  margin-bottom: 12px;
}

/* manifesto quote */
.manifesto {
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.22;
  color: var(--ink);
}
.manifesto .em { color: var(--accent-text); font-style: italic; }

/* warning / disclaimer box */
.notice {
  background: rgba(40,51,83,.4);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: clamp(20px, 3vw, 30px);
}
.notice h3 { color: var(--ink); }
.notice p { color: var(--ink-soft); }
.notice p:last-child { margin-bottom: 0; }
.age-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--bg-deep);
  font-weight: 800; font-size: 14px; font-family: var(--sans);
  margin-bottom: 14px;
}

/* step timeline */
.steps { position: relative; display: flex; flex-direction: column; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent-text);
  line-height: 1;
  font-weight: 600;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--ink); }
.step p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
.step .when {
  display: inline-block;
  font-size: 12px; font-family: var(--mono);
  color: var(--accent-text); letter-spacing: .04em;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-num { font-size: 1.5rem; }
}

/* =============================================================== CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(201,162,39,.14);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text); font-size: 20px; font-family: var(--serif); font-weight: 700;
  margin-bottom: 14px;
}
.contact-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); font-weight: 700; margin-bottom: 4px; }
.contact-card a, .contact-card .val { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--accent-text); }
.contact-card .sub { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

.hours-grid { display: grid; gap: 2px; }
.hours-grid .row {
  display: flex; justify-content: space-between;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
}
.hours-grid .row .d { color: var(--ink); font-weight: 600; }
.hours-grid .row .h { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-family: var(--mono); }
.hours-grid .row.today { border-color: var(--accent); background: rgba(201,162,39,.08); }

/* =============================================================== FORM */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: block; }
.field > span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 7px; font-weight: 600; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  background: rgba(14,17,30,.5);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(14,17,30,.75);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E0BC45' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field.kvkk {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.field.kvkk span { margin: 0; font-weight: 400; }
.field input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
  flex: none;
}

/* =============================================================== FOOTER */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 72px) 28px;
  margin-top: var(--sec-pad);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent-text); font-weight: 700; margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 0;
  font-size: 14.5px;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-col a:hover { color: var(--accent-text); padding-left: 4px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 38ch; margin-top: 14px; }
/* the footer brand is an <a> inside .footer-col — restore the flex layout the
   generic ".footer-col a { display:block }" rule above would otherwise clobber,
   which collapsed the inline .brand-mark circle into a thin sliver */
.footer-brand .brand { display: inline-flex; margin-bottom: 0; padding: 0; }
.footer-brand .brand:hover { padding-left: 0; color: var(--ink); }
.footer-legal-note {
  font-size: 12.5px; color: var(--ink-faint); margin-top: 18px; line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom .legal-links a { display: inline; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.footer-bottom .legal-links a:hover { color: var(--accent-text); }
.footer-bottom .copy { font-size: 13px; color: var(--ink-faint); }
.footer-disclaimer {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(40,51,83,.3);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: .01em;
}
.footer-disclaimer b { color: var(--accent-text); }

/* =============================================================== COOKIE */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px; margin: 0 auto;
  background: var(--bg-deep);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .28s var(--ease), opacity .24s ease;
  z-index: 1030;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
/* keep cookie banner out of the way while the mobile drawer is open */
body:has(.drawer.is-open) .cookie-banner,
.drawer.is-open ~ .cookie-banner { display: none; }
@media (min-width: 720px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.cookie-banner p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent-text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.cookie-actions button[data-consent="accept"] { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
/* Reddet must read as an equally solid, equally tappable choice as Kabul et
   (KVKK/GDPR equal-prominence) — a filled surface, not a faint outline */
.cookie-actions button[data-consent="reject"] { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.cookie-actions button[data-consent="settings"] { background: transparent; color: var(--ink-soft); flex: 1 1 100%; }
.cookie-actions button:hover { transform: translateY(-1px); }
.cookie-actions button[data-consent="accept"]:hover { background: var(--accent-text); color: var(--bg-deep); }
.cookie-actions button[data-consent="reject"]:hover { background: var(--surface-3); border-color: var(--accent); }
.cookie-actions button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cookie-actions button:hover { transform: none; } }

/* =============================================================== REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none; }
  .hero-flash { animation: none; display: none; }
  .chain-orb { animation: none; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* page hero (inner pages) */
.page-hero {
  padding-block: clamp(48px, 7vw, 92px) clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,26,46,.6), var(--bg)),
    var(--marble);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; font-size: clamp(16px, 2vw, 18.5px); }
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); }

/* small print */
.small-print { font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.team-card .body { padding: 22px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-card .role { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* legal prose */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 0; list-style: none; }
.legal ul li { position: relative; padding-left: 24px; margin-bottom: 9px; max-width: 70ch; }
.legal ul li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal .updated { font-size: 13px; color: var(--ink-faint); font-family: var(--mono); }

/* thank you */
.ty-wrap { min-height: 60vh; display: flex; align-items: center; }
.ty-card { text-align: center; max-width: 560px; margin: 0 auto; }
.ty-card .mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 24px;
  background: radial-gradient(circle at 34% 30%, #f6e39b 0%, var(--accent) 46%, var(--accent-deep) 84%);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep); font-size: 34px;
  box-shadow: 0 0 0 1px rgba(224,188,69,.5), inset 0 -5px 10px rgba(0,0,0,.4);
}
.ty-card h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* 404 */
.err-wrap { min-height: 66vh; display: flex; align-items: center; text-align: center; }
.err-code {
  font-family: var(--serif); font-size: clamp(5rem, 18vw, 11rem); line-height: 1;
  color: var(--accent-text); opacity: .85;
}

/* generic utility */
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 4vw, 52px); }
.flow > * + * { margin-top: 1.1em; }
.sitemap-cols { columns: 2; column-gap: 40px; }
.sitemap-cols a { display: block; padding: 8px 0; color: var(--ink-soft); text-decoration: none; }
.sitemap-cols a:hover { color: var(--accent-text); }
@media (max-width: 560px) { .sitemap-cols { columns: 1; } }

/* pill row */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(40,51,83,.35);
  font-size: 13px; color: var(--ink-soft); font-weight: 600;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); }

/* =============================================================== CARD HOVER
   Unified hover lift for every card surface. These rules are placed AFTER the
   `.reveal` block on purpose: `.reveal.is-in { transform: none }` has the same
   specificity as `.card:hover`, so without this later-source override a revealed
   card's hover transform was being cancelled (audit: "transform=none").
   All card-like elements lift the same way via CSS :hover (no JS). */
.card,
.contact-card,
.form-card,
.team-card,
.ty-card {
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  will-change: transform;
}
.card:hover,
.card:focus-within,
.contact-card:hover,
.contact-card:focus-within,
.form-card:hover,
.team-card:hover,
.team-card:focus-within,
.ty-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 48px -26px rgba(201, 162, 39, .55);
}
@media (prefers-reduced-motion: reduce) {
  .card, .contact-card, .form-card, .team-card, .ty-card { transition: none; }
  .card:hover, .card:focus-within,
  .contact-card:hover, .contact-card:focus-within,
  .form-card:hover,
  .team-card:hover, .team-card:focus-within,
  .ty-card:hover { transform: none; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;transform:scaleX(0);transform-origin:0 50%;will-change:transform;background:var(--accent);z-index:9998;transition:transform 80ms linear;pointer-events:none}
