/* Self-hosted font (SIL Open Font License 1.1): Poppins, Cormorant Garamond. No third-party requests. */
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/poppins-latin-ext-400-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:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/poppins-latin-400-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:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/poppins-latin-ext-500-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:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/poppins-latin-500-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:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-latin-ext-600-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:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-latin-600-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:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-latin-ext-700-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:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-latin-700-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:"Poppins";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/poppins-latin-ext-400-italic.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:"Poppins";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/poppins-latin-400-italic.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:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/cormorant-garamond-latin-ext-500-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:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/cormorant-garamond-latin-500-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:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/cormorant-garamond-latin-ext-600-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:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/cormorant-garamond-latin-600-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:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(fonts/cormorant-garamond-latin-ext-500-italic.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:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(fonts/cormorant-garamond-latin-500-italic.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}
/* Dülger Hukuk Bürosu — site stylesheet (v6: v4 layout, corporate colours from the letterhead)
   Layout: the existing site's frame kept and enlivened — white top bar with logo and contact blocks,
   brand-blue menu bar, full-width photo slider, then alternating white / soft-blue sections built
   from photo cards. One light look by design (brand photography sits on white and brand blue). */
:root {
  color-scheme: light;
  /* Corporate colours taken from the firm's letterhead template and logo */
  --blue: #16306b;        /* logo navy: menu bar, buttons, links */
  --blue-bright: #2f5496; /* lighter step of the same blue: hover, accents */
  --sky: #b4c6e7;         /* letterhead light blue: accents on dark */
  --navy: #10244f;        /* dark grounds */
  --ink: #1f3864;         /* letterhead heading navy */
  --text: #454545;
  --muted: #6b717b;       /* logo grey, darkened for text */
  --grey: #7a808a;        /* logo grey square */
  --red: #e30613;         /* thin accent lines only */
  --nazar-rim: #0a3fae; --nazar-white: #ffffff; --nazar-iris: #58b7f0; --nazar-pupil: #0b0b0b; /* nazar boncuğu on the anniversary seal */
  --bg: #ffffff;
  --soft: #eef2f8;        /* letterhead light blue fill, lightened */
  --line: #d6dfee;
  --dark: #10244f;
  --black: #0b1a3b;
  --on-dark: #ffffff;
  --on-dark-muted: #c3cde0;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 18px 40px -18px rgba(16, 36, 79, 0.35);
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-bright); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }

.page { min-height: 100%; display: flex; flex-direction: column; overflow-x: clip; }
.page > main { flex: 1; }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; top: 0; z-index: 50; background: var(--blue); color: var(--on-dark); padding: 0.6rem 1rem; }
.skip:focus { left: 0; }

