/* ==========================================================================
   DOJ – Diary of Journeys · Home page
   Page-only sections. Shared components (section head, dark section,
   purpose cards, timeline, signature) live in style.css; breakpoints mirror
   responsive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero – copy beside an arched window and the gold globe medallion
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 3.5vw, 3.5rem));
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  background: var(--c-paper);
  overflow: clip;
}
.home-hero::before {
  /* warm light behind the arch */
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: min(60rem, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(196, 154, 82, 0.22), transparent 72%);
  pointer-events: none;
}
.home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 7rem), 52rem);
}
.home-hero__copy { grid-column: 1 / span 7; }
.home-hero__title {
  margin-top: 1.75rem;
  font-size: clamp(2.9rem, 1.35rem + 4.1vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.022em;
}
.home-hero__title em { display: block; margin-top: 0.08em; }
.home-hero__tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--c-gold-deep);
}
.home-hero__tagline::before {
  content: "";
  flex: none;
  width: 2.75rem;
  height: 1px;
  background: var(--c-champagne);
}
.home-hero__text {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1.0625rem;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}
.home-hero__note {
  max-width: 32rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-muted);
}

.home-hero__visual {
  grid-column: 8 / -1;
  position: relative;
  justify-self: end;
  margin-right: clamp(0rem, 2vw, 2rem);
}
.home-arch {
  position: relative;
  width: clamp(17rem, 27vw, 26rem);
  aspect-ratio: 3 / 4;
}
.home-arch::before {
  content: "";
  position: absolute;
  inset: -1rem -1rem 0;
  border: 1px solid var(--c-line);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.home-arch::after {
  content: "";
  position: absolute;
  left: -4rem;
  right: -4rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-champagne), transparent);
}
.home-arch picture {
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 50px 90px -45px rgba(48, 37, 28, 0.55);
}
.home-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: arch-settle 2.6s var(--ease) both; /* scale only – no fade, so it paints at once */
}
@keyframes arch-settle {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* gold globe medallion with a rotating brand ring */
.medallion {
  position: absolute;
  left: clamp(-6.5rem, -7vw, -3.5rem);
  bottom: clamp(2rem, 5vw, 4rem);
  width: clamp(8.5rem, 12vw, 11.5rem);
  aspect-ratio: 1;
}
.medallion::before {
  /* ivory seal behind the ring so the lettering reads over the photograph */
  content: "";
  position: absolute;
  inset: -2.75rem;
  border-radius: 50%;
  background: var(--c-paper);
  box-shadow: 0 30px 60px -30px rgba(48, 37, 28, 0.45), inset 0 0 0 1px var(--c-line);
}
.medallion__ring {
  position: absolute;
  inset: -1.9rem;
  width: calc(100% + 3.8rem);
  max-width: none; /* the global svg { max-width: 100% } would shrink and shift the ring */
  height: calc(100% + 3.8rem);
  overflow: visible;
  animation: medallion-spin 36s linear infinite;
}
.medallion__ring text {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: var(--c-gold-deep);
}
.medallion__globe {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #0b0907;
  box-shadow:
    0 0 0 0.45rem var(--c-paper),
    0 0 0 calc(0.45rem + 1px) var(--c-line),
    0 30px 60px -25px rgba(48, 37, 28, 0.6);
}
.medallion__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the supplied footage is cyan – grade it into the brand gold */
  filter: grayscale(1) sepia(1) saturate(1.9) brightness(1.12) contrast(1.1);
}
.medallion__toggle {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  z-index: 1;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(196, 154, 82, 0.6);
  border-radius: 50%;
  background: var(--c-espresso);
  color: var(--c-champagne);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.medallion__toggle:hover { background: var(--c-champagne); color: var(--c-espresso); }
.medallion__toggle .icon { width: 0.95rem; height: 0.95rem; }
.medallion__toggle .icon--play { display: none; fill: currentColor; }
.medallion__toggle.is-paused .icon--play { display: block; }
.medallion__toggle.is-paused .icon--pause { display: none; }
/* the ring stops whenever the globe is paused */
.medallion:has(.is-paused) .medallion__ring { animation-play-state: paused; }
@keyframes medallion-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Services ticker – continuous loop; pauses on hover, with its button, or
   for reduced motion
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-espresso);
  color: var(--c-on-dark);
}
.ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
  /* names fade in and out at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  /* the names are repeated three times: moving one third loops seamlessly */
  animation: ticker-loop 48s linear infinite;
}
.ticker:hover .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes ticker-loop {
  to { transform: translateX(-33.3333%); }
}
.ticker__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 clamp(1rem, 3vw, 2.5rem) 0 0.5rem;
  border: 1px solid rgba(196, 154, 82, 0.55);
  border-radius: 50%;
  color: var(--c-champagne);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ticker__toggle:hover { background: var(--c-champagne); color: var(--c-espresso); }
