/* =========================================================================
   NOTAFORM ESANS LABORATUVARI — parfümör laboratuvarı, "amber precision"
   Art direction: sıcak esans altını / amber & botanik, füme kömür zemin.
   Palet: bg #0C0A07 / surface #16130D / ink #EDE7DA
          accent #D6A34E (esans altını) / accent-2 #C56A3E (yanık terracotta)
   Tipografi: Fraunces (display serif, italic-aksan) + IBM Plex Sans + Plex Mono
   ========================================================================= */

:root {
  --bg: #0C0A07;
  --surface: #16130D;
  --surface-2: #1E1A13;
  --surface-3: #29231A;
  --ink: #EDE7DA;
  --ink-soft: #ABA08C;
  --ink-faint: #726853;
  --accent: #D6A34E;
  --accent-hi: #EBB863;
  --accent-2: #C56A3E;
  --line: rgba(237, 231, 218, 0.10);
  --line-strong: rgba(237, 231, 218, 0.20);
  --accent-soft: rgba(214, 163, 78, 0.12);
  --accent2-soft: rgba(197, 106, 62, 0.12);
  /* thematic note-layer accents (top=citrus, heart=rose, base=oud) */
  --layer-top: #CDBA5A;
  --layer-heart: #D07A90;
  --layer-base: #C07E33;
  --header-h: 68px;

  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
  --pad: clamp(16px, 3vw, 48px);

  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle blueprint dot-grid on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(237, 231, 218, 0.030) 1px, transparent 0);
  background-size: 34px 34px;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
}
/* display serif — hero, section titles, editorial quotes */
h1, h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.04;
}
h1 em, h2 em, .it { font-style: italic; font-weight: 500; color: var(--accent); }
/* technical sans — card titles, labels, sub-heads */
h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

::selection { background: var(--accent); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.mono { font-family: var(--mono); font-weight: 500; }

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: .8rem;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========================= HEADER ========================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(12, 10, 7, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(12, 10, 7, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .mark {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  color: var(--accent);
}
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}
.nav-desktop a {
  position: relative;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .82rem;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 220ms cubic-bezier(.4,0,.2,1);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--ink); }

.nav-cta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .8rem;
  background: var(--accent);
  color: var(--bg) !important;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background 200ms ease, transform 200ms ease;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent-hi);
  color: var(--bg) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(214,163,78,.6);
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* ========================= DRAWER ========================= */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1050;
  width: min(360px, 92vw);
  background: #13100A;
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 28px 32px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer .coord {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.drawer a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.24rem;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: color 200ms ease, padding-left 200ms ease;
}
.drawer a .num {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--accent);
  font-weight: 500;
}
.drawer a:hover { color: var(--accent); padding-left: 6px; }
.drawer a.drawer-cta {
  margin-top: 24px;
  border: none;
  background: var(--accent);
  color: var(--bg) !important;
  justify-content: center;
  border-radius: 5px;
  font-size: 1rem;
  padding: 15px;
}
.drawer a.drawer-cta:hover { background: var(--accent-hi); padding-left: 0; }
@media (min-width: 1024px) {
  .drawer, .drawer-backdrop { display: none; }
}

/* ========================= LAYOUT / SECTIONS ========================= */

main { padding-top: var(--header-h); }

section { position: relative; }

.sec {
  padding: clamp(64px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}
.sec-head {
  max-width: 780px;
  margin-bottom: clamp(38px, 5.5vw, 64px);
}
.sec-head h2 {
  font-size: clamp(1.9rem, 5.2vw, 3.15rem);
  text-wrap: balance;
}
.sec-head p {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 60ch;
  color: var(--ink-soft);
}

/* section coordinate label (technical decor) */
.sec-index {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.sec-index b { color: var(--accent); font-weight: 500; }
.sec-index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}

/* ruler line decor */
.ruler {
  height: 22px;
  border-top: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 40px);
  background-position: top;
  background-repeat: repeat-x;
  background-size: 40px 8px;
  opacity: .6;
}

