/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/IBMPlexMono-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 600;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 600;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: optional;
  src: url(../fonts/IBMPlexSans-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/SpaceGrotesk-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Karar Kanun Atölyesi — atelier "ölçü föyü" design system
   Warm parchment ground · walnut ink · brass (mandal) accent
   Signature motif: the 72-string field. Blueprint precision,
   workshop warmth.
   ============================================================ */

:root {
  /* warm paper ground */
  --bg: #F3E9D5;
  --paper-grain: #EFE2CA;
  --surface: #EFE3CB;          /* panels on paper */
  --surface-2: #E8D9BB;
  --surface-3: #E0CEAB;
  /* deep walnut (dark bands / footer / photo frames) */
  --wood: #2A1E12;
  --wood-2: #221709;
  --wood-soft: #3a2a1a;
  /* ink */
  --ink: #2A2014;              /* body + headings on paper (near-black warm) */
  --ink-soft: #55432E;
  --muted: #6C5838;
  /* brass — the mandal accent */
  --accent: #7A520A;           /* bronze — used for fills + decorative lines */
  --accent-text: #6F4A08;      /* dark brass for text on paper (AA) */
  --accent-bright: #D6A23C;    /* brass on dark wood / over photos */
  --accent-2: #6C5838;
  --line: rgba(42, 30, 18, 0.16);
  --line-strong: rgba(42, 30, 18, 0.30);
  --grid-line: rgba(122, 90, 40, 0.07);
  --danger: #A83318;
  --on-accent: #F4EBD9;        /* cream text on bronze fills */
  --cream: #F3E9D5;            /* ink color on dark wood bands */

  --header-h: 74px;
  --maxw: 1240px;
  --pad: clamp(16px, 4vw, 48px);

  --serif: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", "SFMono-Regular", monospace;

  interpolate-size: allow-keywords;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; max-width: 100vw; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* faint horizontal "string" hairlines across the whole page + soft wood warmth */
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 13px),
    radial-gradient(120% 80% at 80% -10%, rgba(190,150,80,.10), transparent 60%),
    radial-gradient(90% 60% at -10% 110%, rgba(120,84,30,.08), transparent 60%);
  background-attachment: fixed, fixed, fixed;
}

figure, figcaption, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.14; color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
:where(p, li) { overflow-wrap: anywhere; word-break: break-word; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }

.mono { font-family: var(--mono); }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--accent); color: #F4EBD9; padding: 10px 16px; border-radius: 6px;
  font-family: var(--mono); font-size: .85rem; transition: top .2s;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1080;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(243, 233, 213, 0.92);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line-strong);
  transition: background .24s ease, box-shadow .24s ease, height .24s ease;
}
.site-header.is-scrolled {
  background: rgba(243, 233, 213, 0.97);
  box-shadow: 0 10px 28px -20px rgba(42,30,18,.5);
  height: 62px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand .logo-mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: .58rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.brand b { font-weight: 600; }

.nav-desktop { display: none; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-desktop a { color: var(--ink-soft); font-size: .92rem; position: relative; padding: 4px 0; transition: color .2s; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--accent); transition: width .24s cubic-bezier(.2,.7,.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(--accent-text); }

.nav-cta {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .04em;
  background: var(--accent); color: #F4EBD9 !important;
  padding: 9px 16px; border-radius: 7px; font-weight: 500;
  border: 1px solid var(--accent);
}
.nav-desktop .nav-cta::after { display: none; }
.nav-cta:hover, .nav-cta:focus-visible { background: transparent; color: var(--accent-text) !important; }

/* hamburger */
.nav-toggle {
  position: relative; z-index: 1100;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--surface); cursor: pointer; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .28s, opacity .2s; }
.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-toggle { display: none; } .nav-desktop { display: flex; } }

/* drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1040; background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s;
}
.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: var(--surface);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 12px) 26px 26px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a { color: var(--ink); font-family: var(--display); font-size: 1.12rem; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer a .idx { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.drawer a.is-active { color: var(--accent-text); }
.drawer .drawer-cta { margin-top: 20px; background: var(--accent); color: #F4EBD9; border: none; border-radius: 8px; justify-content: center; font-family: var(--mono); font-size: .9rem; }
.drawer .drawer-cta:hover { background: var(--accent-text); color: #F4EBD9; }
@media (min-width: 1024px) { .drawer, .drawer-backdrop { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .9rem; letter-spacing: .02em; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: transform .2s cubic-bezier(.2,.7,.2,1), background .2s, color .2s, border-color .2s; text-align: center; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #F4EBD9; border-color: var(--accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: transparent; color: var(--accent-text); border-color: var(--accent); transform: translateY(-2px); }
.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); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   MAIN / SECTIONS
   ============================================================ */
main { padding-top: var(--header-h); }
section { position: relative; padding: clamp(52px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-top: .5em; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }
.section-num { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .16em; }

/* caliper divider */
.caliper {
  height: 22px; position: relative; margin: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 24px);
}
.caliper::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(30px, 6vw, 56px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 48px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 .num { color: var(--accent-text); }
.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--ink-soft); max-width: 46ch; margin: 18px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust-strip .chip { font-family: var(--mono); font-size: .74rem; color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 7px; }
.trust-strip .chip svg { width: 13px; height: 13px; color: var(--accent-text); }

/* hero visual: photo + blueprint overlay */
.hero-visual { position: relative; }
.hero-figure { position: relative; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 70px -40px rgba(0,0,0,.8); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-figure figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: .68rem; color: var(--cream); background: rgba(30,20,10,.78); border: 1px solid rgba(214,162,60,.4); padding: 6px 10px; border-radius: 6px; letter-spacing: .04em; }
/* blueprint measure overlay on hero photo */
.blueprint-overlay { position: absolute; inset: 0; pointer-events: none; }
.blueprint-overlay svg { width: 100%; height: 100%; }

/* spec panel */
.spec-panel { margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.spec-panel .sp-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .12em; }
.spec-panel .sp-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(154,107,18,.14); }
.spec-rows { display: grid; grid-template-columns: repeat(2, 1fr); }
.spec-rows .sp-row { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.spec-rows .sp-row:nth-child(odd) { border-right: 1px solid var(--line); }
.sp-row .k { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.sp-row .v { font-family: var(--display); font-size: 1.28rem; color: var(--ink); font-weight: 600; }
.sp-row .v .u { font-family: var(--mono); font-size: .78rem; color: var(--accent-text); margin-left: 4px; }

/* ============================================================
   STAT COUNTER STRIP
   ============================================================ */
.stat-band { background: var(--surface); border-block: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { background: var(--surface); padding: 26px 22px; }
.stat-cell .num { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat-cell .num .accent { color: var(--accent-text); }
.stat-cell .lbl { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .06em; margin-top: 10px; }

/* ============================================================
   MANDAL SYSTEM (inline SVG diagram)
   ============================================================ */
.mandal-wrap { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (min-width: 900px) { .mandal-wrap { grid-template-columns: 1.1fr 0.9fr; } }
.diagram-card { border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); padding: clamp(18px, 3vw, 30px); position: relative; }
.diagram-card .dc-tag { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .1em; }
.diagram-svg { width: 100%; height: auto; display: block; }
/* stroke-draw reveal */
.draw-path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.is-in .draw-path { animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mandal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mandal-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.mandal-list li .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent-text); background: var(--surface-2); }
.mandal-list li .ic svg { width: 20px; height: 20px; }
.mandal-list li h4 { margin: 0 0 3px; font-size: 1.02rem; }
.mandal-list li p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   FEATURE / KÖPRÜ & KAPAK
   ============================================================ */
.split-media { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
@media (min-width: 880px) { .split-media { grid-template-columns: 0.9fr 1.1fr; } .split-media.reverse > figure { order: 2; } }
.media-figure { border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; position: relative; background: var(--surface); }
.media-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.media-figure:hover img { transform: scale(1.04); }
.media-figure .tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--cream); background: rgba(30,20,10,.72); border: 1px solid rgba(214,162,60,.38); padding: 5px 9px; border-radius: 6px; z-index: 1; }

/* ============================================================
   TABLES
   ============================================================ */
.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-strong); border-radius: 10px; }
.table-scroll > table { margin: 0 !important; min-width: 520px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; }
table thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table td { color: var(--ink-soft); }
table td:first-child { color: var(--ink); font-weight: 500; }
table .mono, table td .val { font-family: var(--mono); color: var(--accent-text); }
table tbody tr:hover { background: var(--surface-2); }
table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 780px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column; position: relative; transition: transform .24s cubic-bezier(.2,.7,.2,1), border-color .24s, box-shadow .24s; }
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(154,107,18,.4); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price-card .badge { position: absolute; top: -11px; left: 26px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; background: var(--accent); color: #F4EBD9; padding: 4px 11px; border-radius: 20px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .tier-sub { font-size: .86rem; color: var(--muted); font-family: var(--mono); margin-bottom: 18px; }
.price-card .price { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.6rem); color: var(--ink); letter-spacing: -0.02em; }
.price-card .price .cur { color: var(--accent-text); font-size: 1.3rem; }
.price-card .price small { display: block; font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; margin-top: 6px; font-weight: 400; }
.price-card ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.price-card li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.price-card li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
.price-card li.no { color: var(--muted); }
.price-card li.no svg { color: var(--muted); }
.price-card .deliver { font-family: var(--mono); font-size: .74rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; margin-bottom: 16px; }
.price-note { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-top: 18px; }