.ticker__toggle .icon { width: 0.9rem; height: 0.9rem; }
.ticker__toggle .icon--play { display: none; fill: currentColor; }
.ticker.is-paused .ticker__toggle .icon--play { display: block; }
.ticker.is-paused .ticker__toggle .icon--pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__toggle { display: none; }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.875rem);
  font-style: italic;
  white-space: nowrap;
}
.ticker__item .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-champagne);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   About DOJ – image pair + introduction, then Vision & Mission
   -------------------------------------------------------------------------- */
.home-about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
}
.home-about__visual {
  grid-column: 1 / span 6;
  position: relative;
  padding: 0 clamp(2rem, 6vw, 5.5rem) clamp(4rem, 8vw, 6.5rem) 0;
}
.home-about__main { overflow: hidden; }
.home-about__main img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 38% 50%;
}
.home-about__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  overflow: hidden;
  border: 0.5rem solid var(--c-white);
  box-shadow: 0 40px 70px -40px rgba(48, 37, 28, 0.55);
}
.home-about__inset img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.home-about__content { grid-column: 8 / -1; }
.home-about__lead {
  margin-top: 2rem;
  font-family: var(--ff-display);
  font-size: clamp(1.3125rem, 1.15rem + 0.55vw, 1.625rem);
  line-height: 1.38;
  color: var(--c-espresso);
}
.home-about__text { margin-top: 1.25rem; }
.home-about__text p + p { margin-top: 1rem; }
.home-about__goal {
  margin: 2rem 0 2.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--c-champagne);
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.375rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--c-espresso);
}
.home-purpose { margin-top: clamp(4.5rem, 8vw, 7rem); }

/* --------------------------------------------------------------------------
   Services explorer – list beside a sticky image that follows the scroll
   -------------------------------------------------------------------------- */
.home-services { background: var(--c-paper); }
.explorer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: start;
}
.explorer__list {
  grid-column: 1 / span 5;
  border-top: 1px solid var(--c-line);
}
.explorer__item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3.25rem) 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.explorer__item::before {
  /* gold marker on the item that the image is showing */
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 2px;
  background: var(--c-champagne);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}
.explorer__item.is-active::before { transform: scaleY(1); }
.explorer__thumb { display: none; }
.explorer__num {
  padding-top: 0.55rem;
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--c-muted);
  transition: color 0.4s var(--ease);
}
.explorer__title {
  font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.5rem);
  line-height: 1.1;
  transition: color 0.4s var(--ease);
}
.explorer__text,
.explorer__link { grid-column: 2; }
.explorer__text { margin-top: 1rem; max-width: 30rem; }
.explorer__link { margin-top: 1.5rem; justify-self: start; }
.explorer__link::after {
  /* the whole item opens its service page */
  content: "";
  position: absolute;
  inset: 0;
}
.explorer__item.is-active .explorer__num,
.explorer__item.is-active .explorer__title { color: var(--c-gold-deep); }
.explorer__item:hover .link-arrow { background-size: 100% 1px; }
.explorer__item:hover .link-arrow .icon { transform: translateX(4px); }

.explorer__media {
  grid-column: 7 / -1;
  position: sticky;
  top: calc(var(--header-h-scrolled) + 2rem);
  height: min(72vh, 44rem);
  overflow: hidden;
  background: var(--c-espresso);
}
.explorer__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.explorer__slide.is-active { opacity: 1; }
.explorer__slide picture { height: 100%; }
.explorer__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}
.explorer__slide.is-active img { transform: none; }
.explorer__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 18, 13, 0.6), transparent 45%);
}
.explorer__caption {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.25rem);
  right: clamp(1.5rem, 3vw, 2.25rem);
  bottom: clamp(1.5rem, 3vw, 2.25rem);
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--ff-display);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.875rem);
  color: var(--c-on-dark);
}
.explorer__caption span {
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  color: var(--c-champagne);
}

/* --------------------------------------------------------------------------
   Why connect with DOJ – dark, over a world map in lights
   -------------------------------------------------------------------------- */
