/* ============================================================
   Duyan Guesthouse — sample-site stylesheet
   (Phase 4, Session A · premium elevation Session C, 2026-08-20)
   ============================================================
   This demo wears its OWN light palette. It shares nothing with
   site/css/tokens.css on purpose: a prospect must see a site that
   looks like THEIRS, not like JL Digital's dark brand. Only the two
   locked font files are shared (same URLs as the rest of the site,
   so a visitor coming from jldigitalph.com already has them cached).

   Direction: "capiz window light" — the afternoon sun coming through
   the capiz-shell windowpanes of a Filipino ancestral house.
   - Ground:     luminous pearl (the shell itself)
   - Structure:  dark molave hardwood (the mullions between panes)
   - One field:  sun-amber (the light pooling on the floor)
   - One accent: leaf green (the garden seen through the panes)

   The premium elevation (2026-08-20, approved on the decision page)
   keeps the world and raises the execution:
   - the hero window is architecture now: opaque wood mullions with a
     sunlit edge, glass depth, a sill, a cast shadow, a tall crop
   - light is a visible material: stronger pools, a diagonal shaft
   - desktop is a real composition (two-column hero, staggered rooms,
     a typographic address-window, a summary plaque by the form)
   - every interactive element has designed hover/focus/active states
   - one scroll-driven moment: the light shaft drifts (CSS-only,
     static fallback, fully off under reduced motion)

   Every colour pair below was checked against WCAG AA (recomputed
   2026-08-20 with the WCAG relative-luminance formula — the earlier
   table's figures drifted; these are exact):
     wood     #2c1f14 on pearl #f8f4ec   14.58:1
     wood-mid #5a4632 on pearl            8.12:1
     leaf     #2f5d3a on pearl            6.97:1  (pearl on leaf, buttons: 6.97)
     wood     #2c1f14 on sun #f3b64b      8.84:1  (amber band body text)
     jl-text  #e9e9ed on #161826         14.54:1  (JL bands)
     jl-accent #9184d9 on #161826         5.45:1  (JL bands, links/rules)
   Never put leaf text on the sun band (4.22:1 — fails small-text AA);
   the amber band uses wood text only.
   Focus rings are per-band via --ring (the sun-deep ring failed 3:1
   on pearl-deep at 2.94): pearl bands ring wood 14.58:1, the amber
   band rings wood 8.84:1, JL bands ring jl-accent 5.45:1.
   ============================================================ */

/* The two locked families, pointed at the SAME woff2 files the whole
   site uses (../../ because this file lives in samples/css/). Never a
   third family — differentiation comes from palette and layout. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../assets/fonts/public-sans.woff2") format("woff2");
}

:root {
  /* This page commits to a single light look (see color-scheme below);
     there is no dark variant by design — the JL bands ARE the dark
     counterpoint, and they carry their own tokens. */
  color-scheme: light;

  --pearl:       #f8f4ec;  /* page ground — capiz shell, warm luminous white */
  --pearl-deep:  #efe8da;  /* raised pane fill — footer, form section */
  --wood:        #2c1f14;  /* molave hardwood — headings, body, structure */
  --wood-mid:    #5a4632;  /* softer wood — secondary text, borders */
  --wood-line:   rgba(44, 31, 20, 0.22); /* hairline mullions (plain rgba —
                              survives old Android WebViews, same reasoning
                              as --color-divider on the main site) */
  --sun:         #f3b64b;  /* the amber field — one whole band owns it */
  --sun-deep:    #b97a1e;  /* amber's edge — small rules, warm details */
  --leaf:        #2f5d3a;  /* garden green — links, buttons, the one accent */
  --leaf-deep:   #24482d;  /* button hover */
  --paper:       #fffdf9;  /* form inputs — brighter than the page */

  /* JL Digital's own dark voice, used ONLY in the two truth bands.
     Values match the Nocturne system by eye but are declared here so
     this page never imports the main tokens file. */
  --jl-night:    #161826;
  --jl-text:     #e9e9ed;
  --jl-bright:   #f3f5fe;
  --jl-accent:   #9184d9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-x: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Three-tier elevation system — used deliberately, nowhere else:
     cast   = windows casting onto the floor (the deep tier)
     plate  = rate plates, nameplate, raised buttons (the shallow tier)
     seam   = where a band meets the page (an edge, not an object) */
  --shadow-cast: 0 22px 44px -18px rgba(44, 31, 20, 0.38);
  --shadow-plate: 0 2px 6px rgba(44, 31, 20, 0.28);
  --shadow-seam: inset 0 8px 12px -10px rgba(44, 31, 20, 0.35);

  /* Per-band focus-ring colour. Every band that changes its ground
     MUST restate --ring (the sun-deep ring measured 2.94:1 on the
     form band — below the 3:1 non-text minimum — which is why the
     ring is wood on light grounds now). */
  --ring: var(--wood);
}

