/* Ash Canyon Distillery & Winery: full landing page (round one, 2026-10-28)
   Palette from the supplied label artwork: paper #F9F8F0, sepia ink #3D1700, star gold #A4875A,
   and the dusk sky over the P33 property photograph. Copy round 2026-10-29 from Chris and Tracy. */

:root {
  --paper:      #F5F6F0;   /* grass-tinted paper, per the brief's 'muted grass and mesquite' */
  --paper-2:    #EEF0E8;
  --ink:        #2A1A0E;
  --ink-soft:   #5C4734;
  --gold:       #A4875A;
  --gold-deep:  #765830;
  --gold-light: #D8BE8A;
  --night:      #11141B;
  --night-2:    #181B23;
  --cream:      #EDE3CE;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --measure: 36rem;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .22vw, 1.1rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1.3em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; }
figure { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--paper); padding: .75rem 1.1rem;
  font: 500 .85rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
}
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(100%, 78rem); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { width: min(100%, 60rem); }

/* ---------- shared pieces ---------- */

.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  font-family: var(--ui); font-weight: 400;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow .num { font-family: var(--display); font-size: 1rem; font-weight: 500; letter-spacing: .14em; }
.eyebrow .rule { flex: 0 0 3.25rem; height: 1px; background: currentColor; opacity: .55; }
.eyebrow[aria-hidden] .rule { display: none; }   /* a numeral with nothing to label stands alone, no rule into space */
.eyebrow--light { color: var(--gold-light); }

.lead {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.85rem);
  line-height: 1.42; font-weight: 400; color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: 1rem 1.7rem;
  font: 400 .76rem/1.3 var(--ui); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 12px; height: 12px; fill: currentColor; }
.btn--gold { color: var(--gold-light); background: rgba(17, 20, 27, .55); border: 1px solid rgba(216, 190, 138, .7); }
.btn--gold:hover { background: var(--gold-light); color: var(--night); border-color: var(--gold-light); }
.btn--ghost-light { color: var(--cream); background: transparent; border: 1px solid rgba(237, 227, 206, .45); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(237, 227, 206, .08); }
.btn--line { color: var(--ink); background: transparent; border: 1px solid var(--gold); margin: .4rem 0 .9rem; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn__dl { width: 12px !important; height: 14px !important; fill: none !important; }

/* The engraved range from the Riparian label, recoloured by context. */
.ridge {
  height: clamp(4.5rem, 10vw, 8.5rem);
  -webkit-mask: url(/img/ridge-line.png) left bottom / auto 100% repeat-x;
          mask: url(/img/ridge-line.png) left bottom / auto 100% repeat-x;
  pointer-events: none;
}
.ridge--ink { background: var(--ink); opacity: .2; }
.ridge--gold { background: var(--gold-light); opacity: .3; }
.ridge--paper { background: var(--paper); opacity: .22; }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: -1.1rem; z-index: 0; height: clamp(3rem, 5vw, 4.5rem); display: none; }   /* the art's last rows are clear, so sit it a touch low: the range meets the paper edge */

.starrule { display: flex; align-items: center; gap: .9rem; width: min(100%, 22rem); color: var(--gold-light); }
.starrule::before, .starrule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.starrule::before { flex: 0 0 34%; }
.starrule svg { width: 13px; height: 13px; fill: currentColor; flex: 0 0 auto; }

/* ---------- age gate ---------- */