.home-why__map {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(78%, 1100px);
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent), linear-gradient(to top, #000 40%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 35%, transparent), linear-gradient(to top, #000 40%, transparent);
  mask-composite: intersect;
}
.home-why__map img { width: 100%; }

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.reason {
  position: relative;
  padding: 2.25rem clamp(1.5rem, 2vw, 2rem) 2.5rem;
  border: 1px solid var(--c-line-dark);
  background: rgba(23, 18, 13, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.reason:hover { border-color: rgba(196, 154, 82, 0.6); background: rgba(23, 18, 13, 0.6); }
.reason__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(196, 154, 82, 0.55);
  border-radius: 50%;
  color: var(--c-champagne);
}
.reason__icon .icon { width: 1.4rem; height: 1.4rem; stroke-width: 1.25; }
.reason__num {
  position: absolute;
  top: 2.25rem;
  right: clamp(1.5rem, 2vw, 2rem);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--c-champagne);
}
.reason__title {
  margin-top: 1.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.45vw, 1.625rem);
  line-height: 1.2;
}
.reason__text {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Approach + How we work – light version of the shared timeline
   -------------------------------------------------------------------------- */
.home-how__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: end;
}
.home-how__head > :first-child { grid-column: 1 / span 6; }
.home-how__intro { grid-column: 8 / -1; }
.home-how__lead {
  margin-bottom: 1.25rem;
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  line-height: 1.3;
  color: var(--c-espresso);
}
.home-process .process__head { border-bottom-color: var(--c-line); }
.home-process .process__title { color: var(--c-espresso); }

.timeline--light .step__node {
  border-color: var(--c-line);
  background: var(--c-white);
  color: var(--c-gold);
}
.timeline--light .step:hover .step__node { background: var(--c-champagne); color: var(--c-espresso); }
.timeline--light .step__num { color: var(--c-gold-deep); }

/* --------------------------------------------------------------------------
   Featured trade fairs – vertical exhibition passes
   -------------------------------------------------------------------------- */
.home-fairs { background: var(--c-paper); }
.home-fairs__intro p { margin-bottom: 1.5rem; }
.passes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  padding-top: 0.5rem;
}
.passes > li {
  display: flex;
  /* drop-shadow follows the notched outline: soft at rest, cast to the right and bottom on hover */
  filter: drop-shadow(0 18px 22px rgba(196, 154, 82, 0.22));
  transition: filter var(--dur) var(--ease);
}
.passes > li:hover,
.passes > li:focus-within { filter: drop-shadow(14px 16px 16px rgba(196, 154, 82, 0.5)); }

.pass {
  --stub: 9.5rem;    /* height of the tear-off stub */
  --notch: 0.8rem;   /* radius of the side notches on the perforation */
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--c-white);
  /* two full-size layers, each punching one side notch, intersected – no seam */
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent 98%, #000),
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent 98%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent 98%, #000),
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent 98%, #000);
  mask-composite: intersect;
}
.pass:focus-visible { outline: none; }   /* the mask would clip an outline – ring drawn on the face instead */
.pass:focus-visible .pass__face { box-shadow: inset 0 0 0 2px var(--c-gold); }

.pass__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.35rem 1.4rem 0.85rem;
  background: linear-gradient(135deg, #d2ab68, var(--c-champagne) 45%, #b88a45);
  color: var(--c-espresso);
}
.pass__slot {
  /* punched lanyard slot */
  position: absolute;
  top: 0.85rem;
  left: 50%;
  width: 3.4rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--c-paper);
  box-shadow: inset 0 2px 3px rgba(48, 37, 28, 0.35);
  transform: translateX(-50%);
}
.pass__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pass__num {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1;
}

.pass__face {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 11rem;
  padding: 1.75rem 1.25rem;
  background:
    radial-gradient(circle at 50% 45%, var(--c-white) 55%, #faf6ee),
    var(--c-white);
}
.pass__face picture { width: var(--logo-w, 60%); }
.pass__wordmark {
  font-family: var(--ff-body);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-espresso);
}

.pass__stub {
  display: flex;
  flex-direction: column;
  height: var(--stub);
  padding: 1.35rem 1.4rem 1.2rem;
  border-top: 2px dashed rgba(196, 154, 82, 0.75);   /* the perforation */
  background: var(--c-espresso);
  color: var(--c-on-dark);
}
.pass__name {
  font-family: var(--ff-display);
  font-size: clamp(1.375rem, 1.2rem + 0.45vw, 1.625rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-on-dark);
}
.pass__region {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-champagne);
}
.pass__region .icon { width: 0.9rem; height: 0.9rem; }
.pass__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}
.pass__barcode {
  width: 5.5rem;
  height: 1.5rem;
  opacity: 0.55;
  background: repeating-linear-gradient(90deg,
    var(--c-champagne) 0 1px, transparent 1px 3px,
    var(--c-champagne) 3px 5px, transparent 5px 6px,
    var(--c-champagne) 6px 7px, transparent 7px 10px);
}
.pass__go {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(196, 154, 82, 0.6);
  border-radius: 50%;
  color: var(--c-champagne);
}
.pass__go .icon { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   Story of DOJ – told as an open journal (Diary of Journeys)
   -------------------------------------------------------------------------- */
.home-story {
  position: relative;
  overflow: clip;
  background: var(--c-ivory);
}
.home-story::before {
  /* soft light pooling on the desk behind the journal */
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(80rem, 110vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.75), transparent);
  pointer-events: none;
}
.home-story > .container { position: relative; }
.home-story__head {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}
.home-story__head .section-title em { display: inline; }

