/* ==========================================================================
   Doing Business in Türkiye — Level International
   Design tokens → base → layout → components → pages
   ========================================================================== */

:root {
  --navy-950: #061428;
  --navy-900: #0A1E3A;
  --navy-800: #0F2A4D;
  --navy-700: #183A66;
  --navy-100: #E8EDF4;
  --gold: #B8955A;
  --gold-600: #9C7B43;
  --gold-300: #D8C29A;
  --gold-50: #F7F1E6;
  --ink: #16202E;
  --body: #36414F;
  --muted: #687384;
  --line: #E3E0D8;
  --line-soft: #EEECE6;
  --bg: #FFFFFF;
  --bg-soft: #F7F5F0;
  --red: #E30A17;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(10, 30, 58, .06), 0 8px 24px rgba(10, 30, 58, .06);
  --shadow-lg: 0 20px 50px rgba(6, 20, 40, .18);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 16px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-950); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #C9D3E1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 600 .75rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-300); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 720px; }
.section-head p { max-width: 620px; margin: 14px 0 0; color: var(--muted); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--body); }

/* ---------- Buttons & links ---------- */
.btn {
  white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  font: 600 .95rem/1.2 var(--font-sans); text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-950); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy-800); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--gold-300); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #9FB0C6; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #C9D3E1; text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.lang span { padding: 2px 8px; font-weight: 600; letter-spacing: .06em; }
