/* ==========================================================================
   Fararsnið — forsíða
   Direction: the category standard, executed at premium-hotel craft.
   Palette committed at page scale; one accent, used sparingly and deliberately.
   ========================================================================== */

:root {
  /* Ground — warm white, per the direction contract's OWN-WORLD.
     Pure white shipped here previously and made the dominant field colder
     than the world the contract names. */
  --ground:      #fdfaf4;
  --ground-warm: #f6efe4;
  --ground-deep: #ebe1d2;
  --ground-ink:  #221f1a;

  /* Ink */
  --ink:         #221f1a;
  --ink-soft:    #4a443b;
  --ink-muted:   #6e675c;
  /* For the ledger's fifteen repeated status words: warming the ground pushed
     --ink-muted to 4.80:1 there, which is the wrong direction for this audience. */
  --ink-quiet:   #554e42;
  --ink-onDark:  #f6f1e8;
  --ink-onDarkMuted: #c4bcae;

  /* Accent. Terracotta, chosen for the site and preferred over the logo's
     own burgundy — the logo is recoloured to match the site, not the other
     way round. Both status colours sit well clear of the 4.5:1 floor. */
  --accent:       #a84b28;
  --accent-deep:  #8a3d20;
  --accent-wash:  #f6e9e2;
  --accent-onWash:#6b2d14;
  --accent-onPhoto:#f0c9a8;
  --olive:        #56613f;
  --olive-wash:   #e8ecdb;

  /* Ink and lines that sit ON a photograph. A real sub-system: the hero and
     the drawer are the only places the page paints over an image. */
  --onPhoto:        rgba(255,255,255,.92);
  --onPhoto-muted:  rgba(255,255,255,.72);
  --onPhoto-line:   rgba(255,255,255,.55);
  --onPhoto-faint:  rgba(255,255,255,.50);
  --veil:           rgba(255,255,255,.98);
  /* The other direction: warm near-black laid OVER the page. The catalogue's
     picture gallery and the badge on a card's photograph are the only two
     places this happens. It is --ground-ink at 93%, not a new colour — the
     dark the site already drops to, made to sit on top of something. */
  --scrim:          rgba(34, 31, 26, .93);

  /* The kind line sits below the drawn wordmark and is deliberately off the ramp. */
  --wordmark-kind: 0.72rem;
  /* Line */
  --line:        #e3dace;
  --line-strong: #cfc3b2;

  /* Type. The fallback families below carry metric overrides so a slow or
     failed font load does not reflow the page. */
  --serif: "Alegreya", "Alegreya Fallback", Georgia, "Times New Roman", serif;
  --sans:  "Alegreya Sans", "Alegreya Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --t--1: 0.9375rem;
  --t-0:  1.0625rem;
  --t-1:  1.1875rem;
  --t-2:  clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --t-3:  clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  --t-4:  clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
  --t-5:  clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);

  /* Space */
  --s-1: 0.5rem;
  --s-2: 0.875rem;
  --s-3: 1.25rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 7rem;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 68ch;
  --maxw: 76rem;

  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(34, 31, 26, .06), 0 2px 8px rgba(34, 31, 26, .05);
  --shadow-md: 0 2px 4px rgba(34, 31, 26, .07), 0 12px 28px rgba(34, 31, 26, .09);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── Fallback metrics ───────────────────────────────────────────────────
   Local stand-ins matched to Alegreya's metrics, so the swap when the web
   font arrives does not shift the layout — and so a CDN failure degrades to
   a correctly-sized page rather than a differently-sized one.
   ------------------------------------------------------------------- */
@font-face {
  font-family: "Alegreya Fallback";
  src: local("Georgia"), local("Times New Roman"), local("Liberation Serif");
  size-adjust: 102%;
  ascent-override: 92%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Alegreya Sans Fallback";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--t-0)/1.65 var(--sans);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }

/* ── Browser surfaces — themed, not left to the browser ─────────────── */
::selection { background: var(--accent); color: var(--ink-onDark); }
html { caret-color: var(--accent); scrollbar-color: var(--line-strong) var(--ground-warm); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground-warm); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--ground-warm);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

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

/* Dates, prices and counts are tabular everywhere they appear. */
.ledger__dates, .card__dates, .open-now__dates, .post__date, .tag {
  font-variant-numeric: tabular-nums lining-nums;
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--s-3); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--ink-onDark);
  padding: var(--s-2) var(--s-3); border-radius: var(--radius);
  transition: top .18s var(--ease);
}
.skip:focus { top: var(--s-3); }

/* ── Type ───────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-1); font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { text-wrap: pretty; }

.lede {
  font-size: var(--t-2);
  line-height: 1.45;
  color: var(--ink-soft);
  font-family: var(--serif);
}

.motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: var(--t-1);
}
.motto--sm { font-size: var(--t-0); }

/* ── Icons ──────────────────────────────────────────────────────────── */
.icon {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.icon--solid { fill: currentColor; stroke: none; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 500 var(--t-0)/1 var(--sans);
  padding: 1rem 1.5rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn--lg { padding: 1.15rem 2rem; font-size: var(--t-1); }

.btn--primary {
  background: var(--accent);
  color: var(--ink-onDark);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ink-onDark); border-color: var(--ink); }

.btn[aria-disabled="true"], .btn:disabled {
  background: var(--ground-deep); color: var(--ink-muted);
  box-shadow: none; cursor: not-allowed; transform: none;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: text-decoration-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { text-decoration-color: currentColor; gap: .8em; }

/* ── Masthead ───────────────────────────────────────────────────────── */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.masthead__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--s-3) var(--gutter);
  display: flex; align-items: center; gap: var(--s-4);
}