/* ---- reset-lite ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* Anchor links (nav → #rooms etc.) land with breathing room. */
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--pearl);
  color: var(--wood);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  /* The default grey tap flash reads as a glitch on cheap Android —
     the exact primary device. A faint leaf wash matches the actions. */
  -webkit-tap-highlight-color: rgba(47, 93, 58, 0.12);
}
img { max-width: 100%; height: auto; display: block; }
/* Kills the 300ms double-tap delay on older mobile browsers without
   touching pinch-zoom — every tappable thing on the page. */
a, button, input, select, textarea, label { touch-action: manipulation; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  /* The Fraunces file is variable in optical size; let the browser
     pick the display cut at big sizes. */
  font-optical-sizing: auto;
  line-height: 1.1;
  margin: 0 0 0.5em;
  /* Balanced rag on every heading — kills stranded last words at all
     three test widths; old WebViews simply ignore it. */
  text-wrap: balance;
}
/* Display-size Fraunces wants a touch of negative tracking; body
   sizes stay at 0 so the sans never tightens. */
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a {
  color: var(--leaf);
  text-underline-offset: 3px;
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
a:hover { color: var(--leaf-deep); }

/* Even the surfaces nobody draws belong to the afternoon. */
::selection { background: var(--sun); color: var(--wood); }
input, textarea { caret-color: var(--leaf); }

/* One visible focus style everywhere — thick, offset, and recoloured
   per band through --ring so it never sinks into a ground. */
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wood);
  color: var(--pearl);
  padding: 10px 18px;
  z-index: 10;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: var(--pearl);
}
/* The skip link surfaces over the JL note band — ring in the pearl it
   wears, not the wood it would vanish into. */
.skip-link:focus-visible { outline-color: var(--pearl); }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---- JL truth bands (dark voice) ------------------------------- */
/* The note sits at the very top IN NORMAL FLOW so it prints, survives
   any screenshot crop, and is the first thing a prospect reads. */
.jl-note {
  background: var(--jl-night);
  color: var(--jl-text);
  padding: 14px var(--pad-x);
  font-size: 15px;
  line-height: 1.55;
  --ring: var(--jl-accent);
}
.jl-note p { margin: 0; max-width: 72ch; }
.jl-note strong { color: var(--jl-bright); font-weight: 700; }
.jl-note a { color: var(--jl-accent); }
.jl-note a:hover { color: var(--jl-bright); }

.jl-close {
  background: var(--jl-night);
  color: var(--jl-text);
  padding: clamp(56px, 9vw, 96px) var(--pad-x);
  --ring: var(--jl-accent);
}
.jl-close .inner { max-width: 720px; margin: 0 auto; }
.jl-close h2 {
  color: var(--jl-bright);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  margin-bottom: 0.6em;
}
.jl-close p { max-width: 62ch; }
.jl-close strong { color: var(--jl-bright); }
.jl-close a { color: var(--jl-accent); }
.jl-close a:hover { color: var(--jl-bright); }
.jl-close .jl-rule {
  border: 0;
  height: 1px;
  background: rgba(233, 233, 237, 0.16);
  margin: 0 0 28px;
}
.jl-close .btn-jl {
  display: inline-block;
  background: var(--jl-accent);
  color: var(--jl-night);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 6px;
  margin: 6px 18px 6px 0;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}
