@font-face {
  font-family: "Elyra Serif";
  src: url("/fonts/Cormorant.ttf") format("truetype");
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Elyra Serif";
  src: url("/fonts/NotoSerifSC-subset.ttf") format("truetype");
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Elyra Sans";
  src: url("/fonts/Jost.ttf") format("truetype");
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Elyra Sans";
  src: url("/fonts/NotoSansSC-subset.ttf") format("truetype");
  font-weight: 300 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #101b1c;
  --night-soft: #182625;
  --ink: #eef2ec;
  --muted: #b9c6be;
  --faint: #8fa199;
  --line: rgba(216, 232, 223, 0.16);
  --accent: #d9a06a;
  --accent-soft: #f0c998;
  --paper: #f4f2eb;
  --paper-ink: #26312d;
  --paper-muted: #5b6861;
  --paper-line: #d8ddd7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: "Elyra Sans", Jost, sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(238, 242, 236, 0.1);
  background: rgba(16, 27, 28, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Elyra Serif", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--accent-soft);
  font-family: "Elyra Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  vertical-align: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-soft);
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--night);
  background: var(--accent-soft);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  padding: 132px clamp(20px, 8vw, 144px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/images/iceland-blue-bay.png") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(8, 19, 22, 0.48);
  content: "";
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Elyra Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(3.5rem, 10vw, 7.8rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  color: var(--night);
  background: var(--accent-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.button.secondary {
  color: var(--ink);
  background: rgba(16, 27, 28, 0.36);
  border-color: var(--line);
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--night);
}

.section-band {
  padding: 76px clamp(20px, 8vw, 144px);
  color: var(--paper-ink);
  background: var(--paper);
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 8vw, 120px);
  max-width: 1120px;
  margin: 0 auto;
}

.section-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.section-band p {
  max-width: 640px;
  margin: 0;
  color: var(--paper-muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--faint);
  background: var(--night);
  font-size: 0.85rem;
}

.legal-page {
  min-height: 100vh;
  padding: 132px 20px 72px;
  color: var(--paper-ink);
  background: var(--paper);
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
}

.legal-lead {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--paper-line);
}

.legal-lead .eyebrow {
  color: #8c5e32;
}

.legal-lead h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 1;
}

.legal-meta {
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: 0.92rem;
}

.legal-content {
  padding-top: 32px;
}

.legal-content h2 {
  margin: 40px 0 10px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 24px 0 6px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--paper-muted);
}

.legal-content ul {
  padding-left: 1.35rem;
}

.legal-content a {
  color: #76502d;
}

.language-panel[hidden] {
  display: none;
}

.language-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.language-note a {
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 78vh;
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 20vw, 6rem);
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .language-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