.wordmark { text-decoration: none; display: grid; line-height: 1; }
.wordmark__kind {
  font-size: var(--wordmark-kind); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: .3em;
}

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: var(--s-4); }
.nav__list a {
  text-decoration: none;
  padding-block: .35rem;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav__list a:hover { border-bottom-color: currentColor; }

.masthead__phone {
  display: inline-flex; align-items: center; gap: .5em;
  text-decoration: none; font-weight: 500; white-space: nowrap;
}
.masthead__phone:hover { color: var(--accent); }

.burger { display: none; background: none; border: 0; padding: .75rem; cursor: pointer; color: inherit; }
.burger__box { display: grid; gap: 6px; width: 24px; }
.burger__box span { height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] .burger__box span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* Over the hero photograph the masthead is transparent and light. */
.page-home .masthead:not(.is-stuck) {
  color: var(--ink-onDark);
}
.page-home .masthead:not(.is-stuck) .wordmark__kind { color: var(--onPhoto-muted); }

/* Solid, not translucent: at 96% the page text read straight through the bar. */
.masthead.is-stuck {
  background: var(--ground);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(34,31,26,.06);
  color: var(--ink);
}

.drawer { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92vh, 46rem);
  display: grid; align-items: end;
  color: var(--ink-onDark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media > * { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
      rgba(20,17,13,.86) 0%,
      rgba(20,17,13,.55) 38%,
      rgba(20,17,13,.22) 68%,
      rgba(20,17,13,.34) 100%);
}
.hero__body {
  max-width: var(--maxw); width: 100%;
  margin-inline: auto;
  padding: var(--s-7) var(--gutter) var(--s-6);
}
.hero__title {
  font-size: var(--t-5);
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-shadow: 0 1px 24px rgba(0,0,0,.32);
}
.hero__lede {
  margin-top: var(--s-3);
  max-width: 44ch;
  font-size: var(--t-2);
  line-height: 1.45;
  font-family: var(--serif);
  color: var(--onPhoto);
}
.hero .motto {
  margin-top: var(--s-3);
  color: var(--accent-onPhoto);
}
.hero__actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero .btn--ghost { color: var(--ink-onDark); border-color: var(--onPhoto-line); }
.hero .btn--ghost:hover { background: var(--ground); color: var(--ink); border-color: var(--ground); }

/* The one authored moment: the hero settles on load. Content is visible
   from the first frame; only transform animates. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media > * { animation: settle 1.6s var(--ease) both; }
  .hero__title, .hero__lede, .hero .motto, .hero__actions { animation: rise .9s var(--ease) both; }
  .hero__lede     { animation-delay: .07s; }
  .hero .motto    { animation-delay: .13s; }
  .hero__actions  { animation-delay: .19s; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise   { from { transform: translateY(14px); } to { transform: none; } }

/* ── Section frames ─────────────────────────────────────────────────── */
.prose-band, .season, .proof, .post-band, .groups, .signup, .quote-band, .open-now {
  padding-block: var(--s-7);
  padding-inline: var(--gutter);
}
.prose-band__inner, .season, .proof__inner, .post, .groups__inner, .signup__inner, .quote {
  max-width: var(--maxw); margin-inline: auto;
}
.prose-band__inner > p, .proof__inner > p, .groups__inner > p { max-width: var(--measure); }

.prose-band { background: var(--ground-warm); }
.prose-band h2 { font-size: var(--t-4); max-width: 18ch; }
/* A lede sets longer than ~46ch at this size stops reading as a lede. */
.prose-band__inner > .lede { margin-top: var(--s-3); max-width: 46ch; }

/* ── Open now ───────────────────────────────────────────────────────── */
.open-now {
  background: var(--olive-wash);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.open-now__title {
  max-width: var(--maxw); margin-inline: auto;
  font-size: var(--t-2);
}
.open-now__list { max-width: var(--maxw); margin: var(--s-3) auto 0; display: grid; gap: 1px; }
.open-now__link {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-3);
  padding: var(--s-3) 0;
  text-decoration: none;
  border-top: 1px solid var(--line-strong);
  transition: color .2s var(--ease);
}
.open-now__link:hover { color: var(--accent-deep); }
.open-now__trip { font-family: var(--serif); font-size: var(--t-2); }
.open-now__dates { color: var(--ink-soft); }
.open-now__link .tag { margin-inline-start: auto; }

/* ── Promises ───────────────────────────────────────────────────────── */
.promises { margin-top: var(--s-5); display: grid; gap: 0; }
.promise {
  display: grid; gap: var(--s-1);
  padding-block: var(--s-3);
  border-top: 1px solid var(--line);
}
.promise dt { font-family: var(--serif); font-size: var(--t-2); }
.promise dd { color: var(--ink-soft); max-width: 56ch; }

@media (min-width: 52rem) {
  .promise { grid-template-columns: 20rem 1fr; gap: var(--s-4); align-items: baseline; }
}

/* ── Season ─────────────────────────────────────────────────────────── */
.season__head { max-width: var(--measure); }
.season h2 { font-size: var(--t-4); }
.season__note { margin-top: var(--s-3); color: var(--ink-soft); font-size: var(--t-1); }
.season--closing { background: var(--ground-warm); }

/* ── Cards ──────────────────────────────────────────────────────────── */
.cards {
  margin-top: var(--s-5);
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ground-deep); }
/* The picture, and the placeholder that stands in for it — named rather than
   "every child". The catalogue card puts a badge in here too, and a universal
   selector stretched that to the full frame and hid the photograph behind it. */
.card__media > img,
.card__media > .photo-missing { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: grid; gap: .3rem; padding: var(--s-3); align-content: start; }
/* No eyebrow above the heading: the region was already inside the title. */
.card__title { font-family: var(--serif); font-size: var(--t-2); line-height: 1.15; }
.card__dates { color: var(--ink-soft); }
.card .tag { margin-top: var(--s-2); justify-self: start; }

/* ── Tags ───────────────────────────────────────────────────────────── */
/* A filled chip is reserved for a departure you can still get on. Fifteen
   identical filled chips saying Uppselt put the one live row in the same
   grammar as the fifteen closed ones and flattened the only actionable thing
   on the page. Sold out is stated, quietly, as type. */
