@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --chalk:      #EDEDE8;   /* limewashed timber — page ground */
  --chalk-dim:  #E3E3DC;   /* recessed panels */
  --sea:        #22343A;   /* winter sea — primary ink */
  --deep:       #16232A;   /* hull shadow — dark grounds */
  --slate:      #5F6E71;   /* secondary text */
  --verdigris:  #5C7F72;   /* the single accent: weathered copper */
  --line:       rgba(34, 52, 58, 0.18);
  --line-soft:  rgba(34, 52, 58, 0.10);
  --line-dark:  rgba(237, 237, 232, 0.22);

  --display: 'Instrument Serif', Georgia, serif;
  --body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad: clamp(1.5rem, 6vw, 6.5rem);
  --gap: clamp(2rem, 5vw, 4rem);
  --rule: clamp(4.5rem, 11vw, 9rem);   /* vertical section rhythm */
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--sea);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--sea); color: var(--chalk); padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

/* ── Type primitives ────────────────────────────────────── */
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--verdigris);
  margin: 0 0 1.5rem;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0;
}
h2.display { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.1rem); }
h3.display { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem); }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  max-width: 34em;
  color: var(--sea);
}
.muted { color: var(--slate); }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { padding-inline: var(--pad); }
.section { padding-block: var(--rule); }
.section--tight { padding-block: calc(var(--rule) * 0.62); }
.section--dark {
  background: var(--deep);
  color: var(--chalk);
}
.section--dark .eyebrow { color: #9FBBAF; }
.section--dark .muted { color: rgba(237, 237, 232, 0.66); }
.section--dark .lede { color: rgba(237, 237, 232, 0.9); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: var(--gap);
  padding: 1rem var(--pad);
  background: rgba(237, 237, 232, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mark {
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.nav__links { display: flex; gap: 1.85rem; }
.nav__links a {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav__links a:hover { border-bottom-color: var(--verdigris); }
.nav__lang {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  white-space: nowrap;
  color: var(--slate);
}
.nav__lang a { text-decoration: none; }
.nav__lang a[aria-current="true"] { color: var(--sea); border-bottom: 1px solid var(--verdigris); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88svh, 860px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
  color: var(--chalk);
}
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 35, 42, 0.42) 0%,
    rgba(22, 35, 42, 0.12) 38%,
    rgba(22, 35, 42, 0.78) 100%);
}
.hero__inner {
  position: relative;
  padding: var(--rule) var(--pad) clamp(4.5rem, 9vw, 7rem);
  max-width: 56rem;
}
.hero__kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(237, 237, 232, 0.82);
  margin: 0 0 1.75rem;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 1.4rem + 6.4vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
}
.hero__sub {
  max-width: 33em;
  color: rgba(237, 237, 232, 0.9);
  margin: 0 0 2.4rem;
}
/* Both calls to action carry equal weight — neither is the lesser option —
   so they get equal width rather than sizing to their own label. */
.hero__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 30rem;
}
.hero__cta .btn {
  text-align: center;
  padding-inline: 1rem;
  white-space: nowrap;   /* a label must never break to a second line */
}
/* Side by side, the longer label wraps to two lines while the shorter keeps
   one — an accidental hierarchy between two equal choices. Below this width
   they stack full width instead, and both read on a single line. */
@media (max-width: 560px) {
  .hero__cta { grid-template-columns: 1fr; gap: 0.7rem; max-width: none; }
}

/* ── Hero on narrow screens ─────────────────────────────── */
/* The film establishes Risør; it isn't the thing being sold. So on a phone it
   runs as a band in its own ratio — no cropping, and short enough that the
   headline, the sub-line and both buttons clear the fold.
   Swap --hero-band (16/9 shows the full frame, 3/2 is taller still). */
