/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-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: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Lora-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: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: italic;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: italic;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/Merriweather-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;
}

:root {
  --bg: #F2EFE9;
  --surface: #E8E2D6;
  --surface-2: #DDD5C5;
  --ink: #1B1B1B;
  --ink-soft: #4A4540;
  --accent: #8B2500;
  --accent-2: #2F4858;
  --line: rgba(27,27,27,0.12);
  --line-strong: rgba(27,27,27,0.25);
  --radius: 12px;
  --header-h: 72px;
  --container: 1240px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Palatino Linotype', Palatino, serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); max-width: 68ch; }

a { color: var(--accent); text-decoration: none; transition: color 240ms; }
a:hover { color: var(--accent-2); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--ink); color: var(--bg);
  padding: 8px 18px; border-radius: 0 0 6px 6px;
  font-size: 0.85rem; z-index: 10000;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* --- Section base --- */
section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.7;
}

/* =============================================
   HEADER (sticky-with-morph)
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(242, 239, 233, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  height: var(--header-h);
}

.site-header.scrolled {
  background: rgba(242, 239, 233, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--accent); }
.logo span { color: var(--accent); }

/* --- Nav desktop --- */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-family: 'Merriweather', serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 240ms;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 280ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop a.is-active::after { width: 100%; }

.nav-desktop .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  border: none;
  transition: background 240ms, color 240ms, transform 180ms;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-2px);
}
.nav-desktop .nav-cta.is-active { color: #fff; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none !important; }
}

/* --- Nav toggle (hamburger) --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), opacity 200ms;
  transform-origin: center;
}
.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);
}

/* --- Drawer --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--bg);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) 32px 32px;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer nav a {
  display: block;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 240ms, padding-left 240ms;
}
.drawer nav a:hover,
.drawer nav a.is-active {
  color: var(--accent);
  padding-left: 8px;
}
.drawer .drawer-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 24px;
  border: none;
  transition: background 240ms, color 240ms;
}
.drawer .drawer-cta:hover {
  background: var(--accent-2);
  color: #fff;
}

/* --- Main content offset --- */
main { padding-top: var(--header-h); }

/* =============================================
   HERO — type-only-massive
   ============================================= */
#hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='none'/%3E%3Cpath d='M0 20h40M20 0v40' stroke='%231B1B1B' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 6px 18px;
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.hero-h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* --- Stat counters --- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
  max-width: 820px;
  margin: 0 auto 3rem;
}

.stat-counter {
  text-align: center;
  padding: 24px 12px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.1);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
}
.stat-counter:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(139,37,0,0.18);
}

.stat-number {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* --- Hero CTA row --- */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
}

/* --- Trust strip --- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding: 5px 12px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.trust-badge svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 240ms, color 240ms, transform 180ms, box-shadow 240ms;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(47,72,88,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  text-decoration: none;
  transition: background 240ms, color 240ms, border-color 240ms, transform 180ms;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
}

/* =============================================
   MÜFREDAT (Curriculum)
   ============================================= */
#mufredat {
  background: var(--surface);
  position: relative;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.level-card {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
}
.level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -16px rgba(139,37,0,0.16);
}

.level-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px -8px rgba(139,37,0,0.15);
}
.level-card.featured::before {
  content: 'En Popüler';
  position: absolute;
  top: -12px; right: 20px;
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.level-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.level-badge.temel { background: rgba(139,37,0,0.08); color: var(--accent); }
.level-badge.orta { background: rgba(47,72,88,0.1); color: var(--accent-2); }
.level-badge.usta { background: var(--accent); color: #fff; }

.level-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.level-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* --- Progress bar --- */
.progress-wrap {
  margin-bottom: 20px;
}
.progress-track {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0;
  transition: width 1200ms cubic-bezier(.2,.7,.2,1);
}
.progress-fill.is-animated {
  width: var(--target-width);
}
.progress-pct {
  display: block;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 4px;
}

/* --- Price --- */
.level-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 16px 0 4px;
  font-variant-numeric: tabular-nums;
}
.level-price small {
  font-size: 0.55em;
  color: var(--ink-soft);
  font-weight: 400;
}

/* --- Dahil list --- */
.dahil-list {
  margin: 16px 0 0;
  font-size: 0.85rem;
}
.dahil-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.5;
}
.dahil-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 10px;
}
.dahil-list.included li::before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%238B2500' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dahil-list.excluded li::before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23999' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dahil-list.excluded li { color: #999; }

.price-note {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 12px;
  font-style: italic;
}

/* =============================================
   SÜREÇ (Process)
   ============================================= */
#surec { position: relative; }

.process-timeline {
  position: relative;
  max-width: 680px;
  margin: 3rem auto 0;
  padding-left: 48px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line-strong);
}