.tag {
  display: inline-block;
  font-size: var(--t--1); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.tag--open { background: var(--olive); color: var(--ink-onDark); }
.tag--soon { background: var(--accent-wash); color: var(--accent-onWash); }
.tag--closed {
  background: none;
  padding-inline: 0;
  color: var(--ink-quiet);
  font-weight: 400;
}

/* ── Ledger: the sold-out season, as evidence ───────────────────────── */
.ledger { margin-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.ledger__link {
  display: grid; gap: .2rem var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  /* transform, not padding — animating padding thrashes layout on a 16-row list */
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.ledger__link:hover { color: var(--accent-deep); transform: translateX(.5rem); }
.ledger__title { font-family: var(--serif); font-size: var(--t-2); line-height: 1.2; }
.ledger__dates { color: var(--ink-soft); }
.ledger__row--sold_out .ledger__title { color: var(--ink-soft); }

@media (min-width: 46rem) {
  .ledger__link {
    grid-template-columns: minmax(0, 1fr) 16rem 9rem;
    align-items: baseline;
  }
  .ledger__status { justify-self: end; }
}

/* ── Quote ──────────────────────────────────────────────────────────── */
.quote-band { background: var(--ground-ink); color: var(--ink-onDark); }
/* Measured in rem, not ch: ch resolves against the container's body font,
   which sized this column for 17px text while the quote renders at 60px. */
.quote { text-align: center; max-width: 34rem; }
.quote p {
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-3); line-height: 1.25; letter-spacing: -0.02em;
}
.quote footer {
  margin-top: var(--s-3);
  font-size: var(--t--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-onDarkMuted);
}

/* ── Proof ──────────────────────────────────────────────────────────── */
.proof h2 { font-size: var(--t-3); max-width: 22ch; }
.proof p { margin-top: var(--s-3); color: var(--ink-soft); }
.proof__links { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.proof__links a {
  text-decoration: underline; text-underline-offset: .28em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s var(--ease);
}
.proof__links a:hover { text-decoration-color: currentColor; }

/* ── Post ───────────────────────────────────────────────────────────── */
.post-band { background: var(--ground-warm); }
.post__title { font-size: var(--t-3); max-width: 20ch; }
.post__title a { text-decoration: none; }
.post__title a:hover { color: var(--accent-deep); }
.post__date { margin-top: var(--s-2); color: var(--ink-muted); font-size: var(--t--1); }
.post__excerpt { margin-top: var(--s-3); max-width: var(--measure); color: var(--ink-soft); }
.post .link-arrow { margin-top: var(--s-3); }

/* ── Full-bleed photographic band ───────────────────────────────────── */
.band { position: relative; }
.band__img, .band .photo-missing {
  width: 100%;
  height: clamp(18rem, 46vw, 34rem);
  object-fit: cover;
}
.band__caption {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--s-2) var(--gutter) 0;
  color: var(--ink-muted);
  font-size: var(--t--1);
}
.band__caption > span { display: block; max-width: 56ch; }

/* ── Groups: the quiet door ─────────────────────────────────────────── */
.groups {
  padding-block: var(--s-6);
  border-top: 1px solid var(--line);
  display: grid; gap: var(--s-5);
  max-width: var(--maxw); margin-inline: auto;
}
.groups__media { display: grid; gap: var(--s-2); }
.groups__media > :first-child { border-radius: var(--radius); overflow: hidden; background: var(--ground-deep); }
.groups__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.groups__media figcaption { color: var(--ink-muted); font-size: var(--t--1); }
.groups__inner { max-width: none; }
.groups h2 { font-size: var(--t-3); }
@media (min-width: 52rem) {
  .groups { grid-template-columns: 1fr 1.1fr; gap: var(--s-6); align-items: center; }
  .groups__media { min-height: 20rem; }
}
.groups p { margin-top: var(--s-3); color: var(--ink-soft); }
.groups__list { margin-top: var(--s-3); display: grid; gap: var(--s-2); max-width: var(--measure); }
.groups__list li { color: var(--ink-soft); }
.groups__list strong { color: var(--ink); font-weight: 700; }
.groups .link-arrow { margin-top: var(--s-4); }

/* ── Signup ─────────────────────────────────────────────────────────── */
.signup { background: var(--ground-ink); color: var(--ink-onDark); }
.signup h2 { font-size: var(--t-4); max-width: 14ch; }
.signup p { margin-top: var(--s-3); max-width: 50ch; color: var(--ink-onDarkMuted); font-size: var(--t-1); }
.signup .btn--primary { margin-top: var(--s-4); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--ground-warm); border-top: 1px solid var(--line); }
.footer__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--s-6) var(--gutter) var(--s-5);
  display: grid; gap: var(--s-5);
}
@media (min-width: 52rem) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-4); }
}
.footer__brand .footer__brand .motto { margin-top: var(--s-1); }
.footer h3 {
  font-size: var(--t--1); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.footer address, .footer__contact, .footer ul { margin-top: var(--s-2); }
.footer address { font-style: normal; color: var(--ink-soft); }
.footer ul { display: grid; gap: .4rem; }
.footer a { text-decoration: none; text-underline-offset: .25em; }
.footer a:hover { text-decoration: underline; color: var(--accent-deep); }
.footer li a { display: inline-flex; align-items: center; gap: .45em; }

.footer__base {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--s-3) var(--gutter) var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  color: var(--ink-muted); font-size: var(--t--1);
  border-top: 1px solid var(--line);
}

/* ── Notice ─────────────────────────────────────────────────────────── */
.notice {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--ground-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-3) var(--s-4); justify-content: space-between;
}
.season--closing .notice { background: var(--ground); }
.notice__text { max-width: 46ch; font-size: var(--t-1); color: var(--ink-soft); margin: 0; }

/* ── Missing photography ────────────────────────────────────────────────
   Confirmed to exist, not yet delivered into the project. Rendered as an
   unmistakable placeholder rather than a gradient pretending to be a photo.
   Every one of these is on the replacement list in ASSETS.md.
   ------------------------------------------------------------------- */
