/* Palladian Property: page styles on the scrollcraft floor.
   Colour scheme: Charcoal & Copper. The engine (scrollcraft.css/.js) is untouched;
   everything bespoke lives here and in site.js. */

:root {
  --sc-canvas:     #23272D;   /* background */
  --sc-surface:    #2E333B;   /* card fill */
  --sc-ink:        #EFEBE4;   /* headline & wordmark */
  --sc-ink-soft:   #B0AEAB;   /* body text */
  --sc-accent:     #DB986C;   /* accent */
  --sc-accent-ink: #23272D;
  --divider:       #A9795B;
  --border:        #554F4D;
  --accent-hover:  #E6B08E;
  --lamp:          #F3C79A;

  --sc-font-display: "Libre Caslon Display", "Times New Roman", serif;
  --sc-font-text:    "Libre Caslon Text", Georgia, serif;
  --sc-font-mono:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --ui:              "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Caslon Display is already tightly fitted; engine tracking is for grotesques. */
  --sc-track-tight: -0.012em;
  --sc-track-snug:  -0.006em;
  --sc-track-normal: 0.004em;
  --sc-leading-body: 1.7;
  --sc-r-sm: 2px;
  --sc-shadow-color: 215 13% 8%;
}

body { font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); }
.sc-display { font-weight: 400; line-height: 1.04; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--sc-ink); color: var(--sc-canvas); font-family: var(--ui);
}
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.85rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--sc-r-sm);
  font-family: var(--ui); font-size: 0.97rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out),
              color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--copper { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--line { border-color: color-mix(in oklab, var(--sc-ink) 55%, transparent); color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--copper:hover { background: var(--accent-hover); }
  .btn--line:hover { border-color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 8%, transparent); }
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ----------------------------------------------------------------- bar -- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: var(--sc-z-chrome);
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem; padding-inline: var(--sc-gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--sc-ease-out), border-color 300ms var(--sc-ease-out);
}
/* A scrim only where the bar sits: the clip's sky is brightest exactly here. */
.bar::before {
  content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--sc-canvas) 78%, transparent) 0%,
                                      color-mix(in oklab, var(--sc-canvas) 40%, transparent) 55%, transparent 100%);
  transition: opacity 300ms var(--sc-ease-out);
}
.bar.is-solid::before { opacity: 0; }
.bar.is-solid {
  background: color-mix(in oklab, var(--sc-canvas) 92%, transparent);
  border-bottom-color: color-mix(in oklab, var(--border) 70%, transparent);
}
.bar__mark { display: block; line-height: 0; }
.bar__mark img { width: clamp(8.5rem, 13vw, 11rem); height: auto; }
.bar__cta { min-height: 2.6rem; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.bar__end { display: flex; align-items: center; gap: 1.4rem; }
.foot .foot__legal a { color: var(--sc-ink-soft); }

/* ================================================================ 1 HERO == */
.hero__stage { background: var(--sc-canvas); }
.hero__far { position: absolute; inset: -3%; will-change: transform; }
.hero__far img, .hero__far video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.hero__sun {
  position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity;
  background:
    radial-gradient(48% 42% at 70% 18%, rgba(246, 196, 146, 0.42), transparent 70%),
    radial-gradient(70% 60% at 30% 90%, rgba(219, 152, 108, 0.18), transparent 70%);
  mix-blend-mode: screen;
}
.hero__wall { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; will-change: transform, opacity; }
.hero__wall .wall { fill: var(--sc-canvas); }
.hero__wall .wall__lines path {
  fill: none; stroke: var(--sc-accent); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.hero__wall .wall__lines .wall__fine { stroke-opacity: 0.4; }
.hero__wall .wall__lines .keystone { fill: var(--sc-accent); stroke: none; }

.hero__open {
  position: absolute; left: 0; right: 0; bottom: clamp(2.2rem, 8vh, 5.5rem);
  padding-inline: var(--sc-gutter); text-align: center; z-index: 4;
}
.hero__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.7rem); max-width: 17ch; margin-inline: auto; }