/* ========================= BUTTONS ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .86rem;
  padding: 14px 24px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, border-color 220ms ease;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 0 0 0 rgba(214,163,78,0); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hi); color: var(--bg); transform: translateY(-2px);
  box-shadow: 0 10px 32px -10px rgba(214,163,78,.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface-2); color: var(--ink); border-color: var(--accent);
}
.btn-block { width: 100%; justify-content: center; }

.btn-primary .arrow { transition: transform 240ms ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* ========================= CINEMATIC PHOTO HERO ========================= */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + clamp(48px, 12vh, 128px)) 0 clamp(40px, 7vh, 84px);
  overflow: hidden;
  background: #0A0805;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.08);
  transform-origin: 60% 40%;
  animation: heroKen 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,8,5,0.72) 0%, rgba(10,8,5,0.30) 34%, rgba(10,8,5,0.55) 68%, rgba(10,8,5,0.94) 100%),
    linear-gradient(90deg, rgba(10,8,5,0.80) 0%, rgba(10,8,5,0.30) 52%, rgba(10,8,5,0) 82%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 40rem; }
.hero-inner .coord-tag {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.5rem, 9vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
  color: #FCF7EC;
  margin: 0 0 20px;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(0,0,0,0.5);
}
.hero-title .word-span { white-space: nowrap; }
.hero-title .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-hi);
}
@media (max-width: 380px) {
  .hero-title { font-size: 2.5rem; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #d6dbe1;
  max-width: 44ch;
  margin-bottom: 30px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.04);
}
.hero-actions .btn-ghost:hover, .hero-actions .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.10);
  border-color: var(--accent);
  color: #fff;
}

/* hero data strip — glass over photo */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  overflow: hidden;
  max-width: 34rem;
  backdrop-filter: blur(8px);
}
@media (min-width: 560px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  background: rgba(14,11,7,0.5);
  padding: 15px 14px;
}
.hero-stat .v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.24rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-stat .v .accent2 { color: var(--accent-2); }
.hero-stat .l {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aeb6bf;
  margin-top: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.04); }
}

/* pyramid section layout */
.pyramid-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 860px) {
  .pyramid-section-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.pyramid-aside .trust-strip { margin-top: 0; margin-bottom: 20px; }
.pyramid-aside p { max-width: 42ch; margin-bottom: 22px; }

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
}
.trust-strip span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-strip span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 6px;
}

/* ========================= PYRAMID SVG ========================= */

.pyramid-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, #100C07 100%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: clamp(22px, 3.5vw, 40px);
}
.pyramid-wrap .corner {
  position: absolute;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.pyramid-wrap .corner.tl { top: 10px; left: 12px; }
.pyramid-wrap .corner.br { bottom: 10px; right: 12px; }
.pyramid-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.pyramid-head h3 { font-size: 1rem; margin: 0; }
.pyramid-head .hint {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.pyramid-svg { width: 100%; height: auto; display: block; }

/* stroke-draw layers */
.pyr-layer path,
.pyr-layer polygon,
.pyr-layer line { transition: opacity 400ms ease, fill 400ms ease; }
.pyr-fill {
  opacity: 0;
  transition: opacity 500ms cubic-bezier(.4,0,.2,1);
}
.pyramid-wrap:hover .pyr-fill,
.pyramid-wrap:focus-within .pyr-fill,
.pyramid-wrap.is-active .pyr-fill { opacity: 1; }
/* staggered fill on hover */
.pyramid-wrap:hover .pyr-fill.f1,
.pyramid-wrap.is-active .pyr-fill.f1 { transition-delay: 0ms; }
.pyramid-wrap:hover .pyr-fill.f2,
.pyramid-wrap.is-active .pyr-fill.f2 { transition-delay: 260ms; }
.pyramid-wrap:hover .pyr-fill.f3,
.pyramid-wrap.is-active .pyr-fill.f3 { transition-delay: 520ms; }

.pyr-outline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.is-in .pyr-outline,
.pyramid-wrap.drawn .pyr-outline { animation: pyrdraw 1600ms cubic-bezier(.4,0,.2,1) forwards; }
@keyframes pyrdraw { to { stroke-dashoffset: 0; } }

.pyr-label {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--ink-soft);
  letter-spacing: 0.06em;
}
.pyr-time {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--accent-2);
  opacity: 0;
  transition: opacity 400ms ease;
}
.pyramid-wrap:hover .pyr-time.t1,
.pyramid-wrap.is-active .pyr-time.t1 { opacity: 1; transition-delay: 120ms; }
.pyramid-wrap:hover .pyr-time.t2,
.pyramid-wrap.is-active .pyr-time.t2 { opacity: 1; transition-delay: 380ms; }
.pyramid-wrap:hover .pyr-time.t3,
.pyramid-wrap.is-active .pyr-time.t3 { opacity: 1; transition-delay: 640ms; }