.journal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 72rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  background: var(--c-white);
  box-shadow:
    0 0 0 1px rgba(48, 37, 28, 0.06),
    0 2px 0 4px #fbf9f4,                      /* page edges */
    0 3px 0 5px rgba(48, 37, 28, 0.08),
    0 60px 100px -55px rgba(48, 37, 28, 0.55);
}
.journal::after {
  /* the spine: pages curving into the binding */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5rem;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(48, 37, 28, 0.05) 40%, rgba(48, 37, 28, 0.13) 50%, rgba(48, 37, 28, 0.05) 60%, transparent);
  pointer-events: none;
}
.journal__ribbon {
  position: absolute;
  top: -0.6rem;
  left: calc(50% + 2.75rem);
  z-index: 2;
  width: 1.35rem;
  height: 8rem;
  background: linear-gradient(90deg, #b88a45, var(--c-champagne) 45%, #b88a45);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  filter: drop-shadow(0 4px 4px rgba(48, 37, 28, 0.25));
}
.journal__page {
  position: relative;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(2rem, 4.5vw, 4rem) clamp(4.5rem, 7vw, 5.5rem);
}
.journal__running {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--c-gold-deep);
}
.journal__page--right .journal__running { text-align: right; }
.journal__folio {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--c-muted);
}
.journal__page--left .journal__folio { left: clamp(2rem, 4.5vw, 4rem); }
.journal__page--right .journal__folio { right: clamp(2rem, 4.5vw, 4rem); }

.journal__belief {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.625rem);
  font-style: italic;
  line-height: 1.18;
  color: var(--c-espresso);
}
.journal__entries { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.journal__entries li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-line); /* ruled diary lines */
}
.journal__entries li:first-child { border-top: 1px solid var(--c-line); }
.journal__num {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--c-gold-deep);
}
.journal__line {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  line-height: 1.35;
  color: var(--c-text);
}
.journal__word {
  font-size: 1.55em;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-gold);
}
.journal__after {
  max-width: 26rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  line-height: 1.4;
  color: var(--c-espresso);
}
.journal__stamp {
  position: absolute;
  right: clamp(1.75rem, 4vw, 3.5rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  width: clamp(5.5rem, 8vw, 7.25rem);
  max-width: none;
  overflow: visible;
  transform: rotate(-14deg);
  opacity: 0.6;
  fill: none;
  stroke: var(--c-gold-deep);
  stroke-width: 1.2;
}
.journal__stamp text { fill: var(--c-gold-deep); stroke: none; }
.journal__stamp-ring { font: 600 8.4px var(--ff-body); letter-spacing: 0.12em; }
.journal__stamp-mark { font: 500 22px var(--ff-display); letter-spacing: 0.06em; }

.journal__text { font-size: 0.9875rem; line-height: 1.8; }
.journal__text p + p { margin-top: 1rem; }
.journal__lead {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  line-height: 1.35;
  color: var(--c-espresso);
}
.journal__lead strong { font-weight: 500; color: var(--c-gold-deep); }
.journal__text .journal__dropcap { margin-top: 1.25rem; }
.journal__dropcap::first-letter {
  float: left;
  margin: 0.08em 0.6rem 0 0;
  font-family: var(--ff-display);
  font-size: 3.6em;
  font-weight: 500;
  line-height: 0.8;
  color: var(--c-gold);
}
.journal__quote {
  position: relative;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding: 1.5rem 0 0 2.25rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.4375rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--c-espresso);
}
.journal__quote::before {
  content: "“";
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--c-champagne);
}

.home-story__signature { margin-top: clamp(4rem, 7vw, 5.5rem); }
.home-story__belief--close {
  font-family: var(--ff-display);
  font-size: var(--fs-statement);
  line-height: 1.3;
  color: var(--c-espresso);
}

/* --------------------------------------------------------------------------
   Closing CTA – full-bleed photograph
   -------------------------------------------------------------------------- */
