/* =================================================================
   RAUT CLUB — Stylesheet
   Editorial premium-hospitality direction.
   Type pairing: Cormorant Garamond (display) + Noto Serif (italic
   accents) + Inter (sans).
   ================================================================= */

:root {
  /* Brand — exact spec hex */
  --crimson:        #4D0103;
  --crimson-deep:   #3A0102;
  --cream:          #E9E9E1;
  --butter:         #E9E9E1;
  --off-white:      #E9E9E1;
  --paper:          #DFDED4;
  --silver:         #B0B0B0;
  --charcoal:       #595959;
  --deep-charcoal:  #1C1C1C;
  --ink:            #1C1C1C;
  --plaque:         #E0DED4;
  --gold:           #D4C88E;

  --line:           rgba(28,28,28,.10);
  --line-soft:      rgba(28,28,28,.06);
  --line-strong:    rgba(28,28,28,.18);
  --line-crimson:   rgba(61,12,14,.16);

  /* City accents */
  --c-london:       #5B4A3F;
  --c-barcelona:    #C44536;
  --c-amsterdam:    #E07A2F;
  --c-paris:        #7B6B8D;
  --c-tallinn:      #2A6496;
  --c-suwalki:      #8B6F4E;
  --c-florence:     #6B7F3B;
  --c-kyoto:        #2C2C2C;

  /* Type — per brand spec */
  --serif-display:  'Noto Serif', Georgia, serif;
  --serif-text:     'Noto Serif', Georgia, serif;
  --sans:           'Inter', system-ui, -apple-system, sans-serif;

  /* Tracking */
  --trk-tight:      .01em;
  --trk-norm:       .04em;
  --trk-wide:       .14em;
  --trk-wider:      .18em;
  --trk-widest:     .26em;

  /* Layout */
  --container:      1320px;
  --gutter:         clamp(1.25rem, 3.5vw, 3rem);
  --rule:           1px solid var(--line);
  --rule-ink:       1px solid var(--ink);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
section[id] { scroll-margin-top: 78px; }
body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt', 'ss01';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* =================================================================
   Reveal animation utility — editorial fade + subtle Y, no springs
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.1s cubic-bezier(.22,.61,.36,1),
    transform 1.1s cubic-bezier(.22,.61,.36,1),
    filter   1.1s cubic-bezier(.22,.61,.36,1);
  filter: blur(2px);
  will-change: opacity, transform, filter;
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .28s; }
.reveal[data-delay="4"] { transition-delay: .38s; }
.reveal[data-delay="5"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* =================================================================
   Container + section primitives
   ================================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
}

.section-num {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.008em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-family: var(--serif-display);
  font-style: normal;
  font-weight: 300;
}
.section-desc {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 520px;
  letter-spacing: .003em;
}

/* =================================================================
   MASTHEAD
   ================================================================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--off-white);
}
.mast-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 18px var(--gutter);
}
.brand {
  display: inline-block;
  width: 138px;
}
.brand img { width: 100%; height: auto; }

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: var(--ink);
  padding: .5rem 0;
  position: relative;
  transition: color .2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.6,.2,1);
}
.nav a:hover::after { transform: scaleX(1); }

.mast-aux {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: var(--trk-wider);
  color: var(--ink);
}
.lang button { padding: .25rem; opacity: .35; transition: opacity .2s; }
.lang button.is-active { opacity: 1; }
.lang button:hover { opacity: 1; }
.lang .sep { opacity: .25; }

@media (max-width: 920px) {
  .nav { display: none; }
}

/* =================================================================
   HERO — split crimson / wordmark left, headline + CTA right
   ================================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  border-bottom: 0;
}
.hero-left {
  background: var(--crimson);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  /* Bleed to the left viewport edge */
  margin-left: calc(((100vw - 100%) / 2) * -1);
  padding-left: calc(((100vw - 100%) / 2 + 1.5rem));
}
.hero-wordmark {
  width: min(78%, 460px);
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
/* subtle ornamental rule on the crimson panel */
.hero-left::before,
.hero-left::after {
  content: none;
}
.hero-left .stamp {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: rgba(233,233,225,.55);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-left .stamp::before {
  content: '';
  width: 5px; height: 5px;
  background: #E9E9E1;
  display: inline-block;
}
.hero-left .stamp-r {
  position: absolute;
  right: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 12px;
  color: rgba(233,233,225,.55);
}
.hero-left .stamp-top {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: rgba(233,233,225,.5);
}
.hero-left .stamp-top-r {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: var(--trk-wider);
  color: rgba(233,233,225,.5);
  font-variant-numeric: tabular-nums;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 4vw, 5rem);
  margin-right: calc(((100vw - 100%) / 2) * -1);
  padding-right: calc(((100vw - 100%) / 2 + 1.5rem));
}
.hero-right-inner {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2.5vw, 2rem);
}
.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--charcoal);
  opacity: .55;
}