.pyramid-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: .64rem;
  color: var(--ink-faint);
}
.pyramid-legend b { color: var(--ink-soft); font-weight: 500; }

/* ========================= NOTES TABLE (layers) ========================= */

.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 800px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}
.note-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--layer-color, var(--accent));
  transition: box-shadow 260ms ease;
}
.note-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7);
}
.note-card:hover::before { box-shadow: 0 0 18px -2px var(--layer-color, var(--accent)); }
.note-card .idx {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.note-card .idx .dur { color: var(--layer-color, var(--accent)); }
.note-card h3 { font-size: 1.24rem; margin-bottom: 6px; }
.note-card .lat {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.note-card ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.note-card li {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-soft);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
}
.note-card .molecule {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 54px; height: 54px;
  opacity: .5;
  color: var(--layer-color, var(--accent));
}

/* ========================= HAMMADDE GALLERY (raw materials) ========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
  }
  /* asymmetric editorial mosaic — no "3 in a row" */
  .g-tile.feature { grid-column: 1 / 8;  grid-row: 1 / 3; }
  .g-tile.a       { grid-column: 8 / 13; grid-row: 1 / 2; }
  .g-tile.b       { grid-column: 8 / 11; grid-row: 2 / 3; }
  .g-tile.c       { grid-column: 11 / 13; grid-row: 2 / 3; }
}
.g-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 3 / 2;
  min-height: 190px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), border-color 320ms ease, box-shadow 320ms ease;
}
.g-tile.feature { aspect-ratio: 16 / 11; }
@media (min-width: 720px) { .g-tile { aspect-ratio: auto; min-height: 0; } }
.g-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), filter 600ms ease;
  filter: saturate(1.02) contrast(1.02);
}
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,5,0) 34%, rgba(10,8,5,0.42) 66%, rgba(10,8,5,0.9) 100%);
  transition: opacity 400ms ease;
}
.g-tile:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,.85), 0 0 36px -18px var(--tile-accent, var(--accent));
}
.g-tile:hover img { transform: scale(1.09); filter: saturate(1.08) contrast(1.03); }
.g-tile .g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.g-tile .g-layer {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tile-accent, var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.g-tile .g-layer::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tile-accent, var(--accent));
  flex: 0 0 7px;
  box-shadow: 0 0 10px -1px var(--tile-accent, var(--accent));
}
.g-tile .g-name {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.05;
  color: #FCF7EC;
  letter-spacing: -0.01em;
}
.g-tile .g-meta {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.g-tile .corner-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4EAD6;
  background: rgba(10,8,5,0.55);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(237,231,218,0.12);
  padding: 5px 9px;
  border-radius: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .g-tile img { transition: none; transform: none; }
  .g-tile:hover img { transform: none; }
}

/* ========================= CONCENTRATION SCALE ========================= */

.conc-list { display: flex; flex-direction: column; gap: 22px; }
.conc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
@media (min-width: 760px) {
  .conc-row { grid-template-columns: 180px 1fr auto; }
}
.conc-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
}
.conc-name small {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-top: 3px;
}
.conc-bar {
  position: relative;
  height: 26px;
  background: var(--surface-3);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.conc-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  transition: width 1200ms cubic-bezier(.4,0,.2,1);
}
.conc-bar.is-in .conc-fill { width: var(--pct, 0%); }
.conc-pct {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--accent);
  min-width: 56px;
  text-align: right;
}
.conc-scale-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--ink-faint);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

/* ========================= LONGEVITY DATA CARDS ========================= */

.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 620px) { .data-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .data-grid { grid-template-columns: repeat(4, 1fr); } }
.data-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}
.data-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7), 0 0 24px -12px rgba(214,163,78,.45);
}
.data-card .ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.data-card .big {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.data-card .big .u { font-size: 1rem; color: var(--ink-faint); }
.data-card .cap {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 14px 0 8px;
}
.data-card p { font-size: .86rem; margin: 0; color: var(--ink-soft); }

/* ========================= FEATURE / METHOD ========================= */

.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; } }
.split-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  position: relative;
}
.split-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split-media .cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: linear-gradient(0deg, rgba(10,8,5,.9), transparent);
}