@media (max-width: 700px) {
  .hero {
    --hero-band: 16 / 10;
    display: block;
    min-height: 0;
    background: var(--deep);
  }
  .hero__media {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: var(--hero-band);
  }
  .hero__scrim { display: none; }
  .hero__inner {
    padding: clamp(1.75rem, 6vw, 2.5rem) var(--pad) clamp(2rem, 7vw, 3rem);
    max-width: none;
  }
  /* The kicker is the only place the page states where in the world this is
     and that it's for sale — worth keeping. It's set quieter here so the
     buttons remain the one loud band above the fold. */
  .hero__kicker {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: rgba(237, 237, 232, 0.62);
    margin-bottom: 1rem;
  }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); margin-bottom: 1.1rem; }
  .hero__sub { margin-bottom: 1.75rem; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid currentColor;
  transition: background-color 0.28s ease, color 0.28s ease;
  cursor: pointer;
}
.btn--solid {
  background: var(--chalk);
  color: var(--deep);
  border-color: var(--chalk);
}
.btn--solid:hover { background: var(--verdigris); border-color: var(--verdigris); color: var(--chalk); }
.btn--ghost { background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(237, 237, 232, 0.12); }
.btn--ink { background: var(--sea); color: var(--chalk); border-color: var(--sea); }
.btn--ink:hover { background: var(--verdigris); border-color: var(--verdigris); }

/* ── Plaque rail (signature) ────────────────────────────── */
/* The building's key facts, set like an engraved plaque, lifted
   into the hero so nothing essential sits below the fold. */