.gate { display: none; }
.js:not(.age-ok) .gate {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--night); color: var(--cream);
  overflow: auto; text-align: center;
  transition: opacity .6s var(--ease);
}
.js:not(.age-ok) body { overflow: hidden; }
.gate.is-leaving { opacity: 0; }
.gate__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(233,215,174,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(233,215,174,.35) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 12%, rgba(233,215,174,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 30%, rgba(233,215,174,.4) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 81% 16%, rgba(233,215,174,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 52%, rgba(233,215,174,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 7% 46%, rgba(233,215,174,.3) 50%, transparent 51%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(164,135,90,.14), transparent 70%);
}
.gate__inner { position: relative; z-index: 1; padding: 3rem var(--gutter) clamp(7rem, 16vw, 10rem); max-width: 54rem; }
.gate__mark { width: clamp(6.5rem, 14vw, 8.5rem); height: auto; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); }
.gate__title {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.3rem); line-height: 1.1; font-weight: 400;
  color: #F3E9D2; text-wrap: balance; margin-bottom: 1.2rem;
}
.gate__title:focus { outline: none; }
.gate__q { margin: 0 auto 2rem; font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); max-width: none; }
.gate__sorry .gate__q { text-transform: none; letter-spacing: .02em; font-size: 1.05rem; color: rgba(237,227,206,.78); }
.gate__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.gate__buttons .btn { min-width: 12.5rem; }
.gate__buttons .btn--gold { background: var(--gold-light); color: var(--night); border-color: var(--gold-light); }
.gate__buttons .btn--gold:hover { background: #E8D2A2; border-color: #E8D2A2; }
.gate__fine { margin: 2.2rem auto 0; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(237,227,206,.5); max-width: none; }
.gate__ridge { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-items: stretch;
  color: var(--cream);
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }

/* dusk: the blue daytime sky turns to night at the top, a warm horizon glow sits behind the ridge */
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13,16,24,.35) 0%, rgba(13,16,24,0) 30%, rgba(13,16,24,0) 62%, rgba(10,8,6,.72) 100%),
    linear-gradient(90deg, rgba(12,11,12,.72) 0%, rgba(12,11,12,.42) 34%, rgba(12,11,12,0) 62%);
}
.hero__stars { position: absolute; top: 0; left: 0; width: 100%; height: 18%; }
.twinkle { animation: twinkle 4.8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.twinkle--2 { animation-delay: -1.6s; animation-duration: 5.6s; }
.twinkle--3 { animation-delay: -3.1s; animation-duration: 6.4s; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.hero__inner {
  width: min(100%, 86rem); margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}

.hero__press {
  position: absolute; top: clamp(1.25rem, 3vw, 2.25rem); right: var(--gutter); z-index: 2;
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: rgba(240,227,196,.85); padding: .6rem 0 .35rem; border-bottom: 1px solid rgba(216,190,138,.45);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hero__press:hover { color: #fff; border-bottom-color: var(--gold-light); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; align-self: center; }
.hero__logo {
  width: clamp(9rem, 15vw, 12.5rem); height: auto;
  margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  filter: drop-shadow(0 2px 16px rgba(10,8,6,.5));
}
.hero__line:focus { outline: none; }
.hero__name { display: block; }
.hero__line {
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.25rem);
  line-height: 1.04; letter-spacing: -.01em; font-weight: 300;
  color: #F6ECD6; max-width: 17ch;
  margin: 0 0 clamp(1.1rem, 2.4vw, 1.6rem);
  text-shadow: 0 2px 30px rgba(10,8,6,.45);
}
.hero__sub {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.45;
  color: rgba(246,236,214,.9); max-width: 30rem;
  margin-bottom: clamp(1.3rem, 2.6vw, 1.8rem);
}
.hero__coming {
  margin: clamp(1.1rem, 2.4vw, 1.5rem) 0 clamp(1.6rem, 3.4vw, 2.3rem);
  font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: #F0E3C4;
}

.hero__bottles {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(1.2rem, 3vw, 2.6rem);
  --bh: clamp(16rem, 62vw, 22rem);
  align-self: end;
}
.bottle { position: relative; display: flex; flex-direction: column; align-items: center; }
.bottle img { height: var(--bh); width: auto; position: relative; z-index: 1; filter: drop-shadow(-6px 10px 18px rgba(0,0,0,.35)); }
/* contact shadow where the glass meets the ground */
.bottle::before {
  content: ""; position: absolute; left: 50%; bottom: 3.7rem; z-index: 0;
  width: 175%; height: 2.6rem; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.82), rgba(0,0,0,.35) 55%, rgba(0,0,0,0));
}
.bottle figcaption {
  margin-top: 1.1rem; text-align: center;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #F0E3C4; line-height: 1.6;
}
.bottle figcaption span { display: block; font-size: .7rem; letter-spacing: .22em; color: rgba(240,227,196,.62); }

@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; min-height: 100svh; }
  .hero__copy { padding-bottom: 0; }
  .hero__ridge { display: block; }                                   /* the engraved range hands the photograph to the paper */
  .hero__inner { padding-top: 3rem; padding-bottom: calc(clamp(2rem, 4vw, 3rem) + clamp(3rem, 5vw, 4.5rem)); }
}
@media (min-width: 60rem) and (max-height: 52rem) {
  /* short laptop screens: a smaller logo and headline keep the whole composition on the first screen */
  .hero__logo { width: 9rem; margin-bottom: 1rem; }
  .hero__line { font-size: clamp(2.2rem, 1rem + 3vw, 3.4rem); margin-bottom: .8rem; }
  .hero__sub { margin-bottom: 1rem; }
  .hero__coming { margin: .8rem 0 1.2rem; }
  .hero__bottles { --bh: clamp(22rem, 58svh, 34rem); justify-content: flex-end; padding-right: clamp(0rem, 2vw, 2rem); }
}