.process-step {
  position: relative;
  padding-bottom: 40px;
}
.process-step:last-child { padding-bottom: 0; }

.process-dot {
  position: absolute;
  left: -48px; top: 4px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  z-index: 1;
  transition: background 300ms, color 300ms;
}
.process-step:hover .process-dot {
  background: var(--accent);
  color: #fff;
}

.process-step h4 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.process-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* =============================================
   HOCALAR (Instructors)
   ============================================= */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.instructor-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 28px);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
}
.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(139,37,0,0.14);
}

.instructor-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.instructor-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
}

.instructor-info h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.instructor-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}
.instructor-bio {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.6;
}
.instructor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.instructor-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(139,37,0,0.06);
  color: var(--accent);
  border: 1px solid rgba(139,37,0,0.12);
}

/* =============================================
   BAŞARI (Success — ring charts + testimonials)
   ============================================= */
#basari {
  background: var(--accent-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#basari::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='28' height='28' x='1' y='1' fill='none' stroke='%23fff' stroke-width='0.3' opacity='0.06' rx='2'/%3E%3Crect width='28' height='28' x='31' y='31' fill='none' stroke='%23fff' stroke-width='0.3' opacity='0.06' rx='2'/%3E%3C/svg%3E");
  pointer-events: none;
}

#basari .section-eyebrow { color: rgba(255,255,255,0.6); }
#basari h2 { color: #fff; }
#basari .section-sub { color: rgba(255,255,255,0.75); }

.success-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 3rem;
  align-items: start;
}

/* --- Ring charts --- */
.rings-cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ring-item { text-align: center; }

.ring-chart {
  width: 130px; height: 130px;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1600ms cubic-bezier(.2,.7,.2,1);
}
.ring-center {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 500;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
  font-variant-numeric: tabular-nums;
}
.ring-label-text {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* --- Testimonials --- */
.testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  transition: background 300ms;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: 16px; left: 20px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-top: 28px;
}
.testimonial-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* =============================================
   SSS (FAQ)
   ============================================= */
#sss { background: var(--surface); }

.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
}

details.faq-item {
  border-bottom: 1px solid var(--line);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  transition: color 240ms;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; content: ''; }

details.faq-item summary:hover { color: var(--accent); }

details.faq-item summary::after {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%231B1B1B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
details.faq-item[open] summary::after {
  transform: rotate(180deg);
}

details.faq-item > .faq-body {
  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);
}
details.faq-item[open] > .faq-body {
  height: auto;
  padding-block-end: 24px;
}

.faq-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 64ch;
}

@media (prefers-reduced-motion: reduce) {
  details.faq-item > .faq-body { transition: none; }
}

/* =============================================
   BAŞVURU (Application form)
   ============================================= */
#basvuru {
  position: relative;
}

.basvuru-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 3rem;
  align-items: start;
}

/* --- Dönem info sidebar --- */
.donem-sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 32px);
}
.donem-sidebar h3 {
  margin-bottom: 20px;
}

.donem-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.donem-item:last-child { border-bottom: none; }

.donem-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.donem-dates {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.donem-status {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 4px;
}
.donem-status.open { background: rgba(34,139,34,0.1); color: #228B22; }
.donem-status.full { background: rgba(139,37,0,0.08); color: var(--accent); }

.iptal-note {
  margin-top: 20px;
  padding: 14px;
  background: rgba(139,37,0,0.04);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --- Form --- */
.form-section { }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .field.full { grid-column: 1 / -1; }

.field {
  margin-bottom: 0;
}
.field label {
  display: block;
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  font-family: 'Merriweather', serif;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 240ms, box-shadow 240ms;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,37,0,0.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }

.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);
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}
.field-checkbox label {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}

.form-submit {
  margin-top: 20px;
}
.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
}

@media (min-width: 640px) {
  .form-submit .btn-primary { width: auto; }
}

/* =============================================
   NEWS STRIP
   ============================================= */