.method-list { list-style: none; margin: 0; padding: 0; }
.method-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.method-list li:last-child { border-bottom: none; }
.method-list .n {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .82rem;
  color: var(--accent);
  padding-top: 3px;
}
.method-list h4 { font-size: 1.05rem; margin-bottom: 5px; }
.method-list p { margin: 0; font-size: .9rem; }
.method-list .when {
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--ink-faint);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* ========================= PRICE TABLE ========================= */

.price-note {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-top: 16px;
}
.price-incl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 760px) { .price-incl { grid-template-columns: repeat(3, 1fr); } }
.price-incl .col {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}
.price-incl h4 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.price-incl ul { list-style: none; margin: 0; padding: 0; }
.price-incl li {
  font-size: .85rem;
  color: var(--ink-soft);
  padding: 5px 0 5px 18px;
  position: relative;
}
.price-incl li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--accent);
  font-family: var(--mono);
}
.price-incl .col.excl li::before { content: "−"; color: var(--accent-2); }

/* ========================= DATA 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: 8px;
  /* scroll affordance: right/left edge shadows appear only while more table
     is off-screen and fade away at each end (pure-CSS, no JS). */
  background:
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.5), rgba(0,0,0,0)) right center / 22px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.5), rgba(0,0,0,0)) left center / 22px 100% no-repeat,
    linear-gradient(90deg, var(--surface-2), rgba(30,26,19,0)) left center / 26px 100% no-repeat,
    linear-gradient(-90deg, var(--surface-2), rgba(30,26,19,0)) right center / 26px 100% no-repeat;
  background-attachment: scroll, scroll, local, local;
}
.table-scroll > table { margin: 0 !important; min-width: 520px; width: 100%; background: transparent; }
/* thead stays opaque so the edge shadows read only over the data rows */
.table-scroll > table thead th { position: relative; z-index: 1; }
/* narrow-screen swipe hint, hidden once the table fits (>=560px) */
.table-scroll + .table-hint {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: -6px 0 0;
}
.table-scroll + .table-hint::before { content: "↔ "; color: var(--accent); }
@media (min-width: 560px) { .table-scroll + .table-hint { display: none; } }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
}
thead th {
  background: var(--surface-2);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-strong);
}
tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(214, 163, 78, 0.05); }
td .pname { font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 1rem; }
td .price {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--accent);
  font-size: 1.02rem;
}
td .conc-tag {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent-2);
}
tbody td .tier-cta {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  padding: 7px 12px;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}
tbody td .tier-cta:hover { background: var(--accent); color: var(--bg); }

/* ========================= TESTIMONIALS ========================= */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), border-color 300ms ease, box-shadow 300ms ease;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -14px; right: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
  pointer-events: none;
}
.quote-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 46px -24px rgba(0,0,0,.8), 0 0 30px -16px rgba(214,163,78,.4);
}
.quote-card .stars { color: var(--accent-2); font-family: var(--mono); font-size: .8rem; letter-spacing: 2px; margin-bottom: 12px; position: relative; }
.quote-card p { font-size: .95rem; line-height: 1.62; color: var(--ink); flex: 1; position: relative; }
.quote-card .who {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-faint);
}
.quote-card .who b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }

/* ========================= FAQ ========================= */

