@charset "UTF-8";

/* ==========================================================================
   Gåsehagevej 16
   A quiet, print-like palette: warm paper, near-black ink, one sea-green
   accent used sparingly. The photographs carry the page; the type stays out
   of their way.
   ========================================================================== */

:root {
  --paper:      #fbfaf8;
  --paper-warm: #f4f2ec;
  --paper-card: #ffffff;

  --ink:        #16181a;
  --ink-soft:   #585e63;   /* 6.6:1 on --paper */
  --ink-faint:  #8b8f92;   /* decorative only, never body text */

  --line:       #e3e1db;
  --line-firm:  #cfccc4;

  --deep:       #101718;   /* dark sections: the sea at dusk */
  --deep-soft:  #1b2426;
  --on-deep:        #f3f2ee;
  --on-deep-soft:   #a9b1b1; /* 6.9:1 on --deep */

  --accent:      #1f4b4f;
  --accent-lift: #2c6a70;

  --shell: 112rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(3.25rem, 5.5vw, 6rem);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line-firm);
}
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ typography */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.014em;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.on-deep .eyebrow { color: var(--on-deep-soft); }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.prose { color: var(--ink-soft); max-width: 40rem; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.measure { max-width: 46rem; }

/* ---------------------------------------------------------------- intro */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro__lead { margin: 0; }
.intro .prose { margin-top: 1.6rem; }

/* --------------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.section-head { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head .h2 { margin-top: 1.1rem; }
.section-head .prose { margin-top: 1.4rem; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-deep .rule { background: rgba(255, 255, 255, 0.14); }

/* --------------------------------------------------------------- header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.header.is-solid {
  background: var(--paper);
  border-bottom-color: var(--line);
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

/* Over the hero the header sits on the photograph and must read white. */
.header--over .wordmark,
.header--over .nav a,
.header--over .lang a,
.header--over .nav-toggle { color: #fff; }
.header--over .lang { border-color: rgba(255, 255, 255, 0.4); }
.header--over .lang a[aria-current="true"] { background: rgba(255, 255, 255, 0.22); }

.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.6rem;
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.header--over .nav a:hover { color: #fff; opacity: 0.72; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-firm);
  border-radius: 999px;
  padding: 2px;
  transition: border-color 0.4s var(--ease);
}
.lang a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.7rem;
  margin: -0.7rem;
  cursor: pointer;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}

.hero__media {
  position: absolute;
  inset: -20% 0;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 14s var(--ease) forwards;
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Two scrims: one to seat the type, one to weight the foot of the frame. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 14, 15, 0.92) 0%, rgba(9, 14, 15, 0.62) 28%, rgba(9, 14, 15, 0.22) 62%, rgba(9, 14, 15, 0.36) 100%);
}

.hero__body {
  position: relative;
  width: 100%;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  color: #fff;
}

.hero__body .eyebrow { color: rgba(255, 255, 255, 0.8); }
.hero .display { margin-top: 1.4rem; max-width: 16ch; color: #fff; }
.hero__sub {
  margin: 1.6rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease);
}

.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn--ink { background: var(--accent); color: #fff; }
.btn--ink:hover { background: var(--accent-lift); }

.btn--line { border-color: var(--line-firm); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }

/* --------------------------------------------------------------- figures */

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.figure {
  padding: clamp(1.75rem, 3vw, 2.6rem) 0;
  padding-right: 1rem;
}
.figure + .figure {
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2.5vw, 2rem);
}