/* ============================================================
   BUSINESS TOOL — Mandal & Akort Calculator
   ============================================================ */
.calc { border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); overflow: hidden; }
.calc-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.calc-head h3 { margin: 0; font-size: 1.2rem; }
.calc-head .badge-live { font-family: var(--mono); font-size: .68rem; color: var(--accent-text); border: 1px solid var(--line-strong); border-radius: 20px; padding: 5px 11px; display: inline-flex; align-items: center; gap: 7px; }
.calc-head .badge-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(154,107,18,.5); } 50% { opacity: .6; box-shadow: 0 0 0 6px rgba(154,107,18,0); } }
.calc-body { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 820px) { .calc-body { grid-template-columns: 320px 1fr; } }
.calc-controls { padding: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .calc-controls { border-bottom: none; border-right: 1px solid var(--line); } }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.calc-field select, .calc-field input[type="number"] {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px;
  color: var(--ink); font-family: var(--sans); font-size: .96rem; padding: 12px 14px;
}
.calc-field select:focus, .calc-field input:focus { border-color: var(--accent); outline: none; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 72px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink-soft); font-family: var(--mono); font-size: .82rem; padding: 10px; border-radius: 8px; cursor: pointer; transition: all .2s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #F4EBD9; border-color: var(--accent); }
.calc-out { padding: 24px; }
.calc-out .warn { display: none; background: rgba(240,133,122,.1); border: 1px solid rgba(240,133,122,.4); color: var(--danger); border-radius: 8px; padding: 12px 14px; font-size: .88rem; margin-bottom: 16px; font-family: var(--mono); line-height: 1.5; }
.calc-out .warn.show { display: block; }
.calc-out .warn.info { background: rgba(154,107,18,.08); border-color: var(--line-strong); color: var(--accent-text); }
.calc-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.calc-summary .kv { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--surface); }
.calc-summary .kv .k { font-family: var(--mono); font-size: .64rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.calc-summary .kv .v { font-family: var(--display); font-size: 1.2rem; color: var(--accent-text); font-weight: 600; }
.calc-out .table-scroll { margin-top: 0; }
.calc-cta { margin-top: 20px; }

/* ============================================================
   TIMELINE / PROCESS
   ============================================================ */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 32px 60px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .node { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent-text); display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: .9rem; }