.faq { max-width: 860px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 20px;
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 300ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  padding: 0 0;
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer {
  height: auto;
  padding-block-end: 24px;
}
.faq-item > .answer p { margin: 0; font-size: .94rem; }
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* ========================= CTA BAND ========================= */

.cta-band {
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(214,163,78,.10), transparent 46%),
    linear-gradient(140deg, #1a140c, #100c07);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: clamp(38px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(214,163,78,.22), transparent 52%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); position: relative; text-wrap: balance; }
.cta-band p { max-width: 52ch; margin: 0 auto 26px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; margin: 0; }

/* ========================= FOOTER ========================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: #0A0805;
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col a, .footer-col address {
  display: block;
  font-style: normal;
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-faint);
}
.footer-meta .legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-meta a:hover { color: var(--accent); }

/* ========================= FORMS ========================= */

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font-family: var(--body);
  font-size: .95rem;
  transition: border-color 200ms ease, background 200ms ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #100C07;
}
.field.kvkk {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.field.kvkk label {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--body);
  font-size: .85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.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);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ========================= CONTACT CARDS ========================= */

.contact-hero { padding: clamp(40px, 6vw, 80px) 0; }
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.channel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease;
  opacity: 0;
  transform: translateY(20px);
}
.channel.is-in { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease, box-shadow 260ms ease; transition-delay: calc(var(--i, 0) * 80ms); }
.channel:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7), 0 0 24px -12px rgba(214,163,78,.4); }
.channel .ic-circle {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.channel .ic-circle svg { width: 22px; height: 22px; }
.channel .ctitle {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.channel .cval {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.channel a.cval:hover { color: var(--accent); }
.channel .csub { font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); margin-top: 6px; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  background: var(--surface);
  padding: 13px 18px;
  font-family: var(--mono);
  font-size: .82rem;
}
.hours-row .d { color: var(--ink-soft); }
.hours-row .t { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-row.today { background: var(--accent-soft); }
.hours-row.today .d, .hours-row.today .t { color: var(--accent); }

/* ========================= PAGE HEADER (subpages) ========================= */

.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
.page-hero p { font-size: 1.05rem; max-width: 60ch; }

/* prose / legal */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.14rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-soft); font-size: .96rem; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }

/* team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 44px -24px rgba(0,0,0,.75); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-card .body { padding: 20px; }
.team-card h3 { font-size: 1.16rem; margin-bottom: 2px; }
.team-card .role {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.team-card p { font-size: .86rem; margin: 0; }

/* notes / activity */
.notes-log { display: flex; flex-direction: column; gap: 14px; }
.note-log-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.note-log-item .date {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--accent);
  white-space: nowrap;
}
.note-log-item p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* stats row generic */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: var(--surface);
}
.stat-box .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-box .lbl { font-family: var(--mono); font-size: .66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }

/* ========================= REVEAL ========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .channel { opacity: 1 !important; transform: none !important; }
  .conc-bar .conc-fill { transition: none !important; }
  .pyr-outline { animation: none !important; stroke-dashoffset: 0 !important; }
  /* no positional lift for motion-sensitive users — color/glow still convey hover */
  .btn:hover, .btn:focus-visible,
  .nav-desktop .nav-cta:hover,
  .note-card:hover, .data-card:hover, .channel:hover, .team-card:hover,
  .quote-card:hover, .g-tile:hover,
  .btn-primary:hover .arrow {
    transform: none !important;
  }
}
html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .channel { opacity: 1; transform: none; }
html.no-js .conc-fill { width: var(--pct, 0%); }
html.no-js .pyr-fill, html.no-js .pyr-time { opacity: 1; }
html.no-js .pyr-outline { stroke-dashoffset: 0; }

/* ========================= COOKIE ========================= */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: #13100A;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 22px;
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.8);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width: 720px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .84rem; margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1;
  min-width: 92px;
  min-height: 44px;
  font-family: var(--mono);
  font-size: .78rem;
  padding: 11px 14px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: background 200ms ease, color 200ms ease;
}
/* accept + reject carry equal visual weight (GDPR: no dark-pattern nudge) */
.cookie-actions [data-consent="accept"] { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }
.cookie-actions [data-consent="accept"]:hover { background: var(--accent-hi); }
.cookie-actions [data-consent="reject"] { background: var(--surface-3); color: var(--ink); border-color: var(--line-strong); font-weight: 600; }
.cookie-actions [data-consent="reject"]:hover { background: var(--surface-2); border-color: var(--ink-faint); }
.cookie-actions [data-consent="settings"] { flex: 0 0 auto; background: transparent; color: var(--ink-soft); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions [data-consent="settings"]:hover { background: var(--surface-2); color: var(--ink); }

/* cookie settings modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.6);
}
.cookie-modal.is-open { display: flex; }
.cookie-modal .panel {
  background: #13100A;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 28px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal h3 { font-size: 1.2rem; margin-bottom: 16px; }
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.toggle-row .t { font-weight: 600; font-size: .92rem; }
.toggle-row .t small { display: block; font-weight: 400; color: var(--ink-faint); font-size: .78rem; margin-top: 3px; font-family: var(--body); }
.toggle-row input { width: 20px; height: 20px; accent-color: var(--accent); }
.cookie-modal .btn { margin-top: 20px; }

/* ========================= UTIL ========================= */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-soft);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.big-quote {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.big-quote .accent { font-style: italic; color: var(--accent); }

.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink); max-width: 60ch; }

.word-break { word-break: break-word; overflow-wrap: anywhere; }

/* anchor offset — fixed header never covers a targeted section/element */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* optional-field hint in form labels */
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-faint);
}

/* long links wrap instead of overflowing on narrow screens */
.prose a { word-break: break-word; overflow-wrap: anywhere; }

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