.jl-close .btn-jl:hover { background: var(--jl-bright); color: var(--jl-night); }
.jl-close .btn-jl:active { transform: translateY(1px); }

/* ---- demo header ----------------------------------------------- */
.site-head {
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
  padding: 18px var(--pad-x);
  border-bottom: 1px solid var(--wood-line);
}
.brand {
  /* The name on a carved hardwood plate — thicker base edge like a
     real nameplate, sitting a touch proud of the wall. */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--wood);
  text-decoration: none;
  margin-right: auto;
  border: 2px solid var(--wood);
  border-bottom-width: 4px;
  border-radius: 2px;
  padding: 6px 12px;
  box-shadow: var(--shadow-plate);
}
.site-head nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
  align-items: center;
}
.site-head nav a {
  color: var(--wood-mid);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  /* comfortable tap size on a phone */
  padding: 10px 2px;
  position: relative;
}
.site-head nav a:hover { color: var(--wood); }
/* A wood underline that slides in — drawn with a scaling pseudo so it
   stays compositor-only. */
.site-head nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}
.site-head nav a:hover::after,
.site-head nav a:focus-visible::after { transform: scaleX(1); }
@media (max-width: 480px) {
  /* On the primary viewport the header packs into two rows instead of
     three: the compact Book outline rides beside the nameplate, and
     the nav takes the second row. The hero's green "Check dates"
     stays the single green anchor of the first screen. */
  .site-head { row-gap: 4px; }
  .site-head .btn {
    order: 2;
    background: transparent;
    color: var(--leaf);
    border: 2px solid var(--leaf);
    box-shadow: none;
    padding: 8px 14px;
    font-size: 15px;
  }
  .site-head nav { order: 3; flex-basis: 100%; }
}

/* ---- buttons ---------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease),
              border-color 150ms var(--ease), transform 120ms var(--ease),
              box-shadow 150ms var(--ease);
}
/* Every button presses: down one pixel, shadow compresses. */
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-primary {
  background: var(--leaf);
  color: var(--pearl);
  box-shadow: var(--shadow-plate);
}
.btn-primary:hover { background: var(--leaf-deep); color: var(--pearl); }
.btn-ghost {
  background: rgba(47, 93, 58, 0.06);
  color: var(--leaf);
  border-color: var(--leaf);
}
.btn-ghost:hover {
  color: var(--leaf-deep);
  border-color: var(--leaf-deep);
  background: rgba(47, 93, 58, 0.12);
}

/* ---- hero -------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px) 0 0;
  /* The pool of afternoon light is VISIBLE now: a warm core high
     right with a broad wash under it. Light only lightens — wood on
     any lit pearl stays far above 7:1. */
  background:
    radial-gradient(120% 70% at 82% -4%, rgba(243, 182, 75, 0.34), rgba(243, 182, 75, 0.10) 55%, transparent 75%),
    var(--pearl);
}
/* The diagonal shaft the window throws across the floor — the page's
   thesis, finally drawn. Decorative: it lives behind the content and
   never carries text. */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 34%,
    rgba(243, 182, 75, 0.20) 46%,
    rgba(243, 182, 75, 0.07) 58%,
    transparent 66%);
}
/* The one scroll-driven moment: the shaft drifts as the hero scrolls
   away, the way afternoon light moves while you read. Progressive:
   browsers without scroll timelines simply keep the still shaft, and
   reduced motion never sees it move. Compositor-only (transform). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero::before {
      animation: shaft-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 120vh;
    }
    @keyframes shaft-drift {
      from { transform: translateX(0); }
      to   { transform: translateX(6%); }
    }
  }
}
.hero .wrap { position: relative; }
.hero h1 {
  /* vw-led floor: at 320 the width term wins, so text-only zoom can't
     push the two-line welcome past the content box. */
  font-size: clamp(2.1rem, 11vw, 6.4rem);
  max-width: 11ch;
}
.nowrap { white-space: nowrap; }
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--wood-mid);
  max-width: 52ch;
  margin-bottom: 1.5em;
}
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vw, 56px); }