.figure__value {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.figure__unit { font-size: 0.44em; letter-spacing: 0; margin-left: 0.18em; }
.figure__label {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------------- features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
}

.feature { padding-top: 1.5rem; border-top: 1px solid var(--line-firm); }
.feature__no {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.feature h3 { margin: 0.85rem 0 0.6rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* -------------------------------------------------------- split feature */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; }
.stat__value {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin: 0.55rem 0 0; font-size: 0.8rem; color: var(--on-deep-soft); }

/* ---------------------------------------------------------- dark section */

.on-deep { background: var(--deep); color: var(--on-deep); }
.on-deep .prose { color: var(--on-deep-soft); }
.on-deep .h2, .on-deep .lead { color: var(--on-deep); }

/* ----------------------------------------------------------------- facts */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.facts__col > * + * { margin-top: 3rem; }

.spec { margin: 0; }
.spec h3 { margin-bottom: 1.1rem; }

.spec dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}
.spec dt, .spec dd {
  margin: 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}
.spec dt { color: var(--ink-soft); padding-right: 1rem; }
.spec dd { text-align: right; font-variant-numeric: tabular-nums; }

.amen { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.amen li {
  break-inside: avoid;
  padding: 0.42rem 0 0.42rem 1.4rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.amen li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.6rem;
  height: 1px;
  background: var(--line-firm);
}

.note {
  margin: 2.5rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* --------------------------------------------------------------- gallery */

.grid-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.tile {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: var(--paper-warm);
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.tile:hover img { transform: scale(1.035); }

.gallery-cta { margin-top: clamp(2rem, 4vw, 3rem); }

/* Gallery page groups */
.group + .group { margin-top: clamp(3.5rem, 7vw, 6rem); }
.group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.group__count { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }

/* ------------------------------------------------------------------ area */

.area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
}

.place { padding-top: 1.5rem; border-top: 1px solid var(--line-firm); }
.place__cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.place h3 { margin: 0.85rem 0 0.6rem; }
.place p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ------------------------------------------------------------------ book */

.book { text-align: center; }
.book .h2 { margin-top: 1.1rem; }
.book .prose { margin: 1.6rem auto 0; text-align: center; }
.book .btn { margin-top: 2.4rem; }
.book__note { margin: 1.4rem 0 0; font-size: 0.8rem; color: var(--on-deep-soft); }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--paper-warm); border-top: 1px solid var(--line); }
.footer__inner {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}
.footer__name { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.footer__addr { margin: 0.5rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.footer__book { text-align: right; }
.footer__book span { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.footer__book a { display: inline-block; margin-top: 0.4rem; font-weight: 500; }
.footer__fine {
  grid-column: 1 / -1;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.footer__fine p { margin: 0; }

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 12, 13, 0.985);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease), visibility 0s;
}

.lightbox__stage {
  flex: 1;
  min-height: 0;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1rem, 5vw, 5rem) 1rem;
}
.lightbox__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__caption {
  padding: 1rem var(--gutter) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}
.lightbox__index {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }
.lb-close { top: clamp(1rem, 3vw, 1.75rem); right: clamp(1rem, 3vw, 1.75rem); }
.lb-prev  { left: clamp(0.75rem, 2.5vw, 1.75rem); top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(0.75rem, 2.5vw, 1.75rem); top: 50%; transform: translateY(-50%); }
.lb-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }


/* ==========================================================================
   Motion
   Everything here is opt-in: the .js class is set by an inline script, so a
   page without JavaScript is simply static rather than blank. All of it is
   switched off under prefers-reduced-motion at the foot of this file.
   ========================================================================== */

/* A hairline that draws itself out from the eyebrow when the block arrives. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  max-width: 4.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease) 0.1s;
}
.is-in .eyebrow::after,
html:not(.js) .eyebrow::after { transform: scaleX(1); }
.book .eyebrow { justify-content: center; }
.book .eyebrow::after { display: none; }

/* The hero is above the fold and always on screen, so it animates on load
   rather than waiting for the scroll observer: if that observer is ever slow
   to deliver, the first thing a visitor sees must not be a blank photograph. */