@media (max-width: 59.99rem) {
  .hero__media img { object-position: 46% 100%; }
  .hero__sky {
    background:
      linear-gradient(180deg, rgba(13,16,24,.3) 0%, rgba(13,16,24,.1) 40%, rgba(12,10,8,.5) 62%, rgba(10,8,6,.8) 100%);
  }
  .hero__stars { height: 32%; }
  .hero__stars g + g, .hero__stars g + g + g { display: none; }
  .hero__stars { top: 3.25rem; }   /* no gold trail behind the press link on phones */
  .hero__copy { align-items: center; text-align: center; }
  .hero__line { max-width: 11ch; }
  .hero__sub { margin-inline: auto; }
  .starrule { margin-inline: auto; }
  .starrule::before { flex: 1; }
  /* the whole composition, bottle included, fits a phone's first screen (measured 972px tall at 390x844 before) */
  .hero__logo { width: 7.25rem; margin-bottom: 1rem; }
  .hero__line { max-width: 15ch; margin-bottom: .8rem; }
  .hero__sub { margin-bottom: 1rem; }
  .hero__coming { margin: .8rem 0 1.2rem; }
  .hero__bottles { --bh: clamp(11.5rem, 50vw, 22rem); }
  .hero__inner { padding-top: 3.5rem; gap: 1.75rem; }   /* the logo stays clear of the press link in the corner */
}
@media (max-width: 23rem), (max-width: 59.99rem) and (max-height: 44rem) {
  /* small or short phones (360x740, 375x667): one more notch so the caption stays on the first screen */
  .hero__inner { padding-top: 3.5rem; gap: 1.4rem; }   /* the logo stays clear of the press link in the corner */
  .hero__logo { width: 6.5rem; margin-bottom: .8rem; }
  .hero__line { font-size: 2.2rem; }
  .hero__sub { font-size: 1.1rem; margin-bottom: .8rem; }
  .hero__bottles { --bh: clamp(9.5rem, 44vw, 22rem); }
}
@media (max-width: 59.99rem) and (max-height: 44rem) {
  .hero__bottles { --bh: clamp(8rem, 36vw, 22rem); }
  .hero__logo { width: 5.75rem; }
}

