:root {
  color-scheme: light;
  --navy: #10233d;
  --navy-2: #172d4a;
  --warm: #fbf7ef;
  --paper: #fffdf8;
  --gold: #c5a15b;
  --burgundy: #7f2636;
  --charcoal: #232629;
  --muted: #626b74;
  --line: rgba(16, 35, 61, 0.16);
  --shadow: 0 24px 80px rgba(10, 22, 36, 0.16);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --warm: #111820;
  --paper: #17212b;
  --charcoal: #f5efe5;
  --muted: #b8c0c9;
  --line: rgba(251, 247, 239, 0.17);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--charcoal);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--gold);
  color: #111;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(16, 35, 61, 0.54);
  color: #fff;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 3vw, 2.4rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(16, 35, 61, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 0.75rem;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  font-family: "Cormorant Garamond", serif;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(0.62rem, 1.1vw, 1.2rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a,
.mobile-panel a {
  opacity: 0.84;
  text-decoration: none;
}

.nav a:hover,
.mobile-panel a:hover {
  opacity: 1;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.language-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  gap: 0.45rem;
  height: 2.45rem;
  padding: 0 0.55rem;
}

.language-control span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-control select {
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  outline: 0;
}

.language-control option {
  background: #10233d;
  color: #fff;
}

.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 2.45rem;
  justify-content: center;
  width: 2.45rem;
}

.menu-button {
  display: none;
}

.mobile-panel {
  background: rgba(16, 35, 61, 0.98);
  color: #fff;
  display: none;
  inset: 4.35rem 0 auto 0;
  padding: 1rem;
  position: fixed;
  z-index: 19;
}

.mobile-panel a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
  font-weight: 700;
  padding: 0.95rem 0.25rem;
}

.hero {
  background:
    radial-gradient(circle at 82% 42%, rgba(197, 161, 91, 0.18), transparent 26%),
    linear-gradient(115deg, #08111e 0%, #10233d 48%, #1b2430 100%);
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0 -2vw 0 auto;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  position: absolute;
  width: min(62vw, 900px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 30, 1), rgba(8, 17, 30, 0.92) 39%, rgba(8, 17, 30, 0.35) 66%, rgba(8, 17, 30, 0.05)),
    linear-gradient(0deg, rgba(8, 17, 30, 0.82), rgba(8, 17, 30, 0.12) 48%),
    linear-gradient(180deg, rgba(8, 17, 30, 0.4), transparent 26%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 980px;
  padding: clamp(6.4rem, 14vh, 9rem) clamp(1.2rem, 6vw, 5rem) 7rem;
  position: relative;
  z-index: 2;
}

.social-link,
.site-footer a {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1;
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(4.1rem, 9.5vw, 8.2rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2.45rem, 5vw, 5.6rem);
}

h3 {
  font-size: 1rem;
  font-weight: 800;
}

.hero-lines {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 0.98;
  margin: 1rem 0 1.4rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 580px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--gold);
  color: #101820;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button.ghost {
  background: transparent;
  border-color: rgba(197, 161, 91, 0.82);
  color: #fff;
}

.hero-meta {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.hero-meta span {
  backdrop-filter: blur(12px);
  background: rgba(16, 35, 61, 0.38);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.1rem, 5vw, 5rem);
}

.intro,
.calendar,
.media {
  background: var(--paper);
}

.intro-grid,
.profile-band,
.image-section,
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.stat-strip {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  padding-top: 1.5rem;
}

.stat-strip strong {
  color: var(--burgundy);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1;
}

.stat-strip span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 0.5rem;
}

.profile-band {
  background: var(--navy);
  color: #fff;
}

