/* ==========================================================
   Özgür Efe Eroğlu — "international atlas" theme
   Palette: Midnight Black #02070A · Electric Blue #0297DE · Cantaloupe Orange #FC734D
   ========================================================== */

:root {
  --black: #02070A;
  --blue: #0297DE;
  --orange: #FC734D;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #02070A;
  --bg-2: #07121A;
  --card: #0A161E;
  --card-2: #0E1C25;
  --line: rgba(2, 151, 222, .16);
  --line-2: rgba(255, 255, 255, .10);
  --text: #ECF2F5;
  --muted: #93A6B2;
  --dim: #5E7380;
  --blue-ink: #3FB3EF;
  --orange-ink: #FF8E6C;
  --land: rgba(2, 151, 222, .55);
  --grid: rgba(2, 151, 222, .10);
  --paper: #0D1A22;
  --paper-ink: #ECF2F5;
  --shadow: 0 30px 60px -36px rgba(0,0,0,.9);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F4F0;
  --bg-2: #ECEAE3;
  --card: #FFFFFF;
  --card-2: #F7F6F2;
  --line: rgba(2, 120, 180, .18);
  --line-2: rgba(2, 7, 10, .10);
  --text: #02070A;
  --muted: #4E5D66;
  --dim: #85929A;
  --blue-ink: #0175AE;
  --orange-ink: #CF4C27;
  --land: rgba(2, 120, 180, .45);
  --grid: rgba(2, 7, 10, .07);
  --paper: #FFFDF8;
  --paper-ink: #02070A;
  --shadow: 0 24px 50px -32px rgba(2, 30, 50, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--orange-ink); }
