@font-face {
  font-family: Plex;
  src: url("assets/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("assets/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #26313a;
  --bronze: #b77936;
  --bronze-text: #795024;
  --muted: #52616d;
  --wash: #f3f6f8;
  --line: #dbe1e5;
  --paper: #ffffff;
  --capital-surface: #26313a;
  --capital-text: #ffffff;
  --capital-hover: #303e48;
  --partner-hover: #e4ebef;
  --focus: #795024;
  color-scheme: light;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  --ink: #e6edf1;
  --muted: #b4c0c9;
  --wash: #26313a;
  --line: #3b4a55;
  --paper: #121a20;
  --capital-surface: #2c3b46;
  --capital-hover: #374955;
  --partner-hover: #303e48;
  --focus: #e9b66d;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  --ink: #e6edf1;
  --muted: #b4c0c9;
  --wash: #26313a;
  --line: #3b4a55;
  --paper: #121a20;
  --capital-surface: #2c3b46;
  --capital-hover: #374955;
  --partner-hover: #303e48;
  --focus: #e9b66d;
  color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 Plex, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
h1, h2, p { margin: 0; }
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: #b779362e;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.skip {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.page {
  max-width: 1680px;
  margin-inline: auto;
  padding: 0 max(40px, env(safe-area-inset-right)) 0 max(40px, env(safe-area-inset-left));
}
.masthead {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead h1 {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 60vh;
  min-height: 60svh;
}
.destination {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(28px, 3.5vw, 60px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background-color 220ms ease-out;
}
.studio { background: #e9b66d; color: #26313a; }
.capital { background: var(--capital-surface); color: var(--capital-text); }
.destination h2 {
  font-size: clamp(48px, 6.3vw, 96px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.destination-bottom, .partner-end {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.destination-bottom { padding-top: 48px; position: relative; z-index: 1; justify-content: flex-end; }
.arrow { transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
.destination:focus-visible .arrow { transform: translate(4px, -4px); }
.arrow { width: 48px; height: 48px; flex: none; }
.destination:active { background: #edc084; }
.capital:active { background: var(--capital-hover); }

.partner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  min-height: 112px;
  padding: 28px clamp(28px, 3.5vw, 60px);
  background: var(--wash);
  border: 1px solid var(--line);
  transition: background-color 220ms ease-out;
}
.partner-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.partner h2 { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
#partner-relation { font-size: 14px; color: var(--muted); }
.partner-end { color: var(--muted); align-items: center; }
.partner svg { width: 24px; height: 24px; flex: none; }
.partner:active { background: var(--partner-hover); }
.partner:focus-visible .partner-end svg { transform: translate(3px, -3px); }
.partner-end svg { transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 12px;
  color: var(--muted);
}
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer a:hover { text-decoration: underline; }
@media (hover: hover) {
  .studio:hover { background: #edc084; }
  .capital:hover { background: var(--capital-hover); }
  .destination:hover .arrow { transform: translate(4px, -4px); }
  .partner:hover { background: var(--partner-hover); }
  .partner:hover .partner-end svg { transform: translate(3px, -3px); }
}
@media (max-width: 700px) {
  .page { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .masthead { min-height: 112px; }
  .masthead h1 { font-size: 26px; }
  .destinations { grid-template-columns: 1fr; gap: 12px; }
  .destination { padding: 26px; }
  .destination h2 { font-size: clamp(42px, 10vw, 64px); }
  .destination-bottom { padding-top: 24px; align-items: center; }
  .arrow { width: 32px; height: 32px; }
  .partner { margin-top: 12px; min-height: 112px; padding: 22px 26px; gap: 16px; }
  .partner-identity { gap: 6px 16px; }
  .partner h2 { font-size: 22px; }
  footer { padding-block: 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .destination:hover .arrow, .destination:focus-visible .arrow,
  .partner:hover .partner-end svg, .partner:focus-visible .partner-end svg { transform: none; }
}

.theme-toggle {
  width: 48px;
  height: 48px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: #b779362e;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .sun-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
.theme-toggle:active { background: var(--wash); }
@media (hover: hover) {
  .theme-toggle:hover { background: var(--wash); }
}