.photo-missing {
  display: grid; place-content: center; gap: .4rem;
  width: 100%; height: 100%; min-height: 12rem;
  padding: var(--s-3); text-align: center;
  background:
    repeating-linear-gradient(135deg,
      var(--ground-deep) 0 10px,
      #e9e1d5 10px 20px);
  color: var(--ink-muted);
  border: 1px dashed var(--line-strong);
}
.photo-missing__tag {
  font-size: var(--t--1); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.photo-missing__path { font-size: var(--t--1); opacity: .8; word-break: break-all; }

/* In the hero the label must not land in the middle of the headline. */
.hero .photo-missing {
  border: 0; min-height: 100%;
  position: relative;
  place-content: start end;
  padding: 5.5rem var(--gutter) 0;
  text-align: end;
}
.hero .photo-missing__tag,
.hero .photo-missing__path { color: var(--onPhoto-faint); }

/* ── Narrow ─────────────────────────────────────────────────────────── */
@media (max-width: 60rem) {
  .nav, .masthead__phone { display: none; }
  .burger { display: block; margin-inline-start: auto; }

  .drawer {
    display: block;
    background: var(--veil);
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(34,31,26,.10);
    padding: var(--s-3) var(--gutter) var(--s-4);
    color: var(--ink);
  }
  .drawer[hidden] { display: none; }
  .drawer__list { display: grid; gap: .25rem; }
  .drawer__list a {
    display: block; padding: .9rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none; font-size: var(--t-1);
  }
  .drawer__phone {
    display: inline-block; margin-top: var(--s-3);
    font-weight: 500; font-size: var(--t-1); color: var(--accent-deep);
  }
  .masthead.has-drawer-open { background: var(--veil); color: var(--ink); }

  .prose-band, .season, .proof, .post-band, .groups, .signup, .quote-band {
    padding-block: var(--s-6);
  }
  .hero__body { padding-block: var(--s-6) var(--s-5); }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; flex: 1 1 12rem; }
  .notice .btn { width: auto; }
}

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

/* ==========================================================================
   Trip page — "Vikan sem eitt"
   The week is legible in one screen before anything asks you to scroll;
   any day opens in place. Hairlines, not boxes. Filled chip only for open.
   ========================================================================== */

.trip { padding-inline: var(--gutter); }

.crumbs {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 6.5rem;
  display: flex; gap: .6rem; align-items: baseline;
  font-size: var(--t--1); color: var(--ink-muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: .25em; }

/* Mobile follows source order: head, rail, main — so the price and the action
   are reachable immediately. Desktop places the rail back in column two. */
.trip__grid { max-width: var(--maxw); margin-inline: auto; display: grid; gap: var(--s-5); }
@media (min-width: 62rem) {
  .trip__grid {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: var(--s-4) var(--s-6);
    align-items: start;
  }
  .trip__head { grid-column: 1; grid-row: 1; }
  .rail       { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .trip__main { grid-column: 1; grid-row: 2; }
}

.trip__head { padding-block: var(--s-4) var(--s-3); }
.trip__head h1 { font-size: var(--t-4); max-width: 20ch; }
.trip__dates {
  margin-top: var(--s-2); font-size: var(--t-2); color: var(--ink-soft);
  font-variant-numeric: tabular-nums lining-nums;
}
.trip__head .tag { margin-top: var(--s-2); }
.trip__head .lede { margin-top: var(--s-3); max-width: 52ch; }

.trip__media { margin-block: var(--s-3) var(--s-6); }
.trip__img, .trip__media .photo-missing {
  width: 100%; height: clamp(16rem, 38vw, 28rem); object-fit: cover;
  border-radius: var(--radius);
}

/* The week */
.week__head { display: grid; gap: var(--s-2); }
.week h2 { font-size: var(--t-3); }
.week__meta { color: var(--ink-muted); font-size: var(--t--1); }

.week__list { margin-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.week__day { border-bottom: 1px solid var(--line); }
.week__day--free { background: var(--ground-warm); }

.day__summary {
  display: grid; gap: .15rem var(--s-3);
  grid-template-columns: 2rem 1fr;
  padding: var(--s-3) 0;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}
.day__summary::-webkit-details-marker { display: none; }
.day__summary:hover { color: var(--accent-deep); }
.day__summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.day__n {
  grid-row: 1 / span 2;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: var(--t--1); color: var(--ink-muted);
  padding-top: .35rem;
}
.day__when { display: flex; gap: .5rem; align-items: baseline; font-size: var(--t--1); color: var(--ink-muted); }
.day__date { font-variant-numeric: tabular-nums lining-nums; }
.day__headline { font-family: var(--serif); font-size: var(--t-2); line-height: 1.2; }
.day__marks { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }

.mark {
  font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-quiet);
}
.mark--free { color: var(--olive); font-weight: 500; }
.mark--walk { font-variant-numeric: tabular-nums lining-nums; }

.day[open] .day__headline { color: var(--accent-deep); }

.day__items {
  display: grid; gap: var(--s-2);
  padding: 0 0 var(--s-4) 3.25rem;
  max-width: 62ch;
}
.day__item { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-2); align-items: baseline; }
.day__time {
  font-variant-numeric: tabular-nums lining-nums;
  font-size: var(--t--1); color: var(--ink-muted);
}
.day__text { color: var(--ink-soft); }

.incl {
  display: inline-block; margin-inline-start: .4em;
  font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase;
  color: var(--olive); font-weight: 500;
}

/* Offer and inclusions */
.offer, .incl-band, .guides, .says, .others { padding-block: var(--s-6) 0; }
.offer h2, .guides h2, .says h2, .others h2 { font-size: var(--t-3); }

.offer__list { margin-top: var(--s-3); display: grid; gap: var(--s-2); max-width: 62ch; }
.offer__list li { padding-left: 1.1rem; position: relative; color: var(--ink-soft); }
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .4rem; height: .4rem; border-radius: 50%; background: var(--olive);
}

.incl-band { display: grid; gap: var(--s-5); }
@media (min-width: 46rem) { .incl-band { grid-template-columns: 1.6fr 1fr; gap: var(--s-6); } }
.incl-band h2 { font-size: var(--t-2); }
.incl-list { margin-top: var(--s-3); display: grid; gap: .45rem; }
.incl-list li { color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: .45rem; }
.incl-list--not li { color: var(--ink-quiet); }

/* Guides */
.guides__list { margin-top: var(--s-4); display: grid; gap: var(--s-5); }
@media (min-width: 46rem) { .guides__list { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.guide__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--ground-deep); }
/* Portrait frame: headshots cropped into a short landscape box lose the
   top of the head. Bias the crop upward so faces stay whole. */
.guide__media { aspect-ratio: 4 / 5; }
.guide__img, .guide .photo-missing {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.guide__name { margin-top: var(--s-2); font-family: var(--serif); font-weight: 500; font-size: var(--t-2); }
.guide__bio { margin-top: var(--s-1); color: var(--ink-soft); }

/* Testimonials */
.says__list { margin-top: var(--s-4); display: grid; gap: var(--s-4); }
@media (min-width: 52rem) { .says__list { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: start; } }
.says__item { border-top: 2px solid var(--accent); padding-top: var(--s-3); }
.says__item p { color: var(--ink-soft); }
.says__item--verse p { font-family: var(--serif); font-style: italic; font-size: var(--t-1); line-height: 1.5; }
.says__item footer {
  margin-top: var(--s-2);
  font-size: var(--t--1); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}

/* Other departures */
.others__list { margin-top: var(--s-3); border-top: 1px solid var(--line-strong); }
.others__list a {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: baseline;
  justify-content: space-between;
  padding: var(--s-3) 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.others__list a:hover { color: var(--accent-deep); transform: translateX(.5rem); }
.others__dates { font-family: var(--serif); font-size: var(--t-2); font-variant-numeric: tabular-nums lining-nums; }

/* The rail */
.rail__inner {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ground);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 62rem) {
  .rail { position: sticky; top: 6rem; }
}
.rail__price {
  font-family: var(--serif); font-size: var(--t-3); line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.rail__price--tba { font-size: var(--t-2); color: var(--ink-soft); }
.rail__per { color: var(--ink-muted); font-size: var(--t--1); margin-top: .2rem; }

.rail__facts { margin-top: var(--s-3); display: grid; gap: .5rem; }
.rail__facts > div {
  display: flex; justify-content: space-between; gap: var(--s-2);
  border-top: 1px solid var(--line); padding-top: .5rem;
  font-size: var(--t--1);
}
.rail__facts dt { color: var(--ink-muted); }
.rail__facts dd { text-align: end; font-variant-numeric: tabular-nums lining-nums; }

.rail__status { margin-top: var(--s-3); }
.rail__status--closed { color: var(--ink-quiet); font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase; }
.rail__cta { margin-top: var(--s-3); width: 100%; justify-content: center; }
.rail__note { margin-top: var(--s-2); font-size: var(--t--1); color: var(--ink-soft); }
.rail__fine { margin-top: var(--s-2); font-size: var(--t--1); color: var(--ink-muted); }
.rail__fine a { text-underline-offset: .25em; }

/* Waitlist and request form */
.waitlist { background: var(--ground-warm); margin-top: var(--s-7); padding-block: var(--s-6); padding-inline: var(--gutter); }
.waitlist__inner { max-width: 46rem; margin-inline: auto; }
.waitlist h2 { font-size: var(--t-3); }
.waitlist__inner > p { margin-top: var(--s-2); color: var(--ink-soft); max-width: 56ch; }

.wl { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
@media (min-width: 40rem) { .wl { grid-template-columns: 1fr 1fr; } }
.wl__row { display: grid; gap: .35rem; }
/* The honeypot. Taken out of the layout entirely rather than hidden with
   `display: none`, which some bots check for. Never visible, never focusable. */
.wl__trap {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}
.wl__row--wide, .wl__submit { grid-column: 1 / -1; }
.wl label { font-size: var(--t--1); color: var(--ink-soft); font-weight: 500; }
.wl__opt { color: var(--ink-muted); font-weight: 400; }
.wl input, .wl select, .wl textarea {
  font: 400 var(--t-0)/1.5 var(--sans);
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .75rem .85rem;
  min-height: 3rem;
  width: 100%;
}
.wl textarea { min-height: 6rem; resize: vertical; }
.wl input:hover, .wl select:hover, .wl textarea:hover { border-color: var(--ink-muted); }
.wl input:focus-visible, .wl select:focus-visible, .wl textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.wl input::placeholder, .wl textarea::placeholder { color: var(--ink-muted); }
.wl__submit .btn { width: auto; }

.errors {
  margin-top: var(--s-3); display: grid; gap: .4rem;
  color: var(--accent-onWash);
  background: var(--accent-wash);
  border-radius: var(--radius);
  padding: var(--s-3);
  max-width: 52ch;
}

@media (max-width: 60rem) {
  .crumbs { padding-top: 5.5rem; }
  .day__items { padding-left: 0; }
  .day__item { grid-template-columns: 3.25rem 1fr; }
}

/* Effort rating on a cycling stage, and the schedule caveat. */
.mark--effort { color: var(--accent-onWash); font-weight: 500; }
.incl-col__more { margin-top: var(--s-4); }
.schedule-note { margin-top: var(--s-4); color: var(--ink-muted); font-size: var(--t--1); max-width: 62ch; }

.guides__list--one { grid-template-columns: minmax(0, 34rem); }

/* Fitness expectation — the honest answer to "is this too hard for me". */
.fitness { padding-block: var(--s-6) 0; }
.fitness h2 { font-size: var(--t-3); }
.fitness p { margin-top: var(--s-3); color: var(--ink-soft); max-width: 62ch; font-size: var(--t-1); }

/* ── Brand lockup ─────────────────────────────────────────────────────
   The mark and wordmark are inline SVG taking currentColor, so the logo
   is brand burgundy on the solid masthead and light over the hero photo.
   ------------------------------------------------------------------- */
.wordmark { display: flex; align-items: center; gap: .7rem; color: var(--accent); }
.wordmark__mark { width: 2.5rem; height: auto; flex: none; }
.wordmark__lockup { display: grid; gap: .3rem; }
.wordmark__word { width: 8.25rem; height: auto; display: block; }
.footer__word { width: 11rem; height: auto; display: block; color: var(--accent); }
/* Over the photograph the whole lockup goes light. */
.page-home .masthead:not(.is-stuck) .wordmark { color: var(--ink-onDark); }

/* ── Filling the two empty halves ──────────────────────────────────────
   proof and post-band ran as single left columns with the right ~45% of a
   1440 screen empty. Both now carry a photograph, alternating side so the
   lower page reads left–right–left instead of as one repeated block.
   ------------------------------------------------------------------- */

.proof,
.post-band {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: var(--s-4);
}

.proof__media,
.post__media {
  display: grid;
  gap: var(--s-2);
  min-width: 0;
}
/* img.proof__img, not .proof__img: photo() puts the passed class on the
   placeholder too, so a bare class selector would flatten its grid.
   text-decoration is cleared on the anchor, which is what paints it. */
img.proof__img,
.post__media a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ground-deep);
  text-decoration: none;
}
.proof__img, .post__img,
.proof__media .photo-missing,
.post__media .photo-missing {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.proof__media figcaption {
  color: var(--ink-muted);
  font-size: var(--t--1);
  max-width: 44ch;
}

.proof__inner,
.post {
  max-width: none;
  align-self: center;
}

@media (min-width: 52rem) {
  /* Image left, text right. */
  .proof     { grid-template-columns: 1fr 1.05fr; gap: var(--s-6); align-items: center; }
  /* Text left, image right — the mirror of the section above it. */
  .post-band { grid-template-columns: 1.05fr 1fr; gap: var(--s-6); align-items: center; }
}

/* ==========================================================================
   Catalogue — /ferdir/ and the two legacy category URLs
   A list, not a grid: seventeen departures are read by comparing dates and
   status down a column, which cards actively obstruct.
   ========================================================================== */

.catalogue { padding-inline: var(--gutter); }

.catalogue__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-block: var(--s-4) var(--s-5);
}
.catalogue__head h1 { font-size: var(--t-4); }
.catalogue__head .lede { margin-top: var(--s-3); max-width: 46ch; }

.catalogue__count {
  margin-top: var(--s-3);
  color: var(--ink-muted);
  font-size: var(--t--1);
  font-variant-numeric: tabular-nums lining-nums;
}

.catalogue__lines { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.catalogue__lines a {
  text-decoration: underline;
  text-underline-offset: .28em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s var(--ease);
}
.catalogue__lines a:hover { text-decoration-color: currentColor; color: var(--accent-deep); }

.catalogue__season {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-block: 0 var(--s-6);
}
.catalogue__season h2 {
  font-size: var(--t-3);
  font-variant-numeric: tabular-nums lining-nums;
}

/* The catalogue row carries two columns the home page does not: the product
   line, and the price. Sold-out rows stay at full prominence — they are the
   evidence that this company sells out. */
/* ── Katalógusspjöld ────────────────────────────────────────────────── */
/*
 * The catalogue is a two-column grid of cards rather than the ledger it was
 * built as. The ledger's argument — every departure at equal weight, the
 * sold-out ones as evidence — is kept: same order, same five facts, no filter
 * UI, and a sold-out card is the same size as a live one. What changed is that
 * each departure now leads with its photograph, and the photograph opens.
 *
 * Two columns, not three. A card holds a title that can run to two lines, a
 * date range, a product line, a price and a status chip; at three across on a
 * 62rem screen the title wraps to three lines and the grid stops reading as
 * rows. It is also the count the pictures want: a 4:3 photograph at half the
 * measure is large enough to be a photograph rather than a thumbnail.
 */
.cards--catalogue { margin-top: var(--s-3); grid-template-columns: 1fr; }

@media (min-width: 46rem) {
  .cards--catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * Ein ferð fær báða dálkana.
 *
 * A lone card in the left column with half a screen of empty ground beside it
 * was the weakest moment this design had — it is why the old home page kept a
 * separate "lead trip" block for a season with one or two departures. That
 * block is gone and this replaces it without a second component: the same
 * card, turned on its side, photograph beside the words rather than above
 * them. A season announcing its first departure gets a photograph at a size
 * worth looking at instead of a thumbnail with a hole next to it.
 */
@media (min-width: 46rem) {
  .cards--catalogue > .card--catalogue:only-child {
    grid-column: 1 / -1;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto;
  }
  /* The 4:3 well is a well for a card in a row of cards. Here the picture
     takes the height the words need, so the two halves end level. */
  .cards--catalogue > .card--catalogue:only-child .card__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 22rem;
  }
  .cards--catalogue > .card--catalogue:only-child .card__body {
    align-content: center;
    padding: var(--s-4);
  }
  .cards--catalogue > .card--catalogue:only-child .card__title { font-size: var(--t-3); }
}

/* The frame moves from the anchor to the item: this card has two links inside
   it — the photograph and the body — and only one border around them. */
.card--catalogue {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--catalogue:hover,
.card--catalogue:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card--catalogue .card__body {
  text-decoration: none;
  color: inherit;
  gap: .25rem;
}
.card--catalogue .card__media { position: relative; }
.card--catalogue .card__img { transition: transform .4s var(--ease); }
.card--catalogue .card__media:hover .card__img { transform: scale(1.03); }

/* Nothing delivered yet. Quiet on purpose: the visitor is not the person who
   can do anything about a missing photograph, and fourteen loud placeholders
   would be the loudest thing on the page. */
.card__media--empty {
  display: grid; place-items: center;
  background: var(--ground-warm);
  border-bottom: 1px solid var(--line);
}
.card__soon {
  font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-quiet);
}
/* In one column there is no neighbour to line up with, so an empty frame does
   not have to hold a photograph's proportions — and fourteen 4:3 blanks make
   a phone scroll through a great deal of nothing. */
@media (max-width: 45.999rem) {
  .card__media--empty { aspect-ratio: 5 / 2; }
}

/* Says the photograph is a door. Only when there is more than one behind it —
   on a single picture the badge would be a promise the gallery cannot keep. */
.card__count {
  position: absolute; inset-block-end: .6rem; inset-inline-end: .6rem;
  font-size: var(--t--1); letter-spacing: .04em;
  padding: .25rem .5rem; border-radius: 2px;
  background: var(--scrim); color: var(--ink-onDark);
  backdrop-filter: blur(2px);
}

.card__kind {
  font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-muted);
}

/* The way to the rest of a season. It sits under the four (or two) cards the
   home page shows and points at the page that holds every departure — so the
   short list on the front is a sample, stated as one, rather than a claim
   about how many trips there are. */
.season__more { margin-top: var(--s-4); }
.card__price {
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink-soft);
}

.catalogue__note {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-block: var(--s-5) var(--s-7);
  border-top: 1px solid var(--line);
  display: grid;
  gap: var(--s-3);
  justify-items: start;
}

/* A product line with nothing scheduled. Set at the reading measure rather
   than across the full width: it is a sentence, not a list, and a sentence
   spanning 76rem is a page that lost its shape. */
.catalogue__empty {
  max-width: var(--measure);
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.catalogue__note p { max-width: 52ch; color: var(--ink-soft); }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.notfound__links { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.notfound__open { margin-top: var(--s-2); display: grid; gap: var(--s-2); }
.notfound__open li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); }
.notfound__open a { text-decoration: underline; text-underline-offset: .28em; }

/* Instalment plan, where a departure publishes one. Three do. */
.rail__schedule { margin-top: var(--s-3); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.rail__schedule h3 { font-size: var(--t--1); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.rail__schedule ol { margin-top: var(--s-2); display: grid; gap: .5rem; }
.rail__schedule li { display: flex; gap: var(--s-2); justify-content: space-between; align-items: baseline; font-size: var(--t--1); color: var(--ink-soft); }
.rail__amount { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* ==========================================================================
   Um Fararsnið — visitor mode Read
   Structured for comprehension: a narrow measure for the prose, and the three
   business lines as alternating image bands so they read as three things
   rather than one wall.
   ========================================================================== */

.about { padding-inline: var(--gutter); }

.about__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-block: var(--s-4) var(--s-5);
}
.about__head h1 { font-size: var(--t-4); max-width: 16ch; }
.about__head .lede { margin-top: var(--s-3); max-width: 52ch; }

/* The quote band is full-bleed elsewhere; inside this padded main it needs
   its own breathing room rather than the negative margin trick. */
.quote-band--about {
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.about__prose {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-block: var(--s-6);
  display: grid;
  gap: var(--s-3);
}
.about__prose > * { max-width: var(--measure); }
.about__prose .lede { max-width: 46ch; }

/* ── The three lines of business ──────────────────────────────────────── */
.line {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-block: 0 var(--s-6);
  display: grid;
  gap: var(--s-4);
}
.line__media { display: grid; gap: var(--s-2); min-width: 0; }
.line__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  overflow: hidden;
}
.line__media .photo-missing { aspect-ratio: 4 / 3; }
.line__media figcaption { color: var(--ink-muted); font-size: var(--t--1); }

.line__body { display: grid; gap: var(--s-3); align-content: center; }
.line__body h2 { font-size: var(--t-3); }
.line__body p { color: var(--ink-soft); max-width: 56ch; }

@media (min-width: 52rem) {
  .line { grid-template-columns: 1fr 1.1fr; gap: var(--s-6); align-items: center; }
  /* Alternate the image side down the page. */
  .line--b .line__media { order: 2; }
}

/* ── The people ───────────────────────────────────────────────────────── */
.about__people {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-block: var(--s-6);
  border-top: 1px solid var(--line);
}
.about__people > h2 { font-size: var(--t-3); }

.about__owner {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-4);
}
.about__portrait { min-width: 0; }
.about__img, .about__portrait .photo-missing {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
}
.about__words { display: grid; gap: var(--s-2); align-content: center; }
.about__words h3 { font-family: var(--serif); font-weight: 500; font-size: var(--t-2); letter-spacing: -.01em; }
.about__role {
  font-size: var(--t--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.about__words p { color: var(--ink-soft); max-width: 60ch; }
.about__words em { font-family: var(--serif); font-style: italic; color: var(--accent); }

@media (min-width: 52rem) {
  .about__owner { grid-template-columns: 20rem 1fr; gap: var(--s-6); align-items: start; }
  /* Flipping the order alone puts the portrait in the wide column and blows
     it up; the track widths have to swap with it. */
  .about__owner--flip { grid-template-columns: 1fr 20rem; }
  .about__owner--flip .about__portrait { order: 2; }
}

/* ── The outgoing owners ──────────────────────────────────────────────── */
.founders {
  background: var(--ground-warm);
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--s-6) var(--gutter);
}
.founders__inner { max-width: var(--maxw); margin-inline: auto; }
.founders__inner h2 { font-size: var(--t-3); }
.founders__body { margin-top: var(--s-4); display: grid; gap: var(--s-4); }
.founders__portrait { min-width: 0; display: grid; gap: var(--s-2); }
.founders__img, .founders__portrait .photo-missing {
  display: block; width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
}
.founders__portrait figcaption { color: var(--ink-muted); font-size: var(--t--1); }
.founders__words { display: grid; gap: var(--s-3); align-content: center; }
.founders__words p { color: var(--ink-soft); max-width: 58ch; }

@media (min-width: 52rem) {
  .founders__body { grid-template-columns: 18rem 1fr; gap: var(--s-6); align-items: center; }
}

/* ── Close ────────────────────────────────────────────────────────────── */
.about__next {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-block: var(--s-6) var(--s-7);
  display: grid;
  gap: var(--s-3);
  justify-items: start;
}
.about__next p { color: var(--ink-muted); font-size: var(--t--1); }

/* ==========================================================================
   Pistlar — index and article. Visitor mode: Read.
   ========================================================================== */

.posts, .pistill { padding-inline: var(--gutter); }

.posts__head {
  max-width: var(--maxw); margin: 0 auto;
  padding-block: var(--s-4) var(--s-5);
}
.posts__head h1 { font-size: var(--t-4); }
.posts__head .lede { margin-top: var(--s-3); max-width: 46ch; }

.post__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  align-items: baseline;
  font-size: var(--t--1);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums lining-nums;
}
.post__cat { letter-spacing: .08em; text-transform: uppercase; }

/* ── The newest post leads ────────────────────────────────────────────── */
.post-lead {
  max-width: var(--maxw); margin-inline: auto;
  padding-bottom: var(--s-6);
  display: grid; gap: var(--s-4);
}
.post-lead__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--ground-deep); text-decoration: none; }
.post-lead__img, .post-lead__media .photo-missing {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
}
.post-lead__body { align-self: center; display: grid; gap: var(--s-2); }
.post-lead__title { font-size: var(--t-3); line-height: 1.12; }
.post-lead__title a { text-decoration: none; }
.post-lead__title a:hover { color: var(--accent-deep); }
.post-lead__excerpt { color: var(--ink-soft); max-width: 54ch; }