/* load-in, played once the visitor is through the gate (or from first paint if they answered before) */
.js.entered .intro { animation: rise 1s var(--ease) both; }
.js.entered .hero__copy .intro:nth-child(2) { animation-delay: .08s; }
.js.entered .hero__copy .intro:nth-child(3) { animation-delay: .16s; }
.js.entered .hero__copy .intro:nth-child(4) { animation-delay: .22s; }
.js.entered .hero__copy .intro:nth-child(5) { animation-delay: .28s; }
.js.entered .hero__copy .intro:nth-child(6) { animation-delay: .34s; }
.js.entered .bottle--wine { animation-delay: .3s; animation-duration: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- IV. trail notes ---------- */

.cellar { padding-block: var(--section-y); background: var(--paper); position: relative; }
.notes__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
.notes__text p:not(.lead) { color: var(--ink-soft); }
.notes__text .place__title { max-width: 15ch; }

.note { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: 1fr; align-items: center; }
.note__label {
  width: min(100%, 15rem); height: auto;
  box-shadow: 0 1px 0 rgba(42,26,14,.08), 0 18px 34px -18px rgba(42,26,14,.45);
}
.note__num { margin: 0 0 .55rem; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.note__name { font-size: clamp(2.5rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-weight: 300; margin-bottom: .9rem; }
.note__meta { margin-bottom: 1.2rem; font-size: .72rem; line-height: 1.9; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.note__meta span { display: block; }
.note__text p:last-child { font-family: var(--display); font-size: 1.22rem; line-height: 1.55; color: var(--ink-soft); max-width: 27rem; }

@media (min-width: 48rem) {
  .note { grid-template-columns: 12rem minmax(0, 1fr); }
  .note__label { width: 100%; }
}
@media (min-width: 60rem) {
  .notes__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .notes__grid .note { padding-left: clamp(2rem, 4vw, 3.5rem); border-left: 1px solid rgba(164,135,90,.55); }
}

/* ---------- II. the place ---------- */

.place { background: var(--paper); padding-block: var(--section-y); position: relative; }
.place__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; }
.place__title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.02; margin-bottom: clamp(1.4rem, 3vw, 2rem); max-width: 13ch; }
.place__text p:not(.lead) { color: var(--ink-soft); }
.place__plan {
  display: flex; gap: 1.1rem; align-items: center;
  margin-top: 2rem; padding: 1.25rem 1.5rem; max-width: 30rem;
  border: 1px solid rgba(164,135,90,.6);
}
.place__plan svg { width: 22px; height: 22px; fill: var(--gold); flex: 0 0 auto; }
.place__plan p { margin: 0; color: var(--ink) !important; font-size: .98rem; }

.place__photos { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: 1fr 1fr; align-content: start; }
.photo--wide { grid-column: 1 / -1; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(164,135,90,.45); }
.photo--wide img { aspect-ratio: 2 / 1; }
.photo figcaption { margin-top: .7rem; font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--ink-soft); line-height: 1.45; }

@media (min-width: 60rem) {
  .place__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .place__photos { padding-top: .6rem; }
}
@media (max-width: 34rem) {
  .place__photos { grid-template-columns: 1fr; }
}

/* ---------- II. our story ---------- */

.story { background: var(--paper); padding-top: var(--section-y); position: relative; }
.story__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; }
.story__text p:not(.lead) { color: var(--ink-soft); }
.story__photos { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: 1fr 1fr; align-content: start; }
.story__photos .photo--wide img { aspect-ratio: 4 / 3; }
.story__photos .photo--small img { aspect-ratio: 1 / 1; object-position: 35% 40%; }
@media (min-width: 60rem) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .story__photos { padding-top: .6rem; }
}
@media (max-width: 59.99rem) {
  .story__text { order: -1; }   /* on one column the heading and story come first, the photos follow */
}
.story .ridge, .cellar .ridge { margin-top: clamp(3rem, 6vw, 5rem); }
.cellar { padding-bottom: 0; }

/* ---------- III. what we're creating ---------- */