.hero__motes {
  position: absolute; inset: -10% 0; pointer-events: none; z-index: 5; will-change: transform, opacity;
  background:
    radial-gradient(2px 2px at 12% 30%, rgba(243, 199, 154, 0.7), transparent 60%),
    radial-gradient(3px 3px at 22% 72%, rgba(243, 199, 154, 0.5), transparent 60%),
    radial-gradient(2px 2px at 38% 18%, rgba(243, 199, 154, 0.6), transparent 60%),
    radial-gradient(2.5px 2.5px at 61% 64%, rgba(243, 199, 154, 0.55), transparent 60%),
    radial-gradient(2px 2px at 77% 40%, rgba(243, 199, 154, 0.6), transparent 60%),
    radial-gradient(3px 3px at 88% 80%, rgba(243, 199, 154, 0.45), transparent 60%),
    radial-gradient(2px 2px at 52% 88%, rgba(243, 199, 154, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 58%, rgba(243, 199, 154, 0.6), transparent 60%);
  opacity: 0.8;
}
.hero__scrim { opacity: 0; z-index: 6; }
.hero__beat {
  position: absolute; z-index: var(--sc-z-copy);
  left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 8rem);
  max-width: min(38rem, 84vw);
  opacity: 0;
}
.hero__beat .sc-lede { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.42; }

.vidtoggle {
  position: absolute; right: var(--sc-gutter); bottom: 1.1rem; z-index: 30;
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.2rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--sc-ink) 80%, transparent);
}
.vidtoggle:hover { color: var(--sc-ink); }
.vidtoggle__icon { width: 10px; height: 11px; border-inline: 3px solid currentColor; }
.vidtoggle[aria-pressed="true"] .vidtoggle__icon {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* =============================================================== 2 ABOUT == */
.about__grid { display: grid; gap: var(--sc-7); }
.about__title { font-size: var(--sc-t-2xl); max-width: 15ch; }
.about__body > * + * { margin-top: 1.1em; }
.about__aim { margin: 1.1em 0 0; font-style: italic; color: var(--sc-accent); max-width: var(--sc-measure); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 6fr; gap: var(--sc-9); align-items: start; }
  .about__body { padding-top: 0.5rem; }
}
/* ============================================================== 3 ARRIVE == */
.arrive__stage { background: transparent; }
.arrive__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(42% 52% at 62% 56%, rgba(243, 182, 128, 0.32), transparent 72%);
}
.door {
  position: absolute; left: 63%; top: 50%;
  height: min(76svh, 44rem); aspect-ratio: 600 / 900;
  translate: -50% -50%;
  transform-origin: 50% 65.5%;
  will-change: transform;
}
.door__frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.door__frame path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.door__frame .frame path { stroke: var(--sc-accent); stroke-width: 1.4; }
.door__frame .ashlar path { stroke: color-mix(in oklab, var(--divider) 55%, transparent); stroke-width: 1; }
.door__frame .ghost path { stroke: var(--sc-accent); stroke-width: 1; stroke-opacity: 0.16; stroke-dasharray: none; stroke-dashoffset: 0; }
.door__frame .fan { fill: var(--lamp); fill-opacity: 0; stroke: none; stroke-dasharray: none; }
.door__frame .frame-key { fill: var(--sc-accent); stroke: none; stroke-dasharray: none; opacity: 0; }

.door__opening {
  position: absolute; left: 33.333%; top: 42.222%; width: 33.333%; height: 46.667%;
  perspective: 900px;
}
/* A translucent warm wash over the room (the door's own layer isolates it, so
   a blend mode would paint opaque here). Before the door opens it is the only
   thing behind the leaf. */