/* ---------- Top bar ---------- */
.langbar { background: var(--soft); border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); }
.langbar .wrap { display: flex; justify-content: space-between; align-items: stretch; gap: 1rem; }
.bar-tools { display: flex; }
.bar-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem 0.4rem 0; font: inherit; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); background: none; border: 0; cursor: pointer; }
.bar-btn + .bar-btn { padding-left: 0.6rem; }
.bar-btn .ico { width: 1.05rem; height: 1.05rem; }
.bar-btn:hover { color: var(--blue-bright); }
.bar-btn[aria-pressed="true"] { color: var(--red); }
.lang-tabs { list-style: none; margin: 0; padding: 0.3rem 0; display: flex; align-items: center; gap: 0.6rem; }
.flag { position: relative; display: block; width: 1.6rem; height: 1.6rem; border-radius: 50%; overflow: hidden; box-shadow: 0 1px 3px rgba(11, 26, 59, 0.45); transition: transform 0.2s, box-shadow 0.2s; }
.flag svg { display: block; width: 100%; height: 100%; }
.flag::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.9) 0 7%, rgba(255, 255, 255, 0.35) 20%, rgba(255, 255, 255, 0) 46%), radial-gradient(circle at 62% 92%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 58%); box-shadow: inset 0 0 0 1px rgba(11, 26, 59, 0.25), inset 0 -3px 5px rgba(0, 0, 0, 0.28); }
a.flag:hover { transform: scale(1.14); }
.flag[aria-current] { box-shadow: 0 0 0 2px var(--soft), 0 0 0 3.5px var(--red); }
.topbar { background: var(--bg); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.logo { flex: none; }
.logo img { height: 2.9rem; width: auto; max-width: none; }
.brand { display: flex; align-items: center; gap: 1.1rem; }

/* ---------- Anniversary mark ---------- */
.anniv { display: inline-flex; align-items: center; gap: 0.6rem; padding-left: 1.1rem; border-left: 1px solid var(--line); line-height: 1; }
.anniv .seal { display: grid; place-content: center; justify-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%); color: var(--on-dark); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--blue-bright); }
.anniv .seal { position: relative; }
.anniv .seal::after { content: ""; position: absolute; left: 85.4%; top: 85.4%; width: max(0.72rem, 25%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--nazar-pupil) 0 17%, var(--nazar-iris) 18% 40%, var(--nazar-white) 41% 62%, var(--nazar-rim) 63% 100%); box-shadow: 0 0 0 1.5px var(--nazar-white), 0 1px 3px rgba(0, 0, 0, 0.35); }
.anniv .seal b { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.anniv .seal i { font-style: normal; font-size: 0.46rem; font-weight: 600; letter-spacing: 0.16em; margin-top: 0.12rem; padding-left: 0.16em; }
.anniv .years { display: grid; gap: 0.3rem; color: var(--muted); font-size: 0.74rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.anniv .years b { color: var(--blue); font-size: 0.86rem; font-weight: 700; }
.anniv.on-dark { margin-top: 1.5rem; padding-left: 0; border-left: 0; }
.anniv.on-dark .seal { box-shadow: 0 0 0 2px var(--dark), 0 0 0 3.5px var(--sky); }
.anniv.on-dark .years { color: var(--on-dark-muted); }
.anniv.on-dark .years b { color: var(--on-dark); }
.anniv.hero-seal { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - 76rem) / 2 + var(--gutter))); top: 2.25rem; flex-direction: column; gap: 0.7rem; padding-left: 0; border-left: 0; }
.anniv.hero-seal .seal { width: 6.2rem; height: 6.2rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 7px rgba(255, 255, 255, 0.12); }
.anniv.hero-seal .seal b { font-size: 2.5rem; }
.anniv.hero-seal .seal i { font-size: 0.72rem; margin-top: 0.25rem; }
.anniv.hero-seal .years { color: var(--on-dark); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; }
@media (max-width: 1280px) { .topbar .anniv .years { display: none; } }
@media (max-width: 1100px) { .info-list li:first-child { display: none; } }
@media (max-width: 760px) { .anniv.hero-seal { display: none; } .topbar .anniv { padding-left: 0.8rem; } .topbar .anniv .seal { width: 2.5rem; height: 2.5rem; } .topbar .anniv .seal b { font-size: 0.95rem; } .brand { gap: 0.8rem; } .logo img { height: 1.9rem; } }
.info-list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; align-items: center; gap: 0.75rem; }
.info-list .badge { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--soft); color: var(--blue); }
.info-list b { display: block; color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.info-list span, .info-list a { display: block; font-size: 0.82rem; color: var(--muted); text-decoration: none; line-height: 1.4; white-space: nowrap; }
.info-list .badge { flex: none; }
.info-list a:hover { color: var(--blue); }
.menu-btn { display: none; align-items: center; gap: 0.5rem; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--on-dark); background: var(--blue); border: 0; border-radius: var(--radius); padding: 0.55rem 0.9rem; cursor: pointer; }

@media (max-width: 480px) { .menu-btn span { display: none; } .menu-btn { padding: 0.6rem 0.7rem; } }

@media (max-width: 400px) { .logo img { height: 1.6rem; } .topbar .anniv { padding-left: 0.6rem; } .topbar .anniv .seal { width: 2.2rem; height: 2.2rem; } .topbar .wrap { gap: 0.6rem; } .brand { gap: 0.6rem; } }

