/*
  The Chantal Verdugo House — stylesheet.
  No build step, no CDN. Variables in :root so colors/type/spacing can be tuned
  in one place.
*/

/* ============ FONTS ============
   Vidaloka (Cyreal, SIL Open Font License — see assets/fonts/OFL-Vidaloka.txt)
   for display type, Open Sans (The Open Sans Project Authors, OFL — see
   assets/fonts/OFL-OpenSans.txt) for body copy, both vendored as woff2 rather
   than pulled from a CDN, per this repo's no-external-dependency rule. Latin
   subsets.

   Vidaloka ships as a single static weight (400) with no italic — unlike the
   variable Fraunces it replaces, there's no optical-sizing axis to lean on,
   so every heading is set at font-weight: 400 and never italic below.
   Letting the browser synthesize bold or oblique on a high-contrast Didone
   smears its hairlines, so display type carries hierarchy through size, not
   weight — a couple of small/italic uses that Vidaloka can't carry (the
   eyebrow, the hero tagline's old italic, review attribution) sit on Open
   Sans instead. */
@font-face {
  font-family: "Vidaloka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/vidaloka.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/open-sans.woff2") format("woff2");
}

:root {
  /* ---- Palette — rustic modern: white/cream base, warm wood, forest green,
     copper accents ---- */
  --white: #ffffff;
  --cream: #f7f1e6;
  --cream-deep: #ece1cc;

  --wood: #5b3a29;
  --wood-deep: #3d2818;
  --wood-light: #8a6650;

  --forest: #2f4a3c;
  --forest-deep: #1f3229;

  --copper: #b5652d;
  --copper-light: #c9855b;
  --copper-deep: #8a4a1f;

  --ink: #2b2420; /* body text on light backgrounds */
  --ink-soft: #5a5049;

  /*
    ---- Contrast notes ----
    - --ink (#2b2420) on --white / --cream -> > 11:1 (AAA).
    - --white on --wood-deep (#3d2818) -> ~10.9:1 (AAA). Safe for text on dark sections.
    - --copper (#b5652d) on --white -> ~3.4:1: fine for large/bold text and icons,
      not for body copy. Body copy on light stays --ink / --ink-soft.
    - --copper-light on --wood-deep -> used only for eyebrows/labels, not long text.
  */

  /* Typography: Vidaloka (vendored, see @font-face above) for display type —
     large statement headings only — with a system-serif fallback stack while
     it loads or if it fails. Open Sans (vendored, variable 300–800) for
     everything else: body copy, nav, labels, eyebrows. */
  --font-display: "Vidaloka", Georgia, "Times New Roman", "Liberation Serif", serif;
  --font-body: "Open Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Liberation Sans", sans-serif;

  --h1-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.25rem);
  --h2-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --h3-size: 1.3rem;
  --body-size: 17px;

  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --space: 1rem;
  --header-h: 88px;

  --shadow-card: 0 1px 2px rgba(61, 40, 24, 0.08), 0 10px 28px rgba(61, 40, 24, 0.1);
  --shadow-dark: 0 12px 40px rgba(0, 0, 0, 0.4);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ BASIC RESET ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* smooth scroll is handled by js/main.js, respects reduced-motion */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--wood-deep);
}

h1 {
  font-size: var(--h1-size);
  letter-spacing: -0.01em;
  color: var(--white);
}

h2 {
  font-size: var(--h2-size);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

p {
  max-width: 62ch;
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--copper-deep);
}

ul {
  margin: 0;
}

address {
  font-style: normal;
}

/* Visible focus, consistent across the page */
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--wood-deep);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ---- Eyebrow: uppercase, tracked labels flanked by a hairline rule.
   Left-aligned with a single trailing rule by default, since several
   eyebrows share a row with left-aligned prose in a narrower column (hero,
   About, Location, Contact). Where an eyebrow is a direct child of the plain
   .section__inner intro block — Gallery, Amenities, Good to Know, Floyd,
   Reviews, FAQ — the rule below centres it with rules on both sides. That
   split comes from the existing markup structure, not new HTML. ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 0.9rem;
}

.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.section__inner > .eyebrow {
  justify-content: center;
  text-align: center;
}