.timeline .when { font-family: var(--mono); font-size: .72rem; color: var(--accent-text); letter-spacing: .08em; }
.timeline h4 { margin: 4px 0 6px; font-size: 1.12rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); transition: transform .24s, border-color .24s; }
.team-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.18) saturate(1.05) contrast(1.03); }
.team-card .tc-body { padding: 18px 20px; }
.team-card h4 { margin: 0 0 2px; font-size: 1.08rem; }
.team-card .role { font-family: var(--mono); font-size: .74rem; color: var(--accent-text); letter-spacing: .04em; margin-bottom: 10px; }
.team-card p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-grid .t-lg { grid-column: span 1; }
@media (min-width: 760px) { .testi-grid .t-lg { grid-column: span 2; } }
.testi { border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px 24px 22px; background: var(--surface); display: flex; flex-direction: column; }
.testi .quote { font-family: var(--sans); font-size: .98rem; color: var(--ink); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.testi .stars { color: var(--accent-text); font-family: var(--mono); font-size: .8rem; margin-bottom: 12px; letter-spacing: .1em; }
.testi .who { font-family: var(--mono); font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.testi .who b { color: var(--ink); font-family: var(--display); display: block; font-size: .96rem; margin-bottom: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s; }
.faq-item summary .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-item summary .plus::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq-item[open] summary .plus::after { transform: scaleY(0); }
.faq-item > .answer { height: 0; padding: 0 22px; overflow: hidden; transition: height .36s cubic-bezier(.4,0,.2,1), padding-block-end .36s cubic-bezier(.4,0,.2,1); }
.faq-item[open] > .answer { height: auto; padding-block-end: 20px; }
.faq-item .answer p { margin: 0 0 .6em; color: var(--ink-soft); font-size: .94rem; }
@media (prefers-reduced-motion: reduce) { .faq-item > .answer { transition: none; } }

/* ============================================================
   HERO-BAND (contrast section)
   ============================================================ */
.band { background: var(--wood); color: var(--cream); position: relative; overflow: hidden; border-block: 1px solid var(--wood-2); }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(214,162,60,.10) 0 1px, transparent 1px 14px); opacity: .7; }
.band .container { position: relative; z-index: 1; }
.band .eyebrow { color: var(--accent-bright); }
.band .eyebrow::before { background: var(--accent-bright); }
.band h2 { color: var(--cream); }
.band p { color: #E4D6BC; }
.band .btn-ghost { border-color: rgba(243,233,213,.42); color: var(--cream); }
.band .btn-ghost:hover { background: rgba(243,233,213,.12); color: var(--cream); border-color: var(--accent-bright); }
.band-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .band-inner { grid-template-columns: 1.4fr auto; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-hero { text-align: left; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.channel-card { border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px; background: var(--surface); transition: transform .24s, border-color .24s, box-shadow .24s; }
.channel-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px -28px rgba(154,107,18,.4); }
.channel-card .ic { width: 48px; height: 48px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface-2); display: grid; place-items: center; color: var(--accent-text); margin-bottom: 14px; transition: transform .24s, color .24s; }
.channel-card:hover .ic { transform: scale(1.08); }
.channel-card .ic svg { width: 22px; height: 22px; }
.channel-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.channel-card a, .channel-card .val { color: var(--ink); font-size: .98rem; word-break: break-word; }
.channel-card a:hover { color: var(--accent-text); }
.channel-card .sub { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 6px; }

.hours-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .hours-grid { grid-template-columns: repeat(2, 1fr); } }
.hours-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 11px 15px; background: var(--surface); font-variant-numeric: tabular-nums; }
.hours-row .d { font-size: .9rem; color: var(--ink); }
.hours-row .h { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft); }
.hours-row.today { border-color: var(--accent); }
.hours-row.today .d { color: var(--accent-text); }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid .half { grid-column: span 1; } .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink);
  font-family: var(--sans); font-size: .98rem; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .92em; }
.field.kvkk { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.kvkk label { text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-family: var(--sans); font-size: .88rem; }
.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);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--wood); color: var(--cream); border-top: 3px solid var(--accent); padding: clamp(44px, 6vw, 72px) 0 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(214,162,60,.08) 0 1px, transparent 1px 15px); }
.site-footer .container { position: relative; z-index: 1; }
.site-footer .brand { color: var(--cream); }
.site-footer .brand small { color: #B79A6E; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 16px; }
.footer-grid a { color: #DCC9A6; font-size: .92rem; display: block; padding: 5px 0; }
.footer-grid a:hover { color: var(--accent-bright); }
.footer-brand p { color: #C9B48C; font-size: .92rem; max-width: 40ch; }
.footer-legal { border-top: 1px solid rgba(243,233,213,.18); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer-legal p, .footer-legal .reg { font-family: var(--mono); font-size: .72rem; color: #B79A6E; margin: 0; }
.footer-legal .reg span { margin-right: 16px; }

/* ============================================================
   MISC / DOC PAGES
   ============================================================ */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.4rem; margin-top: 2em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--ink-soft); line-height: 1.75; }
.doc li { margin-bottom: .4em; }
.doc ul { padding-left: 1.2em; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.page-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; font-size: 1.04rem; }

.notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.notes-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--surface); }
.notes-list .date { font-family: var(--mono); font-size: .74rem; color: var(--accent-text); white-space: nowrap; }
.notes-list h4 { margin: 0 0 3px; font-size: 1rem; }
.notes-list p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks .inner { max-width: 540px; }
.thanks .check { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; margin: 0 auto 24px; color: var(--accent-text); }
.thanks h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } .hero-figure img { animation: none; } }