/* ---------- Menu bar ---------- */
.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--blue); color: var(--on-dark); border-bottom: 2px solid var(--red); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5); }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 0 2rem; }
.nav a { position: relative; display: block; padding-block: 1.05rem; color: var(--on-dark); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.7rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 0.6rem; }
.nav-tools a { display: grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding-inline: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 4px; color: var(--on-dark); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; }
.nav-tools a:hover { background: var(--on-dark); color: var(--blue); }

@media (max-width: 960px) {
  .info-list { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .navbar { display: none; position: static; }
  .js .navbar.open { display: block; }
  .navbar .wrap { flex-direction: column; align-items: stretch; padding-block: 0.5rem 1rem; }
  .nav { flex-direction: column; }
  .nav a { padding-block: 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .nav a::after { display: none; }
}

/* ---------- Slider ---------- */
.hero { position: relative; height: clamp(27rem, 50vw, 40rem); background: var(--navy); color: var(--on-dark); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 26, 59, 0.93) 0%, rgba(22, 48, 107, 0.8) 42%, rgba(22, 48, 107, 0.3) 100%); }
.slide .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 3.5rem; }
.slide .eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--sky); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.slide .title { max-width: 42rem; color: var(--on-dark); font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 700; line-height: 1.12; }
.slide .text { max-width: 36rem; margin-top: 1.1rem; color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }
.slide .actions { margin-top: 1.9rem; }
.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 4.75rem; pointer-events: none; }
.hero-ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dots { display: flex; gap: 0.5rem; pointer-events: auto; }
.dots button { width: 2.2rem; height: 0.3rem; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: background 0.2s, width 0.3s; }
.dots button[aria-current="true"] { width: 3.4rem; background: var(--red); }
.arrows { display: flex; gap: 0.6rem; pointer-events: auto; }
.arrows button { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(16, 36, 79, 0.35); color: var(--on-dark); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.arrows button:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
@media (prefers-reduced-motion: no-preference) {
  .slide.active > img { animation: kenburns 9s ease-out both; }
  .slide.active .eyebrow, .slide.active .title, .slide.active .text, .slide.active .actions { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .slide.active .title { animation-delay: 0.12s; }
  .slide.active .text { animation-delay: 0.24s; }
  .slide.active .actions { animation-delay: 0.36s; }
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .arrows { display: none; } .hero-ui { bottom: 4.25rem; } }

.slide .eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--red); }