.hero-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.006em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-lede {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 46ch;
}

.hero-cta {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 16px 22px;
  border: 1px solid var(--crimson);
  background: transparent;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: var(--crimson);
  transition: background .3s ease, color .3s ease;
  width: 100%;
  max-width: 540px;
}
.hero-cta .arrow {
  transition: transform .3s ease;
}
.hero-cta:hover {
  background: var(--crimson);
  color: var(--cream);
}
.hero-cta:hover .arrow { transform: translateX(6px); }

.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(.5rem, 1vw, 1rem);
  padding-top: 1rem;
  border-top: 1px dotted var(--line-strong);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: var(--charcoal);
}
.hero-meta-row .right { font-family: var(--serif-text); font-style: italic; text-transform: none; letter-spacing: var(--trk-norm); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    min-height: 380px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .hero-right {
    margin-right: 0;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
  }
}

/* =================================================================
   SECTION 01 — WHAT IS RAUT
   ================================================================= */
.brand-section {
  padding: clamp(5rem, 8vw, 8rem) 0 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
/* Image-right variant: all text on the left, collage image rises beside it */
.brand-grid--image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.brand-text {
  display: grid;
  gap: 1.6rem;
}
.brand-text .eyebrow { margin-bottom: .2rem; }
.brand-text .section-title { margin-bottom: .8rem; }
.brand-grid--image-right .brand-image {
  margin-top: 0;
  position: sticky;
  top: 120px;
  display: block;
}
.brand-meta {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.brand-meta .num { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: var(--trk-wider); color: var(--charcoal); }
.brand-copy,
.brand-text {
  display: grid;
  gap: 1.6rem;
}
.brand-copy .lede,
.brand-text .lede {
  font-family: var(--serif-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.brand-copy p,
.brand-text p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--charcoal);
  max-width: 60ch;
}
.brand-copy p strong,
.brand-text p strong {
  font-weight: 500;
  color: var(--ink);
}

.brand-image {
  margin-top: clamp(3rem, 5vw, 5rem);
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.brand-image-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.brand-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.brand-image-caption {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: end;
  padding: .8rem 0;
  border-left: 1px solid var(--line);
  padding-left: .8rem;
}

@media (max-width: 900px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-grid--image-right { grid-template-columns: 1fr; }
  .brand-grid--image-right .brand-image { position: static; top: auto; margin-top: 2.5rem; }
  .brand-meta { position: static; }
  .brand-image { grid-template-columns: 1fr; }
  .brand-image-caption { writing-mode: horizontal-tb; transform: none; border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0 0; }
}

/* Section header grids — title column on left, description on right top-aligned */
.works-head .meta,
.styles-head .meta,
.pricing-head .meta,
.faq-head .meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.works-head .section-desc,
.styles-head .section-desc,
.pricing-head .section-desc,
.faq-head .section-desc {
  align-self: start;
  margin-top: 0;
}
/* Pull description down only by the eyebrow line + its gap, so its top sits at
   the title's first line, not above it */
.works-head .section-desc,
.styles-head .section-desc,
.pricing-head .section-desc,
.faq-head .section-desc {
  padding-top: calc(10.5px + 1rem + .35em);
}
.works-head,
.styles-head,
.pricing-head,
.faq-head {
  grid-template-rows: auto;
  row-gap: 0;
  align-items: start;
}

/* =================================================================
   SECTION 02 — HOW IT WORKS / METRO LINE TIMELINE
   ================================================================= */
.works {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: #E9E9E1;
}
.works-head {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.works-head .meta { display: flex; flex-direction: column; gap: 1rem; }

/* Vertical process: image left, steps right */
.works-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.works-image {
  position: sticky;
  top: 100px;
  aspect-ratio: 2/3;
  background: var(--paper);
  overflow: hidden;
  position: sticky;
}
.works-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.works-image .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: var(--charcoal);
  background: var(--paper);
  background-image:
    linear-gradient(45deg, rgba(28,28,28,.04) 25%, transparent 25%, transparent 75%, rgba(28,28,28,.04) 75%),
    linear-gradient(45deg, rgba(28,28,28,.04) 25%, transparent 25%, transparent 75%, rgba(28,28,28,.04) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}
.works-image .placeholder .ph-frame {
  border: 1px solid var(--line-strong);
  padding: 1.4rem 1.8rem;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.works-image .placeholder .ph-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
}
.works-image .placeholder .ph-sub {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 13px;
  color: var(--charcoal);
}

/* Steps column */
.works-steps {
  display: flex;
  flex-direction: column;
  position: relative;
}
.works-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: rgba(77,1,3,.18);
  z-index: 0;
}
.w-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  column-gap: 1.4rem;
  align-items: start;
  padding: 1.2rem 0 2.2rem 0;
  z-index: 1;
}
.w-step:last-child { padding-bottom: 0; }
.w-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--crimson);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 2;
  transition: background .35s ease, color .35s ease;
}
.w-step.is-lit .w-num {
  background: var(--crimson);
  color: #E9E9E1;
}
.w-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson);
  align-self: center;
}
.w-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.w-content {
  padding-top: .35rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.w-step h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--ink);
}
.w-step p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 48ch;
}

