/* Direction F: Meridian. Deep space, serif headlines, teal accent, the globe does the storytelling. */
:root {
  --bg: #03050a;
  --fg: #eef1f5;
  --muted: #a6b0bf;
  --line: rgba(238, 241, 245, 0.14);
  --accent: #6fd6c9;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.8s ease; }
.bg-canvas.is-ready { opacity: 1; }
.no-3d body { background: radial-gradient(circle at 50% 120%, #1d3f6e, #03050a 60%); }

.nav { background: linear-gradient(to bottom, rgba(3, 5, 10, 0.75), transparent); }
.nav__brand { font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; }
.nav__brand b { font-weight: 500; color: var(--accent); }
.nav__links a { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; text-transform: none; }
.nav__cta { min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 600; opacity: 1 !important; }
.nav__toggle { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 13px; }

.pins { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; padding: 5px 10px 5px 22px; border-radius: 999px; background: rgba(3, 5, 10, 0.6); border: 1px solid rgba(111, 214, 201, 0.4); font: 500 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); opacity: 0; white-space: nowrap; }
.pin::before { content: ''; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.main { position: relative; z-index: 2; }
.ch { min-height: 120vh; display: flex; align-items: center; padding: 120px var(--pad); }
.ch__text { max-width: 470px; display: flex; flex-direction: column; gap: 20px; }
.ch--hero { min-height: 100vh; min-height: 100svh; align-items: flex-start; justify-content: center; text-align: center; padding-top: 18vh; }
.ch--hero .ch__text { max-width: 720px; align-items: center; }
.ch--right { justify-content: flex-end; }
.ch--left .ch__text, .ch--right .ch__text { padding: 30px; border-radius: 18px; background: rgba(3, 5, 10, 0.55); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ch--center { justify-content: center; text-align: center; min-height: 100vh; }
.ch--center .ch__text { align-items: center; max-width: 640px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.ch--hero .kicker::before, .ch--center .kicker::before { display: none; }
.serif-xl { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7.2vw, 112px); line-height: 0.98; letter-spacing: -0.01em; text-shadow: 0 2px 40px rgba(3, 5, 10, 0.8); }
.serif-l { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; text-shadow: 0 2px 40px rgba(3, 5, 10, 0.8); }
.lede { color: #c8d0dc; font-size: 16.5px; line-height: 1.6; text-shadow: 0 1px 18px rgba(3, 5, 10, 0.95); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(238, 241, 245, 0.35); text-decoration: none; font-size: 14px; font-weight: 600; background: rgba(3, 5, 10, 0.35); backdrop-filter: blur(6px); }
.btn:hover { border-color: var(--accent); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid .todo { color: #0f6f63; }
.row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.projects, .caps { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.projects li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.projects li > span { font: 500 11px/1.6 var(--font-mono); color: var(--accent); }
.projects h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.projects p { color: var(--muted); font-size: 14.5px; }
.projects em { font-style: normal; font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }
.caps li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.caps b { color: var(--fg); font-weight: 600; }

.footer { position: relative; z-index: 2; padding: 56px var(--pad) 90px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(3, 5, 10, 0.4), var(--bg)); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.footer__cols h3 { font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); margin-bottom: 6px; }
.footer__cols a { text-decoration: none; }
.footer__base { margin-top: 40px; font-size: 12px; color: var(--muted); }

/* Phones: the globe sits in the upper half, text in a soft panel below */
@media (max-width: 760px) {
  .ch { min-height: 110vh; align-items: flex-end; padding-bottom: 90px; }
  .ch--right { justify-content: flex-start; }
  .ch__text { background: rgba(3, 5, 10, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 20px; border-radius: 16px; border: 1px solid var(--line); }
  .ch--hero .ch__text, .ch--center .ch__text { background: none; backdrop-filter: none; border: 0; padding: 0; }
  .ch--hero { padding-top: 14vh; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
/* Eindhoven sits ~2° from Luxembourg: lift its label so the two never overlap */
.pin[data-pin="2"] { margin-top: -28px; }
