/* Rancho Sol Dorado. Two grounds that hard-cut: the pale caliche of the ranch
   road by day, real night blue for the stay. One hue of gold, two lightnesses. */
:root {
  --sc-canvas:     #ECE8DF;   /* caliche road, cool not cream */
  --sc-surface:    #F6F3EC;
  --sc-ink:        #1C2018;   /* mesquite bark */
  --sc-ink-soft:   #4F5546;
  --sc-accent:     #7C520C;   /* sol dorado, day stop */
  --sc-accent-ink: #FFF8EA;
  --sc-font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sc-font-text:    "Archivo", system-ui, sans-serif;

  --day: #ECE8DF;
  --paper: #F6F3EC;
  --sage: #E1E2D6;
  --night: #0A1020;
  --night-ink: #EEE8DA;
  --night-soft: #AEB5C7;
  --gold-night: #E8B85E;     /* sol dorado, night stop */
  --gold-day: #7C520C;
  --tag: #F4F0E5;
  --tag-ink: #1C2018;
  --rope: #6B5A3E;
  --sc-shadow-color: 40 30% 18%;
  --hitch-h: 74px;
}

body { background: var(--day); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--tag); color: var(--tag-ink); padding: 10px 14px; border-radius: var(--sc-r-sm); }
.skip:focus { top: 12px; }