@media (max-width: 900px) {
  .works-head { grid-template-columns: 1fr; }
  .works-body { grid-template-columns: 1fr; gap: 2rem; }
  .works-image { position: static; aspect-ratio: 4/3; }
  .works-steps::before { left: 19px; }
  .w-step {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    column-gap: 1rem;
    padding-bottom: 1.6rem;
  }
  .w-num { width: 40px; height: 40px; font-size: 13px; }
  .w-icon { width: 32px; height: 32px; }
}

/* =================================================================
   SECTION 03 — STYLES (METRO MAP)
   ================================================================= */
.styles {
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 6rem);
}
.styles-head {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.styles-head .meta { display: flex; flex-direction: column; gap: 1rem; }

.map-frame {
  position: relative;
  background: transparent;
  padding: clamp(1rem, 2vw, 1.8rem) clamp(.8rem, 1.5vw, 1.4rem);
}

/* =================================================================
   MAP PLATE — printed-map card: rounded corners, paper bg a touch
   darker than the page, burgundy bands top (title) + bottom (gallery)
   ================================================================= */
.map-plate {
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
}
.map-plate-head {
  background: var(--crimson);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  padding: clamp(1.8rem, 3.2vw, 2.6rem) var(--gutter) clamp(1.6rem, 2.8vw, 2.2rem);
}
.map-plate-head .eyebrow {
  color: var(--cream);
  opacity: .72;
}
.map-plate-head .eyebrow::before,
.map-plate-head .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--cream);
  opacity: .55;
}
.map-plate-head .section-title,
.map-plate-head .section-title em { color: var(--cream); }
.map-plate-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(.85rem, 1vw, .95rem);
  line-height: 1.6;
  color: var(--cream);
  opacity: .8;
  max-width: 58ch;
  text-wrap: pretty;
}
.map-plate-foot {
  --foot-px: clamp(1rem, 2vw, 2rem);
  --foot-pt: clamp(1.4rem, 2.6vw, 2.2rem);
  background: #FFFABC;
  color: var(--ink);
  padding: var(--foot-pt) var(--foot-px) clamp(1.6rem, 3vw, 2.4rem);
}
/* Gallery header as a full-bleed burgundy marker strip across the plate */
.map-plate-foot .style-gallery .gallery-head {
  background: var(--crimson);
  border-bottom: 0;
  color: var(--cream);
  margin: calc(var(--foot-pt) * -1) calc(var(--foot-px) * -1) 1.2rem;
  padding: .95rem var(--foot-px);
  align-items: baseline;
  gap: 1.5rem;
}
.map-plate-foot .style-gallery .gallery-head span { color: var(--cream); }
.map-plate-foot .style-gallery .gallery-head .right {
  color: rgba(233,233,225,.8);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
}
.map-plate-foot .style-gallery { margin-top: 0; }
.map-plate-foot .station-detail { border-color: transparent; }
.map-frame::before { content: none; }
.map-meta-rail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
}
.map-meta-rail .center { text-align: center; }
.map-meta-rail .right  { text-align: right; }