.door__light {
  position: absolute; inset: 0; opacity: 0.12;
  background: radial-gradient(110% 80% at 50% 35%, rgba(255, 226, 190, 0.32) 0%, rgba(242, 188, 138, 0.16) 45%, rgba(120, 72, 44, 0.28) 100%);
}
.door__leaf {
  position: absolute; inset: 0; transform-origin: 0 50%;
  background: linear-gradient(100deg, #2B3037 0%, #262A30 100%);
  box-shadow: inset 0 0 0 1px rgba(219, 152, 108, 0.5);
  will-change: transform; backface-visibility: hidden;
}
.door__leaf svg { width: 100%; height: 100%; max-width: none; }
.door__leaf rect { fill: none; stroke: rgba(219, 152, 108, 0.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.door__leaf .leaf__edge { stroke: none; }
.door__leaf .leaf__knock { fill: none; stroke: var(--sc-accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.door__leaf .leaf__knob { fill: var(--sc-accent); }

/* The room behind the door: one full-frame photograph, clipped to the doorway
   until the reader steps through, so the opening uncovers the room rather than
   cutting to it. */
.arrive__room {
  position: absolute; inset: 0; pointer-events: none;
  clip-path: inset(50% 50% 50% 50%);
}
.arrive__room img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 78% 40%;
}
/* A column of density under the copy only; the room keeps its light. */
.arrive__scrim {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(30, 26, 23, 0.95) 0%, rgba(30, 26, 23, 0.9) 48%, rgba(30, 26, 23, 0.62) 62%, rgba(30, 26, 23, 0.2) 76%, transparent 88%);
}
.arrive__inside .notes { max-width: 44rem; }
/* Size the copy block to its content so it sits wholly on the scrim column. */
@media (min-width: 861px) { .arrive__inside { right: auto; width: min(48rem, calc(100% - 2 * var(--sc-gutter))); } }
@media (max-width: 860px) {
  /* On phones the copy spans the full width at the bottom: a band, not a column. */
  .arrive__scrim { background: linear-gradient(0deg, rgba(30, 26, 23, 0.96) 0%, rgba(30, 26, 23, 0.9) 55%, rgba(30, 26, 23, 0.4) 78%, transparent 92%); }
}

.arrive__lines {
  position: absolute; z-index: var(--sc-z-copy);
  left: var(--sc-gutter); top: 50%; translate: 0 -50%;
  width: min(30rem, 40vw); display: grid;
}
.arrive__line {
  grid-area: 1 / 1; margin: 0;
  font-family: var(--sc-font-display); font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); line-height: 1.12;
  text-wrap: balance;
}
.arrive__line--last { color: var(--lamp); }

.arrive__inside {
  position: absolute; z-index: var(--sc-z-copy);
  left: var(--sc-gutter); right: var(--sc-gutter); top: 50%; translate: 0 -50%;
  max-width: 64rem;
}
.arrive__inside h2 { font-size: var(--sc-t-3xl); }
.arrive__lede { margin-top: var(--sc-4); color: color-mix(in oklab, var(--sc-ink) 80%, var(--sc-ink-soft)); }
.notes {
  margin: var(--sc-7) 0 var(--sc-7); display: grid; gap: var(--sc-5) var(--sc-7);
  grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem;
}
.notes > div { padding-top: var(--sc-4); border-top: 1px solid var(--divider); }
.notes dt { font-family: var(--sc-font-display); font-size: 1.35rem; line-height: 1.2; }
.notes dd { margin: 0.35rem 0 0; color: var(--sc-ink-soft); font-size: 0.98rem; line-height: 1.55; }

/* ============================================================== 3b INSIDE == */
.inside { padding-bottom: var(--sc-6); }
.inside__grid { display: grid; gap: var(--sc-7) var(--sc-6); }
.inside__text h2 { font-size: var(--sc-t-3xl); max-width: 11ch; }
.inside__text .sc-body { margin-top: var(--sc-5); max-width: 30ch; }
.room { margin: 0; }
.room__frame { overflow: hidden; border-radius: var(--sc-r-sm); box-shadow: var(--sc-e3); }
.room__frame img {
  display: block; width: 100%; max-width: none; height: calc(100% + 120px); margin-top: -60px; object-fit: cover;
}
.room--a .room__frame { aspect-ratio: 4 / 3; }
.room--b .room__frame { aspect-ratio: 4 / 5; }
.room--c .room__frame { aspect-ratio: 16 / 9; }
.room figcaption { margin-top: var(--sc-3); font-family: var(--ui); font-size: 0.9rem; color: var(--sc-ink-soft); }
@media (min-width: 900px) {
  .inside__grid { grid-template-columns: repeat(12, 1fr); align-items: start; row-gap: var(--sc-8); }
  .inside__text { grid-column: 1 / span 4; grid-row: 1; align-self: end; padding-bottom: var(--sc-7); }
  .room--a { grid-column: 5 / span 8; grid-row: 1; }
  .room--b { grid-column: 1 / span 4; grid-row: 2; margin-top: calc(var(--sc-9) * -1); }
  .room--c { grid-column: 6 / span 7; grid-row: 2; margin-top: var(--sc-8); }
}

/* ============================================================== 4 OWNERS == */
.owners__stage { display: flex; align-items: center; }
.rail { gap: clamp(2rem, 4vw, 4.5rem); padding-inline: var(--sc-gutter); align-items: center; }
.rail > * { flex: none; }
.rail__lead { width: min(28rem, 82vw); align-self: center; }
.rail__lead h2 { font-size: var(--sc-t-3xl); }
.rail__lead .sc-body { margin-top: var(--sc-5); }
.step {
  width: clamp(15rem, 20vw, 18rem); min-height: 14rem; padding-top: var(--sc-5);
  border-top: 1px solid var(--divider); will-change: transform, opacity;
}
.step__n { margin: 0 0 var(--sc-5); font-family: var(--sc-font-display); font-size: 3rem; line-height: 1; color: var(--sc-accent); }
.step h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.step p:last-child { margin: 0.6rem 0 0; color: var(--sc-ink-soft); font-size: 0.98rem; line-height: 1.6; }
.rail__end {
  width: min(25rem, 84vw); align-self: center;
  padding: var(--sc-6); border: 1px solid var(--border); border-radius: var(--sc-r-sm);
  background: color-mix(in oklab, var(--sc-canvas) 55%, var(--sc-surface));
  box-shadow: var(--sc-e2), var(--sc-edge);
}
.rail__end h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.5rem; }
.included { list-style: none; margin: var(--sc-5) 0 var(--sc-6); padding: 0; }
.included li {
  position: relative; padding: 0.55rem 0 0.55rem 1.4rem; font-size: 0.98rem;
  border-bottom: 1px solid var(--border); color: var(--sc-ink-soft);
}
.included li::before {
  content: ""; position: absolute; left: 0.1rem; top: 1.12em; width: 6px; height: 6px;
  background: var(--sc-accent); transform: rotate(45deg);
}

/* ============================================================ 4b COMPARE == */
.compare__head { text-align: center; max-width: 38rem; margin-inline: auto; }
.compare__head h2 { font-size: var(--sc-t-3xl); }
.compare__head .sc-body { margin: var(--sc-5) auto 0; }
.compare__grid { display: grid; gap: var(--sc-6); max-width: 70rem; margin: var(--sc-8) auto 0; }
@media (min-width: 820px) { .compare__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.option {
  position: relative; padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--border); border-radius: var(--sc-r-sm);
}
.option--ours { background: var(--sc-surface); border-color: var(--sc-accent); box-shadow: var(--sc-e3); }
.option__badge {
  position: absolute; top: 0; right: var(--sc-6); translate: 0 -50%; margin: 0; padding: 0.3rem 0.85rem;
  background: var(--sc-accent); color: var(--sc-accent-ink); border-radius: var(--sc-r-sm);
  font-family: var(--ui); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
}
.option__kicker, .option dt {
  margin: 0; font-family: var(--ui); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.option--ours .option__kicker, .option--ours dt { color: var(--sc-accent); }
.option h3 { margin: 0.4rem 0 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.2; }
.option dl { margin: var(--sc-6) 0 0; }
.option dl > div { padding: 0.9rem 0; border-top: 1px solid var(--border); }
.option dd { position: relative; margin: 0.35rem 0 0; padding-left: 2.1rem; font-size: 1rem; line-height: 1.55; color: var(--sc-ink-soft); }
.option--ours dd { color: var(--sc-ink); }
.option dd::before {
  position: absolute; left: 0; top: 0.1em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--ui); font-size: 0.75rem; line-height: 1;
}
.option--other dd::before { content: "\2715" / ""; border: 1px solid var(--border); color: var(--sc-ink-soft); }
.option--ours dd::before { content: "\2713" / ""; background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 700; }
.compare__cta { margin: var(--sc-7) 0 0; text-align: center; }

/* =============================================================== 5 AREAS == */
.areas { padding-block: var(--sc-section); }
.areas__body { position: relative; }
.areas__title { font-size: var(--sc-t-3xl); max-width: 12ch; margin-left: auto; text-align: right; }
.places { list-style: none; margin: var(--sc-9) 0 0; padding: 0; display: grid; gap: var(--sc-8) var(--sc-9); }
@media (min-width: 820px) {
  .places { grid-template-columns: 1fr 1fr; }
  .places > :nth-child(even) { margin-top: var(--sc-9); }
}
.place__img { margin: 0 0 var(--sc-5); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sc-r-sm); box-shadow: var(--sc-e2); }
.place__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
@media (min-width: 820px) { .places { column-gap: clamp(3rem, 8vw, 8rem); } .places > li { max-width: 30rem; } .places > :nth-child(even) { margin-top: var(--sc-10); } }
.places h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: var(--sc-t-2xl); line-height: 1.04; }
.places p { margin: 0.8rem 0 0; max-width: 34ch; color: var(--sc-ink-soft); padding-top: 0.8rem; border-top: 1px solid var(--divider); }

