:root {
  --bg: #ffffff;
  --surface: #f3f3f1;
  --ink: #202020;
  --muted: #6b6b6b;
  --accent: #2b2b2b;
  --sand: #c9b79c;
  --sand-light: #e9e0d2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Small capitals: used only for location and actions */
.caps {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* Top bar */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: .9rem var(--gutter);
  border-bottom: 1px solid var(--surface);
}
.topbar__place { color: var(--muted); }
.topbar__link {
  justify-self: end;
  text-decoration: none;
  padding: .4rem 0;
  border-bottom: 1px solid var(--sand);
}
.topbar__link:hover { border-color: var(--ink); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark svg { width: 1.9rem; height: auto; }
.wordmark span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .topbar { grid-template-columns: auto 1fr; }
  .topbar__place { display: none; }
  .wordmark svg { width: 1.6rem; }
  .wordmark span { font-size: 1.3rem; }
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(3.5rem, 11vw, 8rem) var(--gutter) 0;
}
.hero__place { color: var(--muted); margin: 0 0 1.75rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 10vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 auto;
  max-width: 11ch;
}
.hero__lede {
  max-width: var(--measure);
  margin: 1.75rem auto 0;
  color: var(--muted);
  font-size: 1.125rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .85rem 1.9rem;
  border: 1px solid var(--accent);
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid:hover { background: var(--bg); color: var(--accent); }
.btn--line { background: transparent; color: var(--accent); }
.btn--line:hover { background: var(--accent); color: var(--bg); }

/* The rail: the one memorable element */
.rail {
  margin: clamp(3.5rem, 9vw, 6rem) auto 0;
  max-width: 78rem;
  padding: 0 var(--gutter);
}
.rail svg { width: 100%; height: auto; }

.sway { transform-origin: 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .sway { animation: settle 2.8s cubic-bezier(.25,.6,.3,1) both; }
  /* the rail's own <g> is the first sibling, so hangers are g:nth-of-type(2..6) */
  .hang:nth-of-type(3) .sway { animation-delay: .12s; }
  .hang:nth-of-type(4) .sway { animation-delay: .24s; }
  .hang:nth-of-type(5) .sway { animation-delay: .36s; }
  .hang:nth-of-type(6) .sway { animation-delay: .48s; }
  @keyframes settle {
    0%   { transform: rotate(5deg); }
    30%  { transform: rotate(-3deg); }
    55%  { transform: rotate(1.5deg); }
    78%  { transform: rotate(-.6deg); }
    100% { transform: rotate(0); }
  }
}

/* Split sections */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
}

.panel {
  background: var(--surface);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  position: relative;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--sand);
  pointer-events: none;
}
.panel svg { width: 58%; height: auto; }

.split__text h2,
.visit h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}
.split__text p {
  margin: 0 0 1.2rem;
  max-width: var(--measure);
}

.facts {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--sand);
}
.facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
}
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }

@media (max-width: 24rem) {
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
}

/* Visit band */
.visit {
  background: var(--surface);
  text-align: center;
  padding: clamp(5rem, 12vw, 8.5rem) var(--gutter);
}
.visit__hook {
  width: 2.6rem;
  margin: 0 auto 2rem;
}
.visit p {
  max-width: var(--measure);
  margin: 0 auto;
  color: var(--muted);
}
.visit .actions { margin-top: 2.25rem; }

/* Footer */
.footer {
  text-align: center;
  padding: 4rem var(--gutter) 3rem;
}
.footer .wordmark { margin-bottom: 1.25rem; }
.footer p { margin: .35rem 0; color: var(--muted); font-size: .95rem; }
