:root {
  --ink: #2a2724;
  --ink-soft: #5d574f;
  --paper: #faf7f1;
  --card: #fffdfa;
  --line: #e4ddd0;
  --green: #3f6b4d;
  --green-dark: #2f5139;
  --clay: #b0552f;
  --gold: #c89a3c;
  --shadow: 0 1px 2px rgba(42, 39, 36, .05), 0 8px 24px -12px rgba(42, 39, 36, .18);
  --wrap: 68rem;
  --r: 14px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is essential: the width/height attributes on <img> (there to
   reserve layout space) otherwise act as presentational hints and override
   every aspect-ratio below, forcing each thumbnail to a literal 450px. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--clay); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
sup { font-size: .62em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; color: #fff; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 4px;
}

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

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 241, .88);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; margin-right: auto; min-width: 0; }
.brand img { width: 26px; height: 26px; flex: none; }
.brand b { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap; }
.brand span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

/* The header has to fit a wordmark, a menu button and a language switch on a
   narrow phone, so the decorative parts step aside first. */
.lang-short { display: none; }
@media (max-width: 29.99rem) {
  .brand img { width: 22px; height: 22px; }
  .brand b { font-size: .98rem; }
  .brand .sub { display: none; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .head-in { gap: .5rem; }
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .93rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(63, 107, 77, .08); }
.nav a[aria-current="page"] { color: var(--green-dark); background: rgba(63, 107, 77, .1); }

.head-tools { display: flex; align-items: center; gap: .5rem; }
.lang {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); padding: .4rem .6rem; border-radius: 999px;
  border: 1px solid var(--line);
}
.lang:hover { color: var(--green-dark); border-color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: .93rem; font-weight: 600; text-decoration: none;
  padding: .62rem 1.15rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.head-phone { display: none; }
@media (min-width: 60rem) { .head-phone { display: inline-flex; } }

.nav-toggle { display: none; }
@media (max-width: 47.99rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .45rem; background: var(--card);
    border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem;
    font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .nav {
    position: absolute; inset: 100% .75rem auto .75rem;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    padding: .5rem; box-shadow: var(--shadow);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .7rem .8rem; font-size: 1rem; border-radius: 10px; }
}

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

.hero { position: relative; isolation: isolate; }
.hero-media { position: relative; min-height: min(78svh, 40rem); display: grid; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,26,22,.5) 0%, rgba(30,26,22,.25) 35%, rgba(30,26,22,.72) 100%);
}
.hero-in { align-self: end; width: 100%; padding-block: 3.5rem 3rem; color: #fff; }
.hero-in h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-in p {
  max-width: 46ch; margin: 1rem 0 0; font-size: 1.1rem; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-actions .btn-ghost { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(4px); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }

.eyebrow {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--gold); margin: 0 0 .7rem;
}
.hero .eyebrow { color: rgba(255,255,255,.8); }

/* ---------- page header (inner pages) ---------- */

.page-head { padding-block: 3.25rem 1.5rem; }
.page-head .lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; margin: 1rem 0 0; }

/* ---------- sections ---------- */

.section { padding-block: 3.25rem; }
.section + .section { padding-top: 0; }
.section-narrow { max-width: 44rem; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; box-shadow: var(--shadow);
}

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 54rem) { .split { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* facts */
/* Always 2x2: this sits in a narrow sidebar, where four columns squeeze the
   labels onto two lines each. */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--card); padding: 1.15rem .9rem; text-align: center; }
.facts b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--green-dark); }
.facts span { font-size: .82rem; color: var(--ink-soft); }

/* spec list */
.specs { list-style: none; margin: 0; padding: 0; }
.specs > li {
  position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--line);
}
.specs > li:last-child { border-bottom: 0; }
.specs > li::before {
  content: ""; position: absolute; left: .35rem; top: 1.22em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.specs ul { list-style: none; margin: .5rem 0 .2rem; padding: 0; }
.specs ul li {
  position: relative; padding-left: 1.1rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.55;
}
.specs ul li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--line);
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: .87rem; color: var(--ink-soft); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: .32rem .8rem;
}

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

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* A short gallery stays three across, so three photos fill the row instead of
   leaving a gap in a four-column grid. */
@media (min-width: 62rem) { .gallery--three { grid-template-columns: repeat(3, 1fr); } }

.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px;
  overflow: hidden; position: relative; display: block; width: 100%;
}
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), filter .3s ease;
  background: var(--line);
}
.gallery button:hover img { transform: scale(1.045); filter: brightness(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .7rem .55rem;
  background: linear-gradient(transparent, rgba(24,20,17,.72));
  color: #fff; font-size: .78rem; text-align: left; line-height: 1.3;
  opacity: 0; transition: opacity .25s ease;
}
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { opacity: 1; }
.gallery figure { margin: 0; }

/* lightbox */
.lb[hidden] { display: none; }
.lb {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 17, 14, .93);
  display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; padding: .75rem;
}
/* Flex, not grid: as a grid container its implicit row would be auto-sized to
   the image, making the image's own max-height:100% self-referential — so tall
   photos overflowed past the bottom of the screen. */
.lb-img { display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.85); }
.lb-cap { font-size: .9rem; text-align: center; color: rgba(255,255,255,.8); min-height: 1.4em; }
.lb button {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 999px; width: 2.6rem; height: 2.6rem; font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center;
}
.lb button:hover { background: rgba(255,255,255,.2); }
.lb-count { font-size: .82rem; letter-spacing: .08em; }

/* ---------- attractions ---------- */

.things { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .things { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }

.thing {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.thing > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--line); }
.thing-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.thing h2 { font-size: 1.28rem; }
.thing h2 a { text-decoration: none; }
.thing h2 a:hover { text-decoration: underline; }
.thing p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.time {
  align-self: flex-start; font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: var(--green-dark); background: rgba(63, 107, 77, .1); border-radius: 999px; padding: .22rem .7rem;
}

/* ---------- callout ---------- */

.callout {
  background: var(--green); color: #fff; border-radius: var(--r); padding: 2rem 1.75rem;
  display: grid; gap: 1rem;
}
.callout h2 { color: #fff; }
.callout p { margin: 0; color: rgba(255,255,255,.9); }
.callout a { color: #fff; }
.callout .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; justify-self: start; }
.callout .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; border-color: #fff; }

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

.site-foot { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--card); }
.foot-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 46rem) { .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.foot-grid h3 {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .8rem; font-weight: 600;
}
.foot-grid p { margin: 0 0 .4rem; color: var(--ink-soft); font-size: .95rem; }
.foot-grid a { color: var(--ink); }
.foot-bot {
  border-top: 1px solid var(--line); padding-block: 1.1rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between;
  font-size: .84rem; color: var(--ink-soft);
}
.foot-bot a { color: var(--ink-soft); }

/* ---------- photo credits ---------- */

.credits-h {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 .5rem; font-weight: 600;
}
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.credits a { color: var(--ink-soft); }
.credits a:hover { color: var(--green-dark); }

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: min(68svh, 32rem);
  padding-block: 3.5rem;
}
.notfound-code {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--line);
  margin: 0 0 1rem;
}
.notfound h1 { margin-bottom: .25rem; }
.notfound-sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.notfound-text {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 42ch;
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-top: 2.2rem;
}