.lang .is-active { background: var(--gold); color: var(--navy-950); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 1.2rem/1.1 var(--font-display); letter-spacing: .02em; color: #fff; }
.brand__by { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-top: 4px; }
.brand:hover .brand__name { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 10px 10px; color: #DCE3EE; text-decoration: none;
  font-size: .9rem; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 3px;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: #fff; }
.nav__link.is-active { color: var(--gold-300); }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s; opacity: .7; }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; list-style: none; margin: 0;
}
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.dropdown a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-size: .9rem; }
.dropdown a small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy-700); }
.dropdown--mega { width: 640px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; padding: 18px; left: 50%; transform: translate(-50%, 6px); }
.dropdown--mega h4 { font: 600 .7rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 8px 12px 6px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover > .dropdown--mega, .nav__item:focus-within > .dropdown--mega, .nav__item.is-open > .dropdown--mega { transform: translate(-50%, 0); }
.nav__item:hover .chev, .nav__item.is-open .chev { transform: rotate(180deg); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; width: 44px; height: 44px; border-radius: 4px; cursor: pointer; }
.nav-toggle svg { margin: auto; width: 22px; height: 22px; }

@media (max-width: 1360px) {
  .nav-toggle { display: flex; align-items: center; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: var(--navy-900); overflow-y: auto;
    padding: 12px var(--gutter) 40px; display: none; margin: 0;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .dropdown, .dropdown--mega {
    position: static; width: auto; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; display: none; padding: 0 0 12px; grid-template-columns: 1fr;
  }
  .nav__item:hover > .dropdown--mega, .nav__item:focus-within > .dropdown--mega { transform: none; }
  .nav__item.is-open > .dropdown { display: block; }
  .dropdown a { color: #C9D3E1; padding: 10px 12px; }
  .dropdown a small { color: #8193AB; }
  .dropdown a:hover { background: rgba(255,255,255,.05); color: #fff; }
  .dropdown--mega h4 { color: var(--gold-300); margin: 14px 12px 4px; }
  .nav__cta { margin: 24px 0 0; border: 0 !important; }
  .nav__cta .btn { width: 100%; }
}
@media (max-width: 720px) {
  .topbar__contact a:not(:first-child), .topbar__corp { display: none; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #C9D3E1; background: radial-gradient(1200px 600px at 75% 10%, #143561 0%, transparent 60%), linear-gradient(180deg, var(--navy-900) 0%, #081A33 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(220px, 26vw, 360px); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 900px; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero__sub { font: 500 clamp(1.1rem, 2vw, 1.45rem)/1.5 var(--font-display); font-style: italic; color: #E4D5B7; max-width: 640px; margin-bottom: 36px; letter-spacing: .01em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: clamp(240px, 34vw, 470px); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, rgba(6,20,40,.6)); z-index: 1; }
.hero__badge {
  position: absolute; right: var(--gutter); top: clamp(56px, 9vw, 120px); z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border: 1px solid rgba(216,194,154,.3); border-radius: 999px; background: rgba(6,20,40,.4); font-size: .8rem; color: #E4D5B7;
}
.hero__badge img { width: 34px; height: auto; border-radius: 2px; }
@media (max-width: 900px) { .hero__badge { position: static; display: inline-flex; margin-bottom: 26px; } }

/* ---------- Who we are ---------- */
.who { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.who__statement { font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.3 var(--font-display); color: var(--ink); margin: 0; }
.who__statement strong { font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
.who__lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.who__lines div { background: #fff; padding: 18px 20px; font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; gap: 12px; align-items: center; }
.who__lines div::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%;
}
.card:hover { border-color: var(--gold-300); box-shadow: var(--shadow); }
.card__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .75rem; color: var(--muted); margin-bottom: 14px; letter-spacing: .02em; }
.tag { display: inline-block; font: 600 .68rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.tag--pill { padding: 6px 10px; border-radius: 999px; background: var(--gold-50); }
.tag--new { color: #fff; background: var(--navy-800); padding: 5px 8px; border-radius: 3px; letter-spacing: .1em; }
.card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 12px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--navy-700); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line-soft); }
.card__foot .arrow { color: var(--gold-600); font-size: 1.1rem; transition: transform .2s; }
.card:hover .card__foot .arrow { transform: translateX(4px); }

.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.news-lead { background: var(--navy-900); color: #C9D3E1; border: 0; padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.news-lead::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border: 1px solid rgba(216,194,154,.25); border-radius: 50%; }
.news-lead h3 { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.2 var(--font-display); }
.news-lead h3 a { color: #fff; }
.news-lead h3 a:hover { color: var(--gold-300); }
.news-lead p { color: #B5C2D4; -webkit-line-clamp: 5; font-size: 1rem; }
.news-lead .card__meta { color: #9FB0C6; }
.news-lead .card__foot { border-color: rgba(255,255,255,.12); color: #9FB0C6; }
.news-lead .tag { color: var(--gold-300); }
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { position: relative; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.news-item h3 { font-size: 1.05rem; margin: 6px 0 0; line-height: 1.4; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a::after { content: ""; position: absolute; inset: 0; }
.news-item:hover h3 a { color: var(--navy-700); }
.news-item .arrow { color: var(--gold-600); padding-top: 22px; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

/* Rates strip */
.rates { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.rate { padding: 32px 24px 8px 0; border-right: 1px solid rgba(255,255,255,.1); margin-right: 24px; }
.rate:last-child { border-right: 0; }
.rate__value { font: 600 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-display); color: #fff; }
.rate__value span { color: var(--gold-300); font-size: .6em; }
.rate__label { margin-top: 12px; font-size: .9rem; color: #B5C2D4; }
@media (max-width: 900px) { .rates { grid-template-columns: repeat(2, 1fr); } .rate:nth-child(2) { border-right: 0; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 32px 28px 0 0; }
.principle__num { font: 600 .8rem/1 var(--font-sans); color: var(--gold-600); letter-spacing: .1em; margin-bottom: 18px; }
.principle h3 { font-size: 1.05rem; }
.principle p { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Guide topic tiles */
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.topic { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.topic__label { font: 600 1.5rem/1.1 var(--font-display); color: var(--ink); }
.topic p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.topic ul { list-style: none; padding: 0; margin: 0 0 0; display: grid; gap: 8px; }
.topic a { font-size: .9rem; color: var(--navy-700); text-decoration: none; font-weight: 500; }
.topic a:hover { color: var(--gold-600); text-decoration: underline; }
@media (max-width: 1100px) { .topics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .topics { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #C9D3E1; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(216,194,154,.22); box-shadow: 0 0 0 60px rgba(216,194,154,.04); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 620px; color: #B5C2D4; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Inner page hero & breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-900), #0B2244); color: #B5C2D4; padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 10vw, 132px); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: url("../img/istanbul-skyline.svg") center bottom / auto 200px repeat-x; opacity: .12; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 920px; margin-bottom: 18px; }
.page-hero .lead { color: #C9D3E1; max-width: 780px; margin: 0; }
.breadcrumbs { font-size: .8rem; margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; gap: 6px; color: #8193AB; }
.breadcrumbs li + li::before { content: "/"; color: #4B6080; }
.breadcrumbs a { color: #B5C2D4; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs [aria-current] { color: #8193AB; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .85rem; color: #9FB0C6; }
.page-hero__meta strong { color: #E4D5B7; font-weight: 500; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.answer {
  position: relative; background: var(--gold-50); border-left: 3px solid var(--gold); padding: 26px 30px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.08rem; line-height: 1.7; color: var(--ink); margin-bottom: 44px;
}
.answer__label { display: block; font: 600 .72rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.prose { font-size: 1.04rem; line-height: 1.75; color: var(--body); max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 .7em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .6em; }
.prose ul, .prose ol { margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold-600); font-weight: 600; }
.prose em { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1.6em 0 2em; border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; min-width: 460px; }
.prose table.wide { min-width: 640px; }
.prose th, .table th { text-align: left; background: var(--navy-900); color: #fff; font-weight: 600; padding: 14px 16px; font-size: .85rem; letter-spacing: .01em; vertical-align: bottom; }
.prose th.blank { background: var(--navy-900); }
.prose td, .table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #FBFAF7; }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding: 0 !important; margin-bottom: 10px; }
.checklist li p { margin: 0; }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.checklist input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--navy-800); }
.checklist label:has(input:checked) { background: var(--bg-soft); color: var(--muted); }
.todo {
  border: 1px dashed #C58B2B !important; background: #FFF8EB; color: #7A5212 !important; padding: 12px 16px; border-radius: 8px;
  font-size: .9rem; font-style: normal;
}
.todo::before { content: "To complete · "; font-weight: 700; letter-spacing: .02em; }
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 1.6rem/1 var(--font-sans); color: var(--gold-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--body); }
.faq-a p:last-child { margin: 0; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 14px; }
.toc__title { font: 600 .72rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 2px; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 0; font-size: .88rem; line-height: 1.4; color: var(--body); text-decoration: none; border-left: 0; }
.toc a::before { content: counter(toc); color: var(--gold-600); font-size: .75rem; font-weight: 600; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--navy-700); font-weight: 600; }
.aside-cta { background: var(--navy-900); color: #B5C2D4; border-radius: var(--radius-lg); padding: 26px; }
.aside-cta h3 { color: #fff; font: 600 1.4rem/1.2 var(--font-display); margin-bottom: 10px; }
.aside-cta p { font-size: .9rem; margin-bottom: 20px; }
.aside-cta .btn { width: 100%; }
.aside-contact { font-size: .85rem; color: var(--muted); padding: 0 4px; }
.aside-contact a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.authors { display: flex; gap: 16px; flex-wrap: wrap; margin: 48px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); display: grid; place-items: center; font: 600 1rem/1 var(--font-display); letter-spacing: .04em; flex-shrink: 0; }
.author__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.author__title { font-size: .82rem; color: var(--muted); }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 24px; }
.inline-cta { margin-top: 48px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.inline-cta h3 { margin: 0 0 6px; font: 600 1.45rem/1.2 var(--font-display); }
.inline-cta p { margin: 0; color: var(--muted); max-width: 520px; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; order: -1; }
  .aside .toc { display: none; }
  .aside-cta, .aside-contact { display: none; }
}

/* ---------- Listing / filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 500 .86rem/1 var(--font-sans); cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.search { position: relative; margin-left: auto; min-width: 260px; }
.search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px 0 42px; font: inherit; font-size: .9rem; }
.search svg { position: absolute; left: 15px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 720px) { .search { margin-left: 0; width: 100%; } }
.empty { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.timeline strong { display: block; font: 600 1.3rem/1.2 var(--font-display); color: var(--navy-800); margin-bottom: 2px; }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service__num { font: 600 .8rem/1 var(--font-sans); color: var(--gold-600); letter-spacing: .14em; margin-bottom: 16px; }
.service h2 { margin-bottom: 14px; }
.service__short { font-weight: 600; color: var(--ink); }
.service ul.check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.service ul.check li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line-soft); }
.service ul.check li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a { font-size: .85rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy-700); background: #fff; }
.related-links a:hover { border-color: var(--gold); color: var(--gold-600); }
.service-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.service-nav a { background: var(--navy-900); padding: 20px; color: #fff; text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.service-nav a span { color: var(--gold-300); }
.service-nav a:hover { background: var(--navy-800); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } .service-nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .service-nav { grid-template-columns: 1fr; } }

/* ---------- About / team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 26px 24px 22px; display: flex; flex-direction: column; align-self: start; }
.member__head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.member__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-300); background: var(--bg-soft); }
.member__name { font: 600 1.45rem/1.15 var(--font-display); color: var(--ink); margin: 0 0 4px; }
.member__title { color: var(--navy-800); font-weight: 600; font-size: .92rem; }
.member__cred { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.member__summary { color: var(--muted); font-size: .94rem; margin: 0 0 14px; }
.member__cv { border-top: 1px solid var(--line); padding-top: 12px; }
.member__cv summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy-800); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.member__cv summary::-webkit-details-marker { display: none; }
.member__cv summary::after { content: "+"; font-size: 1.2rem; color: var(--gold, #B08D57); }
.member__cv[open] summary::after { content: "−"; }
.member__cv p { font-size: .92rem; margin: 12px 0 0; }
.member__cv h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.member__cv .check { font-size: .9rem; margin-bottom: 14px; }
.team__more { margin-top: 28px; text-align: center; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

.office { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.office__info { padding: clamp(28px, 4vw, 44px); }
.office__info dl { margin: 0; display: grid; gap: 18px; }
.office__info dt { font: 600 .7rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.office__info dd { margin: 0; color: var(--ink); }
.office__info dd a { color: var(--ink); text-decoration: none; font-weight: 600; }
.office__map { min-height: 320px; background: var(--navy-100); position: relative; }
.office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #D6D2C8; border-radius: var(--radius); background: #fff;
  font: inherit; font-size: .95rem; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(24,58,102,.12); }
.field .hint { font-size: .78rem; color: var(--muted); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: start; font-size: .88rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-800); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-success { display: none; padding: 22px; border-radius: 8px; background: #EEF6F0; border: 1px solid #B9D9C2; color: #1D4D2B; margin-top: 18px; }
.form-success.is-visible { display: block; }
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-600); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8E9DB3; font-size: .9rem; padding-top: clamp(56px, 8vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font: 600 .75rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #B5C2D4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand p { margin: 18px 0; max-width: 340px; line-height: 1.6; }
.footer-slogan { font: italic 500 1.15rem/1.4 var(--font-display); color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom nav { display: flex; gap: 18px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.note { font-size: .85rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 48px 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .site-footer, .aside, .inline-cta { display: none; } .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; } }
.dropdown a strong { color: inherit; }
@media (max-width: 1360px) { .dropdown--mega > div[style] { border-color: rgba(255,255,255,.1) !important; } }
.field select { appearance: none; -webkit-appearance: none; height: 48px; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23687384' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input { height: 48px; }

/* ---------- Video hero (home) ---------- */
.hero--video { min-height: clamp(600px, 88vh, 920px); display: flex; align-items: center; background: #081830; }
.hero--video::after { display: none; }
.hero--video .hero__media { position: absolute; inset: 0; z-index: 0; }
.hero--video .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.hero--video::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(270deg, rgba(6,20,40,.9) 0%, rgba(6,20,40,.72) 34%, rgba(6,20,40,.25) 58%, rgba(6,20,40,0) 72%),
    linear-gradient(0deg, rgba(6,20,40,.55) 0%, rgba(6,20,40,0) 35%);
}
.hero--video .hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 10vw, 120px); display: flex; justify-content: flex-end; }
.hero--video .hero__content { max-width: 600px; }
.hero--video h1 { font-size: clamp(2.4rem, 4.8vw, 4.3rem); line-height: 1.04; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero--video .hero__sub { color: #F1E3C7; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero__pause { position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6,20,40,.4); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero__pause svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .hero--video { align-items: flex-end; min-height: 640px; }
  .hero--video .hero__media video { object-position: 30% 50%; }
  .hero--video::before { background: linear-gradient(0deg, rgba(6,20,40,.94) 0%, rgba(6,20,40,.7) 42%, rgba(6,20,40,0) 72%); }
  .hero--video .hero__inner { justify-content: flex-start; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hero--video .hero__media video { display: none; } .hero--video .hero__media { background: url("../img/bosphorus-poster.jpg") 50% 45% / cover; } }

/* ---------- Checklists (fix: text in one column) ---------- */
.checklist .chk-text { display: block; min-width: 0; }
.checklist .chk-text em { color: var(--muted); }

/* ---------- Compliance calendar at a glance ---------- */
.glance { margin: 0 0 56px; }
.glance__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
.glance__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; gap: 16px; }
.glance__col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.glance__head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.glance__head span { font: 600 1.25rem/1.2 var(--font-display); color: var(--ink); }
.glance__head small { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.glance__row { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.glance__row:last-child { border-bottom: 0; }
.glance__row strong { display: block; font-size: .9rem; line-height: 1.35; }
.glance__row small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.glance__day { display: grid; place-items: center; height: 46px; border-radius: 8px; background: var(--navy-900); color: #fff; font: 600 1.35rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.glance__day--sm { font: 600 .78rem/1.15 var(--font-sans); text-align: center; padding: 4px; background: var(--gold-50); color: var(--navy-800); }
.glance__quarters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0 12px; }
.glance__q { border-radius: 8px; background: var(--navy-900); color: #fff; padding: 12px 8px; text-align: center; }
.glance__q span { display: block; font-size: .72rem; letter-spacing: .1em; color: var(--gold-300); margin-bottom: 6px; }
.glance__q strong { color: #fff; font: 600 1.05rem/1.1 var(--font-display); }
.glance__note { font-size: .84rem; color: var(--muted); margin: 0; }
.glance__foot { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 1180px) { .glance__grid { grid-template-columns: minmax(0, 1fr); } }

/* Elements hidden by script (e.g. filtered cards) must stay hidden even when a class sets display */
[hidden] { display: none !important; }

/* ---------- Publications ---------- */
.tag--lang { padding: 5px 8px; border-radius: 3px; background: var(--red); color: #fff; letter-spacing: .08em; }
.pub__date { font-size: .78rem; color: var(--muted); }
.pub h3 { font-size: 1.05rem; }
.brochure { margin-top: 64px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.brochure h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.brochure p { margin: 0; color: var(--muted); }

/* ---------- Publications: selected Level International posts ---------- */
.pub-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pub-group__title { font: 600 1.35rem/1.2 var(--font-display); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pub-list a { display: grid; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.pub-list a:hover { border-color: var(--gold-300); box-shadow: var(--shadow); }
.pub-list__title { font-weight: 600; color: var(--ink); line-height: 1.35; }
.pub-list__note { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.pub-list__src { font-size: .78rem; color: var(--gold-600); margin-top: 4px; }
@media (max-width: 1024px) { .pub-groups { grid-template-columns: minmax(0, 1fr); } }
.section--soft .brochure { background: #fff; }

/* ---------- Downloadable guide (landing + promos) ---------- */
.guide-hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 80% 30%, #1B3B6B 0%, transparent 60%), linear-gradient(180deg, var(--navy-900), #0B2244); color: #C9D3E1; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.guide-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.guide-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 10px; }
.guide-hero__sub { font: italic 500 clamp(1.2rem, 2vw, 1.55rem)/1.35 var(--font-display); color: #E4D5B7; margin-bottom: 14px; }
.guide-hero__topics { color: #9FB0C6; font-size: .95rem; margin-bottom: 26px; }
.guide-hero__meta { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.guide-hero__meta li { padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .8rem; color: #DCE3EE; }
.guide-hero .btn svg { width: 18px; height: 18px; }
.book { display: block; justify-self: center; width: min(360px, 78vw); perspective: 1600px; }
.book__cover { display: block; position: relative; border-radius: 3px 8px 8px 3px; overflow: hidden; transform: rotateY(-16deg) rotateX(4deg); transform-origin: left center; box-shadow: 30px 36px 60px rgba(0,0,0,.45), 6px 6px 0 rgba(255,255,255,.06); transition: transform .5s ease; background: #fff; }
.book__cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0)); z-index: 1; }
.book__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%); }
.book:hover .book__cover { transform: rotateY(-6deg) rotateX(2deg); }
.book img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .guide-hero__grid { grid-template-columns: minmax(0, 1fr); } .book { order: -1; width: min(260px, 70vw); } }

.inside { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.inside__quote { margin: 8px 0 28px; padding: 0 0 0 20px; border-left: 3px solid var(--gold); font: italic 500 1.25rem/1.5 var(--font-display); color: var(--ink); }
.inside__quote cite { display: block; margin-top: 10px; font: 500 .8rem/1 var(--font-sans); font-style: normal; color: var(--muted); letter-spacing: .04em; }
.toc-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.toc-part { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 18px 10px; background: #fff; }
.toc-part__head { font: 600 1.05rem/1.25 var(--font-display); color: var(--ink); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.toc-part__head span { display: block; font: 600 .68rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.toc-part ol { list-style: none; margin: 0; padding: 0; }
.toc-part a { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); text-decoration: none; color: var(--body); font-size: .92rem; line-height: 1.35; }
.toc-part li:last-child a { border-bottom: 0; }
.toc-part a:hover { color: var(--navy-700); }
.toc-part__no { color: var(--gold-600); font-weight: 600; font-variant-numeric: tabular-nums; }
.toc-part__p { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1024px) { .inside { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .toc-parts { grid-template-columns: minmax(0, 1fr); } }

.previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.preview { margin: 0; }
.preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); background: #fff; }
.preview figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .previews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.guide-promo { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; background: linear-gradient(120deg, var(--navy-900), #12305A); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); color: #C9D3E1; }
.guide-promo img { width: 140px; height: auto; border-radius: 2px 6px 6px 2px; box-shadow: 14px 18px 36px rgba(0,0,0,.4); transform: rotate(-3deg); background: #fff; }
.guide-promo h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.guide-promo p { margin: 0; max-width: 560px; }
.guide-promo .eyebrow { color: var(--gold-300); }
@media (max-width: 860px) { .guide-promo { grid-template-columns: minmax(0, 1fr); } .guide-promo img { width: 120px; } }

/* ---------- Firm catalogue (footer + publications) ---------- */
.catalogue { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; margin-top: 28px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.03); max-width: 380px; }
.catalogue__cover img { width: 64px; height: auto; border-radius: 2px; box-shadow: 6px 8px 18px rgba(0,0,0,.45); transition: transform .2s; }
.catalogue__cover:hover img { transform: translateY(-2px) rotate(-1deg); }
.catalogue__body { display: grid; gap: 4px; }
.catalogue__label { font: 600 .68rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.catalogue__title { color: #fff; font-size: .92rem; line-height: 1.35; }
.catalogue__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; }
.site-footer .catalogue__links a { color: var(--gold-300); }
.site-footer .catalogue__links a:hover { color: #fff; }
.brochure__cover { width: 96px; height: auto; border-radius: 2px; box-shadow: 10px 12px 26px rgba(0,0,0,.2); }
.brochure { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px); }
.brochure .cta-band__actions { justify-content: flex-end; }
@media (max-width: 1024px) { .brochure { grid-template-columns: auto 1fr; } .brochure .cta-band__actions { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 560px) { .brochure { grid-template-columns: minmax(0, 1fr); } }

/* Publications: jump links under the hero */
.pub-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: -36px; position: relative; z-index: 2; }
.pub-jump a { display: grid; gap: 4px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; transition: border-color .2s; }
.pub-jump a:hover { border-color: var(--gold); }
.pub-jump strong { font: 600 1.25rem/1.2 var(--font-display); color: var(--ink); }
.pub-jump span { font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .pub-jump { grid-template-columns: minmax(0, 1fr); } }
.pub-jump-wrap { background: var(--bg-soft); }

/* Level International publications inside the Publications grid */
.card--ext .card__foot .arrow { color: var(--gold-600); }
.card__src { color: var(--navy-700); font-weight: 500; }
/* Further reading box on article pages */
.further { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: #fff; }
.further__title { font: 600 1.15rem/1.3 var(--font-display); margin: 0 0 10px; }
.further ul { list-style: none; margin: 0; padding: 0; }
.further li + li { border-top: 1px solid var(--line-soft); }
.further a { display: grid; gap: 2px; padding: 10px 0; text-decoration: none; }
.further a span { color: var(--ink); font-weight: 500; line-height: 1.4; }
.further a:hover span { color: var(--navy-700); text-decoration: underline; }
.further small { color: var(--gold-600); font-size: .78rem; }

/* ---------- Salary calculator ---------- */
.calc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); background: #fff; box-shadow: var(--shadow); }
.calc__mode { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 24px; }
.calc__mode label { cursor: pointer; }
.calc__mode input { position: absolute; opacity: 0; pointer-events: none; }
.calc__mode span { display: block; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.calc__mode input:checked + span { background: var(--navy-900); color: #fff; }
.calc__mode input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.calc__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.calc__grid input#amount { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__options { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; }
.calc__check { display: inline-flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink); cursor: pointer; }
.calc__check input { width: 18px; height: 18px; accent-color: var(--navy-800); }
.calc__months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.calc__months .field input { min-height: 42px; padding: 8px 10px; font-variant-numeric: tabular-nums; }
.calc__months-hint { grid-column: 1 / -1; margin: 0; }
.calc__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.calc__error { margin: 0; color: #9B2C2C; font-weight: 500; font-size: .92rem; }
.calc__results { margin-top: 40px; }
.calc__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.sum { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; background: #fff; display: grid; gap: 8px; align-content: start; }
.sum__label { font-size: .82rem; color: var(--muted); }
.sum__value { font: 600 clamp(1.25rem, 1.9vw, 1.6rem)/1.1 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.sum__value--sm { font-size: .95rem; line-height: 1.6; font-weight: 500; white-space: normal; }
.sum--dark { background: var(--navy-900); border-color: var(--navy-900); }
.sum--dark .sum__label { color: var(--gold-300); }
.sum--dark .sum__value { color: #fff; }
.calc__table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 1100px; font-variant-numeric: tabular-nums; }
.calc__table th, .calc__table td { padding: 10px 12px; text-align: right; white-space: nowrap; border-top: 1px solid var(--line); }
.calc__table thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .78rem; vertical-align: bottom; border-top: 0; line-height: 1.3; }
.calc__table thead th small { font-weight: 400; color: var(--gold-300); }
.calc__table th[scope="row"], .calc__table thead th:first-child { text-align: left; }
.calc__table tbody th { font-weight: 600; color: var(--ink); }
.calc__table tbody tr:nth-child(even) td, .calc__table tbody tr:nth-child(even) th { background: #FBFAF7; }
.calc__table td.muted { color: var(--muted); }
.calc__table td.minus, .calc__table td.plus { color: #2F6B3F; }
.calc__table td.col-strong { font-weight: 600; color: var(--ink); }
.calc__table td.col-net { font-weight: 700; color: var(--navy-800); background: var(--gold-50) !important; }
.calc__table td.col-cost { font-weight: 600; }
.calc__table tfoot th, .calc__table tfoot td { font-weight: 700; color: var(--ink); background: var(--bg-soft); border-top: 2px solid var(--navy-900); }
.calc__table-wrap { margin-top: 0; }
.calc__cta { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.calc__cta h2 { font-size: 1.6rem; margin: 0 0 6px; }
.calc__cta p { margin: 0; color: var(--muted); max-width: 640px; }
.calc__method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.calc__steps { padding-left: 1.2em; }
.calc__steps li { margin-bottom: 10px; }
.calc__params { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; font-variant-numeric: tabular-nums; }
.calc__params th, .calc__params td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; }
.calc__params thead th { background: var(--navy-900); color: #fff; border-top: 0; }
.calc__params tbody th { font-weight: 500; color: var(--body); }
.calc__params td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.calc__method .table-wrap { margin: 0 0 16px; }
@media (max-width: 960px) { .calc__grid { grid-template-columns: minmax(0, 1fr); } .calc__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc__method { grid-template-columns: minmax(0, 1fr); } .calc__months { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .calc__summary { grid-template-columns: minmax(0, 1fr); } .calc__months { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc__mode span { padding: 10px 14px; } }

/* "Salary calculator" callout on payroll articles */
.tool-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: -20px 0 40px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tool-callout:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.tool-callout__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-900); color: var(--gold-300); display: grid; place-items: center; }
.tool-callout__icon svg { width: 22px; height: 22px; }
.tool-callout strong { display: block; color: var(--ink); }
.tool-callout small { color: var(--muted); font-size: .86rem; }
.tool-callout__go { font-weight: 600; color: var(--navy-700); white-space: nowrap; }
@media (max-width: 560px) { .tool-callout { grid-template-columns: auto 1fr; } .tool-callout__go { grid-column: 2; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
  background: var(--navy-950, #0A1E3A); color: #E6ECF4; border-radius: 14px; padding: 18px 20px; box-shadow: 0 18px 50px rgba(10,30,58,.35);
  display: flex; flex-direction: column; gap: 14px; font-size: .9rem; line-height: 1.5; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--gold-300, #D8C29A); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; min-height: 0; }
.btn--ghost-dark { background: transparent; color: #E6ECF4; border: 1px solid rgba(230,236,244,.4); }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }

/* ---------- Key facts (About) ---------- */
.prose .facts { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.prose .facts li { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.prose .facts li::before { display: none; }
.prose .facts strong { font: 600 1.6rem/1.1 var(--font-display); color: var(--navy-800); }
.prose .facts span { font-size: .85rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 700px) { .prose .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Network membership (Partners) ---------- */
.network { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.network__logo { width: 180px; height: 180px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 8px 28px rgba(10,30,58,.08); justify-self: center; }
.network h2 { margin-top: 6px; }
.network .lead { max-width: 760px; }
.network p { max-width: 760px; }
@media (max-width: 700px) { .network { grid-template-columns: 1fr; } .network__logo { width: 140px; height: 140px; } }
.guide-stack { display: grid; gap: 20px; }

/* ---------- Title band with photo (layout B: text on navy, photo on the right) ---------- */
.page-hero--photo { background: var(--navy-900); }
.page-hero--photo::after { display: none; }
.page-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: center / cover no-repeat;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10,30,58,.45) 20%, rgba(10,30,58,0) 48%); }
.page-hero--photo h1, .page-hero--photo .lead, .page-hero--photo .page-hero__meta, .page-hero--photo .service-nav { max-width: 52%; }
@media (max-width: 900px) {
  .page-hero__photo { width: 100%; clip-path: none; opacity: .35; }
  .page-hero__photo::after { background: linear-gradient(180deg, rgba(10,30,58,.15), var(--navy-900) 96%); }
  .page-hero--photo h1, .page-hero--photo .lead, .page-hero--photo .page-hero__meta, .page-hero--photo .service-nav { max-width: none; }
}

/* Layout A: full-width photo, navy fading in from the left */
.page-hero--full .page-hero__photo { width: 100%; clip-path: none; background-position: center 60%; }
.page-hero--full .page-hero__photo::after { background: linear-gradient(90deg, rgba(10,30,58,.95) 0%, rgba(10,30,58,.84) 38%, rgba(10,30,58,.35) 70%, rgba(10,30,58,.12) 100%); }
.page-hero--full h1, .page-hero--full .lead, .page-hero--full .page-hero__meta { max-width: 600px; }
@media (max-width: 900px) {
  .page-hero--full .page-hero__photo { opacity: .45; }
  .page-hero--full .page-hero__photo::after { background: linear-gradient(180deg, rgba(10,30,58,.2), var(--navy-900) 96%); }
  .page-hero--full h1, .page-hero--full .lead, .page-hero--full .page-hero__meta { max-width: none; }
}
.form-success.is-error { background: #FBEDEC; border-color: #E6B9B5; color: #7A2620; }
.calc__radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.calc__radios legend { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; width: 100%; }
.calc__results.is-stale { opacity: .45; }
.legal .legal-meta { color: var(--muted, #6b7280); font-size: .9rem; margin-bottom: 24px; }