/* ---- the window system ------------------------------------------- */
/* The one big move, executed as architecture now:
   - squared geometry (capiz windows are rectilinear)
   - opaque molave mullions with a sunlit top/left edge and a shadow
     edge below — wood, not gridlines
   - glass depth: an inset shadow under the frame
   - a sill below the hero window, and a cast shadow on the floor
   All drawn in CSS: zero extra requests. */
.window {
  position: relative;
  border: 7px solid var(--wood);
  border-radius: 2px;
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-cast);
}
.window img {
  width: 100%;
  /* One shared warm grade pulls every stock photo into the same
     afternoon — the green room and the pink room stop disagreeing. */
  filter: sepia(0.10) saturate(1.06) contrast(1.02);
}
/* The amber veil: the pane's own light lying on the glass. Sits only
   inside frames, never under text. */
.window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(160deg, rgba(243, 182, 75, 0.14), transparent 55%);
  mix-blend-mode: multiply;
}
/* Glass sits behind the frame: inner shadow all round. */
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 3px 10px rgba(44, 31, 20, 0.35),
              inset 0 -2px 8px rgba(44, 31, 20, 0.2);
}
.window .panes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Opaque wood bars with a lit edge (sun side) and a dark edge
     below — the hero carries three verticals and one rail. */
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(25% - 4px),
      rgba(255, 244, 225, 0.35) calc(25% - 4px),
      rgba(255, 244, 225, 0.35) calc(25% - 3px),
      var(--wood) calc(25% - 3px),
      var(--wood) calc(25% + 3px),
      rgba(0, 0, 0, 0.4) calc(25% + 3px),
      rgba(0, 0, 0, 0.4) calc(25% + 4px),
      transparent calc(25% + 4px),
      transparent 25%
    ),
    linear-gradient(
      to bottom,
      transparent calc(32% - 4px),
      rgba(255, 244, 225, 0.35) calc(32% - 4px),
      rgba(255, 244, 225, 0.35) calc(32% - 3px),
      var(--wood) calc(32% - 3px),
      var(--wood) calc(32% + 3px),
      rgba(0, 0, 0, 0.4) calc(32% + 3px),
      rgba(0, 0, 0, 0.4) calc(32% + 4px),
      transparent calc(32% + 4px)
    );
}
@media (max-width: 599px) {
  /* At phone widths three verticals would slice the bed into slivers;
     the window simplifies to one mullion and one rail. */
  .window .panes {
    background:
      linear-gradient(
        to right,
        transparent calc(50% - 4px),
        rgba(255, 244, 225, 0.35) calc(50% - 4px),
        rgba(255, 244, 225, 0.35) calc(50% - 3px),
        var(--wood) calc(50% - 3px),
        var(--wood) calc(50% + 3px),
        rgba(0, 0, 0, 0.4) calc(50% + 3px),
        rgba(0, 0, 0, 0.4) calc(50% + 4px),
        transparent calc(50% + 4px)
      ),
      linear-gradient(
        to bottom,
        transparent calc(32% - 4px),
        rgba(255, 244, 225, 0.35) calc(32% - 4px),
        rgba(255, 244, 225, 0.35) calc(32% - 3px),
        var(--wood) calc(32% - 3px),
        var(--wood) calc(32% + 3px),
        rgba(0, 0, 0, 0.4) calc(32% + 3px),
        rgba(0, 0, 0, 0.4) calc(32% + 4px),
        transparent calc(32% + 4px)
      );
  }
}
/* The hero window crops tall — you stand AT the window, you don't
   look at a photo of one. aspect-ratio degrades to the intrinsic 3:2
   on old WebViews, which is exactly the old design. */