@media (min-width: 52rem) {
  .post-lead { grid-template-columns: 1.25fr 1fr; gap: var(--s-6); align-items: center; }
}

/* ── The rest, as a grid ──────────────────────────────────────────────── */
.posts__list {
  max-width: var(--maxw); margin-inline: auto;
  padding-bottom: var(--s-7);
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.post-card__link {
  display: grid; gap: var(--s-2); height: 100%;
  text-decoration: none; align-content: start;
}
/* The body is a <span>; without an explicit grid the meta, title and
   excerpt run together on one line. */
.post-card__body { display: grid; gap: .35rem; }
.post-card__media {
  display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--ground-deep);
}
.post-card__img, .post-card__media .photo-missing {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .35s var(--ease);
}
.post-card__link:hover .post-card__img { transform: scale(1.03); }
.post-card__title {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--t-2); line-height: 1.15;
  letter-spacing: -.01em;
}
.post-card__link:hover .post-card__title { color: var(--accent-deep); }
.post-card__excerpt { color: var(--ink-soft); font-size: var(--t--1); }

/* ── The article ──────────────────────────────────────────────────────── */
.pistill__head {
  max-width: var(--maxw); margin: 0 auto;
  padding-block: var(--s-4) var(--s-4);
}
.pistill__head h1 { margin-top: var(--s-2); font-size: var(--t-4); max-width: 22ch; }