.map-box {
  position: relative;
  background: transparent;
  overflow: visible;
  z-index: 1;
}
.map-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  touch-action: none;
}
.map-tooltip {
  position: absolute;
  width: 180px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease;
  will-change: opacity, transform;
}
.map-tooltip.is-visible {
  opacity: 1;
  transform: none;
}
.map-tooltip .inner {
  background: #FFFFFF;
  color: var(--charcoal);
  box-shadow: 0 16px 36px rgba(20,16,14,.18), 0 0 0 1px var(--line-strong);
  overflow: hidden;
}
.map-tooltip .preview {
  aspect-ratio: 4/5;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.map-tooltip .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s ease;
}
.map-tooltip .name { font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: var(--trk-widest); padding: .55rem .7rem 0; color: var(--charcoal); text-transform: uppercase; }
.map-tooltip .sub  { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--charcoal); padding: .15rem .7rem .6rem; letter-spacing: .005em; }
@keyframes tipIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@keyframes mapPulse {
  0%   { r: 18; opacity: .55; }
  100% { r: 34; opacity: 0; }
}
.pulse-ring { animation: mapPulse 1.4s ease-out infinite; }

.map-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
}
.map-footer.map-header {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.map-footer .right  { text-align: right; }

.station-detail {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--line);
  align-items: center;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.station-detail .thumb { aspect-ratio: 4/5; overflow: hidden; background: var(--paper); position: relative; }
.station-detail .thumb img, .station-detail .thumb svg { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.station-detail .meta { display: flex; flex-direction: column; gap: .5rem; }
.station-detail .station-label { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: var(--trk-widest); }
.station-detail .station-title { font-family: var(--serif-display); font-style: normal; font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; color: var(--ink); }
.station-detail .station-desc { font-family: var(--sans); font-weight: 300; font-size: 14px; line-height: 1.65; color: var(--charcoal); max-width: 50ch; }
.station-detail .station-cta {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.station-detail .station-cta:hover { transform: translateX(2px); }

@media (max-width: 900px) {
  .styles-head { grid-template-columns: 1fr; }
  .station-detail { grid-template-columns: 1fr; }
  .station-detail .thumb { max-width: 200px; }
  .map-tooltip { display: none; }
  .map-frame { display: none; }
  .map-plate { border-radius: 14px; }
  .map-plate-foot { padding-inline: var(--gutter); }
}

/* =================================================================
   STYLE CARDS GALLERY (desktop + mobile)
   Lives under the map. 4 available templates.
   ================================================================= */
.style-gallery {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 1.5vw, 1.4rem);
}
.style-gallery .gallery-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: .4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--ink);
}
.style-gallery .gallery-head .right {
  font-family: var(--serif-text);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--trk-norm);
  text-transform: none;
  color: var(--charcoal);
}
.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #595959;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent, #595959);
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    box-shadow .45s ease,
    outline-color .35s ease,
    border-color .35s ease;
  cursor: pointer;
}
.s-card .preview {
  aspect-ratio: 4/5;
  background-color: var(--paper);
  overflow: hidden;
  position: relative;
}
.s-card .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.s-card:hover .preview img { transform: scale(1.04); }
.s-card .body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}
.s-card .label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: #595959;
}
.s-card .sub {
  font-family: var(--sans);
  font-weight: 200;            /* Inter ExtraLight */
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.4;
  color: #595959;
  letter-spacing: .005em;
}
.s-card-cta {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: #595959;
  transition: gap .25s ease;
}
.s-card-cta svg { transition: transform .25s ease; }
.s-card:hover .s-card-cta { gap: .9rem; }
.s-card:hover .s-card-cta svg { transform: translateX(3px); }