.section__inner > .eyebrow::before {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.eyebrow--on-dark {
  color: var(--copper-light);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.icon--copper {
  color: var(--copper);
}

/* ============ SCROLL REVEAL ============
   Without JS, or with "reduce motion", content stays fully visible: reveal classes
   only ADD animation, never hide content by default. The hidden state is gated
   behind html.js (added by main.js) so a missing script never hides anything. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }

  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--wood-deep);
  box-shadow: var(--shadow-dark);
}

.site-header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1.15;
}

.site-header__mark svg {
  width: 30px;
  height: 30px;
  color: var(--copper-light);
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--copper-light);
}

/* One extra link (Good to Know) pushed the desktop bar close to wrapping —
   tighten spacing/size just above the mobile breakpoint rather than raising
   it, which would require a matching change to the 900px check in main.js. */
@media (max-width: 1100px) {
  .nav {
    gap: 1.1rem;
  }

  .nav a {
    font-size: 0.86rem;
  }
}

.nav__cta {
  padding: 0.5rem 1.1rem;
  background: var(--copper);
  border-radius: var(--radius);
  border-bottom: none !important;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--copper-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--wood-deep);
    box-shadow: var(--shadow-dark);
    padding: 0.5rem 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav[hidden] {
    display: none;
  }

  .nav a {
    padding: 0.9rem var(--space);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__cta {
    margin: 0.75rem var(--space) 0.25rem;
    text-align: center;
  }
}

/* ============ BUTTONS ============ */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

/* --copper (#b5652d) with white text is 4.32:1 — just under the 4.5:1 WCAG AA floor
   for this button's 15.2px/700 label, which doesn't reach the "large text" exemption.
   A dedicated shade one step darker (4.68:1) fixes it without touching --copper
   itself, which is also used as plain decorative accent/border color elsewhere and
   doesn't need to carry text-contrast guarantees there. */
.button--primary {
  background: #ad602a;
  color: var(--white);
  border-color: #ad602a;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

.button--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--white);
  color: var(--wood-deep);
  border-color: var(--white);
}

/* Outline buttons sit on dark backgrounds today (the hero); keep a light variant
   available for when one lands in a light or cream section. */
.section-light .button--outline,
.section-cream .button--outline {
  color: var(--wood-deep);
  border-color: var(--wood-deep);
}

.section-light .button--outline:hover,
.section-cream .button--outline:hover {
  background: var(--wood-deep);
  color: var(--white);
}

/* ============ SECTIONS — shared blocks ============ */

.section-light,
.section-dark,
.section-cream {
  padding-block: clamp(3.5rem, 3rem + 2vw, 6rem);
}

.section-light {
  background: var(--white);
  color: var(--ink);
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
}

.section-dark {
  background: var(--wood-deep);
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space);
}

.section__inner + .section__inner {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section__lead {
  max-width: 68ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.section__lead--on-dark {
  color: rgba(255, 255, 255, 0.85);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 2rem) 5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* <picture> is inline by default, so the height: 100% rules above (and the
   width: 100% + aspect-ratio ones on the other photo containers) would resolve
   against an auto-height box and collapse. Forcing it to block fixes that --
   the same fix already applied to .plate-frame on the root portfolio. */
.hero__media picture,
.gallery-grid__trigger picture,
.about__media picture,
.floyd__media picture,
.good-to-know__figures picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 20, 12, 0.55) 0%,
    rgba(31, 20, 12, 0.35) 40%,
    rgba(31, 20, 12, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space);
  width: 100%;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  color: var(--cream);
  max-width: 42ch;
  margin-bottom: 0.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 640px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  /* --copper-light reads fine over the darkest part of the hero scrim but drops to
     ~2.77:1 over its lighter regions (measured against the actual photo) — fails
     WCAG AA at this size. White matches .hero__actions on the same photo and holds
     well above 4.5:1 everywhere the scrim's gradient goes. Same reasoning applies to
     the icon: it's decorative (the label already says the same thing), but white
     keeps it visible everywhere the text is. */
  color: var(--white);
}

.hero__trust .icon {
  width: 1.1em;
  height: 1.1em;
  opacity: 0.85;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 30px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.hero__scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
}

