:root {
  --bg: #14201c;
  --bg-2: #1c2b26;
  --ink: #f2ede4;
  --muted: #b5ae9f;
  --accent: #c9a96e;
  --accent-ink: #14201c;
  --line: rgba(242, 237, 228, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 80% at 80% 0%, var(--bg-2) 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Background waves */
.backdrop { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 42vh; }
.waves path:nth-child(1) { fill: rgba(201, 169, 110, 0.06); }
.waves path:nth-child(2) { fill: rgba(201, 169, 110, 0.09); }

/* Header */
.top, .hero, .bottom { position: relative; z-index: 1; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px clamp(16px, 5vw, 64px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 22px;
}
.brand-name { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400; }

.lang { display: flex; gap: 4px; }
.lang button {
  background: none; border: 1px solid transparent; color: var(--muted);
  font: 500 12px/1 var(--sans); letter-spacing: 0.12em;
  padding: 9px 10px; cursor: pointer; transition: color .2s, border-color .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hero */
.hero {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px clamp(16px, 5vw, 64px) 64px;
  max-width: 920px;
  transition: opacity .22s ease, transform .22s ease;
}
body.is-switching .hero { opacity: 0; transform: translateY(6px); }

.eyebrow {
  margin: 0 0 20px; color: var(--accent);
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }

.title {
  margin: 0 0 24px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 9vw, 104px); line-height: 1.02; letter-spacing: -0.01em;
}
.title span, .title em { display: block; }
.title em { color: var(--accent); font-style: italic; }

.lead { margin: 0; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }

/* Footer */
.bottom {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  padding: 24px clamp(16px, 5vw, 64px);
  font-size: 13px; color: var(--muted);
}
.bottom a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.bottom a:hover { border-color: var(--accent); }
.bottom .copy { margin-left: auto; }

/* Initial fade-in */
body:not(.is-ready) .hero { opacity: 0; }

@media (max-width: 560px) {
  .top { flex-direction: column; align-items: flex-start; }
  .bottom .copy { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .lang button { transition: none; }
}