.sc-display {
  font-family: var(--sc-font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.sc-body { color: var(--sc-ink-soft); }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.25rem;
  border-radius: 3px;
  font: 600 0.95rem/1 var(--sc-font-text); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
  box-shadow: var(--sc-e1);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--gold { background: var(--gold-day); color: var(--sc-accent-ink); }
.btn--ink { background: var(--sc-ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--sc-ink); box-shadow: inset 0 0 0 1px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: #6A4508; box-shadow: var(--sc-e2); }
  .btn--ink:hover { background: #2E3427; box-shadow: var(--sc-e2); }
  .btn--line:hover { background: color-mix(in oklab, var(--sc-ink) 8%, transparent); }
}
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* the stay line: the one schema every threshold opens with */
.stayline {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin: 0 0 var(--sc-4);
  font: 600 var(--sc-t-xs)/1.3 var(--sc-font-text); letter-spacing: 0.1em; text-transform: uppercase;
}
.stayline span { white-space: nowrap; }
.stayline span + span::before { content: "·"; margin: 0 0.55em; opacity: 0.6; }

/* ==================================================== the hitching rail -- */
.hitch {
  position: fixed; z-index: var(--sc-z-chrome); inset: 0 0 auto 0;
  height: var(--hitch-h);
  display: flex; align-items: flex-start; gap: clamp(0.5rem, 1.6vw, 1.25rem);
  padding: 0 var(--sc-gutter);
  pointer-events: none;
}
.hitch__rope {
  position: absolute; left: 0; right: 0; top: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rope) 4%, var(--rope) 96%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0.85;
}
.hitch[data-ground="night"] .hitch__rope { background: linear-gradient(90deg, transparent, #8C7A5C 4%, #8C7A5C 96%, transparent); box-shadow: none; }
.hitch__ways { display: flex; gap: clamp(0.4rem, 1.2vw, 0.9rem); margin-left: auto; }
.tag {
  pointer-events: auto;
  position: relative; display: flex; flex-direction: column; justify-content: center;
  margin-top: 22px; min-height: 44px; padding: 0.4rem 0.8rem 0.42rem 0.8rem;
  background: var(--tag); color: var(--tag-ink);
  border-radius: 2px 2px 4px 4px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 3px 8px -2px hsl(var(--sc-shadow-color) / 0.35), 0 1px 2px hsl(var(--sc-shadow-color) / 0.3);
  transform-origin: 50% -10px;
  transition: transform 260ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
/* the string up to the rope, and the punched hole */
.tag::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 10px; background: var(--rope); }
.tag::after { content: ""; position: absolute; left: calc(50% - 3px); top: 4px; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in oklab, var(--tag-ink) 22%, transparent); }
.tag b { font: 600 0.92rem/1.1 var(--sc-font-display); font-size: 1.12rem; letter-spacing: 0.01em; padding-top: 6px; }
.tag small { font: 500 0.7rem/1.2 var(--sc-font-text); letter-spacing: 0.06em; text-transform: uppercase; color: #545A4B; }
.tag--way { align-items: center; min-width: 5.6rem; text-align: center; }
.tag--way[aria-current="true"] { transform: translateY(5px); animation: swing 1.4s var(--sc-ease-out) 1; background: #FFFDF6; }
.tag--way[aria-current="true"] b { color: var(--gold-day); }
@keyframes swing {
  0% { transform: translateY(5px) rotate(0deg); }
  18% { transform: translateY(5px) rotate(5deg); }
  40% { transform: translateY(5px) rotate(-3deg); }
  62% { transform: translateY(5px) rotate(1.5deg); }
  82% { transform: translateY(5px) rotate(-0.6deg); }
  100% { transform: translateY(5px) rotate(0deg); }
}
.tag--brand { flex-direction: row; align-items: center; gap: 0.6rem; padding-inline: 0.7rem 0.9rem; }
.tag--brand::after { display: none; }
.tag__mark, .tag__word, .home__mark {
  display: block; background: var(--tag-ink);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.tag__mark { --m: url("assets/mark-a.webp"); width: 34px; height: 31px; }
.tag__word { --m: url("assets/wordmark-a.webp"); width: 150px; height: 29px; }
.tag--book { background: var(--gold-day); color: var(--sc-accent-ink); font: 600 0.9rem/1 var(--sc-font-text); padding-inline: 1rem; align-items: center; }
.tag--book::after { background: rgba(255,248,234,0.35); }
@media (hover: hover) and (pointer: fine) {
  .tag:hover { transform: translateY(3px) rotate(-1.5deg); }
  .tag--way[aria-current="true"]:hover { transform: translateY(6px); }
  .tag--book:hover { background: #6A4508; }
}
.tag:focus-visible { outline-color: var(--gold-day); }
.hitch[data-ground="night"] .tag:focus-visible { outline-color: var(--gold-night); }

/* =============================================================== hero -- */
.hero { background: #8DB8E4; }
.hero__stage { background: #8DB8E4; }
.hero__scene {
  position: absolute; left: 50%; bottom: 0;
  width: max(100vw, 177.78svh); aspect-ratio: 16 / 9;
  translate: -50% 0;
}
.hp { position: absolute; max-width: none; user-select: none; pointer-events: none; will-change: transform; }
.hp--plate { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 43% 92%; }
.hp--riders { left: 14.844%; top: 26.389%; width: 61.719%; height: auto; transform-origin: 46% 90%; }
.hp--fence { left: 75.781%; top: 47.917%; width: 24.219%; height: auto; transform-origin: 100% 60%; }
.hp--dust {
  inset: 50% -5% -2% -5%;
  background:
    radial-gradient(60% 40% at 42% 70%, rgba(236, 214, 178, 0.55), transparent 70%),
    radial-gradient(40% 30% at 70% 85%, rgba(236, 220, 190, 0.4), transparent 70%);
  opacity: 0; mix-blend-mode: screen;
}
.hero__place {
  position: absolute; left: 0; right: 0; top: calc(var(--hitch-h) + 1.4vh);
  margin: 0; text-align: center;
  font: 600 var(--sc-t-xs)/1.3 var(--sc-font-text); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-ink);
}
.hero__title {
  position: absolute; left: 0; right: 0; top: 13.2%;
  margin: 0; text-align: center;
  font-family: var(--sc-font-display); font-weight: 600;
  font-size: min(8.6vw, 9.8rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--sc-ink);
  will-change: transform, opacity;
}
.hero__beat {
  position: absolute; left: 0; right: 0; top: 15%;
  margin: 0; text-align: center; opacity: 0;
  font-family: var(--sc-font-display); font-weight: 600; font-style: italic;
  font-size: min(3.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--sc-ink);
}
.hero__beat em { color: var(--gold-day); }

/* =============================================================== ride -- */
.ride .sc-stage, .land .sc-stage { background: #6E8A5A; }
.ride__scrim {
  position: absolute; z-index: 1; inset: 0 0 0 auto; width: min(68vw, 62rem); pointer-events: none;
  background: radial-gradient(48% 40% at 66% 44%, rgba(14,18,12,0.6), transparent 75%), linear-gradient(270deg, rgba(14,18,12,0.84) 0%, rgba(14,18,12,0.7) 46%, rgba(14,18,12,0.2) 80%, transparent 100%);
}
.land__scrim {
  position: absolute; z-index: 1; inset: 0 auto 0 0; width: min(68vw, 62rem); pointer-events: none;
  background: radial-gradient(48% 40% at 34% 44%, rgba(14,18,12,0.6), transparent 75%), linear-gradient(90deg, rgba(14,18,12,0.84) 0%, rgba(14,18,12,0.7) 46%, rgba(14,18,12,0.2) 80%, transparent 100%);
}
.ride__copy, .land__copy { --sc-ink: #F3EEE2; --sc-ink-soft: #DCD6C8; color: var(--sc-ink); max-width: 31rem; bottom: auto; top: 50%; translate: 0 -50%; }
.ride__copy { inset-inline: auto; right: var(--sc-gutter); }
.land__copy { left: var(--sc-gutter); inset-inline: var(--sc-gutter) auto; }
.ride__copy h2, .land__copy h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-5); }
.ride__copy .stayline, .land__copy .stayline { color: #F8E2B0; }

/* ============================================================== rides -- */
.rides { background: var(--day); padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4rem, 8vw, 8rem); }
.rides__wrap {
  width: min(100% - 2 * var(--sc-gutter), var(--sc-maxw)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "head head more" "picker picker more";
  gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3.5vw, 3.5rem);
}
.rides__head { grid-area: head; }
.rides__head h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-4); }
.rides__head .sc-body { max-width: 40ch; }
.rides__picker {
  grid-area: picker;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "times times" "photo panel";
  gap: var(--sc-5) clamp(1.25rem, 2.6vw, 2.5rem);
}
.rides__times { grid-area: times; display: flex; gap: 0; border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); }
.rides__times button {
  flex: 1; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 0.6rem 0 0.85rem; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  display: flex; flex-direction: column; gap: 0.1rem;
  transition: border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.rides__times b { font: 600 var(--sc-t-xl)/1.05 var(--sc-font-display); }
.rides__times span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
.rides__times button[aria-checked="true"] { border-bottom-color: var(--gold-day); }
.rides__times button[aria-checked="true"] b { color: var(--gold-day); }
@media (hover: hover) and (pointer: fine) { .rides__times button:hover b { color: var(--gold-day); } }
.rides__photo { grid-area: photo; margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; box-shadow: var(--sc-e2); background: #CFC6B3; }
.rides__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 420ms var(--sc-ease-out), transform 900ms var(--sc-ease-out); }
.rides__photo img.is-on { opacity: 1; transform: none; }
.rides__photo img[data-ride-img="afternoon"] { object-position: 30% 50%; }
.rides__photo img[data-ride-img="sunset"] { object-position: 46% 50%; }
.rides__panel { grid-area: panel; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sc-4); }
.rides__kind { display: inline-flex; padding: 3px; border-radius: 4px; background: color-mix(in oklab, var(--sc-ink) 9%, transparent); }
.rides__kind button { border: 0; background: none; padding: 0 1rem; min-height: 40px; border-radius: 3px; cursor: pointer; font-weight: 500; color: var(--sc-ink-soft); transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.rides__kind button[aria-checked="true"] { background: var(--paper); color: var(--sc-ink); box-shadow: var(--sc-e1); }
.rides__price { margin: 0; font: 600 var(--sc-t-lg)/1.2 var(--sc-font-text); font-variant-numeric: tabular-nums; }
.rides__price span { font-weight: 400; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.rides__label { margin: var(--sc-2) 0 calc(-1 * var(--sc-2)); font: 600 var(--sc-t-xs)/1.2 var(--sc-font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-soft); }
.rides__dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.rides__dates button {
  min-height: 52px; border: 1px solid color-mix(in oklab, var(--sc-ink) 20%, transparent); border-radius: 3px;
  background: var(--paper); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
  font-variant-numeric: tabular-nums;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.rides__dates button small { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); }
.rides__dates button b { font-weight: 600; font-size: 0.98rem; }
.rides__dates button[aria-checked="true"] { background: var(--sc-ink); color: var(--paper); border-color: var(--sc-ink); }
.rides__dates button[aria-checked="true"] small { color: #CFCABB; }
.rides__dates button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .rides__dates button:hover { border-color: var(--sc-ink); } }
.rides__pick { margin: 0; min-height: 3.2em; color: var(--sc-ink); max-width: 38ch; }
.rides__src { margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); max-width: 44ch; }
.rides__more { grid-area: more; display: flex; flex-direction: column; gap: var(--sc-5); padding-top: clamp(0rem, 2vw, 1.5rem); }
.rides__coffee { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 3px; box-shadow: var(--sc-e1); }
.rides__coffee img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.rides__notes { display: flex; flex-direction: column; gap: var(--sc-4); }
.rides__notes p { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 40ch; }
.rides__notes b { color: var(--sc-ink); font-weight: 600; }
.rides__notes a { color: var(--gold-day); font-weight: 600; }

/* ============================================================== night -- */
.night { background: var(--night); }
.night__stage {
  background: var(--night);
  --sc-ink: var(--night-ink); --sc-ink-soft: var(--night-soft); --sc-accent: var(--gold-night); --sc-accent-ink: #1A1408;
  color: var(--sc-ink);
}
.night__sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; touch-action: pan-y; cursor: grab; }
.night__sky.is-drag { cursor: grabbing; }
.night__fg {
  position: absolute; left: 50%; bottom: 0; width: max(100%, 165.6svh); max-width: none; height: auto;
  translate: -50% 0; pointer-events: none; will-change: transform, opacity; opacity: 0;
}
.night__hush {
  position: absolute; left: var(--sc-gutter); top: 50%; translate: 0 -50%; margin: 0;
  font: 500 italic var(--sc-t-xl)/1.3 var(--sc-font-display); color: var(--night-soft); max-width: 28ch;
}
.night__count { position: absolute; left: var(--sc-gutter); top: calc(var(--hitch-h) + 6vh); max-width: 30rem; }
.night__count p { margin: 0; }
.night__num { display: block; font: 600 clamp(3.4rem, 8vw, 7rem)/0.95 var(--sc-font-display); color: var(--night-ink); font-variant-numeric: tabular-nums lining-nums; }
.night__count p:first-child { font-size: var(--sc-t-lg); color: var(--night-ink); }
.night__note { margin-top: var(--sc-3) !important; font-size: var(--sc-t-sm); color: var(--night-soft); }
.night__copy { position: absolute; left: var(--sc-gutter); top: calc(var(--hitch-h) + 4vh); max-width: 34rem; }
.night__copy .stayline { color: var(--gold-night); }
.night__copy h2 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.2rem); margin-bottom: var(--sc-4); text-shadow: 0 2px 18px rgba(5,8,18,0.6); }
.night__copy .sc-body { color: #C9CFDD; max-width: 44ch; text-shadow: 0 1px 10px rgba(5,8,18,0.7); }
.night__pick {
  position: absolute; right: var(--sc-gutter); bottom: clamp(1.25rem, 4vh, 2.5rem); width: min(27rem, 40vw);
  padding: 1.1rem 1.2rem 1.2rem; border-radius: 4px;
  background: rgba(10, 15, 30, 0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 10px 30px -10px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; gap: var(--sc-3);
}
.night__label { margin: 0; font: 600 var(--sc-t-xs)/1.2 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-night); }
.night__chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.night__chips button {
  min-height: 52px; padding: 4px 2px; border-radius: 3px; cursor: pointer; line-height: 1.1;
  border: 1px solid rgba(238,232,218,0.18); background: rgba(238,232,218,0.04); color: var(--night-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-variant-numeric: tabular-nums;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.night__chips small { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night-soft); }
.night__chips b { font-size: 0.95rem; font-weight: 600; }
.night__chips i { font-style: normal; font-size: 0.66rem; color: #8E97AD; }
.night__chips button[aria-checked="true"] { background: var(--gold-night); border-color: var(--gold-night); color: #1A1408; }
.night__chips button[aria-checked="true"] :is(small, i) { color: #3B2C10; }
@media (hover: hover) and (pointer: fine) { .night__chips button:hover { border-color: rgba(238,232,218,0.55); } }
.night__tools { display: flex; align-items: center; justify-content: space-between; gap: var(--sc-3); flex-wrap: wrap; }
.night__date { display: flex; align-items: center; gap: 0.5rem; font-size: var(--sc-t-sm); color: var(--night-soft); }
.night__date input { min-height: 40px; background: rgba(238,232,218,0.06); border: 1px solid rgba(238,232,218,0.22); border-radius: 3px; color: var(--night-ink); padding: 0 0.5rem; color-scheme: dark; }
.night__turn { display: inline-flex; gap: 5px; }
.night__turn button { min-height: 40px; padding: 0 0.7rem; border-radius: 3px; border: 1px solid rgba(238,232,218,0.22); background: none; color: var(--night-ink); cursor: pointer; font-size: var(--sc-t-sm); }
.night__read { margin: 0; font-size: var(--sc-t-sm); color: #CED3E0; min-height: 2.6em; }
.night .btn--gold { background: var(--gold-night); color: #1A1408; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .night .btn--gold:hover { background: #F2C878; } }
.night :focus-visible { outline-color: var(--gold-night); }

/* ============================================================== story -- */
.story { background: var(--sage); }
.story__stage { background: var(--sage); display: flex; align-items: center; }
.story__rail { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding: calc(var(--hitch-h) + 2vh) var(--sc-gutter) 3vh; }
.story__lead { flex: 0 0 min(30rem, 80vw); }
.story__lead h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-5); }
.yr { flex: 0 0 auto; margin: 0; display: flex; flex-direction: column; gap: var(--sc-3); }
.yr img { height: min(46vh, 30rem); width: auto; object-fit: cover; border-radius: 2px; box-shadow: var(--sc-e2); background: #CCC9B8; }
.yr--tall img { aspect-ratio: 3 / 4; }
.yr:not(.yr--tall):not(.yr--wide) img { aspect-ratio: 1; }
.yr--wide img { aspect-ratio: 4 / 3; }
.yr figcaption { max-width: 22rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); line-height: 1.45; }
.yr figcaption b { display: block; font: 600 var(--sc-t-xl)/1 var(--sc-font-display); color: var(--sc-ink); margin-bottom: 0.25rem; font-variant-numeric: lining-nums; }
.yr--next figcaption b { color: var(--gold-day); }
.yr:nth-child(odd) { transform: translateY(2.2vh); }
.story__end { flex: 0 0 min(22rem, 76vw); display: flex; flex-direction: column; align-items: flex-start; gap: var(--sc-4); padding-right: var(--sc-gutter); }
@media (prefers-reduced-motion: no-preference) {
  .story .yr { opacity: calc(0.55 + 0.45 * min(1, max(0, (var(--sc-p, 0) * 9 - var(--i, 0) + 1.4)))); }
}

/* =============================================================== home -- */
.home { background: var(--day); padding-bottom: clamp(2rem, 4vw, 3rem); }
.home__img { margin: 0; height: clamp(18rem, 58vh, 40rem); overflow: hidden; }
.home__img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 97%; }
.home__wrap { width: min(100% - 2 * var(--sc-gutter), var(--sc-maxw)); margin-inline: auto; }
.home__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sc-6); flex-wrap: wrap; padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--sc-6); }
.home__head h2 { font-size: var(--sc-t-4xl); }
.home__head .sc-body { max-width: 30ch; margin-bottom: 0.6em; }
.home__post { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); padding-top: 26px; }
.home__rope { position: absolute; left: -2%; right: -2%; top: 8px; height: 2px; background: var(--rope); border-radius: 2px; opacity: 0.8; }
.htag {
  position: relative; background: var(--tag); padding: 1.5rem 1.4rem 1.4rem; border-radius: 3px 3px 6px 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, var(--sc-e2);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  transform-origin: 50% -18px;
}
.htag:nth-child(3) { transform: rotate(-0.8deg); }
.htag:nth-child(4) { transform: rotate(0.7deg); }
.htag::before { content: ""; position: absolute; left: 50%; top: -18px; width: 1px; height: 19px; background: var(--rope); }
.htag::after { content: ""; position: absolute; left: calc(50% - 4px); top: 7px; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--tag-ink) 20%, transparent); }
.htag__k { margin: 0.5rem 0 0; font: 600 var(--sc-t-xs)/1.2 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-day); }
.htag__v { margin: 0; font: 600 var(--sc-t-xl)/1.1 var(--sc-font-display); color: var(--sc-ink); }
.htag__s { margin: 0 0 var(--sc-4); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.htag .btn { margin-top: auto; }
.home__foot { margin-top: clamp(3rem, 6vw, 5rem); padding-top: var(--sc-6); border-top: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); display: grid; grid-template-columns: auto 1fr; gap: var(--sc-3) var(--sc-6); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.home__mark { --m: url("assets/logo-full-a.webp"); width: 170px; height: 91px; grid-row: span 3; }
.home__foot address { font-style: normal; }
.home__foot a { color: var(--sc-ink); }
.home__give, .home__small { margin: 0; max-width: 78ch; }
.home__small { font-size: var(--sc-t-xs); }

/* ============================================================= phones -- */
@media (max-width: 860px) {
  :root { --hitch-h: 64px; }
  .hitch { padding: 0 10px; gap: 6px; }
  .tag { margin-top: 20px; padding: 0.3rem 0.55rem; min-height: 44px; }
  .tag__word { display: none; }
  .tag__mark { width: 30px; height: 27px; }
  .tag--way { min-width: 0; padding-inline: 0.6rem; }
  .tag b { font-size: 1.02rem; }
  .tag small { font-size: 0.62rem; letter-spacing: 0.04em; }
  .tag--book { display: none; }

  .hero__scene { width: 100vw; height: 100svh; aspect-ratio: auto; }
  .hp--plate { object-fit: cover; object-position: 50% 100%; transform-origin: 50% 85%; }
  .hp--riders { left: 50%; top: auto; bottom: 6svh; width: 112vw; translate: -46% 0; transform-origin: 46% 90%; }
  .hp--fence { display: none; }
  .hero__place { top: calc(var(--hitch-h) + 3.2svh); font-size: 0.66rem; letter-spacing: 0.12em; padding: 0 1rem; }
  .hero__title { top: calc(var(--hitch-h) + 8svh); font-size: clamp(3rem, 15vw, 4.2rem); line-height: 0.98; padding: 0 0.8rem; }
  .hero__beat { top: calc(var(--hitch-h) + 9svh); font-size: clamp(1.5rem, 7vw, 2rem); padding: 0 1.2rem; }

  .ride__scrim, .land__scrim { inset: auto 0 0 0; width: 100%; height: 72%; background: linear-gradient(0deg, rgba(14,18,12,0.86) 0%, rgba(14,18,12,0.7) 50%, rgba(14,18,12,0.2) 85%, transparent 100%); }
  .ride__copy, .land__copy { left: var(--sc-gutter); right: var(--sc-gutter); top: auto; bottom: 6svh; translate: none; max-width: none; }
  .ride__copy h2, .land__copy h2 { font-size: clamp(2.4rem, 11vw, 3.2rem); }

  .rides__wrap { grid-template-columns: 1fr; grid-template-areas: "head" "picker" "more"; }
  .rides__picker { grid-template-columns: 1fr; grid-template-areas: "times" "photo" "panel"; }
  .rides__photo { aspect-ratio: 4 / 3; }
  .rides__times b { font-size: 1.35rem; }
  .rides__dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rides__more { display: grid; grid-template-columns: 1fr; }

  .night__fg { width: auto; height: 46svh; left: 50%; translate: -50% 0; }
  .night__hush { right: var(--sc-gutter); }
  .night__count { top: calc(var(--hitch-h) + 3svh); }
  .night__copy { top: calc(var(--hitch-h) + 2.5svh); right: var(--sc-gutter); }
  .night__copy h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .night__copy .sc-body { font-size: 0.95rem; }
  .night__pick { left: 10px; right: 10px; width: auto; bottom: 10px; padding: 0.85rem 0.85rem 0.95rem; gap: 0.6rem; }
  .night__chips button { min-height: 48px; }

  .story__lead { flex-basis: 82vw; }
  .yr img { height: 34svh; }
  .yr figcaption { max-width: 15rem; }
  .story__rail { gap: 1.25rem; }
  .yr:nth-child(odd) { transform: none; }

  .home__img { height: 44svh; }
  .home__post { grid-template-columns: 1fr; gap: 34px; }
  .home__rope { display: none; }
  .htag:nth-child(n) { transform: none; }
  .home__foot { grid-template-columns: 1fr; }
  .home__mark { grid-row: auto; }
}
@media (max-width: 380px) {
  .tag--way small { display: none; }
  .night__chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .night__chips i { display: none; }
}


@media (max-width: 860px) {
  .stayline { font-size: 0.62rem; letter-spacing: 0.05em; }
  .stayline span + span::before { margin: 0 0.4em; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .night__copy .sc-body { display: none; }
  .night__copy h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .night__read { min-height: 0; }
}

/* ===================================================== reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .tag--way[aria-current="true"] { animation: none; }
  .hp, .hero__title { transform: none !important; }
  .rides__photo img { transition: opacity 200ms linear; transform: none; }
}
