:root {
  --bg: #0a0908;
  --bg-soft: #11100f;
  --paper: #e7e0d4;
  --muted: #9c958b;
  --line: rgba(231,224,212,.16);
  --accent: #cf5f44;
  --accent-soft: #e39a7a;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --pad: clamp(20px,4vw,64px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--paper); color: var(--bg); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.trips-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 76px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(10,9,8,.78);
  backdrop-filter: blur(18px);
}
.brand,
.trips-header__label,
.back-link {
  font: 500 11px/1.15 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand { font-size: 12px; }
.trips-header__label { color: var(--muted); }
.back-link { justify-self: end; color: var(--muted); transition: color .2s ease; }
.back-link:hover { color: var(--paper); }

main { position: relative; z-index: 1; }

.trips-hero {
  min-height: 78svh;
  padding: clamp(110px,12vw,180px) var(--pad) clamp(80px,10vw,140px);
  display: grid;
  align-content: end;
  position: relative;
}
.trips-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(207,95,68,.11), transparent 26%),
    linear-gradient(115deg, rgba(255,255,255,.02), transparent 35%);
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font: 400 11px/1.45 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.trips-hero h1,
.places-heading h2,
.place-dialog__headline h2 {
  margin: 0;
  max-width: 1200px;
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .93;
}
.trips-hero h1 {
  font-size: clamp(52px,8vw,126px);
}
.trips-hero h1 em {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-weight: 500;
}
.trips-hero__lede {
  max-width: 690px;
  margin: 40px 0 0;
  color: #b8b1a8;
  font-size: clamp(15px,1.25vw,18px);
  line-height: 1.85;
}
.trips-stats {
  width: min(660px,100%);
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trips-stats div {
  min-height: 112px;
  padding: 24px clamp(14px,2vw,28px);
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}
.trips-stats div:last-child { border-right: 0; }
.trips-stats strong {
  font: 300 clamp(28px,4vw,50px)/1 var(--mono);
  letter-spacing: -.06em;
}
.trips-stats span {
  margin-top: 10px;
  color: var(--muted);
  font: 400 11px/1.15 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.places-section {
  padding: clamp(80px,10vw,150px) var(--pad) clamp(120px,14vw,210px);
  border-top: 1px solid var(--line);
}
.places-heading { margin-bottom: clamp(56px,8vw,100px); }
.places-heading h2 { font-size: clamp(48px,6.5vw,96px); }

.places-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: clamp(12px,1.5vw,22px);
}
.place-card {
  grid-column: span 6;
  min-height: clamp(420px,58vw,760px);
  padding: 0;
  border: 0;
  background: #151311;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}
.place-card:nth-child(4n + 2),
.place-card:nth-child(4n + 3) {
  grid-column: span 5;
}
.place-card:nth-child(4n + 2) { margin-left: 8.333%; }
.place-card:nth-child(4n + 3) { margin-right: 8.333%; }
.place-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) brightness(.72) contrast(1.04);
  transform: scale(1.015);
  transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5,4,4,.92) 0%, rgba(5,4,4,.42) 38%, transparent 70%),
    linear-gradient(to bottom, rgba(0,0,0,.18), transparent 32%);
}
.place-card:hover .place-card__image,
.place-card:focus-visible .place-card__image {
  transform: scale(1.045);
  filter: saturate(.9) brightness(.82);
}
.place-card:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 5px;
}
.place-card__top,
.place-card__bottom {
  position: absolute;
  z-index: 2;
  left: clamp(18px,2.2vw,32px);
  right: clamp(18px,2.2vw,32px);
}
.place-card__top {
  top: clamp(18px,2.2vw,28px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.place-card__index {
  color: rgba(255,255,255,.72);
  font: 400 11px/1.15 var(--mono);
  letter-spacing: .16em;
}
.status-chip {
  width: fit-content;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(8,7,6,.28);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.88);
  font: 500 11px/1.15 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.status-chip[data-status="visited"] {
  color: #0a0908;
  border-color: var(--paper);
  background: var(--paper);
}
.place-card__bottom {
  bottom: clamp(20px,2.8vw,38px);
}
.place-card__eyebrow {
  margin: 0 0 12px;
  color: rgba(255,255,255,.65);
  font: 400 11px/1.45 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.place-card h3 {
  margin: 0;
  font-size: clamp(42px,5.2vw,76px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 300;
}
.place-card__country {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  color: rgba(255,255,255,.7);
  font: 400 11px/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.place-card__country b {
  font-weight: 400;
  color: white;
}
.places-empty {
  color: var(--muted);
  font: 400 11px/1.7 var(--mono);
}

.place-dialog {
  width: min(1180px,100vw);
  height: min(920px,100svh);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  background: #0b0a09;
  color: var(--paper);
  overflow: hidden;
}
.place-dialog::backdrop {
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(18px);
}
.place-dialog__body {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.place-dialog__close {
  position: fixed;
  z-index: 15;
  top: max(16px,env(safe-area-inset-top));
  right: max(16px,env(safe-area-inset-right));
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(8,7,6,.5);
  color: white;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 28px;
  font-weight: 200;
}
.place-dialog__hero {
  min-height: min(70svh,680px);
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
}
.place-dialog__hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-dialog__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,7,6,.94), rgba(8,7,6,.08) 66%),
    linear-gradient(to right, rgba(8,7,6,.28), transparent 60%);
}
.place-dialog__headline {
  position: relative;
  z-index: 2;
  padding: clamp(34px,5vw,72px);
}
.place-dialog__headline > p {
  margin: 18px 0 10px;
  color: rgba(255,255,255,.66);
  font: 400 11px/1.15 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.place-dialog__headline h2 {
  font-size: clamp(62px,9vw,132px);
}
.place-dialog__content {
  padding: clamp(36px,5vw,74px);
}
.place-dialog__meta {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.place-dialog__meta div {
  min-height: 108px;
  padding: 24px 0;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}
.place-dialog__meta div:last-child {
  border-right: 0;
  padding-left: clamp(20px,3vw,42px);
}
.place-dialog__meta span {
  margin-bottom: 10px;
  color: var(--muted);
  font: 400 11px/1.15 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.place-dialog__meta strong {
  font: 400 clamp(18px,2.2vw,28px)/1.2 var(--sans);
}
.place-dialog__summary,
.place-dialog__notes {
  max-width: 780px;
  margin: clamp(34px,5vw,62px) 0 0;
  color: #bbb4ab;
  font-size: clamp(16px,1.4vw,20px);
  line-height: 1.85;
}
.place-dialog__notes {
  margin-top: 18px;
  color: var(--paper);
}

.trip-gallery { margin-top: clamp(74px,8vw,120px); }
.trip-gallery__heading { margin-bottom: 36px; }
.trip-gallery__heading h3 {
  margin: 0;
  font-size: clamp(36px,5vw,70px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 300;
}
.trip-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 10px;
}
.trip-photo {
  grid-column: span 6;
  margin: 0;
  background: #151311;
}
.trip-photo:nth-child(3n) { grid-column: span 12; }
.trip-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.trip-photo:nth-child(3n) img { aspect-ratio: 16 / 9; }
.trip-photo figcaption {
  padding: 12px 2px 18px;
  color: var(--muted);
  font: 400 11px/1.55 var(--mono);
  letter-spacing: .08em;
}
.trip-gallery__empty {
  margin: 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.photo-credit {
  display: inline-flex;
  margin-top: 52px;
  color: #736d66;
  font: 400 11px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.photo-credit:hover { color: var(--muted); }

.trips-footer {
  min-height: 84px;
  margin: 0 var(--pad);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 9px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.trips-footer a:hover { color: var(--paper); }

.loading-card {
  grid-column: span 6;
  min-height: 520px;
  background:
    linear-gradient(100deg, rgba(255,255,255,.025) 20%, rgba(255,255,255,.055) 40%, rgba(255,255,255,.025) 60%) #11100f;
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .trips-header {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }
  .trips-header__label { display: none; }
  .place-card,
  .place-card:nth-child(4n + 2),
  .place-card:nth-child(4n + 3) {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-right: 0;
  }
  .place-card { min-height: min(82svh,720px); }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  .trips-header {
    min-height: calc(62px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .brand { font-size: 11px; }
  .back-link { font-size: 11px; }
  .trips-hero {
    min-height: auto;
    padding-top: calc(110px + env(safe-area-inset-top));
    padding-bottom: 88px;
  }
  .trips-hero h1 { font-size: clamp(48px,14vw,72px); }
  .trips-hero__lede { margin-top: 30px; line-height: 1.75; }
  .trips-stats { margin-top: 46px; }
  .trips-stats div { min-height: 90px; padding: 18px 12px; }
  .trips-stats strong { font-size: 30px; }
  .places-section { padding-top: 74px; }
  .places-heading h2 { font-size: clamp(45px,13vw,64px); }
  .place-card { min-height: 68svh; }
  .place-card h3 { font-size: clamp(44px,13vw,66px); }
  .place-card__country { font-size: 11px; }
  .place-dialog {
    width: 100vw;
    height: 100svh;
    border: 0;
  }
  .place-dialog__hero { min-height: 64svh; }
  .place-dialog__headline { padding: 32px 20px; }
  .place-dialog__headline h2 { font-size: clamp(58px,18vw,88px); }
  .place-dialog__content { padding: 34px 20px 66px; }
  .place-dialog__meta { grid-template-columns: 1fr; }
  .place-dialog__meta div,
  .place-dialog__meta div:last-child {
    min-height: 82px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .place-dialog__meta div:last-child { border-bottom: 0; }
  .trip-gallery__grid { gap: 8px; }
  .trip-photo,
  .trip-photo:nth-child(3n) { grid-column: 1 / -1; }
  .trip-photo img,
  .trip-photo:nth-child(3n) img { aspect-ratio: 4 / 5; }
  .trips-footer { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* Keyboard skip navigation */
.skip-link{
  position:fixed;
  z-index:100000;
  top:max(10px,env(safe-area-inset-top));
  left:12px;
  transform:translateY(-160%);
  padding:11px 14px;
  border:1px solid currentColor;
  border-radius:999px;
  background:#e7e0d4;
  color:#0a0908;
  font:600 12px/1 system-ui,-apple-system,sans-serif;
  text-decoration:none;
  transition:transform .16s ease;
}
.skip-link:focus{transform:translateY(0);outline:2px solid #cf5f44;outline-offset:3px}


/* shared privacy controls */
html.consent-modal-open,html.consent-modal-open body{overflow:hidden}
:root{
  --consent-bg:#0c0b0a;
  --consent-paper:#e7e0d4;
  --consent-muted:#a29a91;
  --consent-line:rgba(231,224,212,.16);
  --consent-accent:#cf5f44;
  --consent-accent-soft:#e39a7a;
}
.consent-shell,
.consent-modal{font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.consent-shell[hidden],.consent-modal[hidden]{display:none!important}
.consent-shell{
  position:fixed;z-index:2147483000;inset:auto 0 0;
  padding:14px max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
  pointer-events:none;
}
.consent-banner{
  pointer-events:auto;width:min(980px,100%);margin-inline:auto;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;
  padding:20px;border:1px solid var(--consent-line);
  background:rgba(12,11,10,.96);color:var(--consent-paper);
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  backdrop-filter:blur(20px);border-radius:18px;
}
.consent-banner__eyebrow,.consent-modal__eyebrow{
  margin:0 0 8px;color:var(--consent-accent-soft);
  font:600 10px/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.14em;text-transform:uppercase;
}
.consent-banner h2,.consent-modal h2{
  margin:0;color:var(--consent-paper);font-weight:400;letter-spacing:-.035em
}
.consent-banner h2{font-size:clamp(23px,3vw,34px)}
.consent-banner p{
  max-width:70ch;margin:10px 0 0;color:var(--consent-muted);
  font-size:13px;line-height:1.65;
}
.consent-banner p a,.consent-modal a{color:var(--consent-paper);text-underline-offset:3px}
.consent-actions{display:flex;align-items:end;flex-wrap:wrap;gap:8px}
.consent-button{
  min-height:44px;padding:10px 15px;border:1px solid var(--consent-line);
  border-radius:999px;background:transparent;color:var(--consent-paper);
  font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.06em;cursor:pointer;white-space:nowrap
}
.consent-button:hover,.consent-button:focus-visible{
  border-color:var(--consent-paper);outline:2px solid transparent;background:rgba(255,255,255,.05)
}
.consent-button--primary{background:var(--consent-paper);color:#0a0908;border-color:var(--consent-paper)}
.consent-modal{
  position:fixed;z-index:2147483001;inset:0;display:grid;place-items:center;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
  background:rgba(0,0,0,.76);backdrop-filter:blur(16px)
}
.consent-dialog{
  width:min(720px,100%);max-height:min(780px,92svh);overflow:auto;
  border:1px solid var(--consent-line);border-radius:22px;
  background:var(--consent-bg);color:var(--consent-paper);
  box-shadow:0 30px 100px rgba(0,0,0,.55)
}
.consent-dialog__head,.consent-dialog__body,.consent-dialog__foot{padding:22px}
.consent-dialog__head{position:relative;border-bottom:1px solid var(--consent-line)}
.consent-dialog__head h2{font-size:clamp(30px,5vw,48px)}
.consent-dialog__head p{max-width:60ch;margin:12px 0 0;color:var(--consent-muted);font-size:13px;line-height:1.7}
.consent-close{
  position:absolute;top:16px;right:16px;width:40px;height:40px;
  border:1px solid var(--consent-line);border-radius:50%;background:transparent;
  color:var(--consent-paper);font-size:22px;cursor:pointer
}
.consent-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;
  padding:18px 0;border-bottom:1px solid var(--consent-line)
}
.consent-row:first-child{padding-top:0}.consent-row:last-child{border-bottom:0;padding-bottom:0}
.consent-row h3{margin:0;color:var(--consent-paper);font-size:15px;font-weight:600}
.consent-row p{margin:7px 0 0;color:var(--consent-muted);font-size:12px;line-height:1.65}
.consent-switch{position:relative;display:inline-flex;align-items:center;gap:8px}
.consent-switch input{position:absolute;opacity:0;pointer-events:none}
.consent-switch__track{
  width:50px;height:28px;border:1px solid var(--consent-line);border-radius:999px;
  background:#23201d;position:relative;transition:.18s ease
}
.consent-switch__track::after{
  content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;
  background:var(--consent-muted);transition:.18s ease
}
.consent-switch input:checked + .consent-switch__track{background:var(--consent-paper);border-color:var(--consent-paper)}
.consent-switch input:checked + .consent-switch__track::after{transform:translateX(22px);background:#0a0908}
.consent-switch input:focus-visible + .consent-switch__track{outline:2px solid var(--consent-accent);outline-offset:3px}
.consent-switch input:disabled + .consent-switch__track{opacity:.7}
.consent-dialog__foot{
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  border-top:1px solid var(--consent-line)
}
.consent-embed-placeholder{
  min-height:220px;display:grid;place-items:center;text-align:center;padding:28px;
  border:1px dashed var(--consent-line);border-radius:14px;
  background:rgba(255,255,255,.018);color:var(--consent-muted)
}
.consent-embed-placeholder__inner{max-width:48ch}
.consent-embed-placeholder strong{display:block;color:var(--consent-paper);font-size:15px}
.consent-embed-placeholder p{margin:8px 0 16px;font-size:12px;line-height:1.65}
@media(max-width:760px){
  .consent-banner{grid-template-columns:1fr}
  .consent-actions{align-items:stretch;display:grid;grid-template-columns:repeat(3,1fr)}
  .consent-button{padding-inline:10px;white-space:normal}
}
@media(max-width:520px){
  .consent-shell{padding:10px}
  .consent-banner{padding:16px;border-radius:14px}
  .consent-actions{grid-template-columns:1fr}
  .consent-dialog__head,.consent-dialog__body,.consent-dialog__foot{padding:18px}
  .consent-dialog__foot{display:grid;grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .consent-switch__track,.consent-switch__track::after{transition:none}
}

/* shared site footer */
.site-footer--shared{
  --sf-bg:#070605;
  --sf-paper:#ede6da;
  --sf-paper-soft:#c7beb3;
  --sf-muted:#827970;
  --sf-line:rgba(237,230,218,.13);
  --sf-line-strong:rgba(237,230,218,.24);
  --sf-accent:#d9684f;
  --sf-accent-soft:#e6a081;
  position:relative;
  z-index:5;
  width:100%;
  margin:0;
  overflow:hidden;
  isolation:isolate;
  color:var(--sf-paper);
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 18%),
    linear-gradient(180deg,#0a0807 0%,var(--sf-bg) 44%,#050404 100%);
  border-top:1px solid var(--sf-line);
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.site-footer--shared::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-4;
  pointer-events:none;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:100% 72px,72px 100%;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 78%);
}

.site-footer--shared::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 22%,rgba(217,104,79,.13),transparent 28%),
    radial-gradient(circle at 18% 78%,rgba(255,255,255,.045),transparent 25%);
}

.site-footer__atmosphere{
  position:absolute;
  inset:0;
  z-index:-2;
  overflow:hidden;
  pointer-events:none;
}

.site-footer__halo{
  position:absolute;
  width:min(62vw,860px);
  aspect-ratio:1;
  right:-16vw;
  top:-34%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(217,104,79,.12) 0,rgba(217,104,79,.035) 34%,transparent 68%);
  filter:blur(3px);
}

.site-footer__orbit{
  position:absolute;
  border:1px solid rgba(237,230,218,.09);
  border-radius:50%;
  transform:rotate(-18deg);
}

.site-footer__orbit--a{
  width:min(54vw,760px);
  aspect-ratio:1;
  right:-15vw;
  top:-28%;
}

.site-footer__orbit--b{
  width:min(31vw,450px);
  aspect-ratio:1;
  right:3vw;
  top:-9%;
  border-color:rgba(217,104,79,.13);
}

.site-footer__star{
  position:absolute;
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--sf-paper);
  box-shadow:0 0 18px rgba(237,230,218,.55);
  opacity:.48;
}

.site-footer__star--a{right:22%;top:16%}
.site-footer__star--b{right:8%;top:38%;width:2px;height:2px}
.site-footer__star--c{left:13%;bottom:26%;width:2px;height:2px;opacity:.28}

.site-footer__watermark{
  position:absolute;
  z-index:-1;
  right:-.035em;
  bottom:-.18em;
  color:transparent;
  -webkit-text-stroke:1px rgba(237,230,218,.055);
  font:300 clamp(110px,24vw,420px)/.72 Manrope,system-ui,sans-serif;
  letter-spacing:-.085em;
  white-space:nowrap;
  user-select:none;
  pointer-events:none;
}

.site-footer__inner{
  width:min(1440px,calc(100% - 56px));
  margin-inline:auto;
  padding:clamp(32px,4vw,56px) 0 clamp(26px,3.2vw,42px);
}

.site-footer__masthead{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  min-height:44px;
  padding-bottom:22px;
  border-bottom:1px solid var(--sf-line);
  color:var(--sf-muted);
  font:600 9px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.site-footer__mark{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--sf-paper);
  text-decoration:none;
  letter-spacing:.2em;
}

.site-footer__mark-dot{
  width:7px;
  height:7px;
  border:1px solid var(--sf-accent-soft);
  border-radius:50%;
  position:relative;
}

.site-footer__mark-dot::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:var(--sf-accent);
}

.site-footer__route-line{
  justify-self:center;
  white-space:nowrap;
}

.site-footer__route-line i{
  margin:0 9px;
  color:var(--sf-accent-soft);
  font-style:normal;
}

.site-footer__edition{justify-self:end;text-align:right}

.site-footer__hero{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.58fr);
  align-items:end;
  gap:clamp(34px,7vw,112px);
  padding:clamp(72px,10vw,152px) 0 clamp(68px,8vw,116px);
}

.site-footer__overline{
  margin:0 0 20px;
  color:var(--sf-accent-soft);
  font:600 9px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.19em;
  text-transform:uppercase;
}

.site-footer__hero h2{
  margin:0;
  max-width:9.5ch;
  font:400 clamp(60px,8.9vw,148px)/.82 Georgia,"Times New Roman",serif;
  letter-spacing:-.065em;
}

.site-footer__hero h2 span,
.site-footer__hero h2 em{display:block}

.site-footer__hero h2 em{
  margin-left:.58em;
  color:var(--sf-accent-soft);
  font-weight:400;
}

.site-footer__manifesto{
  margin:0 0 .8em;
  max-width:35ch;
  color:var(--sf-paper-soft);
  font-size:clamp(13px,1.1vw,15px);
  line-height:1.85;
}

.site-footer__manifesto span{
  display:block;
  margin-top:16px;
  color:var(--sf-muted);
}

.site-footer__routes{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--sf-line-strong);
  border-bottom:1px solid var(--sf-line-strong);
}

.site-footer__route{
  position:relative;
  min-height:154px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:end;
  gap:16px;
  padding:24px 22px 22px;
  color:var(--sf-paper);
  text-decoration:none;
  border-right:1px solid var(--sf-line);
  overflow:hidden;
  transition:background .35s ease,color .35s ease;
}

.site-footer__route:last-child{border-right:0}

.site-footer__route::before{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:2px;
  background:var(--sf-accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s cubic-bezier(.22,1,.36,1);
}

.site-footer__route::after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-72px;
  top:-76px;
  border-radius:50%;
  border:1px solid transparent;
  transition:border-color .35s ease,transform .5s cubic-bezier(.22,1,.36,1);
}

.site-footer__route:hover,
.site-footer__route:focus-visible,
.site-footer__route.is-current{
  background:rgba(237,230,218,.028);
  outline:none;
}

.site-footer__route:hover::before,
.site-footer__route:focus-visible::before,
.site-footer__route.is-current::before{transform:scaleX(1)}

.site-footer__route:hover::after,
.site-footer__route:focus-visible::after{
  border-color:rgba(217,104,79,.18);
  transform:scale(1.2);
}

.site-footer__route-index{
  align-self:start;
  padding-top:2px;
  color:var(--sf-muted);
  font:600 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.12em;
}

.site-footer__route-copy{display:grid;gap:8px}

.site-footer__route-copy strong{
  font:400 clamp(20px,2vw,29px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}

.site-footer__route-copy small{
  color:var(--sf-muted);
  font-size:10px;
  line-height:1.45;
}

.site-footer__route-arrow{
  align-self:start;
  color:var(--sf-muted);
  font-size:15px;
  transition:transform .3s ease,color .3s ease;
}

.site-footer__route:hover .site-footer__route-arrow,
.site-footer__route:focus-visible .site-footer__route-arrow{
  color:var(--sf-accent-soft);
  transform:translate(3px,-3px);
}

.site-footer__route.is-current .site-footer__route-index,
.site-footer__route.is-current .site-footer__route-arrow{color:var(--sf-accent-soft)}

.site-footer__utility{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:32px;
  align-items:end;
  padding:34px 0;
  border-bottom:1px solid var(--sf-line);
}

.site-footer__utility-copy{
  display:grid;
  grid-template-columns:auto minmax(0,500px);
  align-items:start;
  gap:28px;
}

.site-footer__utility-kicker{
  padding-top:3px;
  color:var(--sf-muted);
  font:600 9px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.15em;
  text-transform:uppercase;
  white-space:nowrap;
}

.site-footer__utility-copy p{
  margin:0;
  color:var(--sf-muted);
  font-size:11px;
  line-height:1.65;
}

.site-footer__utility-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:9px 22px;
}

.site-footer__utility-links a,
.site-footer__utility-links button{
  position:relative;
  padding:0 0 3px;
  border:0;
  background:none;
  color:var(--sf-paper-soft);
  text-decoration:none;
  font:500 10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.06em;
  cursor:pointer;
}

.site-footer__utility-links a::after,
.site-footer__utility-links button::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:1px;
  background:var(--sf-accent-soft);
  transition:right .28s ease;
}

.site-footer__utility-links a:hover::after,
.site-footer__utility-links a:focus-visible::after,
.site-footer__utility-links button:hover::after,
.site-footer__utility-links button:focus-visible::after{right:0}

.site-footer__utility-links a:focus-visible,
.site-footer__utility-links button:focus-visible{outline:none;color:var(--sf-paper)}

.site-footer__signature{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:24px;
  color:var(--sf-muted);
  font:600 9px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.site-footer__names{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--sf-paper-soft);
}

.site-footer__names b{
  color:var(--sf-accent);
  font-weight:400;
}

.site-footer__status{
  display:flex;
  align-items:center;
  gap:10px;
}

.site-footer__live-dot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#87a17c;
  box-shadow:0 0 0 4px rgba(135,161,124,.07);
}

.site-footer__status-line{
  width:38px;
  height:1px;
  background:var(--sf-line-strong);
}

@media (hover:hover){
  .site-footer__halo{animation:site-footer-breathe 9s ease-in-out infinite alternate}
}

@keyframes site-footer-breathe{
  from{transform:scale(.96);opacity:.7}
  to{transform:scale(1.05);opacity:1}
}

@media(max-width:980px){
  .site-footer__masthead{grid-template-columns:1fr 1fr}
  .site-footer__route-line{display:none}
  .site-footer__hero{grid-template-columns:1fr;gap:32px}
  .site-footer__hero h2{max-width:10ch}
  .site-footer__manifesto{max-width:48ch}
  .site-footer__routes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-footer__route:nth-child(2){border-right:0}
  .site-footer__route:nth-child(-n+2){border-bottom:1px solid var(--sf-line)}
  .site-footer__utility{grid-template-columns:1fr}
  .site-footer__utility-links{justify-content:flex-start}
}

@media(max-width:640px){
  .site-footer--shared{
    background:linear-gradient(180deg,#0a0807 0%,#070605 56%,#050404 100%);
  }

  .site-footer--shared::before{
    opacity:.10;
    background-size:100% 56px,56px 100%;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),transparent 64%);
  }

  .site-footer--shared::after{
    background:none;
  }

  .site-footer__inner{
    width:calc(100% - 36px);
    padding:22px 0 24px;
  }

  .site-footer__halo{
    display:none;
  }

  .site-footer__orbit--a{
    width:86vw;
    right:-50vw;
    top:-5%;
    border-color:rgba(237,230,218,.055);
  }

  .site-footer__orbit--b,
  .site-footer__star--b,
  .site-footer__star--c{display:none}

  .site-footer__star--a{
    right:10%;
    top:9%;
    opacity:.34;
  }

  .site-footer__watermark{
    right:-.06em;
    bottom:auto;
    top:158px;
    font-size:27vw;
    line-height:.8;
    -webkit-text-stroke-color:rgba(237,230,218,.04);
    opacity:.7;
  }

  .site-footer__masthead{
    min-height:auto;
    grid-template-columns:1fr auto;
    gap:14px;
    padding-bottom:16px;
  }

  .site-footer__mark{
    gap:8px;
    font-size:9px;
    letter-spacing:.16em;
  }

  .site-footer__mark-dot{
    width:6px;
    height:6px;
  }

  .site-footer__edition{
    justify-self:end;
    max-width:18ch;
    text-align:right;
    font-size:8px;
    line-height:1.35;
    letter-spacing:.12em;
  }

  .site-footer__hero{
    display:block;
    padding:44px 0 42px;
  }

  .site-footer__overline{
    margin:0 0 14px;
    font-size:8px;
    letter-spacing:.16em;
  }

  .site-footer__hero h2{
    max-width:8.7ch;
    font-size:clamp(46px,14.2vw,64px);
    line-height:.9;
    letter-spacing:-.058em;
  }

  .site-footer__hero h2 em{
    margin-left:0;
    margin-top:.03em;
  }

  .site-footer__manifesto{
    max-width:31ch;
    margin:24px 0 0;
    padding-top:18px;
    border-top:1px solid var(--sf-line);
    color:var(--sf-paper-soft);
    font-size:12px;
    line-height:1.7;
  }

  .site-footer__manifesto span{
    margin-top:9px;
    color:var(--sf-muted);
  }

  .site-footer__routes{
    grid-template-columns:repeat(2,minmax(0,1fr));
    border:1px solid var(--sf-line-strong);
    border-radius:14px;
    overflow:hidden;
    background:rgba(255,255,255,.012);
  }

  .site-footer__route{
    min-height:112px;
    grid-template-columns:1fr auto;
    grid-template-rows:auto 1fr;
    align-items:start;
    gap:8px 10px;
    padding:16px 15px;
    border-right:1px solid var(--sf-line);
    border-bottom:1px solid var(--sf-line);
  }

  .site-footer__route:nth-child(2n){border-right:0}
  .site-footer__route:nth-last-child(-n+2){border-bottom:0}

  .site-footer__route::before{
    height:1px;
  }

  .site-footer__route::after{display:none}

  .site-footer__route-index{
    grid-column:1;
    grid-row:1;
    align-self:start;
    padding-top:0;
    font-size:8px;
  }

  .site-footer__route-copy{
    grid-column:1/-1;
    grid-row:2;
    align-self:end;
    gap:0;
  }

  .site-footer__route-copy strong{
    font-size:21px;
    line-height:1;
  }

  .site-footer__route-copy small{display:none}

  .site-footer__route-arrow{
    grid-column:2;
    grid-row:1;
    align-self:start;
    justify-self:end;
    font-size:13px;
    opacity:.58;
  }

  .site-footer__route:hover,
  .site-footer__route:focus-visible,
  .site-footer__route.is-current{
    padding-left:15px;
    background:rgba(217,104,79,.055);
  }

  .site-footer__utility{
    grid-template-columns:1fr;
    gap:18px;
    padding:26px 0 22px;
  }

  .site-footer__utility-copy{
    display:block;
  }

  .site-footer__utility-kicker{
    display:block;
    margin-bottom:9px;
    padding:0;
    font-size:8px;
  }

  .site-footer__utility-copy p{
    max-width:34ch;
    font-size:10px;
    line-height:1.65;
  }

  .site-footer__utility-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    border-top:1px solid var(--sf-line);
    border-bottom:1px solid var(--sf-line);
  }

  .site-footer__utility-links a,
  .site-footer__utility-links button{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:0;
    font-size:9px;
    letter-spacing:.04em;
  }

  .site-footer__utility-links a:nth-child(2){
    padding-left:14px;
    border-left:1px solid var(--sf-line);
  }

  .site-footer__utility-links button{
    grid-column:1/-1;
    justify-self:stretch;
    border-top:1px solid var(--sf-line);
    color:var(--sf-accent-soft);
  }

  .site-footer__utility-links a::after,
  .site-footer__utility-links button::after{display:none}

  .site-footer__signature{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    padding-top:20px;
  }

  .site-footer__names{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:8px;
    width:100%;
    font-size:8px;
    line-height:1.45;
    letter-spacing:.08em;
  }

  .site-footer__names span:first-child{text-align:left}
  .site-footer__names span:last-child{text-align:right}

  .site-footer__status{
    width:100%;
    justify-content:space-between;
    gap:8px;
    font-size:8px;
  }

  .site-footer__status-line{
    flex:1;
    min-width:24px;
    max-width:none;
  }
}

@media(prefers-reduced-motion:reduce){
  .site-footer__halo{animation:none!important}
  .site-footer__route,
  .site-footer__route::before,
  .site-footer__route::after,
  .site-footer__route-arrow,
  .site-footer__utility-links a::after,
  .site-footer__utility-links button::after{transition:none!important}
}