/* ---------- Figures strip ---------- */
.figures { position: relative; z-index: 4; margin-top: -3.25rem; }
.figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(120deg, var(--blue) 0%, var(--blue-bright) 100%); color: var(--on-dark); border-radius: var(--radius); box-shadow: var(--shadow); }
.figures li { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.5rem; }
.figures li + li { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.figures .ico { width: 2.1rem; height: 2.1rem; color: var(--sky); stroke-width: 1.5; }
.figures b { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.figures span { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); line-height: 1.35; }
@media (max-width: 860px) {
  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures li:nth-child(3) { border-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .figures li { padding: 1.1rem 1rem; gap: 0.75rem; }
  .figures b { font-size: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section.soft { background: var(--soft); }
.sec-head { margin-bottom: 2.25rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.sub { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--blue); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.sub::before { content: ""; width: 2.5rem; height: 2px; background: var(--red); }
.sec-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.sec-title.small { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section.soft .bib:hover { background: var(--bg); }
.sec-intro { max-width: 44rem; margin-top: 0.9rem; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more .ico { transition: transform 0.2s; }
.more:hover .ico { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; padding: 0.95rem 1.7rem; border-radius: 4px; border: 2px solid var(--blue); background: var(--blue); color: var(--on-dark); text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: var(--on-dark); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: var(--on-dark); border-color: var(--blue); }
.btn.light { background: var(--on-dark); border-color: var(--on-dark); color: var(--blue); }
.btn.light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--on-dark); }
.btn.outline-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--blue); }
.btn.small { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.collage { position: relative; padding: 0 2.5rem 3rem 0; }
.collage::before { content: ""; position: absolute; left: -1.1rem; top: -1.1rem; width: 55%; height: 55%; border: 3px solid var(--grey); border-radius: var(--radius); }
.collage .main { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage .second { position: absolute; right: 0; bottom: 0; width: 48%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.collage .since { position: absolute; left: 1.25rem; bottom: 1rem; padding: 0.9rem 1.2rem; background: var(--blue); color: var(--on-dark); border-radius: var(--radius); line-height: 1.15; box-shadow: var(--shadow); }
.collage .since span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.collage .since b { display: block; font-size: 1.35rem; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.about .lead { color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.6; margin: 1rem 0 1.1rem; }
.about .body { display: grid; gap: 0.9rem; }
.about .actions { margin-top: 1.75rem; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .collage { max-width: 30rem; } }

/* ---------- Practice area cards ---------- */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.area-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; color: var(--on-dark); text-decoration: none; box-shadow: 0 10px 26px -18px rgba(16, 36, 79, 0.6); isolation: isolate; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 48, 107, 0.25) 0%, rgba(11, 26, 59, 0.55) 45%, rgba(11, 26, 59, 0.94) 100%); transition: background 0.3s; }
.area-card .body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.35rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.area-card .chip .ico { width: 1.45rem; height: 1.45rem; }
.area-card .go .ico { width: 1.2rem; height: 1.2rem; }
.area-card .chip { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: 0.8rem; border-radius: 50%; background: var(--blue-bright); color: var(--on-dark); }
.area-card h3 { color: var(--on-dark); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.area-card .go { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.area-card:hover { color: var(--on-dark); }
.area-card:hover img { transform: scale(1.08); }
.area-card:hover::after { background: linear-gradient(180deg, rgba(31, 56, 100, 0.45) 0%, rgba(22, 48, 107, 0.7) 45%, rgba(11, 26, 59, 0.95) 100%); }
.area-card:hover .go { background: var(--on-dark); border-color: var(--on-dark); color: var(--blue); transform: translateX(4px); }
.area-grid.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.area-grid.n5 > li { grid-column: span 2; }
.area-grid.n5 > li:nth-child(-n+2) { grid-column: span 3; }
.area-grid.n5 > li:nth-child(-n+2) .area-card { aspect-ratio: 16 / 8; }
.area-grid.n5 > li:nth-child(-n+2) h3 { font-size: 1.3rem; }
@media (max-width: 900px) {
  .area-grid, .area-grid.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid.n5 > li, .area-grid.n5 > li:nth-child(-n+2) { grid-column: span 1; }
  .area-grid.n5 > li:first-child { grid-column: span 2; }
  .area-grid.n5 > li:nth-child(2) .area-card { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .area-grid, .area-grid.n5 { grid-template-columns: minmax(0, 1fr); } .area-grid.n5 > li:first-child { grid-column: span 1; } .area-card, .area-grid.n5 > li:nth-child(-n+2) .area-card { aspect-ratio: 16 / 9; } }

/* ---------- Founder band ---------- */
.band { position: relative; color: var(--on-dark); background: var(--navy); overflow: hidden; isolation: isolate; }
.band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 26, 59, 0.96) 0%, rgba(22, 48, 107, 0.9) 55%, rgba(31, 56, 100, 0.78) 100%); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.band .sub { color: var(--sky); }
.band .sub::before { background: var(--red); }
.band h2 { color: var(--on-dark); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band p { margin-top: 1.1rem; color: rgba(255, 255, 255, 0.88); max-width: 36rem; }
.band .actions { margin-top: 1.9rem; }
.tab-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.tab-tiles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.9rem 0.75rem; height: 100%; min-height: 7.5rem; padding: 1.2rem 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(4px); color: var(--on-dark); text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.tab-tiles a > .ico:first-child { grid-column: 1 / -1; align-self: start; width: 2rem; height: 2rem; color: var(--sky); stroke-width: 1.5; transition: color 0.25s; }
.tab-tiles span { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.tab-tiles a > .ico:last-child { transition: transform 0.25s; }
.tab-tiles a:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--blue); transform: translateY(-4px); }
.tab-tiles a:hover > .ico:first-child { color: var(--blue-bright); }
.tab-tiles a:hover > .ico:last-child { transform: translateX(4px); }
@media (max-width: 420px) { .tab-tiles { grid-template-columns: minmax(0, 1fr); } .tab-tiles a { min-height: 0; } }
.pills { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--on-dark); font-size: 0.82rem; font-weight: 500; text-decoration: none; }
.pills a:hover { background: var(--on-dark); color: var(--blue); }
.pills.on-light a { border-color: var(--line); color: var(--blue); background: var(--bg); }
.pills.on-light a:hover { background: var(--blue); color: var(--on-dark); border-color: var(--blue); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Publication cards ---------- */
.pub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.pub-card { display: flex; flex-direction: column; height: 100%; background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -22px rgba(16, 36, 79, 0.55); border: 1px solid var(--line); transition: transform 0.3s, box-shadow 0.3s; }
.pub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pub-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pub-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pub-card:hover .thumb img { transform: scale(1.06); }
.pub-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 56, 100, 0.15), rgba(11, 26, 59, 0.55)); }
.tag { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: 0.25rem 0.7rem; border-radius: 3px; background: var(--blue-bright); color: var(--on-dark); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pub-card .body { display: flex; flex-direction: column; gap: 0.7rem; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; color: var(--muted); font-size: 0.82rem; }
.meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta .ico { width: 1em; height: 1em; color: var(--blue-bright); }
.pub-card h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; }
.pub-card h3 a { color: var(--ink); text-decoration: none; }
.pub-card h3 a:hover { color: var(--blue); }
.pub-card .more { margin-top: auto; font-size: 0.9rem; }
@media (max-width: 900px) { .pub-grid { grid-template-columns: minmax(0, 1fr); max-width: 34rem; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact .panel { padding: clamp(1.75rem, 4vw, 3rem); background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%); color: var(--on-dark); }
.contact .panel h2, .contact .panel h3 { color: var(--on-dark); font-size: 1.6rem; margin-bottom: 0.6rem; }
.contact .panel > p { color: rgba(255, 255, 255, 0.88); margin-bottom: 1.6rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .badge { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--on-dark); }
.contact-list b { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.contact-list span, .contact-list a { color: var(--on-dark); font-size: 1.05rem; font-weight: 500; text-decoration: none; line-height: 1.5; }
.contact-list a:hover { text-decoration: underline; }
.contact .place { position: relative; min-height: 20rem; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1rem; padding: clamp(1.75rem, 4vw, 3rem); color: var(--on-dark); }
.contact .place img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact .place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 26, 59, 0.15) 0%, rgba(11, 26, 59, 0.88) 100%); }
.contact .place b { font-size: 1.7rem; line-height: 1.2; }
.contact .place span { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner page banner ---------- */
.banner { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy); overflow: hidden; border-bottom: 2px solid var(--red); }
.banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 26, 59, 0.93) 0%, rgba(22, 48, 107, 0.8) 50%, rgba(31, 56, 100, 0.45) 100%); }
.banner .wrap { padding-block: clamp(3rem, 7vw, 5.25rem); }
.banner h1 { color: var(--on-dark); font-size: clamp(1.8rem, 4vw, 2.9rem); max-width: 56rem; }
.banner .lede { margin-top: 0.9rem; max-width: 46rem; color: rgba(255, 255, 255, 0.88); }
.banner .lede i { color: var(--sky); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin-bottom: 0.9rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .banner > img { animation: kenburns 12s ease-out both; } }