.plaque {
  position: relative;
  z-index: 5;
  margin: -3.25rem var(--pad) 0;
  background: var(--sea);
  color: var(--chalk);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.plaque__cell {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line-dark);
}
.plaque__cell:last-child { border-right: 0; }
.plaque__k {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 237, 232, 0.55);
  margin-bottom: 0.5rem;
}
.plaque__v {
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.9rem + 0.55vw, 1.5rem);
  line-height: 1.15;
}
@media (max-width: 960px) {
  .plaque { grid-template-columns: repeat(3, 1fr); margin-top: -2rem; }
  .plaque__cell:nth-child(3n) { border-right: 0; }
  .plaque__cell:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 520px) {
  .plaque { grid-template-columns: repeat(2, 1fr); }
  .plaque__cell { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .plaque__cell:nth-child(2n) { border-right: 0; }
  .plaque__cell:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 700px) {
  /* Six labelled cells in two columns turn into a busy patchwork on a phone.
     The same facts read cleanly as rows — label left, figure right — which is
     also the pattern the residence specifications already use. */
  .plaque {
    display: block;
    margin: 0;                       /* full width; the padding sets the inset */
    padding: 0.4rem var(--pad) 0.9rem;
    border-top: 1px solid var(--line-dark);
  }
  .plaque__cell {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .plaque__cell:last-child { border-bottom: 0; }
  .plaque__k { margin: 0; }
  .plaque__v { font-size: 1.0625rem; text-align: right; }
}

/* ── Two-column prose ───────────────────────────────────── */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.cols__body p { margin: 0 0 1.35rem; max-width: 36em; }
.cols__body p:last-child { margin-bottom: 0; }

/* ── Data rail (travel times) ───────────────────────────── */
.rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.section--dark .rail { border-top-color: var(--line-dark); }
.rail__item {
  padding: 1.4rem 1.25rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.section--dark .rail__item { border-bottom-color: var(--line-dark); }
.rail__k {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.45rem;
}
.section--dark .rail__k { color: rgba(237, 237, 232, 0.55); }
.rail__v { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }

/* ── Galleries ──────────────────────────────────────────── */
.grid {
  display: grid;
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
/* The Risør gallery holds two columns all the way down — nine frames stacked
   single-file is a long scroll for no gain. Floor plans still go full width. */
@media (max-width: 560px) { .grid--keep2 { grid-template-columns: repeat(2, 1fr); } }

/* One extra frame that appears only where the gallery runs two-up — it turns
   an orphaned last cell into a full row. Hidden on three-column layouts. */
.shot--mobile { display: none; }
@media (max-width: 900px) { .shot--mobile { display: block; } }

/* ── Masonry gallery ────────────────────────────────────── */
/* Interiors arrive in both orientations. A fixed-ratio grid would crop the
   ceiling out of every portrait frame, so these keep their own proportions
   and flow in columns instead. */
.masonry {
  column-count: 3;
  column-gap: clamp(0.6rem, 1.4vw, 1.1rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
@media (max-width: 900px) { .masonry { column-count: 2; } }
.masonry .shot {
  break-inside: avoid;
  margin: 0 0 clamp(0.6rem, 1.4vw, 1.1rem);
}
.masonry .shot img { aspect-ratio: auto; height: auto; }
.masonry .shot--more { display: none; }
.masonry.is-open .shot--more { display: block; }

/* Balanced columns rarely end flush, which leaves a ragged corner above the
   button — and on three columns that ragged edge plus a percentage fade left a
   dead band the height of a small screen. The collapsed gallery is cut at a
   fixed line instead, so every column ends together and the fade is a set
   distance rather than a share of the height. */
.masonry:not(.is-open) {
  max-height: clamp(28rem, 58vh, 46rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 7rem), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 7rem), transparent 100%);
}
.masonry.is-open { max-height: none; }
@media (prefers-reduced-motion: reduce) {
  .masonry:not(.is-open) { -webkit-mask-image: none; mask-image: none; }
}

.gallery-more { display: flex; justify-content: center; margin-top: -1.5rem; }
.gallery-more button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.6rem 0.25rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.gallery-more button:hover { color: var(--sea); border-bottom-color: var(--verdigris); }

.shot { position: relative; margin: 0; }
.shot button {
  display: block; width: 100%; padding: 0; border: 0;
  background: var(--chalk-dim); cursor: zoom-in; overflow: hidden;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--wide img { aspect-ratio: 16 / 9; }
.shot--plan img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.shot button:hover img { transform: scale(1.035); }
.shot figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--slate);
  padding-top: 0.7rem;
}
.section--dark .shot figcaption { color: rgba(237, 237, 232, 0.6); }

.figure-wide { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
/* Aerials and interiors lose their argument in a 21:9 crop — the sky above and
   the cornice below are the point. These keep a taller frame. */
.figure-wide--open img { aspect-ratio: 16 / 9; }

/* ── Slider ─────────────────────────────────────────────── */
/* Scroll-snap track: swipe works natively on touch, arrows drive it on
   desktop. Only the first frame loads eagerly; the rest are lazy. */
.slider { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider__slide button {
  display: block; width: 100%; padding: 0; border: 0;
  background: var(--chalk-dim); cursor: zoom-in; overflow: hidden;
}
.slider__slide img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.slider__slide button:hover img { transform: scale(1.02); }

.slider__bar {
  display: flex; align-items: center; gap: 1.25rem;
  padding-top: 0.85rem;
}
.slider__btn {
  background: none; border: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 0.2rem 0.5rem;
  color: var(--sea);
  transition: color 0.25s ease, opacity 0.25s ease;
}
.section--dark .slider__btn { color: var(--chalk); }
.slider__btn:hover { color: var(--verdigris); }
.slider__count {
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate);
}
.section--dark .slider__count { color: rgba(237, 237, 232, 0.55); }
.slider__cap {
  margin: 0 0 0 auto; text-align: right;
  font-size: 0.75rem; color: var(--slate); max-width: 26em;
}
.section--dark .slider__cap { color: rgba(237, 237, 232, 0.6); }
@media (max-width: 620px) {
  .slider__bar { flex-wrap: wrap; }
  .slider__cap { margin: 0.5rem 0 0; text-align: left; width: 100%; order: 3; }
}

/* The thesis image: interior and view in one frame, edge to edge, directly
   under the plaque. Uncropped 3:2 so the ceiling height survives. */
.thesis { margin: 0; }
.thesis img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thesis figcaption {
  font-size: 0.75rem; color: var(--slate);
  padding-top: 0.7rem; padding-inline: var(--pad);
}
@media (max-width: 640px) { .thesis img { aspect-ratio: 4 / 5; } }
.figure-wide figcaption {
  font-size: 0.75rem; color: var(--slate); padding-top: 0.7rem;
}
.section--dark .figure-wide figcaption { color: rgba(237, 237, 232, 0.6); }

/* ── Residence spec cards ───────────────────────────────── */
.residences {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
@media (max-width: 760px) { .residences { grid-template-columns: 1fr; } }
.res {
  border-top: 2px solid var(--sea);
  padding-top: 1.5rem;
}
.res__name { margin: 0 0 1.25rem; }
.res__specs { margin: 0; }
.res__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.res__row dt {
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate);
}
.res__row dd {
  margin: 0; font-family: var(--display); font-size: 1.2rem;
}

/* ── Contact ────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* With the enquiry form gone, the broker sits inside the heading block rather
   than in a section of its own — a portrait at full width under a short lede
   left a dark half-screen of nothing. */
.broker { display: flex; gap: clamp(1.25rem, 3vw, 2rem); align-items: flex-start; margin-top: clamp(2rem, 4vw, 2.75rem); }
.broker img { width: clamp(6.5rem, 12vw, 9rem); max-width: none; flex: none; aspect-ratio: 4 / 5; object-fit: cover; }
.broker__body { min-width: 0; }
.broker__name { font-family: var(--display); font-size: 1.5rem; margin: 0 0 0.3rem; }
.broker__role { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(237, 237, 232, 0.6); }
.broker__lines { margin: 1.1rem 0 0; padding: 0; list-style: none; max-width: 18rem; }
.broker__lines li { padding: 0.5rem 0; border-bottom: 1px solid var(--line-dark); }
.broker__lines a { text-decoration: none; border-bottom: 1px solid transparent; }
.broker__lines a:hover { border-bottom-color: var(--verdigris); }
.broker__note { font-size: 0.8125rem; color: rgba(237, 237, 232, 0.55); margin: 1.1rem 0 0; }
@media (max-width: 460px) { .broker { flex-direction: column; } }

.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(237, 237, 232, 0.6);
}
.field input, .field textarea {
  font: inherit; font-size: 0.9375rem;
  background: transparent;
  color: var(--chalk);
  border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 0.6rem 0;
  border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--verdigris); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.875rem; color: rgba(237, 237, 232, 0.8); }
.check input { margin-top: 0.3rem; accent-color: var(--verdigris); }
.form__note { font-size: 0.8125rem; color: rgba(237, 237, 232, 0.55); margin: 0; }
.form__status { font-size: 0.875rem; margin: 0; min-height: 1.4em; }


/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--deep); color: rgba(237, 237, 232, 0.6);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) clamp(6rem, 8vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between;
}
.footer a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer a:hover { border-bottom-color: var(--verdigris); }

/* ── Sticky mobile call bar ─────────────────────────────── */
/* Hidden while the hero's own buttons are still on screen, and again once
   the enquiry form is reached — it only appears in the stretch between. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  border-top: 1px solid var(--line-dark);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.callbar.is-visible { transform: none; }
.callbar a {
  flex: 1; text-align: center; padding: 1rem 0.5rem;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; background: var(--sea); color: var(--chalk);
}
.callbar a + a { border-left: 1px solid var(--line-dark); background: var(--verdigris); }
@media (max-width: 860px) { .callbar { display: flex; } }
@media (prefers-reduced-motion: reduce) { .callbar { transition: none; } }

/* ── Lightbox ───────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 35, 42, 0.96);
  display: none;
  align-items: center; justify-content: center;
}
.lb[open], .lb.is-open { display: flex; }
.lb__img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb__btn {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: var(--chalk); font-size: 2rem; line-height: 1; padding: 1rem;
}
.lb__prev { left: 0.5rem; }
.lb__next { right: 0.5rem; }
.lb__close { top: 0.5rem; right: 0.5rem; font-size: 1.75rem; }
.lb__cap {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(237, 237, 232, 0.7); font-size: 0.8125rem; text-align: center;
  max-width: 80vw;
}

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