.hero .window img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero .window img { aspect-ratio: auto; height: 100%; object-fit: cover; }
}
/* The sill: a wood ledge under the hero window with its own shadow. */
.hero .sill {
  height: 13px;
  background: linear-gradient(180deg, #3a2a1b, var(--wood));
  border-radius: 0 0 3px 3px;
  box-shadow: 0 6px 14px -6px rgba(44, 31, 20, 0.5);
}

/* Desktop hero: a true two-column composition — the welcome on the
   left, the window filling the right and bleeding toward the edge. */
@media (min-width: 900px) {
  /* The hero earns a wider stage than the body sections: the window
     is the architecture, so its wrap opens to 1240px and the window
     column runs tall. */
  .hero .wrap {
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(32px, 4vw, 64px);
    align-items: center;
  }
  .hero h1 { font-size: clamp(3.6rem, 5.4vw, 6.8rem); }
  .hero .text { padding-bottom: clamp(24px, 4vw, 56px); }
  /* A definite height, not min-height: the img's height:100% must
     resolve against something, or the photo stops at its intrinsic
     ratio and the lower panes frame empty pearl. */
  .hero .window { height: 580px; }
}

/* Gentle arrival: the hero copy and window fade up once on load.
   Compositor-only properties, and fully disabled under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.7s var(--ease) both;
  }
  .rise-2 { animation-delay: 0.12s; }
  .rise-3 { animation-delay: 0.24s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---- sections ---------------------------------------------------- */
section { padding: clamp(56px, 9vw, 112px) 0 0; }
.sec-title {
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  max-width: 20ch;
}
.sec-intro {
  color: var(--wood-mid);
  max-width: 56ch;
  margin-bottom: 2em;
}

/* A mullion divider between sections: an actual wood rail now, with
   the same lit-edge grammar as the window bars. */
.mullion {
  border: 0;
  height: 5px;
  margin: clamp(56px, 9vw, 104px) 0 0;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 244, 225, 0.5), transparent 30%),
              linear-gradient(180deg, #4a3623, var(--wood));
  opacity: 0.55;
}

/* ---- rooms -------------------------------------------------------- */
.rooms-grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  grid-template-columns: 1fr;
  margin-top: 2em;
}
@media (min-width: 720px) {
  /* The flagship gets the bigger window: Family Room takes the wider
     column, and the Garden Room steps down — an editorial stagger,
     not twin cards. */
  .rooms-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .room-garden { margin-top: 48px; }
  /* A mild portrait, not a hard 4/5: the source is landscape, and a
     deeper crop upscales into softness. */
  .room-family .window img { aspect-ratio: 1 / 1.05; object-fit: cover; }
}
.room { display: flex; flex-direction: column; }
.room .window { border-width: 5px; border-radius: 2px; box-shadow: 0 14px 28px -14px rgba(44, 31, 20, 0.35); }
.room .panes {
  /* rooms get a single cross mullion — quieter than the hero */
  background:
    linear-gradient(to right,
      transparent calc(50% - 3px),
      rgba(255, 244, 225, 0.35) calc(50% - 3px),
      rgba(255, 244, 225, 0.35) calc(50% - 2px),
      var(--wood) calc(50% - 2px),
      var(--wood) calc(50% + 2px),
      rgba(0, 0, 0, 0.4) calc(50% + 2px),
      rgba(0, 0, 0, 0.4) calc(50% + 3px),
      transparent calc(50% + 3px)),
    linear-gradient(to bottom,
      transparent calc(50% - 3px),
      rgba(255, 244, 225, 0.35) calc(50% - 3px),
      rgba(255, 244, 225, 0.35) calc(50% - 2px),
      var(--wood) calc(50% - 2px),
      var(--wood) calc(50% + 2px),
      rgba(0, 0, 0, 0.4) calc(50% + 2px),
      rgba(0, 0, 0, 0.4) calc(50% + 3px),
      transparent calc(50% + 3px));
}
.room h3 {
  font-size: 1.45rem;
  margin: 0.9em 0 0.2em;
}
.room .rate {
  /* the price on a little hardwood sign, like the plate by a room door */
  align-self: flex-start;
  background: var(--wood);
  color: var(--pearl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  font-variant-numeric: lining-nums tabular-nums;
  padding: 6px 14px;
  border-radius: 2px;
  margin: 4px 0 10px;
  box-shadow: var(--shadow-plate);
}
.room .rate small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72em;
  opacity: 0.85;
}
.room ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--wood-mid);
}
.room li {
  padding: 7px 0;
  border-bottom: 1px solid var(--wood-line);
}
.room li:last-child { border-bottom: 0; }