strong { font-weight: 700; color: var(--text); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--primary { background: var(--orange); color: var(--black); box-shadow: 0 12px 30px -14px var(--orange); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); background: var(--card); }
.btn--ghost:hover { border-color: var(--blue); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__seal {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-family: var(--f-serif); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: var(--orange-ink); border: 1.5px solid var(--orange); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px color-mix(in srgb, var(--orange) 50%, transparent);
}
.brand__name { font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav__links { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.nav__links a { padding: 8px 13px; border-radius: 999px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.lang button {
  padding: 5px 11px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--dim);
  transition: background-color .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.theme {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--card);
}
.theme svg { grid-area: 1 / 1; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: opacity .25s, transform .4s var(--ease); }
.theme .i-moon { fill: currentColor; stroke: none; }
:root[data-theme="dark"] .theme .i-sun, :root[data-theme="light"] .theme .i-moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme { color: var(--blue-ink); }
:root[data-theme="light"] .theme { color: var(--orange-ink); }
.menu { display: none; position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; }
.menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu span:first-child { top: 14px; } .menu span:last-child { top: 21px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.clocks { overflow: hidden; border-top: 1px solid var(--line-2); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clocks__track { display: flex; width: max-content; animation: drift 60s linear infinite; }
.clock { display: inline-flex; align-items: center; gap: 10px; padding: 7px 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--dim); white-space: nowrap; }
.clock b { color: var(--muted); font-weight: 600; }
.clock time { color: var(--text); font-variant-numeric: tabular-nums; }
.clock--home b { color: var(--orange-ink); }
.clock i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.clock--home i { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 90px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); }
.hero__title { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(3.2rem, 7.6vw, 6.4rem); line-height: .95; letter-spacing: -.035em; }
.hero__title em { font-weight: 400; letter-spacing: -.02em; }
.hero__lead { margin: 26px 0 0; max-width: 44ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.map { margin: 0; }
.map__frame {
  position: relative; border-radius: 22px; padding: clamp(10px, 2vw, 20px); overflow: hidden;
  background: radial-gradient(ellipse at 55% 45%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__grid path { stroke: var(--grid); stroke-width: 1; fill: none; stroke-dasharray: 2 5; }
.map__land { fill: var(--land); transition: fill .35s; }
.route { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; opacity: .9; }
.route--base { stroke: color-mix(in srgb, var(--orange) 35%, transparent); stroke-dasharray: 3 5; }
.route--flow { stroke-dasharray: 8 100; stroke-dashoffset: 108; animation: fly var(--d, 4s) linear infinite; animation-delay: var(--o, 0s); filter: drop-shadow(0 0 4px rgba(252,115,77,.8)); }
@keyframes fly { to { stroke-dashoffset: 0; } }
.city circle { fill: var(--blue); }
.city .pulse { fill: none; stroke: var(--blue); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; animation-delay: var(--o, 0s); }
.city text { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; fill: var(--text); paint-order: stroke; stroke: var(--bg-2); stroke-width: 3px; }
.city--hub circle { fill: var(--orange); }
.city--hub .pulse { stroke: var(--orange); }
.city--hub text { fill: var(--orange-ink); font-size: 13px; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
.map__cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.map__hub { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-ink); }
.map__hub i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(20px, 4vw, 40px) 0 0; border-block: 1px solid var(--line-2); }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 22px 20px; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }
.stat dt { font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(84px, 12vw, 150px); scroll-margin-top: 90px; }
.head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.kicker span:first-child { color: var(--orange-ink); }
.kicker span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--orange); }
.kicker--center { justify-content: center; }
.h2 { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; }
.head__sub { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile__text p { margin: 0 0 18px; color: var(--muted); font-size: 1.1rem; }
.focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.focus span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); color: var(--blue-ink); background: color-mix(in srgb, var(--blue) 8%, transparent); }

.passport {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--paper); color: var(--paper-ink);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--blue) 5%, transparent) 14px 15px);
}
.passport__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--blue); color: #fff; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.passport__top svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.passport__body { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 22px 20px 10px; }
.passport__photo {
  display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 8px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 30%, var(--paper)), color-mix(in srgb, var(--orange) 30%, var(--paper)));
  font-family: var(--f-serif); font-size: 30px; font-weight: 600; color: var(--paper-ink); border: 1px solid var(--line-2);
}
.passport__fields { margin: 0; display: grid; gap: 10px; }
.passport__fields dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.passport__fields dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.35; }
.passport__mrz { margin: 8px 0 0; padding: 14px 20px 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; line-height: 1.6; color: var(--muted); border-top: 1px dashed var(--line-2); overflow: hidden; white-space: nowrap; }

/* ---------- Stamps ---------- */
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.stamp {
  --c: var(--blue);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 1; padding: 22px 12px; border-radius: 50%; color: var(--c);
  border: 3px solid var(--c); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--c);
  transform: rotate(var(--r)); transition: transform .4s var(--ease);
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 7%, transparent), transparent 70%);
}
.stamp:hover { transform: rotate(0deg) scale(1.04); }
.js .stamp.reveal { transform: rotate(var(--r)) scale(1.15); }
.js .stamp.reveal.is-in { transform: rotate(var(--r)) scale(1); }
.js .stamp.reveal.is-in:hover { transform: rotate(0deg) scale(1.04); }
.stamp--orange { --c: var(--orange); }
.stamp strong { color: inherit; font-family: var(--f-serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.stamp__ring { font-family: var(--f-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; max-width: 90%; }
.stamp__label { margin-top: 6px; font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--text); max-width: 92%; }

.gained { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: clamp(34px, 5vw, 56px); padding: 20px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); }
.gained__title { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--orange-ink); }
.gained ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.gained li { display: flex; align-items: baseline; gap: 8px; font-weight: 700; }
.gained b { font-family: var(--f-mono); font-size: 11px; color: var(--blue-ink); font-weight: 600; }