.pistill__lead { max-width: var(--maxw); margin: 0 auto var(--s-5); }
.pistill__img, .pistill__lead .photo-missing {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius);
}

/* The body is migrated HTML: constrain the prose to a reading measure and
   let its own pictures run wider than the text. */
.pistill__body {
  max-width: var(--maxw); margin-inline: auto;
  padding-bottom: var(--s-6);
  display: grid;
  gap: var(--s-3);
  justify-items: center;
}
.pistill__body > * { width: 100%; max-width: var(--measure); }
.pistill__body p, .prose p { color: var(--ink-soft); }
.pistill__body h2, .prose h2 { font-size: var(--t-2); margin-top: var(--s-3); }
.pistill__body h3, .prose h3 { font-size: var(--t-1); margin-top: var(--s-3); }
.pistill__body a, .prose a {
  color: var(--accent);
  text-decoration: underline; text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
.pistill__body a:hover, .prose a:hover { text-decoration-color: currentColor; }
.pistill__body ul, .pistill__body ol,
.prose ul, .prose ol { display: grid; gap: .4rem; padding-left: 1.2rem; }
.pistill__body ul, .prose ul { list-style: disc; }
.pistill__body ol, .prose ol { list-style: decimal; }
.pistill__body li, .prose li { color: var(--ink-soft); }
.pistill__body blockquote {
  border-left: 1px solid var(--line-strong);
  padding-left: var(--s-3);
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
}
.pistill__body figure { max-width: 46rem; display: grid; gap: var(--s-2); }
.pistill__body img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}
.pistill__body figcaption { color: var(--ink-muted); font-size: var(--t--1); text-align: center; }
.pistill__body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* ── Keep reading ─────────────────────────────────────────────────────── */
.pistill__more {
  max-width: var(--maxw); margin-inline: auto;
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  display: grid; gap: var(--s-4);
}
.pistill__more a { display: grid; gap: .3rem; text-decoration: none; }
.pistill__more a:hover .pistill__name { color: var(--accent-deep); }
.pistill__dir {
  font-size: var(--t--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-muted);
}
.pistill__name { font-family: var(--serif); font-size: var(--t-2); line-height: 1.15; }
.pistill__next { text-align: end; }