/* Selected state — bidirectional with map */
.s-card.is-selected {
  outline-color: var(--accent, #595959);
  z-index: 2;
  transform: scale(1.04);
  box-shadow: 0 16px 36px rgba(20,16,14,.18);
}
.s-card.is-selected .body { border-top-color: var(--accent, var(--line)); }
.s-card.is-selected .s-card-cta { border-top-color: var(--accent, var(--line)); }

/* Soft dim of non-selected cards when there is a selection */
.style-gallery.has-selection .s-card:not(.is-selected) {
  opacity: .55;
  filter: saturate(.7);
}

@media (max-width: 900px) {
  .style-gallery {
    margin-top: 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .style-gallery::-webkit-scrollbar { display: none; }
  .style-gallery .gallery-head { display: none; }
  .s-card { scroll-snap-align: start; }
  .s-card.is-selected { transform: none; }
}

/* Legacy mobile gallery (kept hidden; replaced by .style-gallery) */
.styles-mobile { display: none; }
.styles-mobile-shell { display: none !important; }

/* =================================================================
   SECTION 04 — PRICING (Editorial spec sheet)
   ================================================================= */
.pricing {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: #E9E9E1;
}
.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pricing-head .meta { display: flex; flex-direction: column; gap: 1rem; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--off-white);
}
.tier {
  position: relative;
  padding: clamp(1.4rem, 2vw, 1.8rem);
  border-right: 1px solid rgba(61,12,14,.18);
  border-bottom: 1px solid rgba(61,12,14,.18);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 1rem;
  background: #E9E9E1;
  color: var(--crimson);
  text-decoration: none;
  transition:
    background .2s ease,
    color      .2s ease;
  cursor: pointer;
}
.tier .tier-name,
.tier .tier-price,
.tier .tier-includes li,
.tier .tier-tag,
.tier .tier-num,
.tier .tier-price .unit,
.tier .tier-cta {
  transition: color .2s ease;
}
.tier .tier-head,
.tier .tier-includes,
.tier .tier-cta,
.tier .tier-includes li::before {
  transition: border-color .2s ease, background-color .2s ease;
}
.tier:last-child { border-right: 0; }
/* 3-column grid: drop right border on every 3rd card; drop bottom border on last row */
.tier:nth-child(3n) { border-right: 0; }
.tier:nth-last-child(-n+3) { border-bottom: 0; }

.tier .tier-name,
.tier .tier-price,
.tier .tier-includes li { color: var(--crimson); }
.tier .tier-tag,
.tier .tier-num,
.tier .tier-price .unit { color: rgba(77,1,3,.62); }
.tier .tier-head { border-color: rgba(77,1,3,.22); }
.tier .tier-includes { border-color: rgba(77,1,3,.22); }
.tier .tier-cta { border-color: rgba(77,1,3,.22); }
.tier .tier-includes li::before { background: var(--crimson); }

.tier:hover { background: var(--crimson); color: var(--cream); }
.tier:hover .tier-name,
.tier:hover .tier-price,
.tier:hover .tier-includes li { color: var(--cream); }
.tier:hover .tier-tag,
.tier:hover .tier-num,
.tier:hover .tier-price .unit { color: rgba(255,250,188,.78); }
.tier:hover .tier-head,
.tier:hover .tier-includes,
.tier:hover .tier-cta { border-color: rgba(255,250,188,.28); }
.tier:hover .tier-includes li::before { background: var(--cream); }
.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(77,1,3,.22);
  padding-bottom: 1rem;
}
.tier-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--ink);
}
.tier-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--charcoal);
  text-align: right;
}
.tier-price {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}
.tier-price .tier-from {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .26em;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: var(--charcoal);
  margin-right: .15em;
  align-self: center;
}
.tier-price .unit {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .28em;
  letter-spacing: var(--trk-wider);
  color: var(--charcoal);
}
.tier-tag {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.4;
  text-wrap: pretty;
}
.tier-includes { display: flex; flex-direction: column; gap: .55rem; padding-top: 1rem; border-top: 1px solid rgba(77,1,3,.22); }
.tier-includes li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: .55rem;
  align-items: baseline;
}
.tier-includes li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--ink);
  border-radius: 50%;
  margin-top: .42em;
}
.tier--featured {
  background: #E9E9E1;
  color: var(--crimson);
}
.tier-flag {
  position: absolute;
  top: 0; right: 0;
  background: var(--crimson);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: var(--trk-widest);
  padding: .35rem .6rem;
}
/* When a flag is present, push the tier-head down so it doesn't sit
   underneath the absolutely-positioned flag pill. */
.tier-flag + .tier-head { padding-top: 1.6rem; }

/* "Open configurator without a package" row */
.open-config-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.open-config-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 16px 26px;
  border: 1px solid var(--crimson);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: var(--crimson);
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.open-config-link:hover { background: var(--crimson); color: var(--cream); }
.open-config-link svg { transition: transform .25s ease; }
.open-config-link:hover svg { transform: translateX(4px); }

.tier-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  padding-top: 1rem;
  border-top: 1px solid rgba(77,1,3,.22);
  color: inherit;
}
.tier-cta:hover { color: inherit; }

