/* base.css (KW-10A-a split): shared; load before page CSS */
/* KANKALP / Brand Identity v3.2 — no remote fonts or runtime dependencies. */
/* Newsreader (Google Fonts, SIL OFL 1.1, assets/fonts/Newsreader-OFL.txt): single family, self-hosted WOFF2, latin + latin-ext (Turkish), weights 400-600. Italic files are subsets (Basic Latin, Latin-1, Turkish, typographic punctuation), wght 400-600. */
@font-face { font-family:"Newsreader"; font-style:normal; font-weight:400 600; font-display:swap; src:url("fonts/newsreader-latin-ext-wght-normal.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:"Newsreader"; font-style:normal; font-weight:400 600; font-display:swap; src:url("fonts/newsreader-latin-wght-normal.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:"Newsreader"; font-style:italic; font-weight:400 600; font-display:swap; src:url("fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2"); unicode-range:U+011E-011F,U+0130,U+015E-015F; }
@font-face { font-family:"Newsreader"; font-style:italic; font-weight:400 600; font-display:swap; src:url("fonts/newsreader-latin-wght-italic.woff2") format("woff2"); unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+2013-2014,U+2018-201A,U+201C-201E,U+2026,U+20AC,U+2122; }
/* Size-matched fallbacks (metrics from Newsreader vs Georgia) so the swap does not shift layout. */
@font-face { font-family:"Newsreader Fallback"; font-style:normal; font-weight:400 500; src:local("Georgia"); size-adjust:95.7%; ascent-override:76.8%; descent-override:27.7%; line-gap-override:0%; }
@font-face { font-family:"Newsreader Fallback"; font-style:normal; font-weight:550 700; src:local("Georgia Bold"),local("Georgia-Bold"); size-adjust:86.9%; ascent-override:84.6%; descent-override:30.5%; line-gap-override:0%; }
@font-face { font-family:"Newsreader Fallback"; font-style:italic; font-weight:400 700; src:local("Georgia Italic"),local("Georgia-Italic"); size-adjust:88.2%; ascent-override:83.4%; descent-override:30.1%; line-gap-override:0%; }
:root {
--graphite:#1D2733; --ivory:#F0EEE8; --sage:#8FAE9D; --copper:#BC866B;
--bg:#1D2733; --surface:#253240; --surface-raised:#2e3d4d; --fg:#F0EEE8;
--muted:#bdc8c5; --quiet:#a8b9b0; --line:#708477; --subtle-line:#3b4b59;
--accent-fill:#8FAE9D; --accent:#8FAE9D; --accent-ink:#1D2733; --wash:rgba(143,174,157,.09);
--header:rgba(29,39,51,.94); --shadow:0 24px 70px rgba(0,0,0,.16);
--motion-blur:9px; --motion-duration:650ms; --motion-distance:16px;
--motion-ease:cubic-bezier(.22,1,.36,1); --micro-duration:180ms;
--sans:"Newsreader","Newsreader Fallback",Georgia,"Times New Roman",serif;
--mono:var(--sans);
color-scheme:dark; font-family:var(--sans); background:var(--bg); color:var(--fg);
}
:root[data-theme="light"] {
--bg:#F0EEE8; --surface:#e7e5df; --surface-raised:#dcded6; --fg:#1D2733;
--muted:#4d5b57; --quiet:#52625a; --line:#7a877e; --subtle-line:#d0d6cd;
--sage:#A9C3B4; --accent-fill:#A9C3B4; --accent:#416351; --accent-ink:#1D2733; --wash:rgba(143,174,157,.07);
--header:rgba(240,238,232,.96); --shadow:0 24px 70px rgba(37,37,37,.07);
color-scheme:light;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; font-size:18px; line-height:1.6; -webkit-font-smoothing:antialiased; }
::selection { background:var(--accent-fill); color:var(--accent-ink); }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
button,a { -webkit-tap-highlight-color:transparent; }
button { border-radius:0; }
img,svg { display:block; max-width:100%; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-weight:500; }
button[hidden],[hidden] { display:none!important; }
a:focus-visible,button:focus-visible,[tabindex]:focus-visible { outline:3px solid var(--accent); outline-offset:6px; }
section:focus,#main:focus { outline:none; }
a,button { touch-action:manipulation; }
:lang(en),:lang(en-US) { text-transform:none; }
.wrap { width:min(100% - 128px,1536px); margin-inline:auto; }
.section { padding-block:96px; scroll-margin-top:0; }
.mono,.eyebrow { font-family:var(--mono); font-size:13px; font-weight:400; letter-spacing:.07em; line-height:1.6; }
.eyebrow { display:flex; align-items:center; gap:12px; color:var(--muted); }
.muted { color:var(--muted); }
.accent { color:var(--accent); }
.status-dot { display:inline-block; flex:none; width:6px; height:6px; border-radius:50%; background:var(--accent); }
.skip-link { position:fixed; z-index:100; top:12px; left:12px; transform:translateY(-150%); background:var(--fg); color:var(--bg); padding:12px 20px; }
.skip-link:focus { transform:none; }
.site-header { position:sticky; top:0; z-index:30; background:var(--bg); border-bottom:1px solid var(--subtle-line); transition:background var(--micro-duration),box-shadow var(--micro-duration); }
.site-header.is-scrolled { background:var(--header); box-shadow:0 5px 24px rgba(0,0,0,.05); }
@supports(backdrop-filter:blur(9px)) {
.site-header.is-scrolled { backdrop-filter:blur(9px); }
}
.navigation { height:88px; display:flex; align-items:center; justify-content:space-between; gap:40px; }
.brand { display:inline-flex; align-items:center; gap:10px; font-size:21px; font-weight:600; letter-spacing:-.01em; flex-shrink:0; line-height:1; }
.brand-period { color:var(--accent); }
.brand-mark { width:43px; height:43px; display:grid; grid-template-columns:100%; place-content:center; }
.brand-mark img { width:64px; max-width:none; height:auto; }
.nav-links { display:flex; gap:36px; margin-left:auto; align-items:center; font-size:15px; }
.nav-links a { position:relative; padding-block:12px; color:var(--muted); transition:color var(--micro-duration); }
.nav-links a:hover,.nav-links a[aria-current] { color:var(--fg); }
.nav-links a::after { position:absolute; content:""; height:1px; background:var(--accent); inset:auto 0 5px; transform:scaleX(0); transform-origin:left; transition:transform var(--micro-duration); }
.nav-links a:hover::after,.nav-links a[aria-current]::after { transform:scaleX(1); }
.nav-links a span { margin-left:4px; }
.nav-actions { display:flex; align-items:center; gap:12px; }
.icon-button { width:44px; height:44px; border:1px solid var(--line); background:transparent; display:grid; place-content:center; transition:background var(--micro-duration),border-color var(--micro-duration); }
.icon-button:hover { background:var(--wash); border-color:var(--accent); }
.icon-button svg { width:19px; height:19px; }
[data-theme="dark"] .moon,[data-theme="light"] .sun { display:none; }
.menu-toggle { display:none; }
.button { display:inline-flex; justify-content:space-between; align-items:center; gap:46px; min-height:50px; padding:13px 20px; font-size:15px; font-weight:500; transition:background var(--micro-duration),transform var(--micro-duration); }
.button-primary { margin-top:30px; background:var(--fg); color:var(--bg); }
.button-primary:hover { background:var(--accent-fill); color:var(--accent-ink); transform:translateY(-2px); }
.button span { font-size:22px; line-height:1; }
h2 { font-size:clamp(40px,4.2vw,72px); line-height:1.1; letter-spacing:-.02em; }
.site-footer { position:relative; isolation:isolate; overflow:clip; border-top:1px solid var(--line); background:linear-gradient(180deg,var(--surface),var(--bg) 70%); }
.footer-grid { position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 60% 70% at 85% 0%,rgba(143,174,157,.16),transparent 70%),linear-gradient(var(--subtle-line) 1px,transparent 1px),linear-gradient(90deg,var(--subtle-line) 1px,transparent 1px); background-size:auto,100px 100px,100px 100px; opacity:.55; mask-image:linear-gradient(180deg,#000,transparent 85%); }
.footer-base { padding-bottom:26px; }
.footer-top { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-top:28px; border-top:1px solid var(--line); }
.back-top { font-size:14px; display:flex; align-items:center; gap:24px; min-height:44px; }
.back-top span { color:var(--accent); font-size:22px; }
.footer-bottom { margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:24px; color:var(--muted); font-size:13px; }
.footer-bottom nav { display:flex; gap:24px; }
.footer-bottom nav a { min-height:36px; display:flex; align-items:center; }
.footer-bottom a:hover,.back-top:hover { color:var(--accent); }
.footer-bottom .mono { font-size:11.5px; }
@media(max-width:1200px) {
.wrap { width:calc(100% - 80px); }
.nav-links { gap:25px; }
.navigation { gap:26px; }
}
@media(max-width:1100px) {
.nav-actions { gap:8px; margin-left:auto; }
.menu-toggle { display:none; gap:5px; }
.menu-toggle span { width:17px; height:1px; background:currentColor; transition:transform var(--micro-duration); }
.menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-3px) rotate(-45deg); }
.nav-links { width:100%; margin:0;  justify-content:space-between; font-size:13px; flex-wrap:wrap; gap:4px 16px; }
html:not(.js) .navigation:has(.theme-button[hidden]) { height:auto; min-height:72px; padding-block:16px; gap:14px; }
html:not(.js) .navigation:has(.theme-button[hidden]) .nav-links { order:2; }
.js:not(.enhanced) .nav-links { display:none; }
.enhanced .menu-toggle { display:grid; }
.enhanced .nav-links { position:absolute; top:100%; left:0; right:0; background:var(--bg); border-bottom:1px solid var(--line); box-shadow:var(--shadow); padding:16px 40px 22px; display:none; flex-direction:column; align-items:stretch; gap:2px; }
.enhanced .nav-links a { padding:13px 5px; font-size:18px; }
.nav-links a::after { display:none; }
.navigation { flex-wrap:wrap; }
}
@media(max-width:1000px) {
.wrap { width:calc(100% - 64px); }
.section { padding-block:88px; }
.navigation { height:76px; }
.nav-links { gap:22px; font-size:14px; }
.enhanced .nav-links { padding-inline:32px; }
.brand { font-size:18px; }
.brand-mark { width:36px; height:36px; }
.brand-mark img { width:54px; }
.footer-bottom { flex-wrap:wrap; }
}
@media(max-width:720px) {
.wrap { width:calc(100% - 40px); }
.section { padding-block:68px; }
html { scroll-padding-top:90px; }
.navigation { height:72px; gap:20px; }
.enhanced .nav-links { padding-inline:20px; }
.nav-links { gap:4px 16px; font-size:13px; }
.site-header { position:sticky; }
.brand { font-size:18px; gap:9px; }
.icon-button { width:42px; height:42px; }
.button { min-height:48px; font-size:14px; padding:12px 17px; gap:40px; }
.button-primary { margin-top:23px; }
h2 { font-size:38px; line-height:1.13; }
.footer-top { padding-top:20px; }
.back-top { font-size:13px; gap:15px; }
.footer-bottom { flex-direction:column; align-items:flex-start; gap:6px; }
.footer-bottom nav { flex-wrap:wrap; gap:4px 20px; font-size:13px; }
.footer-bottom > span:last-child { padding-top:6px; }
.site-header.is-scrolled { backdrop-filter:none; }
}
@media(max-width:360px) {
.wrap { width:calc(100% - 32px); }
}
@media(prefers-reduced-motion:reduce) {
html { scroll-behavior:auto; }
*,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
.limited-motion .site-header { backdrop-filter:none; }
@media(forced-colors:active) {
.icon-button,.button { border:1px solid CanvasText; }
.status-dot { background:CanvasText; }
.button-primary { background:ButtonFace; color:ButtonText; }
}
.brand { gap:6px; }
.brand-copy { display:flex; flex-direction:column; gap:5px; white-space:nowrap; }
.brand-name { font-size:21px; font-weight:600; letter-spacing:-.01em; }
.brand-tagline { font-size:12px; font-weight:400; letter-spacing:-.006em; color:var(--muted); }
@media(max-width:1000px) {
.brand-name { font-size:18px; }
.brand-tagline { font-size:11.5px; }
}
@media(max-width:360px) {
.navigation { gap:8px; }
.brand { gap:3px; }
.brand-name { font-size:16px; }
.brand-tagline { font-size:11.5px; }
}
.theme-art-light { display:none; }
[data-theme="light"] .theme-art-dark { display:none; }
[data-theme="light"] .theme-art-light { display:block; }
/* v3.2 mark: tight vector bounds, same compact slot and brand typography. */
.brand-mark img { width:100%; max-width:100%; height:auto; }
/* Approved C3: light keeps the original image; dark exposes only the Midnight edge. */
.brand-mark > .brand-mark-vector { display:none; width:100%; height:auto; overflow:visible; }
:root[data-theme="dark"] .brand-mark > img { display:none; }
:root[data-theme="dark"] .brand-mark > .brand-mark-vector { display:block; }
:root[data-theme="dark"] .brand-mark-vector > path:first-of-type { stroke:rgba(144,156,168,0.60); stroke-width:.9px; vector-effect:non-scaling-stroke; paint-order:stroke fill; stroke-linejoin:round; }
@media(forced-colors:active) {
.brand-mark { background:Canvas; outline:1px solid CanvasText; }
}
/* i18n: EN hides only translatable text until i18n.js runs (failsafe: theme.js) */
html[data-lang="en"]:not(.lang-ready) [data-i] { visibility:hidden; }
.lang-button { font-family:var(--mono); font-size:13px; letter-spacing:.06em; }
/* KW-10C: open state of the compact menu lives in the shared stylesheet (moved from home.css) so every page with the shared header can open it. */
@media(max-width:1100px) {
.enhanced .nav-links.is-open { display:flex; }
}