/* ================================================================== FAQ == */
.faq { padding-block: var(--sc-section); }
.faq__grid { display: grid; gap: var(--sc-7); }
.faq__title { font-size: var(--sc-t-2xl); max-width: 13ch; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: var(--sc-9); align-items: start; }
  .faq__title { position: sticky; top: calc(5rem + var(--sc-7)); }
}
.qa { border-top: 1px solid var(--divider); }
.qa:last-child { border-bottom: 1px solid var(--divider); }
.qa summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sc-5);
  padding: var(--sc-5) 0; cursor: pointer; list-style: none;
  font-family: var(--sc-font-display); font-size: var(--sc-t-lg); line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-top: 0.3rem;
  border-right: 1.5px solid var(--sc-accent); border-bottom: 1.5px solid var(--sc-accent);
  transform: rotate(45deg); transition: transform 200ms var(--sc-ease-out);
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa summary:hover { color: var(--accent-hover); }
.qa p { margin: 0 0 var(--sc-5); max-width: 52ch; color: var(--sc-ink-soft); }

/* =============================================================== 6 CLOSE == */
.close { padding-bottom: var(--sc-7); }
.close__grid { display: grid; gap: var(--sc-8); }
@media (min-width: 960px) { .close__grid { grid-template-columns: 5fr 7fr; gap: var(--sc-9); } }
.close__fan { width: 8.5rem; height: auto; margin-bottom: var(--sc-5); overflow: visible; }
.close__fan path { fill: none; stroke: var(--sc-accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.close__fan .close__fanfill { fill: var(--lamp); fill-opacity: 0.85; stroke: none; }
.close__lead h2 { font-size: var(--sc-t-3xl); }
.close__lead .sc-body { margin-top: var(--sc-4); }
.direct { margin-top: var(--sc-6); font-family: var(--ui); line-height: 2; }
.direct a { text-decoration: none; border-bottom: 1px solid var(--divider); }
.direct a:hover { color: var(--accent-hover); }

.form { display: grid; gap: var(--sc-5); align-content: start; font-family: var(--ui); }
.form__choice { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.form__choice legend { width: 100%; margin-bottom: 0.8rem; font-size: 0.95rem; }
.form__choice label {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--sc-r-sm); font-size: 0.95rem; cursor: pointer;
  transition: border-color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.form__choice label:hover { border-color: color-mix(in oklab, var(--sc-ink) 45%, transparent); }
.form__choice label:has(input:checked) { border-color: var(--sc-accent); background: color-mix(in oklab, var(--sc-accent) 12%, transparent); }
.form__choice input { margin: 0; }
.form__row { display: grid; gap: var(--sc-5); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field[hidden] { display: none; }
.field label { font-size: 0.95rem; }
.field__opt { color: var(--sc-ink-soft); }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--sc-r-sm);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 30%, transparent);
  background: color-mix(in oklab, var(--sc-ink) 4%, transparent); font-size: 1rem;
  transition: border-color 160ms var(--sc-ease-out);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input::placeholder { color: color-mix(in oklab, var(--sc-ink-soft) 75%, transparent); }
.field input:hover, .field textarea:hover { border-color: color-mix(in oklab, var(--sc-ink) 48%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 1px var(--sc-accent); }
.field [aria-invalid="true"] { border-color: #E5746B; }
.field__error { margin: 0; font-size: 0.9rem; color: #F2918A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { justify-self: start; margin-top: 0.3rem; }
.form__status { min-height: 1.5em; margin: 0; }

.foot {
  display: grid; justify-items: center; gap: var(--sc-4); text-align: center;
  margin-top: var(--sc-10); padding-top: var(--sc-7); border-top: 1px solid var(--border);
}
.foot img { width: clamp(11rem, 20vw, 14rem); height: auto; }
.foot p { margin: 0; color: var(--sc-ink-soft); max-width: 36rem; }
.foot .foot__legal { font-family: var(--ui); font-size: 0.85rem; }

/* ============================================================== phones == */
@media (max-width: 860px) {
  .bar { height: 4.5rem; }
  .hero__open { bottom: clamp(5rem, 21vh, 11rem); }
  .hero__beat { right: var(--sc-gutter); bottom: clamp(4rem, 12vh, 7rem); }
  .hero__beat .actions .btn { flex: 1 1 auto; }

  .door { left: 50%; top: 34%; height: min(50svh, 30rem); }
  .arrive__lines { top: auto; bottom: clamp(3rem, 9vh, 5rem); translate: none; width: auto; right: var(--sc-gutter); }
  .arrive__line { font-size: clamp(1.6rem, 6.4vw, 2.2rem); }
  .arrive__inside { top: auto; bottom: clamp(1.5rem, 5vh, 3rem); translate: none; }
  .arrive__inside h2 { font-size: var(--sc-t-2xl); }
  .arrive__lede { font-size: 0.95rem; line-height: 1.55; }
  .notes { grid-template-columns: 1fr; gap: var(--sc-3); margin: var(--sc-5) 0; }
  .notes > div { padding-top: var(--sc-2); }
  .notes dt { font-size: 1.1rem; }
  .notes dd { font-size: 0.9rem; line-height: 1.45; margin-top: 0.15rem; }

  .areas__title { text-align: left; margin-left: 0; }
}
@media (max-height: 700px) and (max-width: 860px) {
  .arrive__lede { display: none; }
  .notes dd { display: none; }
}

/* ===================================================== reduced motion == */
@media (prefers-reduced-motion: reduce) {
  .hero__motes { display: none; }
  .hero__far, .door, .step { transform: none !important; }
}
