/* Design tokens */
:root {
  --navy: #13263f;
  --navy-2: #1c3557;
  --gold: #c9a45c;
  --text: #e9e4d8;
  --white: #ffffff;
  --dim: #a9b3c2;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 56px;
  --space-6: 72px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}

a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: var(--space-2); top: -100px;
  background: var(--gold); color: var(--navy); padding: var(--space-1) var(--space-2); font-weight: 600;
}
.skip-link:focus { top: var(--space-2); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-3); }

/* Language switcher */
.lang-switcher ul { display: flex; justify-content: flex-end; gap: var(--space-2); list-style: none; margin: 0; padding: var(--space-3) 0 0; font-size: 14px; }
.lang-switcher a, .lang-switcher span { display: inline-block; padding: 6px 4px; text-decoration: none; }
.lang-switcher span { color: var(--white); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* Hero */
.hero { display: flex; align-items: center; gap: 28px; padding: var(--space-6) 0 var(--space-5); }
.hero--small { padding-bottom: var(--space-4); }
.hero__monogram, .hero__portrait {
  flex: none; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--gold);
}
.hero__monogram { display: grid; place-items: center; font: 400 30px var(--serif); color: var(--gold); }
.hero__portrait { object-fit: cover; }
.hero__name { font: 400 clamp(40px, 7vw, 76px)/1.05 var(--serif); margin: 0; color: var(--white); }
.hero__role { margin: var(--space-1) 0 0; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.hero__role a { text-decoration: none; }
.hero__tagline { font: 400 clamp(22px, 3vw, 30px)/1.35 var(--serif); max-width: 30ch; margin: 0 0 var(--space-5); color: var(--white); }

/* Rows: label on the left, content on the right */
.row { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--navy-2); }
.row__heading { margin: 0; font: 600 13px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.row__body { margin: 0; }
.row p { margin: 0 0 12px; }
.muted { color: var(--dim); margin-top: 12px; }
.small { font-size: 14px; }

.langs { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border: 1px solid var(--navy-2); }
.langs li { padding: 20px 12px; text-align: center; font: 400 clamp(19px, 2.4vw, 26px)/1.2 var(--serif); color: var(--white); }
.langs li + li { border-left: 1px solid var(--navy-2); }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); list-style: none; padding: 0; }
.services h3 { margin: 0 0 4px; font: 400 21px/1.3 var(--serif); color: var(--white); }
.services p { margin: 0; color: var(--dim); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-block; padding: 12px 20px; min-height: 44px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--gold); color: var(--gold); overflow-wrap: anywhere;
}
.btn--primary { background: var(--gold); color: var(--navy); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-1) var(--space-3); }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; color: var(--white); }

.site-footer { border-top: 1px solid var(--navy-2); padding: var(--space-3) 0 var(--space-5); font-size: 13px; color: var(--dim); }
.site-footer p { margin: 0; }

/* Root language chooser (only seen without the automatic redirect) */
.choice { max-width: var(--max); margin: 0 auto; padding: var(--space-6) var(--space-3); }

@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: flex-start; padding-top: var(--space-5); }
  .row, .services, .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: var(--space-1); }
  .langs { grid-template-columns: 1fr 1fr; }
  .langs li:nth-child(odd) { border-left: 0; }
  .langs li:nth-child(n+3) { border-top: 1px solid var(--navy-2); }
}