/* ---- the amber band: mornings ------------------------------------ */
/* The sun field. One whole region owns the colour, exactly like the
   pool of afternoon light a capiz window throws on the floor. */
.mornings {
  /* Sunlight pools, it doesn't tile: TWO pools now — a bright spill
     from the top left and a low warm one right — so the band reads
     poured, not painted. The lighter patches only RAISE contrast for
     the wood text (lock stays ≥8.8:1). */
  background:
    radial-gradient(110% 80% at 12% 0%, rgba(255, 220, 150, 0.6), transparent 62%),
    radial-gradient(90% 60% at 88% 100%, rgba(255, 220, 150, 0.28), transparent 60%),
    var(--sun);
  margin-top: clamp(56px, 9vw, 104px);
  padding: clamp(56px, 9vw, 104px) 0;
  position: relative;
  box-shadow: var(--shadow-seam);
  /* wood ring on amber: 8.84:1 */
  --ring: var(--wood);
}
/* The transom: a strip of small capiz panes along the band's top edge,
   the little windows above the doors of an ancestral house. Drawn,
   decorative, and never under text. */
.mornings::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 12px;
  pointer-events: none;
  background:
    repeating-linear-gradient(to right,
      rgba(248, 244, 236, 0.3) 0,
      rgba(248, 244, 236, 0.3) 64px,
      rgba(44, 31, 20, 0.4) 64px,
      rgba(44, 31, 20, 0.4) 68px),
    linear-gradient(180deg, rgba(44, 31, 20, 0.28), transparent);
}
.mornings .sec-title { max-width: 16ch; }
.mornings p { max-width: 54ch; }
.mornings a { color: var(--wood); font-weight: 600; }
.mornings-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1fr;
  align-items: stretch;
}
.morn-left { display: flex; flex-direction: column; }
.morn-left .window { margin-top: auto; } /* breakfast shot sits on the
                              band's baseline, level with the veranda */
@media (min-width: 860px) {
  /* copy + wide breakfast shot stacked on the left, the tall veranda
     shot holding the right — one composed spread, two photo shapes */
  .mornings-grid { grid-template-columns: 1.35fr 1fr; }
}
.mornings .window { border-color: var(--wood); }
/* World-logic (recorded in the direction contract): the amber band IS
   the outdoors — breakfast table, veranda, the hammock. Pane lines
   exist only where you look out from inside the house, so the two
   photos here keep the wood frame but go unbarred. */
.mornings .panes { background: none; }
.mornings figcaption {
  font-size: 14px;
  color: var(--wood);
  padding: 8px 12px 10px;
}

/* ---- find us ------------------------------------------------------ */
.find address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  margin-bottom: 0.8em;
}
.find p { max-width: 56ch; }
/* Desktop: the directions get a companion — a typographic window: the
   same wood frame and panes with the address set large inside it on a
   deeper pearl. A window with no photo: you are looking at where the
   house is. Hidden on phones (the text is the content there). */