/* ============================================================
   COOKIE
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 20px 22px; z-index: 9999; transform: translateY(140%); opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .24s;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width: 640px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner h3 { font-size: 1.02rem; margin: 0 0 8px; }
.cookie-banner p { font-size: .86rem; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-banner p a { color: var(--accent-text); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button { flex: 1; min-width: 90px; min-height: 44px; font-family: var(--mono); font-size: .82rem; border-radius: 8px; cursor: pointer; border: 1px solid var(--line-strong); padding: 11px 12px; transition: all .2s; }
.cookie-actions .c-accept { background: var(--accent); color: #F4EBD9; border-color: var(--accent); }
.cookie-actions .c-accept:hover { background: var(--accent-text); }
.cookie-actions .c-reject { background: transparent; color: var(--ink); }
.cookie-actions .c-reject:hover { background: var(--surface-3); }
.cookie-actions .c-settings { background: transparent; color: var(--ink-soft); }
.cookie-actions .c-settings:hover { background: var(--surface-3); color: var(--ink); }
/* cookie settings panel */
.cookie-settings { position: fixed; inset: 0; z-index: 10000; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.6); }
.cookie-settings.show { display: grid; }
.cookie-settings .cs-panel { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; max-width: 480px; width: 100%; padding: 26px; max-height: 90vh; overflow-y: auto; }
.cookie-settings h3 { margin: 0 0 16px; }
.cs-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.cs-row .txt strong { font-size: .96rem; display: block; margin-bottom: 3px; }
.cs-row .txt span { font-size: .82rem; color: var(--ink-soft); }
.cs-row input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.cs-actions { display: flex; gap: 10px; margin-top: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .spec-rows { grid-template-columns: 1fr; }
  .spec-rows .sp-row:nth-child(odd) { border-right: none; }
  section { padding: 48px 0; }
  .channel-card { padding: 18px; }
  .channel-card .ic { width: 40px; height: 40px; }
  .timeline li { padding-left: 52px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

.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}

/* ============================================================
   KANUN SIGNATURE — the 72-string field
   (interactive; performant; prefers-reduced-motion aware)
   ============================================================ */

/* hero backdrop string field (subtle, behind copy) */
.hero { position: relative; }
.hero-strings { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .5; }
.hero-strings svg { width: 100%; height: 100%; display: block; }
.hero > .hero-grid { position: relative; z-index: 1; }
@media (max-width: 899px) { .hero-strings { opacity: .32; } }

/* eyebrow tuned to brass already via vars */

/* hero figure: föy crop-mark frame + warm shadow */
.hero-figure { box-shadow: 0 34px 70px -44px rgba(42,30,18,.7); }
.hero-figure::after { content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 2;
  border: 1px solid rgba(214,162,60,.0);
  background:
    linear-gradient(var(--accent-bright),var(--accent-bright)) left top/16px 1px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) left top/1px 16px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) right top/16px 1px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) right top/1px 16px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) left bottom/16px 1px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) left bottom/1px 16px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) right bottom/16px 1px no-repeat,
    linear-gradient(var(--accent-bright),var(--accent-bright)) right bottom/1px 16px no-repeat;
  opacity: .8; }