.profile-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.bio-portrait {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin: 1.5rem 0;
  max-width: 13rem;
  object-fit: cover;
  width: 45%;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline article,
.value-grid article,
.event-list article,
.calendar-list article,
.media-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.profile-band .timeline article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.timeline span,
.calendar time {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline p,
.value-grid p,
.event-list p,
.calendar-list p,
.media-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.profile-band .timeline p {
  color: rgba(255, 255, 255, 0.7);
}

.split-heading,
.section-head {
  max-width: 980px;
}

.value-grid,
.media-grid,
.calendar-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.values span,
.topic-grid span {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.8rem;
  text-transform: uppercase;
}

.honors {
  background: var(--paper);
}

.map-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-top: 2rem;
}

.map-card {
  aspect-ratio: 16 / 8.8;
  background:
    radial-gradient(circle at 18% 47%, rgba(197, 161, 91, 0.28), transparent 7%),
    radial-gradient(circle at 51% 46%, rgba(127, 38, 54, 0.2), transparent 8%),
    linear-gradient(135deg, #123153, #1f405d 55%, #6e6b62);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.map-card::before {
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  inset: 1rem;
  pointer-events: none;
  position: absolute;
}

.pin {
  background: var(--gold);
  border: 0;
  color: #121212;
  cursor: pointer;
  font-size: 0;
  height: 1rem;
  position: absolute;
  width: 1rem;
}

.pin::after {
  background: rgba(197, 161, 91, 0.22);
  content: "";
  height: 2.1rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.1rem;
}

.pin.is-active {
  background: #fff;
}

.pin-us { left: 22%; top: 43%; }
.pin-ca { left: 24%; top: 28%; }
.pin-it { left: 53%; top: 43%; }
.pin-au { left: 79%; top: 70%; }
.pin-nz { left: 86%; top: 78%; }

.map-label {
  background: rgba(12, 23, 34, 0.76);
  bottom: 1rem;
  color: #fff;
  left: 1rem;
  max-width: min(440px, calc(100% - 2rem));
  padding: 1rem;
  position: absolute;
}

.map-label strong,
.map-label span {
  display: block;
}

.map-label span {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.35rem;
}

.event-list {
  display: grid;
  gap: 1rem;
}

.image-section {
  align-items: center;
}

.image-section.reverse {
  background: var(--navy-2);
  color: #fff;
}

.image-section.reverse p {
  color: rgba(255, 255, 255, 0.76);
}

.image-section.reverse img {
  order: 2;
}

.image-section img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

blockquote {
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.12;
  margin: 2rem 0 0;
  padding-left: 1.2rem;
}

.media-icon {
  color: var(--burgundy);
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.media-grid a {
  color: var(--burgundy);
  display: inline-block;
  font-weight: 800;
  margin-top: 0.8rem;
}

.contact {
  background: var(--charcoal);
  color: var(--warm);
}

.contact-copy p:not(.section-kicker) {
  color: rgba(251, 247, 239, 0.72);
}

.social-link {
  display: inline-block;
  margin-top: 1rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-form label {
  color: rgba(251, 247, 239, 0.78);
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  min-height: 3rem;
  padding: 0.75rem;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  align-items: center;
  background: #0a121d;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
}

.site-footer p {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .intro-grid,
  .profile-band,
  .image-section,
  .contact,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .image-section.reverse img {
    order: 0;
  }

  .value-grid,
  .media-grid,
  .calendar-list,
  .stat-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    display: none;
  }

  .header-actions {
    position: fixed;
    right: 1rem;
    top: 1rem;
  }

  .language-control {
    max-width: 6.9rem;
  }

  .language-control span {
    display: none;
  }

  .hero-content {
    padding: 5.8rem 1rem 0;
  }

  .hero img {
    inset: 0 0 0 auto;
    mask-image: none;
    object-position: 72% center;
    opacity: 0.46;
    width: 100%;
    -webkit-mask-image: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 17, 30, 0.96), rgba(8, 17, 30, 0.78) 58%, rgba(8, 17, 30, 0.34)),
      linear-gradient(0deg, rgba(8, 17, 30, 0.86), rgba(8, 17, 30, 0.08) 50%);
  }

  .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    max-width: 22rem;
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 21rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    padding: 0.55rem;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