@media (max-width: 560px) {
  .hero__scroll-cue {
    display: none;
  }
}

/* ============ ABOUT THE HOUSE ============ */

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 780px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__media {
    order: -1;
  }
}

.about__stats {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--cream-deep);
  padding-top: 1.5rem;
}

.about__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copper-deep);
  line-height: 1;
}

.about__stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

.about__note {
  margin: 1.25rem 0 0;
  padding: 0.8rem 1.1rem;
  background: var(--cream);
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: 0.92rem;
  max-width: none;
}

/* ---- Trust badges (used in #about, #reviews, #contact) ---- */

.badges {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  color: var(--wood-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.badge--accent {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.badge--on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* ---- Host + guest-access cards, below the main about grid ---- */

.about__extra {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--cream-deep);
}

@media (max-width: 780px) {
  .about__extra {
    grid-template-columns: 1fr;
  }
}

.about__host p,
.about__access p {
  max-width: none;
}

.about__access .about__note {
  margin-top: 1rem;
}

/* ============ GALLERY ============ */

.gallery-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-grid__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-grid__trigger:hover img,
.gallery-grid__trigger:focus-visible img {
  transform: scale(1.06);
}

.gallery-grid__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(0deg, rgba(31, 20, 12, 0.85), rgba(31, 20, 12, 0));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}

/* Same treatment as .reviews__all below -- "there's more than this on Airbnb". */
.gallery__all {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.gallery__all a {
  color: var(--copper-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.gallery__all a:hover,
.gallery__all a:focus-visible {
  color: var(--wood-deep);
}

/* ============ AMENITIES ============ */

.amenities-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

.amenity .icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* ---- Full amenity list: one native <details> disclosure, so it works with
   zero JS and degrades to plain expanded content. Deliberately not animated
   with the grid-template-rows trick used for FAQ-style panels elsewhere —
   this panel is long enough that the transition would read as janky, so
   only the +/- marker animates. ---- */

.amenities-all {
  margin-top: 2.5rem;
  border-top: 1px solid var(--cream-deep);
}

.amenities-all__summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--wood-deep);
  cursor: pointer;
  list-style: none;
}

.amenities-all__summary::-webkit-details-marker {
  display: none;
}

.amenities-all__marker {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.amenities-all__marker::before,
.amenities-all__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--copper);
  transform: translate(-50%, -50%);
}

.amenities-all__marker::before {
  width: 14px;
  height: 2px;
}

.amenities-all__marker::after {
  width: 2px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.amenities-all[open] .amenities-all__marker::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.amenities-all__panel {
  padding-bottom: 1rem;
}

.amenity-cats {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem 2rem;
}

.amenity-cat__title {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-deep);
  border-bottom: 1px solid var(--cream-deep);
  padding-bottom: 0.5rem;
}

.amenity-cat__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.amenity-cat__list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.amenity-cat__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
}

/* ============ FLOYD, VIRGINIA ============ */