.home-cta {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(30rem, 70vh, 42rem);
  overflow: hidden;
  background: var(--c-espresso);
  color: var(--c-on-dark-muted);
}
.home-cta__media {
  position: absolute;
  inset: 0;
}
.home-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.home-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 18, 13, 0.9) 0%, rgba(23, 18, 13, 0.7) 45%, rgba(23, 18, 13, 0.15) 100%),
    linear-gradient(to top, rgba(23, 18, 13, 0.5), transparent 50%);
}
.home-cta__content {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
}
.home-cta__title {
  max-width: 44rem;
  font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.home-cta__title em { display: block; margin-top: 0.12em; }
.home-cta__text {
  max-width: 36rem;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  color: var(--c-on-dark);
}
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   Legibility – medium weight for small display-face text and index numbers
   (regular Cormorant is too faint at these sizes); uppercase labels ≥ 12px
   -------------------------------------------------------------------------- */
.ticker__item,
.home-hero__tagline,
.home-about__lead,
.home-about__goal,
.explorer__num,
.explorer__caption,
.reason__num,
.home-how__lead,
.pass__num,
.journal__num,
.journal__folio,
.journal__line,
.journal__after,
.journal__lead,
.journal__quote { font-weight: 500; }
.pass__label,
.pass__region,
.journal__running { font-size: 0.75rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .home-hero__copy,
  .home-hero__visual { grid-column: 1 / -1; }
  .home-hero__grid { min-height: 0; }
  .home-hero__copy { max-width: 44rem; }
  .home-hero__visual {
    justify-self: center;
    margin: clamp(4rem, 8vw, 5rem) 0 0 clamp(3rem, 8vw, 6rem);
  }
  .home-arch { width: clamp(16rem, 44vw, 22rem); }

  .home-about__visual,
  .home-about__content { grid-column: 1 / -1; }
  .home-about__visual { max-width: 40rem; margin-bottom: clamp(3rem, 6vw, 4rem); }
  .home-about__content { max-width: 44rem; }

  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-how__head > :first-child,
  .home-how__intro { grid-column: 1 / -1; }
  .home-how__intro { margin-top: 2rem; max-width: 40rem; }

  .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; }

  .journal__ribbon { left: calc(50% + 1.75rem); }
}

@media (max-width: 860px) {
  /* explorer: each service shows its own photograph */
  .explorer__list { grid-column: 1 / -1; }
  .explorer__media { display: none; }
  .explorer__item { padding-left: 0; }
  .explorer__item::before { display: none; }
  .explorer__thumb {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 1.5rem;
    overflow: hidden;
  }
  .explorer__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .explorer__num { color: var(--c-gold-deep); }

  /* journal: the two pages stack, the spine becomes a fold across the middle */
  .journal { grid-template-columns: 1fr; }
  .journal::after { display: none; }
  .journal__page--left { padding-bottom: 8rem; } /* room for the stamp */
  .journal__page--right {
    border-top: 1px solid rgba(48, 37, 28, 0.08);
    box-shadow: inset 0 22px 24px -22px rgba(48, 37, 28, 0.22);
  }
  .journal__ribbon { left: auto; right: 2.5rem; height: 6rem; }
  .journal__page--right .journal__running { text-align: left; }
}

@media (max-width: 600px) {
  .home-hero__tagline::before { width: 1.75rem; }
  .home-hero__actions { flex-direction: column; align-items: stretch; }
  .home-hero__actions .btn { width: 100%; }
  .home-hero__visual { margin-left: 3.5rem; }
  .home-arch { width: min(17rem, 68vw); }
  .medallion { left: -3.75rem; bottom: 1.5rem; width: 7.25rem; }
  .medallion::before { inset: -2.15rem; }
  .medallion__ring { inset: -1.5rem; width: calc(100% + 3rem); height: calc(100% + 3rem); }

  .home-about__visual { padding: 0 2.5rem 3rem 0; }

  .reasons { grid-template-columns: 1fr; }

  /* passes become a swipeable row; the next pass peeks in from the edge */
  .passes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    gap: 1rem;
    max-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .passes::-webkit-scrollbar { display: none; }
  .passes > li { scroll-snap-align: start; }
  /* passes waiting off-screen in the swipe row are simply shown, not faded in */
  .js .passes > [data-reveal] { opacity: 1; transform: none; }

  .home-cta__media::after {
    background: linear-gradient(to top, rgba(23, 18, 13, 0.92) 30%, rgba(23, 18, 13, 0.55));
  }
  .home-cta__actions { flex-direction: column; align-items: stretch; }
  .home-cta__actions .btn { width: 100%; }
}