@media (min-width: 46rem) {
  .pistill__more { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .pistill__next { justify-items: end; }
}

.pistill__back {
  max-width: var(--maxw); margin-inline: auto;
  padding-bottom: var(--s-7);
}

/* ── Prose pages ──────────────────────────────────────────────────────────
   Skilmálar Fararsniðs and anything like it: a page that is words. It shares
   the pistill's prose treatment (set above) and adds the two things a terms
   page needs and an article does not — a way in at the top, and a plain
   statement of when it last changed. ─────────────────────────────────── */

/* Every page title on this site is --t-4. This one was inheriting the
   browser's default 2em and reading as a section heading instead. */
.page-prose .prose-band__inner > h1 { font-size: var(--t-4); max-width: 20ch; }
.page-prose .prose-band__inner > .lede { max-width: 52ch; }

.prose { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.prose > * { max-width: var(--measure); }
.prose h2 { max-width: 24ch; }

/* Not a card and not a sidebar: a short list of what is on the page, set on
   the deeper ground so it reads as apparatus rather than as content. */
.toc {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-3) var(--s-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: var(--measure);
}
/* Scoped to the band, because `.prose-band h2` sets the display size for
   section headings and would otherwise win over a plain class here — this is
   apparatus, not a section. */
.prose-band .toc__title {
  font: 600 var(--t--1)/1.3 var(--sans);
  font-size: var(--t--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--s-2);
  max-width: none;
}
.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: var(--s-4);
}
.toc__list li { break-inside: avoid; margin-bottom: .3rem; }
.toc__list a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent);
}
.toc__list a:hover { color: var(--accent); text-decoration-color: currentColor; }