/* ---------- Boarding passes ---------- */
.passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 128px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s; }
.pass:hover { transform: translateY(-4px); border-color: var(--line); }
.pass__main { padding: 24px 24px 26px; }
.pass__route { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pass__code { font-family: var(--f-mono); font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.pass__code--to { color: var(--orange-ink); }
.pass__route svg { width: 64px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4 4; }
.pass__title { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.02em; }
.pass__role { margin: 4px 0 14px; color: var(--blue-ink); font-weight: 600; font-size: 14.5px; }
.pass__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pass__list li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.pass__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--orange); }
.pass__stub {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 18px;
  border-left: 2px dashed var(--line-2); background: color-mix(in srgb, var(--blue) 5%, transparent); border-radius: 0 18px 18px 0;
}
.pass__stub::before, .pass__stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.pass__stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.pass__stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.pass__stub p { margin: 0; display: flex; flex-direction: column; }
.pass__stub span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pass__stub b { font-size: 14px; }
.barcode { margin-top: auto; height: 46px; width: 100%; opacity: .75;
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 12px); }

/* ---------- Languages ---------- */
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.visa { position: relative; padding: 26px 24px 24px; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); }
.visa::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 2px dashed var(--line); }
.visa__code { position: absolute; right: 22px; top: 18px; margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 3rem; line-height: 1; color: color-mix(in srgb, var(--blue) 35%, transparent); }
.visa h3 { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; }
.visa__lvl { margin: 4px 0 20px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--orange-ink); }
.cefr { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; counter-reset: lvl; }
.cefr i {
  font-style: normal; text-align: center; padding: 7px 0 0; font-family: var(--f-mono); font-size: 10.5px; color: var(--dim);
  border-top: 5px solid var(--line-2); border-radius: 2px; transition: border-color .6s var(--ease), color .6s;
}
.visa.is-in .cefr i:nth-child(1) { border-color: var(--blue); color: var(--text); }
.visa.is-in[style*="--lvl:2"] .cefr i:nth-child(-n + 2),
.visa.is-in[style*="--lvl:5"] .cefr i:nth-child(-n + 5),
.visa.is-in[style*="--lvl:6"] .cefr i:nth-child(-n + 6) { border-color: var(--blue); color: var(--text); }
.no-js .cefr i { border-color: var(--blue); }
.visa__hello { margin: 22px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--muted); }

/* ---------- Education ---------- */
.edu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.edu__col { display: grid; gap: 16px; align-content: start; }
.school { position: relative; padding: 24px 24px 24px 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); }
.school::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.school__years { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--blue-ink); }
.school h3 { margin: 6px 0 4px; font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; }
.school p { margin: 0; color: var(--muted); }
.mini-title { margin: 6px 0 2px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.clubs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.clubs li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); font-weight: 600; }
.clubs li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); background: var(--card); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 64px); border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 65%), var(--card); }
.contact__globe { position: absolute; right: -60px; bottom: -70px; width: 300px; height: 300px; fill: none; stroke: var(--line); stroke-width: 1.2; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact__title { position: relative; margin: 0 auto; max-width: 16ch; font-family: var(--f-serif); font-weight: 600; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.contact__lead { position: relative; margin: 22px auto 0; max-width: 50ch; color: var(--muted); font-size: 1.08rem; }
.contact__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 48px 40px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile { grid-template-columns: 1fr; }
  .passport { max-width: 520px; }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line-2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px dashed var(--line-2); font-size: 16px; background: none !important; }
  .passes, .langs, .edu { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__name { display: none; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .stamp__ring { display: none; }
  .stamp__label { font-size: 12px; }
  .pass { grid-template-columns: 1fr; }
  .pass__stub { flex-direction: row; align-items: center; border-left: 0; border-top: 2px dashed var(--line-2); border-radius: 0 0 18px 18px; padding: 16px 20px; }
  .pass__stub::before, .pass__stub::after { display: none; }
  .barcode { margin: 0 0 0 auto; width: 90px; height: 34px; }
  .city:not(.city--hub) text { display: none; }
  .city--hub text { font-size: 17px; }
  .contact__actions .btn { width: 100%; justify-content: center; }
  .footer { justify-content: center; text-align: center; }
  .passport__body { grid-template-columns: 76px 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .route--flow { display: none; }
}