/* ---------- Inner layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 1.05rem; max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 0.6rem; }
.prose h3 { font-size: 1.15rem; margin-top: 0.4rem; }
.prose .figure { margin: 0 0 0.75rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 8; }
.prose .figure img { width: 100%; height: 100%; object-fit: cover; }
.side-card { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.1rem; }
.side-card h2 { font-size: 1.15rem; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 1rem; background: var(--bg); border-radius: 4px; color: var(--ink); font-size: 0.93rem; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s, padding 0.2s; }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--blue); color: var(--on-dark); padding-left: 1.3rem; }
.side-nav .ico { width: 1em; height: 1em; }
.facts { margin: 0; display: grid; gap: 1.1rem; }
.facts dt { display: flex; align-items: center; gap: 0.5rem; color: var(--blue); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.facts dd { margin: 0; color: var(--ink); }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li + li { margin-top: 0.2rem; }
.select-all { user-select: all; }
.label { color: var(--blue); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Team ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.6rem; }
.person { height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person .top { position: relative; height: 7.5rem; background: linear-gradient(120deg, var(--navy), var(--blue-bright)); }
.avatar { position: absolute; left: 50%; bottom: -2.75rem; transform: translateX(-50%); display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--bg); color: var(--blue); border: 4px solid var(--bg); box-shadow: var(--shadow); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; }
.person .body { padding: 3.6rem 1.25rem 1.6rem; }
.person h2 { font-size: 1.12rem; font-weight: 600; }
.person h2 a { color: var(--ink); text-decoration: none; }
.person h2 a:hover { color: var(--blue); }
.person .role { margin-top: 0.3rem; color: var(--blue); font-size: 0.9rem; font-weight: 500; }
.person .mail { margin-top: 0.6rem; font-size: 0.85rem; }

/* ---------- Publication list ---------- */
.bib-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font: inherit; font-size: 0.88rem; font-weight: 500; line-height: 1.2; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); color: var(--on-dark); border-color: var(--blue); }
.chip small { font-size: 0.8em; opacity: 0.75; margin-left: 0.35rem; font-variant-numeric: tabular-nums; }
.search { position: relative; flex: 1 1 15rem; max-width: 22rem; }
.search .ico { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-width: 0; font: inherit; font-size: 0.92rem; padding: 0.7rem 1rem 0.7rem 2.7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); }
.search input:focus-visible { outline-offset: 0; border-color: var(--blue); }
#bib { scroll-margin-top: 5.5rem; }
.bib-group + .bib-group { margin-top: 3rem; }
.bib-group > h2 { position: relative; display: flex; align-items: center; gap: 0.75rem; font-size: 1.45rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--blue); }
.bib-group > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.5rem; height: 2px; background: var(--red); }
.bib-group > h2 .ico { color: var(--blue-bright); width: 1.5rem; height: 1.5rem; }
.bib-group > h2 small { font-size: 0.8rem; font-weight: 600; color: var(--on-dark); background: var(--blue-bright); border-radius: 999px; padding: 0.1rem 0.6rem; font-variant-numeric: tabular-nums; }
.bib-sub { margin-top: 2.25rem; }
.bib-sub > h3 { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.12rem; font-weight: 600; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.bib-sub > h3 small { font-size: 0.78rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.group-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.92rem; max-width: 48rem; }
.bib-list { list-style: none; margin: 0; padding: 0; }
.bib { padding: 1.15rem 0.9rem; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; transition: background 0.2s, border-color 0.2s; }
.bib:hover { background: var(--soft); border-left-color: var(--blue-bright); }
.bib-line { color: var(--ink); line-height: 1.6; max-width: 60rem; }
.bib-line b { font-weight: 700; }
.bib-line a { color: var(--blue); font-weight: 600; text-decoration: none; }
.bib-line a:hover { text-decoration: underline; }
.bib-en { margin-top: 0.25rem; font-size: 0.88rem; color: var(--muted); max-width: 56rem; }
.bib-meta { margin-top: 0.45rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.85rem; font-weight: 500; }
.bib-meta .label { letter-spacing: 0.08em; }
.bib-empty { padding-block: 2rem; color: var(--muted); }
.cite-box { color: var(--ink); line-height: 1.65; }
.keywords { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.keywords li { font-size: 0.84rem; padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--soft); color: var(--blue); font-weight: 500; }
.stack { display: grid; gap: 0.7rem; justify-items: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: 0.93rem; }
.site-footer .wrap { padding-block: 3.5rem 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem 3rem; }
.site-footer .logo img { height: 2.7rem; }
.site-footer .blurb { margin-top: 1.1rem; max-width: 24rem; line-height: 1.7; }
.site-footer h2 { color: var(--on-dark); font-size: 1.05rem; font-weight: 600; margin-bottom: 1.1rem; padding-bottom: 0.7rem; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.5rem; height: 2px; background: var(--red); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--sky); }
.foot-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.foot-contact .ico { margin-top: 0.25rem; color: var(--sky); }
.foot-base { background: var(--black); }
.foot-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.1rem; font-size: 0.84rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal pages and cookie preferences ---------- */
.prose ul.plain { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; }
.table-scroll th, .table-scroll td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll thead th { background: var(--soft); color: var(--ink); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.table-scroll tbody tr:last-child th, .table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.table-scroll code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; }
.linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color 0.2s; }
.site-footer .linklike { color: var(--on-dark-muted); }
.site-footer .linklike:hover { color: var(--sky); }
.consent { position: fixed; z-index: 60; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(44rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow-y: auto; display: grid; gap: 0.8rem; padding: 1.4rem 1.5rem 1.5rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); box-shadow: 0 24px 60px -18px rgba(11, 26, 59, 0.6); font-size: 0.92rem; line-height: 1.6; }
.consent h2 { font-size: 1.15rem; }
.consent h2:focus { outline: none; }
.consent-more { font-size: 0.86rem; color: var(--muted); }
.consent-prefs { display: grid; border: 1px solid var(--line); border-radius: 4px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; }
.consent-row + .consent-row { border-top: 1px solid var(--line); }
.consent-row > div { min-width: 0; }
.consent-row b { display: block; color: var(--ink); font-weight: 600; }
.consent-row span { display: block; font-size: 0.85rem; color: var(--muted); }
.consent-row .consent-on { flex: none; font-size: 0.78rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.consent-row input { flex: none; width: 1.3rem; height: 1.3rem; accent-color: var(--blue); cursor: pointer; }
label.consent-row { cursor: pointer; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.2rem; }
.consent-actions .btn { flex: 1 1 9.5rem; justify-content: center; }
.consent-actions .btn:hover { transform: none; }

/* ---------- Video pages ---------- */
.player { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.player-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--black); box-shadow: var(--shadow); }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Site search ---------- */
.search-panel { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: center; align-items: flex-start; padding: clamp(0.75rem, 6vh, 4.5rem) 1rem 1rem; background: rgba(11, 26, 59, 0.6); }
.search-box { width: min(46rem, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 0.8rem; padding: 1.25rem 1.4rem 1.4rem; background: var(--bg); border-top: 3px solid var(--red); border-radius: var(--radius); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.search-top h2 { font-size: 1.15rem; }
.search-close { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.search-close:hover { background: var(--blue); border-color: var(--blue); color: var(--on-dark); }
.search.wide { flex: none; max-width: none; }
.search.wide input { font-size: 1rem; padding-block: 0.85rem; }
.search-status { font-size: 0.85rem; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; border-top: 1px solid var(--line); }
.search-results:empty { border-top: 0; }
.search-results a { display: block; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus-visible { background: var(--soft); border-left-color: var(--red); outline: none; }
.search-results .k { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-bright); }
.search-results b { display: block; color: var(--ink); font-weight: 600; line-height: 1.4; }
.search-results small { display: block; margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.search-open-lock { overflow: hidden; }

/* ---------- Scroll reveal (starts from a visible state) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0.35; transform: translateY(1.75rem); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media print {
  .search-panel, .consent, .langbar, .navbar, .menu-btn, .site-footer, .bib-tools, .actions, .hero-ui { display: none; }
}