.floyd__blocks {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.floyd__block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.floyd__block--reverse {
  flex-direction: row-reverse;
}

.floyd__text {
  flex: 1 1 340px;
  min-width: 280px;
}

/* The default `a` color (--copper-deep) fails contrast on this section's dark
   background — same fix as .contact__list a: white at rest, copper-light on
   hover/focus. */
.floyd__link a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.floyd__link a:hover,
.floyd__link a:focus-visible {
  color: var(--copper-light);
}

.floyd__media {
  flex: 1 1 420px;
  min-width: 280px;
  margin: 0;
}

.floyd__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Credit line for the three Wikimedia Commons photos in this section (Country
   Store, Blue Ridge Parkway, Mabry Mill) — all Creative Commons, attribution
   required. Sits on the plain --wood-deep section background, not over the photo,
   so a flat opacity is safe (7.6:1 at this alpha, well past the 4.5:1 AA floor)
   without the "text over a variable photo" trap .hero__trust hit. Font-size is
   independent of that contrast math and can run small — neither CC BY nor CC
   BY-SA sets a minimum size, only that the credit stay reasonably discoverable
   for the medium, which a small-but-legible caption under the photo satisfies. */
.floyd__credit {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
}

.floyd__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.floyd__credit a:hover,
.floyd__credit a:focus-visible {
  color: var(--copper-light);
}

@media (max-width: 720px) {
  .floyd__block,
  .floyd__block--reverse {
    flex-direction: column;
    align-items: stretch;
  }
}

.floyd-highlights {
  list-style: none;
  padding: 2rem 0 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.floyd-highlights p {
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
}

/* ============ GOOD TO KNOW ============ */

.good-to-know {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.good-to-know__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--forest);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

/* Evidence for the safety list above it, not gallery material — small, paired,
   and captioned rather than something to click into. */
.good-to-know__figures {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.good-to-know__figures img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.good-to-know__figures span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.good-to-know__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.good-to-know__title .icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.good-to-know__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.good-to-know__list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.good-to-know__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

.good-to-know__note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: none;
}

/* ============ LOCATION ============ */

.location {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .location {
    grid-template-columns: 1fr;
  }
}

.location__address {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
}

.location__nearby-title {
  margin-top: 1.75rem;
}

.location__nearby {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.location__nearby li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-deep);
  font-size: 0.95rem;
}

.location__nearby li span:last-child {
  color: var(--ink-soft);
  white-space: nowrap;
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============ REVIEWS ============ */

/* Three reviews across on a wide screen, two on a tablet, one on a phone. The
   track is a native scroll-snap strip, so with JavaScript off it is still
   swipeable and keyboard-scrollable rather than broken — the arrows are the
   enhancement, and they hide without JS (see html.js below).

   Note the cost of showing more at once: every slide stretches to the tallest,
   and narrower cards wrap the long quotes onto more lines, so the box grows.
   Measured at 1440px — 1 across: 412px tall. 2 across: 552px. 3 across: 777px.
   Dropping the 1120px breakpoint below caps it at two and buys back ~225px. */
.reviews-carousel {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 1160px;
}

.reviews-carousel__track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* The arrows are the navigation; the scrollbar would just add noise. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-carousel__track::-webkit-scrollbar {
  display: none;
}

.reviews-carousel__track:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

/* snap-align is start, not center: with several cards visible, centring snaps
   the wrong one into the middle of the track. */
.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 1.9rem 1.75rem 1.5rem;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(61, 40, 24, 0.06), 0 6px 18px rgba(61, 40, 24, 0.08);
  position: relative;
}

/* A dashed, perforated top edge — like a page torn from a guestbook pad.
   This is the one section built entirely from real, verbatim guest voice
   (see js/main.js), so the card itself is styled as a kept page rather than
   a generic bordered testimonial component. */
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--wood-light) 0,
    var(--wood-light) 5px,
    transparent 5px,
    transparent 11px
  );
}

/* Scattered like real kept pages, not squared off in a component grid.
   Rotation is a static transform, not an animation, so it applies
   regardless of prefers-reduced-motion. */
.review-card:nth-child(odd) {
  transform: rotate(-0.35deg);
}

.review-card:nth-child(even) {
  transform: rotate(0.3deg);
}

/* Thresholds are set by the height they produce, not by round numbers: a card
   narrower than ~450px wraps the long quotes badly. Going two-up at 820px made
   the box 749px tall — worse than the 412px of one-up just below it. */