.js .hero-in {
  opacity: 0;
  animation: hero-rise 0.6s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Photographs settle out of a slight enlargement as they come into view. */
.js .tile {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .tile.is-in { opacity: 1; transform: none; }

.tile img { transform: scale(1.05); }
.js .tile.is-in img { transform: scale(1); }
.js .tile.is-in:hover img { transform: scale(1.045); }

.split__media img,
.js .split__media img { transition: transform 0.8s var(--ease); }
.js .split__media img { transform: scale(1.05); }
.js .split__media.is-in img { transform: scale(1); }

.btn { transition: background 0.28s var(--ease), color 0.28s var(--ease),
                   border-color 0.28s var(--ease), transform 0.28s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Desktop nav links get an underline that wipes in. */
@media (min-width: 48.0625rem) {
  .nav a { position: relative; }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
  }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.footer__book a,
.lang a { transition: opacity 0.25s var(--ease), background 0.25s var(--ease),
                      color 0.25s var(--ease); }

/* The photograph inside the lightbox fades in once it has actually decoded,
   so switching frames never shows a half-painted image. */
.lightbox__stage img {
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.lightbox__stage img.is-ready { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- band -- */

.band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(22rem, 52vh, 34rem);
  overflow: hidden;
  background: var(--deep);
}
.band__media {
  position: absolute;
  inset: -20% 0;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 14, 15, 0.5), rgba(9, 14, 15, 0.62));
}
.band__line {
  position: relative;
  margin: 0;
  max-width: 40rem;
  padding-inline: var(--gutter);
  text-align: center;
  color: #fff;
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
}

/* ------------------------------------------------------------ area page -- */

.places { border-top: 1px solid var(--line); }

.place-item { border-bottom: 1px solid var(--line); }

.place-item__head {
  display: grid;
  grid-template-columns: 8rem 1fr auto 2rem;
  align-items: baseline;
  gap: 1.5rem;
  width: 100%;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.place-item__head:hover { opacity: 0.62; }

.place-item__cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.place-item__name {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.place-item__dist {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* A plus that turns into a minus. */
.place-item__mark {
  position: relative;
  justify-self: end;
  width: 0.9rem;
  height: 0.9rem;
}
.place-item__mark::before,
.place-item__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.place-item__mark::after { transform: rotate(90deg); }
.place-item[aria-collapsed="false"] .place-item__mark::after { transform: rotate(180deg); }

/* The panel's open height is measured and set in px by site.js. The 0fr-to-1fr
   grid trick reads back as 0px here once a row has been collapsed, so an
   explicit height is the one that actually animates. With no JavaScript no
   max-height is ever set and every panel simply stands open. */
.place-item__panel[hidden] { display: none; }
.place-item__panel { animation: panel-in 0.45s var(--ease) both; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

.place-item__inner {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.place-item__inner > .place-item__copy:only-child { grid-column: 1 / -1; }
.place-item__copy { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 46rem; }
.place-item__copy .lead { margin: 0 0 0.9rem; }
.place-item__copy .prose { margin: 0; }
.place-item__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.place-item__facts {
  margin: 1.6rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.place-item__facts dt,
.place-item__facts dd {
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.place-item__facts dt { color: var(--ink-soft); padding-right: 2rem; white-space: nowrap; }
.place-item__link { margin: 1.4rem 0 0; font-size: 0.9rem; }
.place-item__link a { color: var(--accent); }

/* --------------------------------------------------- more of the motion -- */

/* The four key figures come in one after another. */
.js .figure { opacity: 0; transform: translateY(12px); }
.js .figures.is-in .figure {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js .figures.is-in .figure:nth-child(1) { transition-delay: 0ms; }
.js .figures.is-in .figure:nth-child(2) { transition-delay: 70ms; }
.js .figures.is-in .figure:nth-child(3) { transition-delay: 140ms; }
.js .figures.is-in .figure:nth-child(4) { transition-delay: 210ms; }

/* Amenities tick down the column. */
.js .amen li { opacity: 0; transform: translateY(8px); }
.js .is-in .amen li {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--row, 0) * 35ms);
}

/* Spec rows settle a pair at a time. */
.js .spec dt, .js .spec dd { opacity: 0; }
.js .is-in .spec dt, .js .is-in .spec dd {
  opacity: 1;
  transition: opacity 0.45s var(--ease);
  transition-delay: calc(var(--row, 0) * 30ms);
}

@media (min-width: 90rem) {
  .grid-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------- breathing after dark -- */

/* A dark band ending hard against the next heading reads as a collision.
   Give whatever follows one extra measure of air. */
.section.on-deep + .section { padding-top: calc(var(--section) * 1.9); }

/* Shared small print under a block heading. */
.chart__note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ------------------------------------------------------- good to know -- */

.bring-group + .bring-group { margin-top: clamp(3rem, 5vw, 4.5rem); }
.bring-group__head {
  padding-bottom: 1rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.bring-group__head .chart__note { max-width: 40rem; }

.bring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(2rem, 4vw, 3.5rem);
}
.bring {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-firm);
  transition: border-color 0.3s var(--ease);
}
.bring:hover { border-top-color: var(--accent); }
.bring__name {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bring__why { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ------------------------------------------------------- link polish -- */

.place-item__link a,
.footer__book a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.4s var(--ease);
}
.place-item__link a:hover,
.footer__book a:hover { background-size: 0 1px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 62rem) {
  .features, .area { grid-template-columns: repeat(2, 1fr); }
  .bring-grid { grid-template-columns: repeat(2, 1fr); }
  .place-item__inner { grid-template-columns: 1fr; }
  .place-item__head { grid-template-columns: 1fr auto 1.5rem; }
  .place-item__cat { grid-column: 1 / -1; }
  .facts, .intro { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

@media (max-width: 48rem) {
  html { scroll-padding-top: 4.5rem; }

  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--gutter);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease),
                padding 0.45s var(--ease);
  }
  .nav.is-open {
    max-height: 24rem;
    opacity: 1;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .header--over .nav a { color: var(--ink-soft); }
  .nav a { padding-block: 0.85rem; border-top: 1px solid var(--line); font-size: 1rem; }

  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure { padding-right: 0.5rem; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .features, .area, .grid-strip { grid-template-columns: 1fr; }
  .bring-grid { grid-template-columns: 1fr; }
  .amen { columns: 1; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__book { text-align: left; }

  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}

/* ------------------------------------------------------- reduced motion  */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .tile { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
  .hero__media, .band__media { transform: none; }
  .tile img, .js .tile.is-in img, .js .split__media img { transform: none; }
  .eyebrow::after { transform: scaleX(1); }
  .lightbox__stage img { opacity: 1; transform: none; }
  .js .figure, .js .amen li, .js .spec dt, .js .spec dd { opacity: 1; transform: none; }
  .place-item__panel { animation: none; }
}

/* ------------------------------------------------------------------ print */

@media print {
  .header, .lightbox, .hero__actions, .gallery-cta { display: none; }
  body { background: #fff; }
  .hero { min-height: auto; }
}

/* ----------------------------------------------------------- wifi card -- */

/* Reached only by scanning the code in the house, so it is built for a phone
   held at arm's length: big type, high contrast, nothing else on the page. */
.wifi-page { background: var(--paper); }

.wifi-shell {
  max-width: 34rem;
  padding-block: clamp(2.5rem, 8vw, 4.5rem);
}

.wifi-mark {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.card .h2 { margin: 1rem 0 0.9rem; }
.card .prose { margin: 0; }

.card__facts {
  margin: 1.8rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.card__facts dt,
.card__facts dd {
  margin: 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.card__facts dt { color: var(--ink-soft); padding-right: 1.5rem; white-space: nowrap; }
.card__facts code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.card__copy { margin-top: 1.6rem; }
.card__copy.is-done { background: var(--accent-lift); }
.card__help { margin: 1.6rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.card__home { margin: 1.4rem 0 0; font-size: 0.95rem; }

/* ------------------------------------------------------- a little more -- */

/* The plus on a place nudges open on hover, before it is even clicked. */
.place-item__head:hover .place-item__mark::before,
.place-item__head:hover .place-item__mark::after { background: var(--accent); }

/* Subpage content settles in rather than snapping. */
.js .wifi-shell > * { animation: hero-rise 0.6s var(--ease) both; }
.js .wifi-shell > *:nth-child(2) { animation-delay: 60ms; }
.js .wifi-shell > *:nth-child(3) { animation-delay: 120ms; }
.js .wifi-shell > *:nth-child(4) { animation-delay: 180ms; }

/* The footer arrives like everything else. */
.js .footer__inner > * { opacity: 0; transform: translateY(10px); }
.js .footer.is-in .footer__inner > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js .footer.is-in .footer__inner > *:nth-child(2) { transition-delay: 70ms; }
.js .footer.is-in .footer__inner > *:nth-child(3) { transition-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
  .js .wifi-shell > * { animation: none; }
  .js .footer__inner > * { opacity: 1; transform: none; }
}

/* The wifi card's own top bar: wordmark on the left, languages on the right. */
.wifi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.wifi-top .wifi-mark { margin: 0; }