.news-strip {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.news-strip h3 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.news-list time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: inline-block;
}
.footer-brand .logo:hover { color: var(--accent); }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 240ms;
}
.footer-col a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  word-break: break-all;
}
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  box-shadow: 0 16px 48px -16px rgba(0,0,0,0.4);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 640px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

.cookie-banner h4 {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: none;
}
.cookie-banner a { color: var(--accent); }
.cookie-banner a:hover { color: #fff; }

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions button {
  flex: 1;
  min-width: 100px;
  min-height: 44px;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 240ms, color 240ms;
  padding: 10px 14px;
}
.cookie-actions .cookie-accept {
  background: var(--accent);
  color: #fff;
}
.cookie-actions .cookie-accept:hover { background: #a63000; color: #fff; }
.cookie-actions .cookie-reject {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
.cookie-actions .cookie-reject:hover { background: rgba(255,255,255,0.18); color: #fff; }
.cookie-actions .cookie-settings {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
.cookie-actions .cookie-settings:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.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;
}
.reveal[style*="--i"] {
  transition-delay: calc(var(--i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* =============================================
   NICHE ANIMATIONS — Mosaic-specific
   ============================================= */

/* 1. Tessera shimmer — light sweep across card surface */
@keyframes tessera-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.stat-counter::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(139,37,0,0.04) 45%,
    rgba(139,37,0,0.08) 50%,
    rgba(139,37,0,0.04) 55%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: tessera-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}
.stat-counter { position: relative; overflow: hidden; }

/* 2. Gold-leaf glint on accent headings */
@keyframes gold-glint {
  0%, 100% { background-position: -100% 0; }
  50% { background-position: 200% 0; }
}
.hero-h1 {
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    var(--ink) 40%,
    #8B6914 48%,
    #C4961A 50%,
    #8B6914 52%,
    var(--ink) 60%,
    var(--ink) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-glint 12s ease-in-out infinite;
}

/* 3. Tile-place snap — cards appear from slight rotation */
@keyframes tile-place {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(-2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.level-card.is-in,
.instructor-card.is-in {
  animation: tile-place 600ms cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i, 0) * 100ms);
}

/* 4. Byzantine medallion pulse on ring charts */
@keyframes medallion-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 12px rgba(139,37,0,0.3)); }
}
.ring-chart {
  animation: medallion-pulse 6s ease-in-out infinite;
}

/* 5. Grout-line pattern breathing */
@keyframes grout-breathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}
#hero::before {
  animation: grout-breathe 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .stat-counter::before,
  .hero-h1,
  .ring-chart,
  #hero::before {
    animation: none !important;
  }
  .hero-h1 {
    background: none;
    -webkit-text-fill-color: var(--ink);
  }
  .level-card.is-in,
  .instructor-card.is-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   INTERNAL PAGES
   ============================================= */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-hero h1 {
  margin-bottom: 1rem;
}
.page-hero .section-sub {
  margin: 0 auto;
}

.page-content {
  padding: clamp(2rem, 4vw, 4rem) 0;
  max-width: 760px;
  margin: 0 auto;
}
.page-content h2 {
  margin-top: 2.5rem;
  font-size: 1.3rem;
}
.page-content h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}
.page-content p {
  font-size: 0.92rem;
  line-height: 1.75;
}
.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 1rem;
}
.page-content li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.page-content ol li { list-style: decimal; }

/* --- Thank you page --- */
.thankyou-content {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.thankyou-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.thankyou-content p {
  max-width: 42ch;
  margin: 0 auto 2rem;
}

/* --- 404 page --- */
.error-content {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.error-content h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(4rem, 12vw, 4.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

/* --- Contact page --- */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 3rem 0;
}

.channel-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
  text-decoration: none;
  color: inherit;
  display: block;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(139,37,0,0.14);
  color: inherit;
}

.channel-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(139,37,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 300ms;
}
.channel-card:hover .channel-icon {
  background: rgba(139,37,0,0.12);
}
.channel-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.channel-value {
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 4px;
  word-break: break-all;
}
.channel-note {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* --- Hours table as mini-cards --- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.hours-day {
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  font-size: 0.82rem;
  transition: background 200ms;
}
.hours-day.today {
  background: rgba(139,37,0,0.08);
  border: 1px solid var(--accent);
}
.hours-day strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 0.78rem;
  margin-bottom: 2px;
}
.hours-day span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* --- About page team grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 32px);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(139,37,0,0.14);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .instructor-role { margin-bottom: 10px; }
.team-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* --- Sitemap page --- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 2rem;
}
.sitemap-grid h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.sitemap-grid ul { display: flex; flex-direction: column; gap: 6px; }
.sitemap-grid li { list-style: none; }
.sitemap-grid a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 240ms, padding-left 240ms;
}
.sitemap-grid a:hover { color: var(--accent); padding-left: 4px; }