@media (min-width: 960px) {
  .review-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1200px) {
  .review-card {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

.review-card > * + * {
  margin-top: 0.75rem;
}

/* Guest reviews range from two lines to two paragraphs. Left alone, the track
   reserves the tallest one's height at every position, so a page of short
   reviews sat under ~500px of dead space. Clamping evens the cards out and the
   full text is one click away.

   Gated behind html.js: with no script there is no button to expand with, so
   nothing may be hidden. */
html.js .review-card__quote--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__more {
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--copper-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.review-card__more:hover,
.review-card__more:focus-visible {
  color: var(--wood-deep);
}

/* Same 44px circle as .lightbox__nav, recoloured for a light section. The
   carousel is laid out as a row under the track by default: [prev] [n / 12]
   [next]. Overlaying the arrows on the card edges only works when the viewport
   is wide enough to leave a real gutter outside the 1160px box, which is what
   the 1360px query below checks for. */
.reviews-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.reviews-carousel__track {
  order: 1;
  flex: 0 0 100%;
}

.reviews-carousel__nav {
  z-index: 2;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--copper-deep);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Only shown once main.js is running — an arrow that does nothing is worse
   than no arrow at all. */
html.js .reviews-carousel__nav {
  display: flex;
}

.reviews-carousel__nav:hover,
.reviews-carousel__nav:focus-visible {
  color: var(--wood-deep);
  border-color: var(--copper);
}

.reviews-carousel__nav[disabled] {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.reviews-carousel__nav--prev {
  order: 2;
}

.reviews-carousel__status {
  order: 3;
  margin: 0;
  min-width: 5.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.reviews-carousel__nav--next {
  order: 4;
}

/* 1160px box + 44px arrow + 12px breathing room on each side. Below this the
   arrows stay in the row underneath rather than sitting on the quotes. */
@media (min-width: 1360px) {
  .reviews-carousel {
    display: block;
    position: relative;
  }

  .reviews-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .reviews-carousel__nav--prev {
    left: -3.5rem;
  }

  .reviews-carousel__nav--next {
    right: -3.5rem;
  }

  .reviews-carousel__status {
    margin-top: 1rem;
  }
}


.review-card__stars {
  color: var(--copper);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}

.review-card__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  max-width: none;
  margin: 0;
}

.review-card__author {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dotted var(--cream-deep);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.reviews__rating {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews__score {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--copper-deep);
  line-height: 1;
}

.reviews__stars {
  color: var(--copper);
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.reviews__meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* The grid above shows a selection, so say where the rest are. */
.reviews__all {
  margin: 1rem 0 0;
  font-weight: 600;
}

.reviews__all a {
  color: var(--copper-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.reviews__all a:hover,
.reviews__all a:focus-visible {
  color: var(--wood-deep);
}

/* ============ CONTACT ============ */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 780px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact__list a,
.contact__list span {
  color: var(--white);
  text-decoration: none;
  font-size: 1.02rem;
}

.contact__list a:hover,
.contact__list a:focus-visible {
  color: var(--copper-light);
  text-decoration: underline;
}

.contact__list .icon {
  color: var(--copper-light);
}

.booking-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.booking-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85em;
  width: 100%;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.booking-card__eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.booking-card__lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--white);
}

.booking-card__note {
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Same contrast fix as .contact__list a and .floyd__link a: the default
   --copper-deep is unreadable on this panel. */
.booking-card__note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.booking-card__note a:hover,
.booking-card__note a:focus-visible {
  color: var(--copper-light);
}

/* ============ FAQ ============
   Same accordion pattern as .amenities-all: native <details>, no JS needed,
   degrades to plain expanded content if it fails to load. */

.faq-list {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--cream-deep);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--cream-deep);
}

.faq-item summary {
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Native <details> markers are suppressed above for a consistent look across
   browsers, but that also removed the only cue that these rows expand. This
   chevron replaces it: a plain corner that points down at rest and flips to
   point up when open. */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: var(--wrap-narrow);
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--wood-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3rem;
}

.site-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.site-footer__logo {
  font-family: var(--font-display);
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-right: auto;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__copy {
  width: 100%;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: none;
}

/* ============ FLOATING BOOKING BUTTON ============ */

/* Deliberately the site's own copper rather than Airbnb's brand red — this is a
   shortcut to the listing, not an Airbnb-branded widget. */
.booking-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-dark);
  transition: transform 0.2s var(--ease);
}

.booking-float:hover,
.booking-float:focus-visible {
  transform: scale(1.06);
}

.booking-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 480px) {
  .booking-float {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }
}

/* ============ LIGHTBOX ============ */

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 8, 0.92);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.lightbox__image {
  max-width: 100%;
  max-height: 76vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}

.lightbox__caption {
  margin: 0;
  color: var(--cream);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--copper);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: -0.5rem;
}

.lightbox__nav--next {
  right: -0.5rem;
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .lightbox__nav--prev {
    left: 0.25rem;
  }

  .lightbox__nav--next {
    right: 0.25rem;
  }

  .lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
  }
}