.making { background: var(--paper); padding-block: var(--section-y); position: relative; }
.making .place__title { max-width: none; }
.making__lead { max-width: 42rem; margin-bottom: clamp(2.75rem, 6vw, 4rem); }
.making__cols {
  display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr;
  padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid rgba(164,135,90,.6);
}
.making__col p { color: var(--ink-soft); }
.making__head {
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-family: var(--ui); font-size: .78rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--ink);
}
.making__head svg { width: 13px; height: 13px; fill: var(--gold); flex: 0 0 auto; }
.making__still { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; margin-top: clamp(4rem, 8vw, 6rem); }
.making__photo { max-width: 22rem; }
.making__photo img { aspect-ratio: 3 / 4; }
.making__still-text .place__plan { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
@media (min-width: 60rem) {
  .making__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .making__still { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
}

/* ---------- III. stay on the trail ---------- */

.stay {
  background: var(--night); color: var(--cream);
  padding-top: var(--section-y);
  position: relative; isolation: isolate; overflow: hidden;
}
.stay::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 18% 24%, rgba(233,215,174,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 16%, rgba(233,215,174,.38) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 44% 10%, rgba(233,215,174,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 38%, rgba(233,215,174,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 9% 62%, rgba(233,215,174,.28) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 61% 72%, rgba(233,215,174,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 84%, rgba(233,215,174,.26) 50%, transparent 51%);
}
.stay__stars { position: absolute; top: 0; left: 0; width: 100%; height: 70%; z-index: -1; opacity: .9; }
.stay__trail { position: absolute; right: clamp(1rem, 6vw, 7rem); top: clamp(3rem, 8vw, 6rem); width: clamp(7rem, 14vw, 13rem); height: auto; opacity: .85; }
@media (max-width: 47.99rem) { .stay__trail { display: none; } }   /* on phones the trail would cross the copy */
.stay h2 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.06; margin-bottom: 1.2rem; max-width: 20ch; color: #F3E9D2; }
.stay__blurb { max-width: 34rem; color: rgba(237,227,206,.72); margin-bottom: clamp(2.2rem, 5vw, 3rem); letter-spacing: .02em; }

.signup__row { display: flex; flex-wrap: wrap; max-width: 40rem; border: 1px solid rgba(216,190,138,.55); }
.signup input {
  flex: 1 1 15rem; min-width: 0;
  padding: 1.15rem 1.3rem;
  font: 300 1rem/1.4 var(--ui); color: var(--cream);
  background: transparent; border: 0; border-radius: 0;
}
.signup input::placeholder { color: rgba(237,227,206,.55); }
.signup input:focus { outline: none; background: rgba(237,227,206,.05); }
.signup__row:focus-within { border-color: var(--gold-light); }
.signup button {
  flex: 0 0 auto; padding: 1.15rem 2rem;
  font: 400 .78rem/1.4 var(--ui); letter-spacing: .22em; text-transform: uppercase;
  color: var(--night); background: #E9DCC0; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.signup button:hover { background: var(--gold-light); }
.signup button[disabled] { opacity: .55; cursor: default; }
@media (max-width: 30rem) { .signup button { flex: 1 1 100%; } }
.signup__note { margin: 1rem 0 0; font-size: .85rem; letter-spacing: .02em; color: rgba(237,227,206,.62); }
.signup__status { margin: .9rem 0 0; min-height: 1.4em; font-size: .9rem; color: #E9DCC0; }
.signup__status[data-state="error"] { color: #E8A87C; }
.stay .ridge { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- IV. media & contact ---------- */

.contact { padding-block: var(--section-y) clamp(4rem, 8vw, 6rem); background: var(--paper); position: relative; }
.contact__title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.contact__grid { display: grid; gap: clamp(2.75rem, 6vw, 3.5rem); grid-template-columns: 1fr; }
.contact h3 { font-family: var(--ui); font-size: .8rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem; color: var(--ink); }
.contact p { color: var(--ink-soft); }
.contact__axis { display: none; }
.contact__name { font-family: var(--display); font-size: 1.45rem; font-weight: 400; color: var(--ink) !important; margin-bottom: .6rem; }
.contact__name span { display: block; margin-top: .25rem; font-family: var(--ui); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.contact__lines { margin-bottom: 1.1rem; }
.contact__lines a { text-decoration: none; border-bottom: 1px solid rgba(42,26,14,.25); padding: .55rem 0 1px; display: inline-block; transition: border-color .3s var(--ease), color .3s var(--ease); }
.contact__lines a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.contact__meta { font-size: .82rem; letter-spacing: .03em; color: rgba(92,71,52,.8) !important; }
@media (min-width: 48rem) {
  .contact__grid { grid-template-columns: 1fr auto 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .contact__axis { display: flex; flex-direction: column; align-items: center; color: var(--gold); }
  .contact__axis::before, .contact__axis::after { content: ""; flex: 1; width: 1px; background: currentColor; opacity: .55; }
  .contact__axis svg { width: 16px; height: 16px; fill: currentColor; margin: .7rem 0; }
}

/* ---------- footer ---------- */

.foot { background: var(--paper); border-top: 1px solid rgba(164,135,90,.6); padding-block: clamp(2rem, 4vw, 2.6rem); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem clamp(1.2rem, 3vw, 2.4rem); text-align: center; }
.foot__mark { width: 58px; height: auto; }
.foot p { margin: 0; max-width: none; }
.foot__name, .foot__item { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.foot__item--soft { color: var(--ink-soft); }
.foot__legal { font-size: .7rem; letter-spacing: .04em; color: var(--ink-soft); }   /* same size as its neighbours, sentence case as a legal line should be */
@media (max-width: 47.99rem) {
  .foot__inner { flex-direction: column; gap: .8rem; }
}
@media (min-width: 60rem) {
  .foot__inner { justify-content: space-between; text-align: left; }
}

/* ---------- reveals ---------- */

.scripted .reveal { opacity: 0; transform: translateY(14px); }   /* .scripted is set by site.js itself, so a failed script load never hides the page */
.scripted .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .intro { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .twinkle { animation: none; opacity: .8; }
  .gate { transition: none !important; }
}