/* =============================================
   TABLE SCROLL
   ============================================= */
.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: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--surface);
}
td { color: var(--ink-soft); }

/* =============================================
   FOCUS STYLES
   ============================================= */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .instructors-grid { grid-template-columns: 1fr; }
  .success-layout { grid-template-columns: 1fr; }
  .rings-cluster { max-width: 300px; }
  .basvuru-layout { grid-template-columns: 1fr; }
  .donem-sidebar { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .hero-stats { gap: 12px; }
  .stat-counter { padding: 16px 8px; }
  .stat-number { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .stat-label { font-size: 0.68rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field.full { grid-column: auto; }
  .instructor-card { grid-template-columns: 72px 1fr; gap: 14px; }
  .instructor-avatar { width: 72px; height: 72px; font-size: 1.2rem; }
  .level-price { font-size: 1.3rem; }
  .process-timeline { padding-left: 40px; }
  .process-dot { left: -40px; width: 32px; height: 32px; font-size: 0.68rem; }
}

@media (max-width: 430px) {
  body { font-size: 0.94rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
}

@media (max-width: 390px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-counter { padding: 12px 6px; }
  .trust-strip { gap: 8px; }
  .trust-badge { font-size: 0.62rem; padding: 4px 8px; }
}

@media (max-width: 360px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .hero-eyebrow { font-size: 0.65rem; padding: 4px 12px; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  .site-header, .drawer, .drawer-backdrop, .cookie-banner, .nav-toggle { display: none !important; }
  main { padding-top: 0; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.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}

/* form-reveal-opacity-fix */
main form.reveal, .form-section form.reveal, .contact-form.reveal, form[id*='iletisim'].reveal, form[class*='contact'].reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
main form, .form-section form, .contact-form, form[id*='iletisim'], form[class*='contact'] { opacity: 1 !important; }

/* consent-checkbox-inline-fix */
main form label.checkbox, main form .form-checkbox, main form .consent, main form .kvkk, .contact-form label.checkbox, .contact-form .checkbox-group { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-size: 14px !important; line-height: 1.5 !important; flex-wrap: nowrap !important; }
main form label.checkbox span, main form label.checkbox a, main form .form-checkbox span, main form .form-checkbox a, .contact-form label.checkbox span, .contact-form label.checkbox a { display: inline !important; flex: 1 1 auto; }
main form label.checkbox input[type='checkbox'], main form .form-checkbox input[type='checkbox'] { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; margin-top: 3px !important; }

/* iletisim-form-responsive-guard v2 */
main form, .form-section form, .contact-form, .iletisim-form, form#contact-form, form[id*="iletisim"], form[class*="iletisim"], form[class*="contact"] {
  display: block;
  max-width: 720px;
  margin: 24px auto;
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface, rgba(255,255,255,0.04));
  border: 1px solid var(--line, rgba(127,127,127,0.18));
  border-radius: 16px;
  box-shadow: 0 8px 32px -12px rgba(0,0,0,0.25);
  box-sizing: border-box;
}
main form .form-grid,
main form > .grid,
.contact-form .form-grid,
form[class*="contact"] .form-grid,
form[class*="iletisim"] .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  width: 100%;
}
@media (max-width: 640px) {
  main form .form-grid,
  main form > .grid,
  .contact-form .form-grid,
  form[class*="contact"] .form-grid,
  form[class*="iletisim"] .form-grid {
    grid-template-columns: 1fr;
  }
}
main form .form-grid > .field-full,
main form .form-grid > .col-full,
main form .form-grid > [class*="full"] {
  grid-column: 1 / -1;
}
main form .field, main form label,
.contact-form .field, .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
main form input[type="text"],
main form input[type="email"],
main form input[type="tel"],
main form input[type="number"],
main form input[type="date"],
main form input[type="url"],
main form input[type="search"],
main form input:not([type]),
main form select,
main form textarea,
.contact-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  border: 1px solid var(--line, rgba(127,127,127,0.22));
  border-radius: 10px;
  background: var(--input-bg, rgba(0,0,0,0.04));
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
main form textarea, .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
main form input:focus, main form select:focus, main form textarea:focus,
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent, #5a8dee);
  outline-offset: 1px;
  border-color: transparent;
}
main form .checkbox, main form label.checkbox,
.contact-form .checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
main form input[type="checkbox"], main form input[type="radio"],
.contact-form input[type="checkbox"], .contact-form input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent, #5a8dee);
}
main form button[type="submit"],
main form input[type="submit"],
main form .btn-submit,
.contact-form button[type="submit"],
.contact-form .btn-submit {
  width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  background: var(--accent, #5a8dee);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: filter 200ms ease, transform 120ms ease;
}
@media (min-width: 640px) {
  main form button[type="submit"],
  main form input[type="submit"],
  .contact-form button[type="submit"] {
    width: auto;
    min-width: 220px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
main form button[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  filter: brightness(1.05);
}
main form button[type="submit"]:active,
.contact-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* batch-overflow-guard */
html, body { overflow-x: hidden; max-width: 100vw; }
img, picture, svg, video { max-width: 100%; height: auto; }
.hero-visual, .split-visual, .gallery-item, .gallery-card, figure {
  overflow: hidden;
  max-width: 100%;
}
.hero-visual img, .split-visual img, .gallery-item img, .gallery-card img {
  max-width: none; width: 100%; height: 100%; object-fit: cover;
}
section.hero, header.hero, .hero, [class*="hero"] { overflow-x: clip; }
.hero-content, .gallery-grid, .gallery { overflow-x: clip; }
/* hero+split respect container */
.hero, .split, section > .split {
  max-width: var(--container, 1320px);
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,32px);
}
.hero-visual, .split-visual {
  aspect-ratio: 4/3;
  min-height: 0 !important;
  max-height: 600px !important;
  border-radius: var(--radius-lg, 16px);
}
@media (max-width: 768px) {
  .hero-visual, .split-visual { max-height: 420px !important; }
}
.split { min-height: 0 !important; }

/* =====================================================================
   PREMIUM REDESIGN LAYER — image-forward, art-directed (v2)
   ===================================================================== */
:root{
  --gold: #C6971C;
  --gold-2: #8B6914;
  --gold-soft: #E3C36A;
  --ink-deep: #17120D;
  --ink-deep-2: #211913;
  --cream: #F7F1E6;
  --shadow-card: 0 24px 60px -30px rgba(23,18,13,.55);
  --shadow-float: 0 30px 70px -32px rgba(23,18,13,.62);
}

/* ---- shared premium primitives ---- */
.btn-lg{ padding: 17px 40px; font-size: 1rem; border-radius: 10px; }
.btn-primary{
  background: var(--accent);
  box-shadow: 0 14px 30px -14px rgba(139,37,0,.55);
  letter-spacing: .01em;
}
.btn-primary:hover, .btn-primary:focus-visible{
  background: #a12c02;
  box-shadow: 0 18px 40px -14px rgba(139,37,0,.62);
}
.btn-ghost--ondark{
  color: var(--cream);
  border-color: rgba(247,241,230,.42);
  background: rgba(247,241,230,.05);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.btn-ghost--ondark:hover, .btn-ghost--ondark:focus-visible{
  color: #fff; background: rgba(247,241,230,.14); border-color: var(--gold-soft);
}
.link-arrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Lora', serif; font-weight: 700; font-size: .95rem;
  color: var(--accent); margin-top: 4px;
}
.link-arrow svg{ transition: transform 260ms cubic-bezier(.2,.7,.2,1); }
.link-arrow:hover{ color: var(--accent-2); }
.link-arrow:hover svg{ transform: translateX(5px); }

/* dark-band eyebrow/heading recolour */
.band-dark .section-eyebrow, .showcase .section-eyebrow{ color: var(--gold-soft); }
.band-dark h2, .showcase h2{ color: var(--cream); }
.band-dark p, .showcase p{ color: rgba(247,241,230,.78); }

/* =====================================================================
   HERO — image-forward, layered, asymmetric
   ===================================================================== */
#hero{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-deep);
  padding: 0;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#hero::before{ content: none !important; } /* remove old flat grid */

.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 42%;
  display: block;
  will-change: transform;
}
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,11,7,.94) 0%, rgba(15,11,7,.78) 34%, rgba(15,11,7,.30) 62%, rgba(15,11,7,.12) 100%),
    linear-gradient(0deg, rgba(15,11,7,.86) 0%, rgba(15,11,7,.20) 34%, rgba(15,11,7,0) 60%);
}
.hero-grout{
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 34 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 17h34M17 0v34' stroke='%23F7F1E6' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 34px 34px;
}