.print-addons {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px dashed var(--line);
}
.print-addons h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}
.print-addons h4 + p {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 13px;
  color: var(--charcoal);
  margin-top: .5rem;
}
.addon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.addon-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px dotted var(--line);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
  align-items: baseline;
}
.addon-list li:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--line); padding-left: 0; }
.addon-list li:nth-child(even) { padding-left: 1.5rem; }
.addon-list .price {
  font-family: var(--serif-text);
  font-style: italic;
  color: var(--charcoal);
  font-size: 13px;
}

@media (max-width: 900px) {
  .pricing-head { grid-template-columns: 1fr; }
  .tiers {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 1rem;
    border: 0;
    background: transparent;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tiers::-webkit-scrollbar { display: none; }
  .tier {
    scroll-snap-align: start;
    border: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
  }
  .print-addons { grid-template-columns: 1fr; }
  .addon-list { grid-template-columns: 1fr; }
  .addon-list li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .addon-list li:nth-child(even) { padding-left: 0; }
}

/* =================================================================
   SWIPE SHELL — mobile carousel hint + dots
   used by: .timeline (works), .styles-mobile-shell, .tiers-shell
   ================================================================= */
.swipe-hint,
.swipe-dots { display: none; }

@media (max-width: 900px) {
  [data-swipe] {
    position: relative;
  }
  /* The styles section already negative-margins its rail; align hint/dots to the gutter */
  .styles-mobile-shell,
  .tiers-shell {
    display: block;
  }
  /* Pricing rail handles its own bleed (see .tiers media block above) */

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin: 0 0 .9rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: .85;
    transition: opacity .35s ease;
  }
  [data-swipe].is-swiped .swipe-hint {
    opacity: .35;
  }
  .swipe-hint .label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
  }
  .swipe-hint .count {
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    font-weight: 600;
  }
  .swipe-hint .sep { opacity: .35; }
  .swipe-hint .arrow {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    animation: swipeNudge 1.8s ease-in-out infinite;
  }
  [data-swipe].is-swiped .swipe-hint .arrow { animation: none; opacity: .4; }

  @keyframes swipeNudge {
    0%, 100% { transform: translateX(0); opacity: .55; }
    50% { transform: translateX(7px); opacity: 1; }
  }

  .swipe-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 1.1rem;
    color: var(--ink);
  }
  .swipe-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .2;
    transition: opacity .25s ease, width .25s ease, border-radius .25s ease;
  }
  .swipe-dots .dot.is-active {
    opacity: 1;
    width: 20px;
    border-radius: 4px;
  }

  /* contextual color tweaks per section */
  .works .swipe-hint .arrow,
  .works .swipe-dots { color: var(--ink); }
  .styles-mobile-shell .swipe-hint .arrow,
  .styles-mobile-shell .swipe-dots { color: var(--ink); }
  .tiers-shell .swipe-hint { color: var(--crimson); opacity: .85; }
  .tiers-shell .swipe-hint .count { color: var(--crimson); }
  .tiers-shell .swipe-hint .arrow,
  .tiers-shell .swipe-dots { color: var(--crimson); }
}

/* =================================================================
   SECTION 05 — FAQ
   ================================================================= */
.faq {
  padding: clamp(5rem, 8vw, 8rem) 0;
}
.faq-head {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.faq-head .meta { display: flex; flex-direction: column; gap: 1rem; }

.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 0;
  align-items: start;
}
.faq-item button.q {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  text-align: left;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  color: var(--ink);
  line-height: 1.3;
  cursor: pointer;
  transition: color .25s;
}
.faq-item button.q:hover { color: var(--crimson); }
.faq-item .qord {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  color: var(--charcoal);
}
.faq-item .toggle {
  position: relative;
  width: 18px; height: 18px;
}
.faq-item .toggle::before, .faq-item .toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.faq-item .toggle::before { inset: 50% 0 auto 0; height: 1.5px; margin-top: -.75px; }
.faq-item .toggle::after  { inset: 0 50% auto 50%; width: 1.5px; margin-left: -.75px; height: 100%; transform-origin: center; }
.faq-item[aria-expanded="true"] .toggle::after { transform: scaleY(0); }
.faq-item .a {
  grid-column: 2 / -1;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.78;
  color: var(--charcoal);
  max-width: 70ch;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease, opacity .4s ease;
  opacity: 0;
}
.faq-item[aria-expanded="true"] .a {
  max-height: 600px;
  padding-bottom: 1.8rem;
  opacity: 1;
}