.find-window { display: none; }
@media (min-width: 900px) {
  .find .wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: clamp(32px, 4vw, 64px);
    align-items: center;
  }
  .find-window {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--pearl-deep);
    text-align: center;
    padding: 32px;
  }
  .find-window .fw-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1.3;
    color: var(--wood);
    margin: 0;
    position: relative;
    z-index: 3; /* above the pane bars — the words are the view */
    text-wrap: balance;
  }
  /* The address-window keeps only the low transom rail — the words
     are the view, and a vertical bar would strike through them. */
  .find-window .panes {
    background:
      linear-gradient(to bottom,
        transparent calc(24% - 3px),
        rgba(255, 244, 225, 0.35) calc(24% - 3px),
        rgba(255, 244, 225, 0.35) calc(24% - 2px),
        var(--wood) calc(24% - 2px),
        var(--wood) calc(24% + 2px),
        rgba(0, 0, 0, 0.4) calc(24% + 2px),
        rgba(0, 0, 0, 0.4) calc(24% + 3px),
        transparent calc(24% + 3px));
  }
}

/* ---- book form ----------------------------------------------------- */
.book {
  background: var(--pearl-deep);
  margin-top: clamp(56px, 9vw, 104px);
  padding: clamp(56px, 9vw, 104px) 0;
  box-shadow: var(--shadow-seam);
}
.book form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 560px;
}
@media (min-width: 640px) {
  .book form { grid-template-columns: 1fr 1fr; }
  .book .field-wide, .book .form-actions { grid-column: 1 / -1; }
}
/* Desktop: the form keeps the left; a summary plaque holds the right —
   the same hardwood plate language as the rate signs. */
.book-plaque { display: none; }
@media (min-width: 900px) {
  .book .wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    column-gap: clamp(32px, 4vw, 64px);
  }
  .book .book-head, .book form { grid-column: 1; }
  .book-plaque {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    background: var(--wood);
    color: var(--pearl);
    border-radius: 2px;
    padding: 28px 30px;
    box-shadow: var(--shadow-plate);
  }
  .book-plaque p {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 14px;
  }
  .book-plaque p:last-child { margin-bottom: 0; }
  .book-plaque small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8em;
    opacity: 0.85;
  }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  /* 16px floor so old-Android browsers never zoom the page on focus */
  font-size: 16px;
  color: var(--wood);
  background: var(--paper);
  border: 1.5px solid var(--wood-mid);
  border-radius: 4px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 150ms var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--wood); }
.field textarea { min-height: 110px; resize: vertical; }
.book .btn { border: 0; }
.book .aside-note { color: var(--wood-mid); font-size: 15px; margin: 14px 0 0; }

/* ---- fictional footer ---------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--wood-line);
  padding: 36px var(--pad-x) 44px;
  color: var(--wood-mid);
  font-size: 15px;
}
.site-foot .foot-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--wood);
  margin-bottom: 6px;
}
.site-foot p { margin: 0 0 4px; max-width: none; }

/* ---- print ---------------------------------------------------------- */
/* A leave-behind that survives the office printer: bands go white,
   text goes black, the truth notes stay visible and readable. */
@media print {
  body { background: #fff; color: #000; }
  .jl-note, .jl-close {
    background: #fff;
    color: #000;
    border: 2px solid #000;
  }
  .jl-note a, .jl-close a, .jl-close h2, .jl-note strong, .jl-close strong { color: #000; }
  .jl-close .btn-jl { border: 2px solid #000; background: #fff; color: #000; }
  .mornings, .book { background: #fff; box-shadow: none; }
  .mornings::before { display: none; }
  .btn { border: 2px solid #000; background: #fff; color: #000; box-shadow: none; }
  /* Backgrounds don't print: the room prices are the leave-behind's
     payload, so the plates flip to bordered white. */
  .room .rate { background: #fff; color: #000; border: 1px solid #000; box-shadow: none; }
  .book-plaque { background: #fff; color: #000; border: 1px solid #000; box-shadow: none; }
  .window, .room .window { box-shadow: none; }
  .window img { filter: none; }
  .hero .sill { display: none; }
  .rise, .rise-2, .rise-3 { animation: none; }
  .site-head nav { display: none; } /* anchor links mean nothing on paper */
}