.hero-inner{
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,360px);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(4rem, 12vw, 8rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-copy{ max-width: 40rem; }
#hero .hero-eyebrow{
  color: var(--gold-soft);
  border-color: rgba(227,195,106,.5);
  background: rgba(23,18,13,.35);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
#hero .hero-h1{
  text-align: left;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
#hero .hero-sub{
  text-align: left; margin: 0 0 2rem;
  color: rgba(247,241,230,.9);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  max-width: 40ch;
}
#hero .hero-cta-row{ justify-content: flex-start; margin-bottom: 1.9rem; }
#hero .trust-strip{ justify-content: flex-start; margin-top: 0; }
#hero .trust-badge{
  color: rgba(247,241,230,.82);
  background: rgba(23,18,13,.42);
  border-color: rgba(247,241,230,.16);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
#hero .trust-badge svg{ stroke: var(--gold-soft); }

/* floating glass credential card */
.hero-card{
  justify-self: end; align-self: end;
  width: 100%; max-width: 360px;
  background: linear-gradient(160deg, rgba(33,25,19,.82), rgba(23,18,13,.72));
  border: 1px solid rgba(227,195,106,.28);
  border-radius: 16px;
  padding: 26px 26px 22px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-float);
  color: var(--cream);
}
.hero-card-kicker{
  font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-soft); display: block; margin-bottom: 12px;
}
.hero-card-lede{
  font-family: 'Lora', serif; font-size: 1rem; line-height: 1.5;
  color: rgba(247,241,230,.94); margin-bottom: 18px; max-width: none;
}
.hero-card-lede strong{ color: var(--gold-soft); }
.hero-card-rating{
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  padding: 14px 0; border-top: 1px solid rgba(247,241,230,.14);
  border-bottom: 1px solid rgba(247,241,230,.14);
}
.hcr-stars{ color: var(--gold-soft); font-size: 1rem; letter-spacing: 2px; }
.hcr-score{ font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; color: #fff; font-weight: 600; }
.hcr-score small{ font-size: .55em; color: rgba(247,241,230,.6); }
.hcr-meta{ font-size: .72rem; color: rgba(247,241,230,.6); width: 100%; }
.hero-card-foot{
  display: flex; gap: 24px; padding-top: 16px;
}
.hero-card-foot span{ font-size: .78rem; color: rgba(247,241,230,.66); line-height: 1.3; }
.hero-card-foot strong{ display: block; font-family: 'JetBrains Mono', monospace; font-size: 1.15rem; color: var(--cream); }

/* hero stats — floating elevated cards on the dark hero */
#hero .hero-stats{
  position: relative; z-index: 2;
  margin: 0 0 clamp(1.2rem, 3vw, 2.2rem);
  max-width: none;
}
#hero .stat-counter{
  background: rgba(247,241,230,.96);
  border: 1px solid rgba(247,241,230,.5);
  box-shadow: var(--shadow-card);
}
#hero .stat-counter::before{ display: none; }
#hero .stat-number{ color: var(--accent); }