@media (max-width: 700px) {
  .faq-head { grid-template-columns: 1fr; }
  .faq-item button.q { grid-template-columns: 30px 1fr 18px; gap: .8rem; }
  .faq-item .a { grid-column: 1 / -1; padding-left: 0; }
}

/* =================================================================
   CTA BANNER + CONTACT
   ================================================================= */
.terminus {
  background: var(--crimson);
  color: var(--cream);
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(4rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.terminus::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(233,233,225,.06), transparent 50%),
    radial-gradient(ellipse at -10% 100%, rgba(233,233,225,.04), transparent 50%);
  pointer-events: none;
}
.terminus .container { position: relative; z-index: 1; }
.terminus-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: rgba(233,233,225,.6);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(233,233,225,.18);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.terminus-rail .center { text-align: center; font-family: var(--serif-text); font-style: italic; text-transform: none; letter-spacing: var(--trk-norm); color: var(--cream); }
.terminus-rail .right { text-align: right; }

.terminus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.terminus h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cream);
  text-wrap: balance;
}
.terminus h2 em { font-family: var(--serif-display); font-style: normal; font-weight: 400; }
.terminus p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(233,233,225,.78);
  max-width: 40ch;
}

.terminus-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.terminus-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.terminus-form label {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--trk-widest);
  text-transform: uppercase;
  color: rgba(233,233,225,.55);
  margin-bottom: .35rem;
}
.terminus-form input,
.terminus-form select,
.terminus-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(233,233,225,.25);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  padding: .7rem 0 .9rem;
  letter-spacing: var(--trk-tight);
  transition: border-color .25s ease;
}
.terminus-form input::placeholder,
.terminus-form textarea::placeholder { color: rgba(233,233,225,.45); font-style: normal; font-family: var(--serif-text); font-weight: 300; }
.terminus-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(233,233,225,.6) 50%), linear-gradient(135deg, rgba(233,233,225,.6) 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 10px) center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 30px; }
.terminus-form select option { color: var(--ink); }
.terminus-form textarea { resize: vertical; min-height: 110px; }
.terminus-form input:focus,
.terminus-form select:focus,
.terminus-form textarea:focus { outline: none; border-bottom-color: var(--cream); }
.terminus-form button[type="submit"] {
  justify-self: start;
  margin-top: .8rem;
  padding: 14px 26px;
  background: var(--cream);
  color: var(--crimson);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  transition: background .25s ease, transform .25s ease;
}
.terminus-form button[type="submit"]:hover { background: #E9E9E1; transform: translateX(2px); }
.terminus-form .success {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 14px;
  color: var(--cream);
  padding: 1rem 0;
  display: none;
}
.terminus-form.is-sent .success { display: block; }
.terminus-form.is-sent > *:not(.success) { display: none; }

@media (max-width: 900px) {
  .terminus-grid { grid-template-columns: 1fr; }
  .terminus-form .row { grid-template-columns: 1fr; }
  .terminus-rail { grid-template-columns: 1fr 1fr; }
  .terminus-rail .center { display: none; }
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--ink);
  color: rgba(237,232,226,.55);
  padding: clamp(2.5rem, 4vw, 4rem) 0 1.5rem;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: var(--trk-norm);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  gap: 1.5rem 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(237,232,226,.10);
}
.footer-top .brand { display: inline-block; }
.footer-top .brand img { width: 120px; opacity: 1; display: block; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 1.6rem; }
.footer-links a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: rgba(237,232,226,.65);
  transition: color .2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-contact {
  text-align: right;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  color: rgba(237,232,226,.7);
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 1.5rem;
  font-size: 10px;
  letter-spacing: var(--trk-wider);
  text-transform: uppercase;
  color: rgba(237,232,226,.4);
}
.footer-bottom .center { text-align: center; }
.footer-bottom .right { text-align: right; }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-top .brand { justify-self: center; }
  .footer-contact { text-align: center; }
}
@media (max-width: 700px) {
  .footer-links { gap: .6rem 1.2rem; font-size: 10px; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: .5rem; }
  .footer-bottom .right, .footer-bottom .center { text-align: center; }
}

/* =================================================================
   Selection
   ================================================================= */
::selection { background: var(--crimson); color: var(--cream); }
