/* 2 Cranes — palette taken from glacial creek water and the forest around it */
:root {
  --ink: #15201d;        /* spruce shadow — text and dark sections */
  --glacier: #5f9590;    /* milky glacial teal — the single accent */
  --glacier-deep: #3d6b67;
  --mist: #edf0ee;       /* cool pale ground */
  --stone: #c9cbc4;      /* creek stone — rules and borders */
  --paper: #fbfbf9;
  --muted: #5a6662;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.6rem, 6vw, 4.5rem);
  --step-5: clamp(3.5rem, 12vw, 9.5rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; background: var(--stone); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--glacier); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  color: var(--paper);
}
.site-header--solid { position: static; color: var(--ink); border-bottom: 1px solid var(--stone); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand { font-family: var(--serif); font-size: var(--step-1); text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); font-size: var(--step--1); letter-spacing: .04em; }
.nav a { text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: var(--paper); background: var(--ink); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,32,29,.45) 0%, rgba(21,32,29,0) 30%, rgba(21,32,29,.15) 55%, rgba(21,32,29,.78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(2rem, 6vw, 4rem); width: 100%; }
.hero h1 { font-size: var(--step-4); max-width: 15ch; margin-bottom: 1.5rem; }

/* Booking box (our form; replaced by vendor embed in embed mode) */
.booking { background: var(--paper); color: var(--ink); padding: 1.25rem; }
.booking form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .75rem 1rem; align-items: end; }
.booking label { display: grid; gap: .3rem; font-size: var(--step--1); color: var(--muted); }
.booking input, .booking select {
  font: inherit; font-size: var(--step-0); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--stone); background: transparent; padding: .45rem 0; border-radius: 0; width: 100%;
}
.button {
  font: 500 var(--step--1)/1 var(--sans); letter-spacing: .06em;
  background: var(--glacier-deep); color: var(--paper); border: 0; padding: 1rem 1.6rem; cursor: pointer; text-decoration: none; display: inline-block;
}
.button:hover { background: var(--ink); }
.booking--embed { padding: 0; background: transparent; }
.hero .booking { max-width: 860px; }

/* The pair */
.intro { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.intro p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.35; max-width: 30ch; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.cabin-card { text-decoration: none; display: block; }
.cabin-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.cabin-card h2 { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .9; margin-top: -0.42em; position: relative; color: var(--ink); mix-blend-mode: normal; }
.cabin-card:nth-child(2) { margin-top: clamp(3rem, 10vw, 8rem); }
.cabin-card .facts { color: var(--muted); font-size: var(--step--1); margin-top: .75rem; }
.cabin-card:hover h2 { color: var(--glacier-deep); }

.also { padding-bottom: clamp(4rem, 9vw, 7rem); }
.also-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; text-decoration: none; border-top: 1px solid var(--stone); padding-top: clamp(2rem, 5vw, 3.5rem); }
.also-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.also-card h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.also-card .facts { color: var(--muted); font-size: var(--step--1); }
.also-card:hover h2 { color: var(--glacier-deep); }
.features.features--single { columns: 1; }
.amen-h { font-family: var(--sans); font-weight: 500; font-size: var(--step-0); margin: 1.75rem 0 .25rem; color: var(--glacier-deep); }

/* Shared features */
.band { background: var(--mist); padding: clamp(4rem, 9vw, 7rem) 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); }
.band h2 { font-size: var(--step-3); }
.features { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.features li { break-inside: avoid; padding: .7rem 0; border-top: 1px solid var(--stone); }

/* Location */
.place { padding: clamp(4rem, 9vw, 7rem) 0; }
.place-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.place h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.distances { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.distances dt, .distances dd { padding: .7rem 0; border-top: 1px solid var(--stone); margin: 0; }
.distances dd { color: var(--muted); text-align: right; }

/* Quote */
.quote { margin: 0; background: var(--ink); color: var(--paper); padding: clamp(4rem, 10vw, 8rem) 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-3); line-height: 1.2; max-width: 24ch; }
.quote figcaption { margin-top: 1.5rem; color: var(--stone); }

/* Cabin page */
.cabin-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(2rem, 5vw, 4rem) 0; align-items: end; }
.cabin-hero h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .95; overflow-wrap: anywhere; }
.cabin-hero .lede { font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; }
.spec { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(160px, 22vw, 300px); gap: .5rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.cabin-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); padding: clamp(3rem, 7vw, 6rem) 0; align-items: start; }
.cabin-body h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.cabin-body h2:first-child { margin-top: 0; }
.sticky { position: sticky; top: 1.5rem; }
.sticky .booking { border: 1px solid var(--stone); padding: 1.5rem; }
.sticky .booking form { grid-template-columns: 1fr 1fr; }
.sticky .booking form label:nth-of-type(3), .sticky .booking .button { grid-column: 1 / -1; }
.note { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }

/* Simple content pages */
.page { padding: clamp(3rem, 7vw, 6rem) 0; }
.page h1 { font-size: var(--step-4); margin-bottom: 2rem; }
.page h2 { font-size: var(--step-2); margin: 3rem 0 1rem; }
.page h3 { font-family: var(--sans); font-weight: 500; font-size: var(--step-0); margin: 1.5rem 0 .5rem; }
.recs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 2rem; }
.recs li { padding: .55rem 0; border-top: 1px solid var(--stone); }
.recs small { display: block; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--stone); padding: 3rem 0; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 820px) {
  .booking form { grid-template-columns: 1fr 1fr; }
  .booking .button { grid-column: 1 / -1; }
  .pair, .band-grid, .place-grid, .cabin-hero, .cabin-body { grid-template-columns: 1fr; }
  .cabin-card:nth-child(2) { margin-top: 0; }
  .features { columns: 1; }
  .also-card { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: span 1; }
  .sticky { position: static; }
  .nav { gap: 1rem; }
  .nav a.hide-sm { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .booking { animation: rise 900ms cubic-bezier(.2,.7,.2,1) both; }
  .hero .booking { animation-delay: 180ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