/* Terms that do not say when they last changed are terms nobody can rely on. */
.prose__updated {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--t--1);
  max-width: var(--measure);
}
.prose__ask { margin-top: var(--s-3); max-width: var(--measure); }

@media (max-width: 40rem) {
  .toc__list { columns: 1; }
}

/* ── The day's photograph ─────────────────────────────────────────────────
   Inside an opened day, above its schedule. Indented to the same 3.25rem the
   items are, so the day number's column stays clear and the picture reads as
   part of that day rather than as a band interrupting the list. Wider than the
   62ch the schedule is held to, because a photograph is not prose.
   ──────────────────────────────────────────────────────────────────────── */
.day__figure {
  margin: 0 0 var(--s-3);
  padding-left: 3.25rem;
  max-width: 46rem;
}
.day__img, .day__figure .photo-missing {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 40rem) {
  .day__figure { padding-left: 0; }
}

/* The day photograph's caption. Left-aligned under the picture, not centred
   like an article's: it sits in an indented column beside a schedule, and a
   centred line there floats away from everything it belongs to. */
.day__caption {
  margin-top: var(--s-2);
  color: var(--ink-muted);
  font-size: var(--t--1);
  max-width: 62ch;
}

/* ── Festu bókunina ────────────────────────────────────────────────────────
   The card-payment offer on the thank-you page. It is the one thing on that
   page somebody might act on, so it is set apart on the warm panel rather
   than left as a third paragraph among four. */
.payprompt {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--ground-warm);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.payprompt h3 { margin-top: 0; }
.payprompt > :last-child { margin-bottom: 0; }

/* ── Myndagluggi (lightbox) ─────────────────────────────────────────── */
/*
 * Opened from a catalogue card's photograph. Built by site.js and only ever
 * present when JavaScript ran — the markup ships one link to the trip page,
 * and this replaces that click rather than being the only way in.
 *
 * z-index 200: above the masthead's 50, because a dialog that a sticky header
 * can sit on top of is not a dialog.
 */
/*
 * Two rows, and the close button lives in the first of them.
 *
 * It used to float in the corner on `position: absolute`, and the right-hand
 * arrow — centred in the grid — climbed underneath it as the window got
 * shorter until the two circles overlapped. A control that can be covered by
 * another control is not placed, it is guessed at; so the toolbar row is real
 * and nothing can rise into it.
 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3);
  background: var(--scrim);
}
.lightbox[hidden] { display: none; }

.lightbox__figure {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  display: grid; gap: var(--s-3);
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  min-width: 0; min-height: 0;
  /* The row centres its children, which would leave this box the height of
     its own contents — and then the picture's max-height: 100% would be
     measuring itself. Stretching gives it the row to measure against. */
  align-self: stretch;
}
.lightbox__img {
  max-width: 100%;
  /* Fills whatever the row leaves after the toolbar and the caption, rather
     than a viewport fraction that has to guess at both. */
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__caption {
  display: grid; gap: .25rem; justify-items: center; text-align: center;
  color: var(--ink-onDark);
  max-width: 60ch;
}
.lightbox__count {
  font-size: var(--t--1); letter-spacing: .06em; text-transform: uppercase;
  color: var(--onPhoto-muted);
  font-variant-numeric: tabular-nums lining-nums;
}

.lightbox__btn {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--onPhoto-line);
  border-radius: 50%;
  background: none;
  color: var(--ink-onDark);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__btn:hover { background: var(--onPhoto-faint); color: var(--ground-ink); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; }
.lightbox__btn[hidden] { display: none; }

/* Its own row, its own end of it. */
.lightbox__close { grid-column: 1 / -1; grid-row: 1; justify-self: end; }

/* The arrows sit in the outer columns on a wide screen and fall under the
   picture on a narrow one, where there is no room beside it for a thumb. */
@media (max-width: 40rem) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; }
  .lightbox__close  { grid-column: 1; }
  .lightbox__figure { grid-column: 1; grid-row: 2; }
  .lightbox__arrows {
    grid-column: 1; grid-row: 3;
    display: flex; gap: var(--s-3); justify-content: center;
  }
}
@media (min-width: 40.0625rem) {
  .lightbox__arrows { display: contents; }
  .lightbox__nav--prev { grid-column: 1; grid-row: 2; }
  .lightbox__nav--next { grid-column: 3; grid-row: 2; }
}

/* Somebody who asked for less movement gets the dialog without the fade. */
@media (prefers-reduced-motion: no-preference) {
  .lightbox { animation: lightbox-in .18s var(--ease); }
  @keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
}

/* ── Fleiri pistlar ─────────────────────────────────────────────────── */
/*
 * Leiðin niður úr listanum. Miðjuð, með lofti fyrir ofan: hún er endir á
 * skruni, ekki hlutur í röðinni.
 */
.posts__more {
  max-width: var(--maxw);
  margin: var(--s-5) auto 0;
  display: grid; gap: var(--s-3);
  justify-items: center;
  text-align: center;
}
.posts__count { color: var(--ink-muted); font-size: var(--t--1); }
/* Örin snýr niður og hnappurinn segir sig sjálfur á meðan sótt er. */
.posts__more .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