/* ---------- PLAYABLE STRING SEAM (full-bleed signature) ---------- */
.playstrings {
  position: relative; width: 100%;
  background:
    linear-gradient(180deg, #caa063 0%, #b98544 42%, #9a6a30 100%);
  border-block: 1px solid var(--wood-2);
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  padding: 0; margin: 0; overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
.playstrings .ps-svg { width: 100%; height: clamp(150px, 20vw, 240px); display: block; cursor: crosshair; }
.playstrings .ps-svg svg { width: 100%; height: 100%; display: block; }
/* mandal brass caps down the left edge */
.playstrings .ps-caps { position: absolute; left: 0; top: 0; bottom: 0; width: 26px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(60,42,24,.5), transparent); }
.playstrings .ps-hint {
  position: absolute; right: clamp(14px, 4vw, 40px); bottom: 22px; z-index: 3;
  font-size: .72rem; letter-spacing: .1em; color: #2a1c0b;
  background: rgba(240,224,190,.82); border: 1px solid rgba(60,42,24,.35);
  padding: 6px 11px; border-radius: 20px; display: inline-flex; align-items: center; gap: 8px;
}
.playstrings .ps-hint .mizrap { width: 15px; height: 15px; color: #6a4410; }
.playstrings .ps-label {
  position: absolute; left: clamp(14px, 4vw, 40px); top: 16px; z-index: 3;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #33220f; background: rgba(240,224,190,.7); padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(60,42,24,.28);
}

/* string paths (used in every field) */
.kstring { fill: none; stroke: var(--accent); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.playstrings .kstring { stroke: #3a2a18; stroke-opacity: .85; stroke-width: 1.2; }
.hero-strings .kstring { stroke: var(--accent); stroke-opacity: .5; }

/* mızrap (plectrum) motif */
.mizrap { display: inline-block; }

/* ---------- INTERACTIVE MANDAL BANK ---------- */
.mandal-bank { margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); padding: clamp(16px,3vw,22px); }
.mandal-bank .mb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mandal-bank .mb-head span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mandal-bank .mb-total { color: var(--accent-text); }
.mandal-keys { display: flex; gap: clamp(6px,1.4vw,11px); flex-wrap: wrap; }
.mandal-key {
  position: relative; width: clamp(38px, 8vw, 48px); height: 74px; flex: 0 0 auto;
  border: 1px solid var(--line-strong); border-radius: 9px;
  background: linear-gradient(180deg, #e9dcbe, #dcc9a4);
  cursor: pointer; padding: 0; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .12s;
}
.mandal-key:hover { border-color: var(--accent); }
.mandal-key:active { transform: translateY(1px); }
.mandal-key .peg { position: absolute; top: 7px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9c66a, #9a6b12); box-shadow: 0 1px 2px rgba(42,30,18,.4); }
.mandal-key .lever { position: absolute; top: 11px; left: 50%; width: 5px; height: 34px; margin-left: -2.5px;
  border-radius: 3px; transform-origin: top center; transform: rotate(0deg);
  background: linear-gradient(180deg, #d9a23c, #9a6b12);
  transition: transform .34s cubic-bezier(.34,1.56,.5,1); }
.mandal-key[aria-pressed="true"] .lever { transform: rotate(-42deg); }
.mandal-key[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mandal-key .kv { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .62rem; color: var(--muted); }
.mandal-key[aria-pressed="true"] .kv { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .mandal-key .lever { transition: none; } }

/* ---------- string-rule divider (replaces plain caliper feel) ---------- */
.string-rule { position: relative; height: 30px; margin: 0; display: block;
  background: repeating-linear-gradient(0deg, var(--line-strong) 0 1px, transparent 1px 7px);
  opacity: .55; }
.string-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%,-50%) rotate(45deg);
  background: var(--accent); border-radius: 2px; box-shadow: 0 0 0 4px var(--bg); }

/* stat band → "koma ledger": string lines + brass rule */
.stat-band { position: relative; }
.stat-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(122,90,40,.06) 0 1px, transparent 1px 12px); }
.stat-band .container { position: relative; z-index: 1; }
.stat-cell .num .accent { color: var(--accent-text); }

/* pluck ripple (applied to a string field wrapper while active) */
@keyframes pluckglow { 0% { opacity: .5; } 40% { opacity: 1; } 100% { opacity: .5; } }

@media (prefers-reduced-motion: reduce) {
  .hero-strings, .playstrings .ps-svg { animation: none !important; }
}