/* =====================================================================
   MİRAS — heritage split (dark)
   ===================================================================== */
.band-dark{ background: var(--ink-deep); position: relative; }
#miras{ overflow: hidden; }
.miras-grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.miras-figure{ margin: 0; position: relative; }
.miras-figure img{
  width: 100%; border-radius: 14px;
  border: 1px solid rgba(227,195,106,.3);
  box-shadow: var(--shadow-float);
}
.miras-figure::after{
  content: ''; position: absolute; inset: 12px; border: 1px solid rgba(227,195,106,.22);
  border-radius: 8px; pointer-events: none;
}
.miras-figure figcaption{
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .04em;
  color: rgba(247,241,230,.5); margin-top: 12px; text-align: center;
}
.miras-copy h2{ margin-bottom: 1.1rem; }
.miras-points{ margin: 1.4rem 0 1.6rem; display: flex; flex-direction: column; gap: 12px; }
.miras-points li{
  position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.55;
  color: rgba(247,241,230,.8);
}
.miras-points strong{ color: var(--gold-soft); }
.miras-points li::before{
  content: ''; position: absolute; left: 0; top: .45em; width: 11px; height: 11px;
  background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(198,151,28,.18);
}

/* =====================================================================
   ATÖLYE — full-bleed showcase
   ===================================================================== */
