@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: block; /* block, not swap: a flash of the wrong serif is worse than a moment of nothing */
}

:root {
  --paper: #FAF9F6;
  --ink: #1A1A1A;
  --ink-dim: #6E6B65;
  color-scheme: only light; /* the colours are the design, not a preference */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vmin 7vw;
}

/* ---- The card ---- */

.card { align-items: center; text-align: center; }

.name {
  font-size: clamp(4.5rem, 32vw, 22rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.statement {
  margin-top: clamp(1.5rem, 4vmin, 3rem);
  font-size: clamp(0.72rem, 1.15vw, 0.95rem);
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* ---- The exits ----
 *
 * Centered editorial container echoing the card's balance. Subtle hairline
 * dividers frame the place items with clean typography hierarchy and interactive
 * arrow micro-feedback.
 */

.exits {
  align-items: center;
  justify-content: center;
}

.exits-content {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1.8rem;
}

.places {
  list-style: none;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.places li {
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.places li:last-child {
  border-bottom: none;
}

.places li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0.35rem;
  border-bottom: none;
  color: var(--ink);
  transition: padding-left 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.place-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.place-name {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}

.place-desc {
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  color: var(--ink-dim);
  font-style: italic;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.places li a::after {
  content: "↗";
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85em;
  color: var(--ink-dim);
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.places li a:hover,
.places li a:focus-visible {
  padding-left: 0.5rem;
}

.places li a:hover::after,
.places li a:focus-visible::after {
  opacity: 1;
  color: var(--ink);
  transform: translate(2px, -2px);
}

.places li:not(:has(a)) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0.35rem;
  color: var(--ink-dim);
  opacity: 0.45;
}

.places li:not(:has(a))::after {
  content: "soon";
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(26, 26, 26, 0.2);
  padding: 0.12em 0.45em;
  border-radius: 2px;
}

.email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding: 0.35rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0.02em;
}

.email::before {
  content: "contact";
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.email a {
  color: var(--ink-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.email a:hover,
.email a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.08em;
}