.showcase{
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(74vh, 660px);
  display: flex; align-items: flex-end;
  padding: 0;
  background: var(--ink-deep);
}
.showcase-img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%; z-index: 0;
}
.showcase-scrim{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,11,7,.9) 0%, rgba(15,11,7,.6) 42%, rgba(15,11,7,.15) 78%),
    linear-gradient(0deg, rgba(15,11,7,.82) 0%, rgba(15,11,7,0) 55%);
}
.showcase-inner{ position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 6vw, 5rem); }
.showcase-copy{ max-width: 46rem; }
.showcase-copy h2{ margin-bottom: 1rem; }
.showcase-copy p{ max-width: 46ch; }
.showcase-facts{
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-top: 1.8rem;
}
.sc-fact{ display: flex; flex-direction: column; gap: 2px; }
.sc-num{ font-family: 'JetBrains Mono', monospace; font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 600; color: var(--gold-soft); line-height: 1; }
.sc-lbl{ font-size: .78rem; color: rgba(247,241,230,.72); letter-spacing: .02em; }

/* =====================================================================
   MALZEME — materials split (soft)
   ===================================================================== */
.band-soft{
  background:
    radial-gradient(120% 90% at 15% 0%, #EFE7D6 0%, var(--surface) 55%, var(--surface-2) 100%);
}
.malzeme-grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.malzeme-figure{ margin: 0; }
.malzeme-figure img{
  width: 100%; border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.malzeme-legend{ margin: 1.4rem 0; display: flex; flex-direction: column; gap: 10px; }
.malzeme-legend li{ display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-soft); }
.swatch{ width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw-marble{ background: linear-gradient(135deg, #F4EFE7, #DAD2C4); }
.sw-stone{ background: linear-gradient(135deg, #3A3A3C, #575152); }
.sw-gold{ background: linear-gradient(135deg, #E3C36A, #B8860B); }
.malzeme-note{
  font-size: .82rem; color: var(--ink-soft); border-left: 3px solid var(--gold);
  padding: 6px 0 6px 14px; margin-top: 1.2rem; font-style: italic; max-width: 46ch;
}

/* =====================================================================
   SECTION RHYTHM polish
   ===================================================================== */
#mufredat .section-eyebrow, #surec .section-eyebrow,
#hocalar .section-eyebrow, #sss .section-eyebrow, #basvuru .section-eyebrow{ }
.level-card.featured{ box-shadow: 0 20px 50px -22px rgba(139,37,0,.28); }

/* =====================================================================
   HERO GOLD HEADLINE (override old dark-gradient variant)
   ===================================================================== */
.hero-h1{
  background: linear-gradient(92deg, var(--cream) 0%, var(--cream) 40%, var(--gold-soft) 49%, #F3E4B8 51%, var(--cream) 60%, var(--cream) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cream);
}

/* =====================================================================
   RESPONSIVE — premium layer
   ===================================================================== */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; align-items: start; }
  .hero-card{ justify-self: stretch; max-width: 460px; }
  .miras-grid{ grid-template-columns: 1fr; }
  .miras-figure{ order: -1; max-width: 460px; margin-inline: auto; }
  .malzeme-grid{ grid-template-columns: 1fr; }
  .malzeme-figure{ order: -1; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 640px){
  #hero{ min-height: auto; }
  #hero .hero-inner{ padding-top: clamp(3rem, 22vw, 5.5rem); }
  #hero .hero-h1{ font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-card{ padding: 20px; }
  .showcase{ min-height: auto; }
  .showcase-facts{ gap: 18px 28px; }
  .sc-fact{ min-width: 30%; }
}
@media (max-width: 380px){
  .hero-card-foot{ gap: 16px; }
  .showcase-facts .sc-fact{ min-width: 44%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-h1{ background: none; -webkit-text-fill-color: var(--cream); color: var(--cream); animation: none; }
  .hero-img{ will-change: auto; }
}
