/* ═══════════════════════════════════════════════════════════════════════
   VILLA ESPANHOLA — CAL E SOMBRA
   The approved standalone, extracted into the site's design system.
   Nothing here is new: every token, texture layer, rule weight and
   easing curve is lifted from the signed-off concept.

   Ground        #EDE3CE   pale sand plaster, north wall, overcast
   Limewash      #FBF6EA   interior wall, cooler mix        (raised surface)
   Ink           #232838   painted shutter in shadow        (text, dark panels)
   Body          #4C5266   the same shutter, lit
   Label         #6A6449   dune grass in shade              (4.9:1 on limewash)
   Numeral       #8A7F66   dune grass, dry                  (decorative only)
   Accent        #2E3D6B   capulana cobalt, one step down    (ALL CTAs)
   Capulana red  #C8202B   scarcity chips only
   ═══════════════════════════════════════════════════════════════════════ */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  /* the plaster is the page's ground, not an overlay on top of it: a 480px
     seamless tile with #EDE3CE baked in, so nothing composites over type */
  background:#EDE3CE url("/img/tex-ground.jpg") 0 0/480px 480px repeat;
  color:#232838;
  font-family:Archivo,system-ui,sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:#2E3D6B;text-decoration:none}
a:hover{color:#222E52}
img{max-width:100%;display:block}
button{font-family:inherit}

/* ── Scale ─────────────────────────────────────────────────────────────
   This is a ~760px composition, not a fluid one. Stretching it to 1800px
   would leave 13px body copy on a 1800px canvas, which reads tiny. So the
   page is SCALED rather than widened: zoom takes the whole composition up
   together — type, rules, texture pitch, photo crops — preserving every
   ratio the design was tuned at. Widths stay in %, so it still fills.
   ─────────────────────────────────────────────────────────────────────── */
body{--z:1}
@media (min-width:1000px){body{zoom:1.14;--z:1.14}}
@media (min-width:1200px){body{zoom:1.32;--z:1.32}}
@media (min-width:1440px){body{zoom:1.54;--z:1.54}}
@media (min-width:1700px){body{zoom:1.78;--z:1.78}}
@media (min-width:2100px){body{zoom:2.05;--z:2.05}}

/* ── Surfaces ──────────────────────────────────────────────────────────
   The trowel sweep is two opposed radials; the drag is a 74° repeating
   gradient at 2%; the grain is stacked feTurbulence tiles.

   On top of that the three MATERIALS are now photographic. A macro of
   hand-troweled limewash was flattened to grey, its contrast pulled into a
   narrow band around mid, and wrapped with an offset cross-fade so it
   tiles seamlessly at 480px. That grey tile is then BAKED against each of
   the three surface colours — tex-ground (#EDE3CE), tex-lime (#FBF6EA),
   tex-ink (#232838) — giving three opaque 3–5KB tiles.

   Baked rather than overlaid on purpose: an opacity layer over the page
   would composite over the type as well, and no functional text on this
   site carries alpha. As a background layer the plaster sits UNDER
   everything, at full strength, touching nothing.

   feTurbulence stays as the top dust layer: it is isotropic fizz with no
   direction in it, which is wrong for a wall on its own but right for the
   fine grain that must stay crisp at 2.05 zoom where a raster tile softens.
   ─────────────────────────────────────────────────────────────────────── */
.ground{
  background-color:#EDE3CE;
  background-size:auto,auto,auto,480px 480px;
  background-image:
    radial-gradient(130% 120% at 12% -8%,rgba(255,255,255,.5),rgba(255,255,255,0) 48%),
    radial-gradient(100% 110% at 92% 100%,rgba(35,40,56,.045),rgba(35,40,56,0) 55%),
    repeating-linear-gradient(74deg,rgba(35,40,56,.02) 0 4px,transparent 4px 12px),
    url("/img/tex-ground.jpg");
}
.lime{
  background-color:#FBF6EA;
  background-size:auto,auto,auto,auto,480px 480px;
  background-image:
    radial-gradient(120% 150% at 16% -14%,rgba(255,255,255,.85),rgba(255,255,255,0) 52%),
    radial-gradient(95% 120% at 90% 112%,rgba(35,40,56,.05),rgba(35,40,56,0) 58%),
    repeating-linear-gradient(74deg,rgba(35,40,56,.022) 0 3px,transparent 3px 9px),
    repeating-linear-gradient(166deg,rgba(35,40,56,.016) 0 2px,transparent 2px 12px),
    url("/img/tex-lime.jpg");
}
.ink{
  background-color:#232838;
  color:#FBF6EA;
  background-size:auto,auto,480px 480px;
  background-image:
    radial-gradient(120% 110% at 84% -22%,rgba(200,210,238,.11),rgba(200,210,238,0) 60%),
    repeating-linear-gradient(74deg,rgba(251,246,234,.03) 0 2px,transparent 2px 11px),
    url("/img/tex-ink.jpg");
}
.grain{position:relative}
.grain::after{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:9;
  opacity:.085;mix-blend-mode:multiply;
  background-image:
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPSczJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzE2MCcgaGVpZ2h0PScxNjAnIGZpbHRlcj0ndXJsKCUyM24pJy8+PC9zdmc+"),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc5MCcgaGVpZ2h0PSc5MCc+PGZpbHRlciBpZD0nbic+PGZlVHVyYnVsZW5jZSB0eXBlPSdmcmFjdGFsTm9pc2UnIGJhc2VGcmVxdWVuY3k9JzIuNCcgbnVtT2N0YXZlcz0nMycgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSc5MCcgaGVpZ2h0PSc5MCcgZmlsdGVyPSd1cmwoJTIzbiknLz48L3N2Zz4=");
}
/* on a dark ground multiply is invisible — screen lifts grain into film */
.grain-dark{position:relative}
.grain-dark::after{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:1;
  opacity:.1;mix-blend-mode:screen;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNTAnIGhlaWdodD0nMTUwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44JyBudW1PY3RhdmVzPSczJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzE1MCcgaGVpZ2h0PScxNTAnIGZpbHRlcj0ndXJsKCUyM24pJy8+PC9zdmc+");
}
/* every 1px ink rule gains a white offset below: a cut edge in plaster */
.cut{box-shadow:0 1px 0 rgba(255,255,255,.6)}

/* ── Type ─────────────────────────────────────────────────────────────
   Newsreader 200 display with leading locked near 1.0; Archivo body at
   1.8. That 0.8 gap is where the whole "expensive" feeling comes from.
   Tracking OPENS at display size rather than tightening.
   ─────────────────────────────────────────────────────────────────────── */
.display{font-family:Newsreader,Georgia,serif;font-weight:200;line-height:1.03;padding-top:.06em;margin:0}
.h1{font-size:38px}
.h2{font-size:32px}
.h3{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:16px;line-height:1.15;margin:0}
.h4{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:21px;line-height:1.2;margin:0}
em,.it{font-style:italic;color:#2E3D6B}
.ink em,.ink .it{color:#C8D2EE}
.body{font-size:13px;line-height:1.8;color:#4C5266;margin:0}
.body-lg{font-size:14.5px;line-height:1.8;color:#4C5266;margin:0}
.ink .body,.ink .body-lg{color:#DCD3C0}
.kicker{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#6A6449;font-weight:400}
.ink .kicker{color:#A8B0C8}
.label{font-size:8px;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;color:#6A6449}
.ink .label{color:#A8B0C8}
.num{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:24px;line-height:1}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:9.5px;line-height:1.4;color:#4C5266}
.ink .mono{color:#A8B0C8}

/* ── Layout ─────────────────────────────────────────────────────────── */
.pad{padding-left:24px;padding-right:24px}
.section{padding:40px 24px 0}
.section-lg{padding:52px 24px 0}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
/* the image column FLEXES between 200 and 300px rather than demanding a
   fixed 300: a fixed track sets a hard minimum for the whole row, which is
   what pushed copy past the viewport and clipped it. */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);gap:26px;align-items:stretch}
.split > .well{width:100%;min-height:100%;height:auto}
.split > .well-empty,.split-l > .well-empty{min-height:0;align-self:start}
.split-l{display:grid;grid-template-columns:minmax(200px,300px) minmax(0,1fr);gap:26px;align-items:stretch}
.split-l > .well{width:100%;min-height:100%;height:auto}
.row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.row-between{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* ── Chapter head + handrail ───────────────────────────────────────────
   O Corrimão: the X-braced deck rail becomes the page's spine. One bay
   per chapter, filling to full opacity as you pass it, 30% ahead of you.
   Progress indicator, section counter, and the property's own carpentry.
   ─────────────────────────────────────────────────────────────────────── */
.chapters{display:grid;grid-template-columns:70px minmax(0,1fr)}
.rail{
  position:relative;border-right:1px solid rgba(35,40,56,.18);
  box-shadow:1px 0 0 rgba(255,255,255,.55);padding:44px 0 0;
  display:flex;flex-direction:column;align-items:center;
}
/* A growing bar reads as a browser progress meter — too mechanical for this
   page. Instead one hairline runs down the centre of the timber to where you
   are reading, with a single surveyor's tick at its head. Both are driven
   straight off scroll with no transition, so there is no lag to chase.
   --railtop is the top of the bay strip, measured in JS: anchoring to the
   rail itself put a smudge behind the vertical label. */
.rail::after{
  content:'';position:absolute;left:calc(50% - 0.5px);width:1px;
  top:var(--railtop,44px);
  height:calc(var(--railp,0) * var(--railh,0px));
  background:#2E3D6B;opacity:.34;pointer-events:none;z-index:1;
}
.rail::before{
  content:'';position:absolute;left:calc(50% - 7px);width:14px;height:1.5px;
  top:calc(var(--railtop,44px) + var(--railp,0) * var(--railh,0px));
  background:#2E3D6B;pointer-events:none;z-index:2;
  box-shadow:0 0 0 3px rgba(237,227,206,.85);
}
.rail .label{writing-mode:vertical-rl;margin-bottom:16px}
.bay{
  width:36px;flex:1 1 auto;min-height:74px;opacity:.2;
  transition:opacity 620ms cubic-bezier(.16,.84,.28,1);
  /* the X TILES at a fixed 36×44 rather than stretching once over the whole
     bay: a chapter is 600px tall, and one X scaled to that reads as a
     distorted diamond. Tiled, it reads as continuous handrail, and each
     chapter still owns a segment that lights as you reach it. */
  background-image:
    linear-gradient(to top right,transparent calc(50% - 1px),rgba(35,40,56,.55) 50%,transparent calc(50% + 1px)),
    linear-gradient(to bottom right,transparent calc(50% - 1px),rgba(35,40,56,.55) 50%,transparent calc(50% + 1px)),
    repeating-linear-gradient(90deg,rgba(35,40,56,.08) 0 1px,transparent 1px 5px);
  background-size:36px 44px,36px 44px,auto;
  background-repeat:repeat-y,repeat-y,repeat;
  border-bottom:1.5px solid rgba(35,40,56,.5);
}
.bay:first-of-type{border-top:1.5px solid rgba(35,40,56,.5)}
.bay.lit{opacity:.92}
.chap-head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px}
.chap-num{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:28px;line-height:1;color:#8A7F66}

/* ── Buttons ──────────────────────────────────────────────────────────
   Radius is binary: 0 everywhere, 40px pill on CTAs only — the only
   rounded thing on the page is the button, which is why it reads as one.
   Hover opens the tracking instead of lifting; removing the lift IS the
   premium move.
   ─────────────────────────────────────────────────────────────────────── */
.pill{
  display:inline-block;background:#2E3D6B;color:#FBF6EA;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.18);
  font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  padding:15px 22px;border-radius:40px;border:0;cursor:pointer;text-align:center;
  /* tracking adds space after the last letter; indent the same amount so the word sits centred */
  text-indent:.12em;
  transition:background 420ms cubic-bezier(.16,.84,.28,1),letter-spacing 420ms cubic-bezier(.16,.84,.28,1);
}
.pill:hover{background:#222E52;color:#FBF6EA;letter-spacing:.19em;text-indent:.19em}
.pill-sm{padding:11px 15px;font-size:9.5px;letter-spacing:.13em;text-indent:.13em}
.pill-light{
  display:inline-block;background:#FBF6EA;color:#232838;
  font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  padding:17px 24px;border-radius:40px;border:0;cursor:pointer;text-align:center;text-indent:.1em;
  transition:background 420ms cubic-bezier(.16,.84,.28,1),letter-spacing 420ms cubic-bezier(.16,.84,.28,1);
}
.pill-light:hover{background:#C8D2EE;color:#232838;letter-spacing:.16em;text-indent:.16em}
.ul{
  font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:#232838;border-bottom:1px solid rgba(35,40,56,.45);padding-bottom:3px;
  transition:color 320ms ease,border-color 320ms ease;
}
.ul:hover{color:#2E3D6B;border-bottom-color:#2E3D6B}
.ink .ul{color:#A8B0C8;border-bottom-color:rgba(168,176,200,.5)}
.ink .ul:hover{color:#FBF6EA;border-bottom-color:#FBF6EA}

/* plaster tiles: 166° hatch + lit top edge, an indigo bead at the left, and
   a full indigo fill on hover. The bead is what stops a row of these reading
   as five identical grey rectangles — it pops in on the section reveal. */
.chip{
  display:inline-block;font-size:9px;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;border:1px solid rgba(35,40,56,.32);
  padding:8px 11px 8px 22px;position:relative;color:#232838;
  background-image:repeating-linear-gradient(166deg,rgba(35,40,56,.05) 0 1px,transparent 1px 6px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  transition:background-position 520ms cubic-bezier(.16,.84,.28,1),
             background-color 420ms cubic-bezier(.16,.84,.28,1),
             color 420ms cubic-bezier(.16,.84,.28,1),
             border-color 420ms cubic-bezier(.16,.84,.28,1);
}
.chip::before{
  content:'';position:absolute;left:9px;top:50%;width:5px;height:5px;
  margin-top:-2.5px;border-radius:50%;background:#2E3D6B;opacity:.5;
  transition:transform 520ms cubic-bezier(.16,.84,.28,1),background 420ms ease,opacity 420ms ease;
}
html.js .chips .chip::before{transform:scale(0)}
html.js .chips.go .chip::before,html.js .chips.done .chip::before{transform:scale(1)}
.chips.go .chip:nth-child(2)::before{transition-delay:70ms}
.chips.go .chip:nth-child(3)::before{transition-delay:140ms}
.chips.go .chip:nth-child(4)::before{transition-delay:210ms}
.chips.go .chip:nth-child(5)::before{transition-delay:280ms}
.chips.go .chip:nth-child(6)::before{transition-delay:350ms}
.chip:hover{background-color:#2E3D6B;border-color:#2E3D6B;color:#FBF6EA;background-position:7px 0}
.chip:hover::before{background:#FBF6EA;opacity:1}
a.chip:hover{color:#FBF6EA}
.chips{display:flex;gap:7px;flex-wrap:wrap}

/* ── Image wells ──────────────────────────────────────────────────────
   A photograph sits in a hatched well: the 118° rake crossed with a 28°
   weft at 5%, so an UNLOADED or not-yet-shot frame still reads as canvas
   rather than as a broken box.
   ─────────────────────────────────────────────────────────────────────── */
.well{
  background-color:#D5C7A6;background-size:cover;background-position:center;
  position:relative;overflow:hidden;
}
.well-empty{
  background-image:
    repeating-linear-gradient(118deg,rgba(35,40,56,.09) 0 2px,transparent 2px 14px),
    repeating-linear-gradient(28deg,rgba(35,40,56,.05) 0 1px,transparent 1px 9px);
  display:flex;align-items:flex-end;padding:11px;
}
.well-dark{background-color:#3A4054}
.well-dark.well-empty{
  background-image:
    repeating-linear-gradient(118deg,rgba(251,246,234,.09) 0 2px,transparent 2px 14px),
    repeating-linear-gradient(28deg,rgba(251,246,234,.05) 0 1px,transparent 1px 9px);
}
/* photography still to be shot or edited — deliberately legible as a slot */
.shot{
  font-family:'IBM Plex Mono',monospace;font-size:7.5px;line-height:1.45;
  background:rgba(251,246,234,.94);color:#4C5266;padding:4px 5px;letter-spacing:.02em;
}
.well-dark .shot{background:rgba(35,40,56,.9);color:#DCD3C0}
.r43{aspect-ratio:4/3}.r45{aspect-ratio:4/5}.r32{aspect-ratio:3/2}.r11{aspect-ratio:1/1}.r34{aspect-ratio:3/4}.r23{aspect-ratio:2/3}
/* a well that must show the WHOLE frame: the split columns stretch a well to
   the copy's height, which re-crops a photograph shot to a fixed ratio */
.split > .well-fit,.split-l > .well-fit{min-height:0;width:100%;height:auto;max-height:420px;align-self:start}
/* the photograph settles a fraction under the cursor — a shift, not a zoom */
.card:hover .well-move,.gal-item:hover .well-move{background-position:53% 59%}
.well-move{transition:background-position 1600ms cubic-bezier(.16,.84,.28,1)}

/* ── Utility strip + navigation ───────────────────────────────────────── */
.util{
  height:32px;display:flex;align-items:center;justify-content:flex-end;gap:16px;
  padding:0 20px;font-size:9px;letter-spacing:.18em;text-transform:uppercase;
  position:relative;z-index:20;
}
.util a{color:#FBF6EA}
.util a:hover{color:#C8D2EE}
.langs{display:flex;border:1px solid rgba(251,246,234,.38)}
.langs button{
  font-size:8.5px;font-weight:500;letter-spacing:.16em;padding:4px 7px;border:0;
  cursor:pointer;background:transparent;color:#FBF6EA;transition:background 300ms ease;
}
.langs button:hover{background:rgba(251,246,234,.16)}
.langs button.on{background:#FBF6EA;color:#232838}
@media (max-width:699px){.util{height:40px}.langs button{padding:10px 12px}.util a{padding:10px 0}}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 20px;border-bottom:1px solid rgba(35,40,56,.2);
  box-shadow:0 1px 0 rgba(255,255,255,.6);position:relative;z-index:20;
}
.brand{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:21px;line-height:1;color:#232838;display:block}
.brand:hover{color:#232838}
.brand-sub{font-size:8px;letter-spacing:.22em;text-transform:uppercase;color:#6A6449;margin-top:5px}
.nav-links{display:flex;align-items:center;gap:13px}
.nav-links a{
  font-size:9.5px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;
  color:#232838;padding-bottom:2px;position:relative;transition:color 320ms ease;
}
/* the underline is drawn, not switched on */
.nav-links a::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#2E3D6B;
  transform:scaleX(0);transform-origin:left;
  transition:transform 380ms cubic-bezier(.16,.84,.28,1);
}
.nav-links a:hover::after,.nav-links a[aria-current]::after{transform:scaleX(1)}
.nav-links a[aria-current]{color:#2E3D6B}
/* the nav CTA is a pill, not a text link: undo the link padding and underline */
.nav-links a.pill{padding:11px 15px 11px calc(15px + .13em);text-indent:0;letter-spacing:.13em;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.nav-links a.pill:hover{letter-spacing:.13em;padding-left:calc(15px + .13em)}
.nav-links a.pill::after{display:none}
@supports (text-box:trim-both cap alphabetic){.nav-links a.pill{text-box:trim-both cap alphabetic;padding-top:12px;padding-bottom:12px}}
.burger{display:none;flex-direction:column;gap:4px;width:22px;background:none;border:0;cursor:pointer;padding:6px 0}
.burger span{height:1.5px;background:#232838;transition:transform 380ms cubic-bezier(.16,.84,.28,1),opacity 300ms ease}
.sheet{
  position:fixed;inset:0;z-index:60;background-color:#232838;
  transform:translateY(-100%);transition:transform 620ms cubic-bezier(.16,.84,.28,1);
  display:flex;flex-direction:column;padding:22px;overflow-y:auto;
}
.sheet.open{transform:translateY(0)}
.sheet a{
  font-family:Newsreader,Georgia,serif;font-weight:200;font-size:30px;color:#FBF6EA;
  padding:12px 0;border-bottom:1px solid rgba(251,246,234,.18);
}
.sheet a:hover{color:#C8D2EE}
.sheet-close{align-self:flex-end;background:none;border:0;color:#FBF6EA;font-size:11px;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;padding:8px 0 18px}

/* ── Hero ─────────────────────────────────────────────────────────────
   Their white overlay card is kept as structure; the motion it sat on is
   replaced by the golden-hour wash, which reads as light without bytes.
   The card owns the left 56% — anything busy behind it is wasted.
   ─────────────────────────────────────────────────────────────────────── */
.hero{position:relative;height:400px;background:#D5C7A6;overflow:hidden}
.hero::before{
  content:'';position:absolute;inset:0;z-index:0;
  background-size:cover;background-position:56% 58%;
}
.hero-card{
  position:absolute;left:24px;bottom:24px;width:430px;max-width:calc(100% - 48px);
  padding:26px 24px 24px;z-index:2;
  box-shadow:0 4px 12px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(35,40,56,.09);
}
.hero-sm{height:290px}
.hero-sm .hero-card{width:400px}

/* ── Plate ────────────────────────────────────────────────────────────
   An immersive arrival, derived rather than borrowed. The reference
   heroes it came from centre their type on the photograph — a resort
   convention. This site is left-anchored throughout (the hero card, every
   chapter head, the handrail spine), so the plate keeps the scale and
   drops the centring.

   Three corrections from the first pass:
   · type sits on the same 24px left margin as everything else
   · the scrim is the palette's real ink #232838, raked from the lower
     left like the golden-hour wash, not a generic near-black
   · the sub-nav sits on a LIMEWASH strip below the photograph, so the
     plaster and a cut rule are still the first material you meet

   Height divides by --z because body{zoom} would paint 100vh at
   114–205% of the real viewport.
   ─────────────────────────────────────────────────────────────────────── */
.plate{
  position:relative;overflow:hidden;
  height:calc(64vh / var(--z,1));min-height:340px;max-height:calc(620px / var(--z,1));
  display:flex;align-items:flex-end;
}
.plate-img{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
/* raked from the lower left, where the type sits — the same direction the
   golden-hour wash falls on the plaster surfaces */
.plate::after{
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(72deg,rgba(35,40,56,.30) 0%,rgba(35,40,56,.16) 46%,rgba(35,40,56,.02) 100%),
    linear-gradient(to top,rgba(35,40,56,.26) 0%,rgba(35,40,56,0) 46%);
}
.plate-inner{
  position:relative;z-index:2;width:100%;
  max-width:calc(62ch + 190px);padding:0 190px 32px 24px;
}
.plate-inner::before{
  content:'';position:absolute;left:0;right:0;bottom:0;top:-52px;z-index:-1;pointer-events:none;
  /* stops are anchored in PIXELS FROM THE RIGHT, not percentages: how far
     the copy runs depends on how 62ch resolves, so a percentage falloff
     cannot know where the text ends and kept thinning underneath it. The
     190px padding-right guarantees text never reaches past the 150px mark,
     so every glyph sits on alpha ≥ .90. */
  background:linear-gradient(to left,
    rgba(35,40,56,0) 0px,
    rgba(35,40,56,.34) 74px,
    rgba(35,40,56,.62) 150px,
    rgba(35,40,56,.70) 100%);
  -webkit-mask-image:linear-gradient(to top,#000 0%,#000 74%,transparent 100%);
  mask-image:linear-gradient(to top,#000 0%,#000 74%,transparent 100%);
}
.plate .kicker{color:#EDE7D8}
.plate h1{color:#FBF6EA;margin-top:12px;font-size:clamp(32px,4.2vw,50px)}
.plate h1 em,.plate .it{color:#FBF6EA}
.plate-sub em{color:inherit}
.plate-sub{color:#E4E1D6;font-size:13.5px;line-height:1.75;max-width:52ch;margin:14px 0 0}

/* the sub-nav on plaster, not on the photograph */
.plate-strip + .section-lg,.plate-strip + .section{padding-top:28px}
.plate-strip{
  border-bottom:1px solid rgba(35,40,56,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  /* real vertical padding: the strip butts straight onto the dark plate, and
     10.5px caps at .14em tracking need clearance from that edge or they read
     as stuck to it */
  padding:16px 24px 4px;position:relative;
}
.plate-nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch}
.plate-nav a{
  position:relative;display:block;padding:10px 18px 16px 18px;color:#232838;
  font-size:10.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  border-right:1px solid rgba(35,40,56,.13);transition:color 320ms ease;
}
.plate-nav a:last-child{border-right:0}
/* the first cell aligns with the page's 24px margin, not an inset */
.plate-nav a:first-child{padding-left:0}
.plate-nav a::after{
  content:'';position:absolute;left:18px;right:18px;bottom:-4px;height:2px;
  background:#2E3D6B;transform:scaleX(0);transform-origin:left;
  transition:transform 460ms cubic-bezier(.16,.84,.28,1);
}
.plate-nav a:first-child::after{left:0}
/* on a unit page the sub-nav also says WHERE YOU ARE: the current unit keeps
   its rule drawn rather than waiting for a hover it will never get */
.plate-nav a[aria-current]{color:#2E3D6B}
.plate-nav a[aria-current]::after{transform:scaleX(1)}
.plate-nav a[aria-current] .price{color:#232838}
.plate-nav a:hover{color:#2E3D6B}
.plate-nav a:hover::after{transform:scaleX(1)}
.plate-nav .price{
  font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:400;
  letter-spacing:.02em;color:#6A6449;display:block;margin-top:6px;text-transform:none;
}
.plate-nav a:hover .price{color:#232838}
/* Below desktop the sub-nav becomes ONE horizontally-scrolling row, like
   .rail-cards. Stacking (or 2 columns) made the strip's height a function of
   how many items a page has — 5 items on Rooms came to 3 rows / 159px, and
   with the plate at 64vh the card grid fell entirely below the fold. A
   scrolling row is a constant ~53px at any item count, so the budget holds
   whether a page lists four types or five.

   The plate also gives height back here: 64vh of a 540px tablet viewport is
   346px, which leaves nothing for content. */
@media (max-width:999px){
  .plate{height:calc(48vh / var(--z,1));min-height:250px;max-height:none}
  .plate-nav{
    grid-auto-flow:column;grid-auto-columns:minmax(158px,auto);
    overflow-x:auto;scroll-snap-type:x mandatory;
    scrollbar-width:none;-ms-overflow-style:none;
  }
  .plate-nav::-webkit-scrollbar{display:none}
  .plate-nav a{scroll-snap-align:start;padding:10px 18px 15px 18px;border-bottom:0}
  .plate-nav a:last-child{border-right:0;padding-right:24px}
  .plate-nav a::after{left:18px;right:18px}
  .plate-nav a::after{width:calc(100% - 18px)}
}
@media (max-width:699px){
  .plate{height:calc(46vh / var(--z,1));min-height:230px}
  .plate-inner{padding:0 16px 24px;max-width:none}
  .plate-inner::before{right:-16px}
  .plate-strip{padding:13px 16px 4px}
  .plate-nav{grid-auto-columns:minmax(146px,auto)}
  .plate-nav a{padding:8px 16px 14px 16px}
  .plate-nav a:last-child{padding-right:16px}
  .plate-nav a::after{left:16px;right:16px}
  .plate-nav a:first-child::after{left:0}
}
}
html{scroll-behavior:smooth}
[id^="r-"],[id^="d-"],[id^="b-"]{scroll-margin-top:26px}

/* ── Interior masthead ────────────────────────────────────────────────
   The homepage hero — full photograph with a limewash card floating over
   it — is an ARRIVAL device, and it loses its meaning if every page uses
   it. Interior pages invert the order instead: the title is set on bare
   plaster, a cut rule closes it, and the photograph follows as a wide
   letterbox strip. Same materials, opposite rhythm, so you can feel
   whether you are arriving or reading.
   ─────────────────────────────────────────────────────────────────────── */
.masthead{position:relative}
.mast-inner{padding:38px 24px 26px;position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 34px;align-items:end}
.mast-index{font-family:'IBM Plex Mono',monospace;font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:#6A6449;text-align:right;white-space:nowrap}
.mast-inner.mast-portrait{grid-template-columns:minmax(0,1fr) 340px;align-items:end}
.mast-inner > .well{align-self:end}
.mast-strip{width:100%;aspect-ratio:24/9;background-size:cover;background-position:center;position:relative}
.mast-strip::after{content:'';position:absolute;inset:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(35,40,56,.16)}
@media (max-width:699px){
  .mast-inner,.mast-inner.mast-portrait{padding:26px 16px 20px;grid-template-columns:minmax(0,1fr)}
  .mast-inner > .well{max-width:none}
  .mast-index{text-align:left}
  .mast-strip{aspect-ratio:3/2}
}

/* ── Credibility strip ────────────────────────────────────────────────── */
.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid rgba(35,40,56,.18)}
/* Unit pages carry four marks, not five; the track count has to match the
   child count or the last cell orphans onto a row of its own. */
.stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{padding:16px;position:relative}
.stat + .stat::before{content:'';position:absolute;left:0;top:0;bottom:0;width:1px;background:rgba(35,40,56,.14);transform:scaleY(0);transform-origin:top;transition:transform 700ms cubic-bezier(.16,.84,.28,1)}
.stat.go + .stat::before,.stats.go .stat + .stat::before{transform:scaleY(1)}
.stats .stat:nth-child(2)::before{transition-delay:90ms}
.stats .stat:nth-child(3)::before{transition-delay:180ms}
.stats .stat:nth-child(4)::before{transition-delay:270ms}
.stats .stat:nth-child(5)::before{transition-delay:360ms}

/* ── The four stat marks ──────────────────────────────────────────────
   Each is the ink of its own number at 40–55%, under 12px, on a cycle
   slow enough to read as breathing rather than as UI. Never a new hue.
   ─────────────────────────────────────────────────────────────────────── */
.fx{display:inline-block;vertical-align:.14em;margin-left:9px}
@keyframes fxSpin{to{transform:rotate(360deg)}}
@keyframes fxDrift{from{background-position:0 0}to{background-position:14px 0}}
@keyframes fxBuild{0%{transform:scaleY(.16)}38%{transform:scaleY(1)}88%{transform:scaleY(1)}100%{transform:scaleY(.16)}}
.fx-star{width:9px;height:9px;background:#232838;opacity:.5;animation:fxSpin 26s linear infinite;
  clip-path:polygon(50% 0,57% 43%,100% 50%,57% 57%,50% 100%,43% 57%,0 50%,43% 43%)}
.fx-sand{width:26px;height:9px;opacity:.46;animation:fxDrift 9s linear infinite;
  background-image:radial-gradient(circle at 1px 1px,#232838 .55px,transparent .65px);background-size:3.5px 3.5px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 34%,#000 66%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 34%,#000 66%,transparent)}
.fx-clock{width:11px;height:11px;border:1px solid rgba(35,40,56,.5);border-radius:50%;position:relative}
.fx-clock::after{content:'';position:absolute;left:calc(50% - .5px);top:calc(50% - 3.6px);width:1px;height:3.6px;
  background:#232838;opacity:.75;transform-origin:50% 100%;animation:fxSpin 90s steps(12,end) infinite}
.fx-build{display:inline-flex;align-items:flex-end;gap:1.5px;height:10px}
.fx-build i{display:block;width:2.5px;height:10px;background:#232838;opacity:.45;transform-origin:bottom;
  animation:fxBuild 6.4s cubic-bezier(.16,.84,.28,1) infinite}
.fx-build i:nth-child(2){animation-delay:.42s}
.fx-build i:nth-child(3){animation-delay:.84s}
/* Booking.com 8.3 — a scale of ten with the mark drawn to 8.3 of it. The
   earlier five-bar meter was arbitrary; this IS the number, so it reads as
   information rather than decoration. It draws once and holds: a score is a
   settled fact, not something that should oscillate. */
.fx-score{width:30px;height:8px;position:relative;vertical-align:.06em}
.fx-score::before{content:'';position:absolute;left:0;top:3px;width:100%;height:1.5px;background:rgba(35,40,56,.15)}
.fx-score::after{
  content:'';position:absolute;left:0;top:3px;height:1.5px;width:83%;
  background:#232838;opacity:.5;transform-origin:left;
  transition:transform 1400ms cubic-bezier(.16,.84,.28,1) 240ms,background 420ms ease,opacity 420ms ease;
}
html.js .fx-score::after{transform:scaleX(0)}
html.js .stats.go .fx-score::after,html.js .stats.done .fx-score::after{transform:scaleX(1)}
.stat-link:hover .fx-score::after{background:#2E3D6B;opacity:1}

/* ── Cards ────────────────────────────────────────────────────────────
   No lift on hover: the shadow deepens and the photograph settles. The
   broken chalk rule above the price completes itself while you weigh it.
   ─────────────────────────────────────────────────────────────────────── */
.card{
  display:block;min-width:0;color:#232838;border:1px solid rgba(35,40,56,.18);
  transition:box-shadow 520ms cubic-bezier(.16,.84,.28,1);
}
.card:hover{box-shadow:0 10px 26px rgba(35,40,56,.16)}
/* .card is declared AFTER .ink and both are single-class, so a bare
   `color:inherit` here silently pulled body ink #232838 onto a #232838
   panel and made the whole dark card unreadable. Restate the light ink
   for dark cards rather than recolouring each child. */
.card.ink,.card-dark,.card.ink:hover,.card-dark:hover{color:#FBF6EA}
.card-body{padding:14px 15px 16px}
/* equal-height cards: the price row sits on the card floor, so CTAs line up across a row */
.card{display:flex;flex-direction:column}
.card-body{flex:1 1 auto;display:flex;flex-direction:column}
.card-body > .chalk{margin-top:auto}
.card-body > .spec{margin-bottom:14px}
.card-dark{border-color:#232838}
.card-dark:hover{box-shadow:0 10px 26px rgba(0,0,0,.34)}
.spec{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:12px;font-size:11px;line-height:1.45}
.spec td{padding:6px 0;border-bottom:1px solid rgba(35,40,56,.13)}
.spec tr:last-child td{border-bottom:0}
.spec td:first-child{font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;color:#6A6449}
.spec td:last-child{text-align:right;overflow-wrap:break-word}
.ink .spec td,.card-dark .spec td{border-bottom-color:rgba(251,246,234,.18)}
.card-dark .spec td:first-child{color:#A8B0C8}
/* the broken chalk price rule */
.chalk{
  margin-top:14px;padding-top:14px;position:relative;
  /* wraps rather than forcing a min-content width: an unwrappable price+CTA
     row sets a hard floor for the card, and a narrow card then pushes past
     its container. */
  display:flex;align-items:flex-end;justify-content:space-between;
  flex-wrap:wrap;gap:10px;
  background-image:repeating-linear-gradient(90deg,rgba(35,40,56,.9) 0 5px,rgba(35,40,56,.3) 5px 7px);
  background-size:100% 1.5px;background-repeat:no-repeat;background-position:top;
}
.chalk > div{min-width:0}
.chalk::after{content:'';position:absolute;left:0;top:0;height:1.5px;width:100%;background:#232838;
  transform:scaleX(0);transform-origin:left;transition:transform 620ms cubic-bezier(.16,.84,.28,1)}
.card:hover .chalk > div{min-width:0}
.chalk::after{transform:scaleX(1)}
.card-dark .chalk{background-image:repeating-linear-gradient(90deg,rgba(168,176,200,.95) 0 5px,rgba(168,176,200,.35) 5px 7px)}
.card-dark .chalk > div{min-width:0}
.chalk::after{background:#A8B0C8}
.price{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:21px;line-height:1}
.price-sub{font-family:'IBM Plex Mono',monospace;font-size:9.5px;color:#4C5266;margin-top:5px}
.card-dark .price-sub{color:#A8B0C8}
.tag{font-size:8px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:#6A6449}
.tag-red{color:#C8202B}
.tag-blue{color:#2E3D6B}
.card-dark .tag{color:#A8B0C8}

/* ── Surface bands ───────────────────────────────────────────────────
   The homepage was monotonous because every chapter sat on the same
   ground with the same two-column recipe. These give the page a rhythm
   of surfaces: ground → limewash → ground, with one ink band for the
   quotes. Full-bleed, hairline-separated, and each carries its own
   texture layer so the plaster reads through.
   ─────────────────────────────────────────────────────────────────────── */
.band-lime{
  border-top:1px solid rgba(35,40,56,.16);
  border-bottom:1px solid rgba(35,40,56,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  padding:44px 24px 46px;position:relative;
}
.band-ink{padding:48px 24px 50px;position:relative}
.band-ink .quote{color:#FBF6EA}
.band-ink .quote-by{color:#A8B0C8}
.band-ink .faq-item{border-bottom-color:rgba(251,246,234,.18)}
.band-ink .faq-q{color:#FBF6EA}
.band-ink .faq-q::before,.band-ink .faq-q::after{background:#C8D2EE}
.band-ink .chap-num{color:#8A93AD}

/* a stat that links out should say so */
.stat-link{display:block;color:inherit;position:relative}
.stat-link .num{transition:color 420ms cubic-bezier(.16,.84,.28,1)}
.stat-link::after{
  content:'';position:absolute;left:0;bottom:-2px;height:1px;width:100%;
  background:#2E3D6B;transform:scaleX(0);transform-origin:left;
  transition:transform 460ms cubic-bezier(.16,.84,.28,1);
}
.stat-link:hover{color:inherit}
.stat-link:hover .num{color:#2E3D6B}
.stat-link:hover::after{transform:scaleX(1)}
.stat-link .out{
  display:inline-block;margin-left:6px;font-size:9px;color:#2E3D6B;
  opacity:0;transform:translateX(-3px);
  transition:opacity 420ms ease,transform 420ms cubic-bezier(.16,.84,.28,1);
}
.stat-link:hover .out{opacity:1;transform:translateX(0)}

/* the sub-nav scrolls rather than navigating, so the target card has to
   announce itself — otherwise the jump reads as nothing happening */
.card{scroll-margin-top:26px}
.card:target{box-shadow:0 0 0 2px #2E3D6B,0 10px 26px rgba(35,40,56,.18)}
.card:target .chalk::after{transform:scaleX(1)}

/* ── Capulana band ────────────────────────────────────────────────────
   CSS, not a photograph. The band is cream-grounded so the page's own
   limewash reads through the pattern and it belongs to the wall; a navy
   photograph lands as an object placed on top. Drawn from the left once.
   ─────────────────────────────────────────────────────────────────────── */
.band{
  height:22px;transform-origin:left;
  background-size:3px 3px,3px 3px,22px 22px;
  background-image:
    repeating-linear-gradient(0deg,rgba(35,40,56,.14) 0 1px,transparent 1px 3px),
    repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 1px,transparent 1px 3px),
    repeating-radial-gradient(circle at 11px 11px,#1B3F8F 0 3.5px,#FBF6EA 3.5px 6px,#C8202B 6px 8.5px,#FBF6EA 8.5px 11px);
}
.band-mt{margin-top:34px}

/* ── Enquiry block + footer ───────────────────────────────────────────── */
.booking{padding:34px 24px 30px;position:relative}
.booking-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:34px;align-items:start;position:relative;z-index:2}
.panel{border:1px solid rgba(251,246,234,.25);padding:20px 18px}
.amen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 14px;font-size:11px;line-height:1.45}
/* ── Footer ────────────────────────────────────────────────────────────
   Four columns of 11px links was a sitemap, not a footer: sixteen links,
   three near-identical headings, nothing to look at. It now carries ONE
   focal pair — the house name and the number you actually call — with the
   navigation demoted to a single quiet mono line beneath a hairline.
   Fewer things, more air, and one clear hierarchy.
   ───────────────────────────────────────────────────────────────── */
.foot{padding:44px 24px 30px;position:relative;border-top:1px solid rgba(251,246,234,.28)}
.foot-top{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:34px;
  align-items:end;position:relative;z-index:2}
.foot-brand{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:40px;
  line-height:1.03;letter-spacing:.004em;color:#FBF6EA}
.foot-reach{text-align:right}
.foot-wa{display:block;margin-top:11px;font-family:Newsreader,Georgia,serif;font-weight:200;
  font-size:28px;line-height:1.1;color:#FBF6EA;text-decoration:none;
  transition:color 460ms cubic-bezier(.16,.84,.28,1)}
.foot-wa:hover{color:#C8D2EE}
.foot-mail{display:block;margin-top:9px;font-family:'IBM Plex Mono',monospace;
  font-size:11px;letter-spacing:.06em;color:#DCD3C0;text-decoration:none}
.foot-mail:hover{color:#FBF6EA}
.foot-note a{color:#DCD3C0;text-decoration:none;transition:color 460ms cubic-bezier(.16,.84,.28,1)}
.foot-note a:hover{color:#FBF6EA}
.foot-note{margin-top:44px;padding-top:16px;border-top:1px solid rgba(251,246,234,.2);
  display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;position:relative;z-index:2}

/* ── Enquiry form ─────────────────────────────────────────────────────
   Flat fields, one rule under each: the same cut-edge logic as the page.
   ─────────────────────────────────────────────────────────────────────── */
.form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 18px}
.field{display:flex;flex-direction:column;gap:6px}
.field.wide{grid-column:1/-1}
.field label{font-size:8.5px;letter-spacing:.16em;text-transform:uppercase;color:#6A6449}
.field input,.field select,.field textarea{
  font-family:Archivo,sans-serif;font-size:13px;color:#232838;background:transparent;
  border:0;border-bottom:1px solid rgba(35,40,56,.35);padding:8px 0;border-radius:0;
  transition:border-color 320ms ease;
}
.field textarea{resize:vertical;min-height:76px}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-bottom-color:#2E3D6B}
.form-note{font-size:10.5px;line-height:1.7;color:#6A6449;grid-column:1/-1}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-item{border-bottom:1px solid rgba(35,40,56,.16)}
.faq-q{
  width:100%;text-align:left;background:none;border:0;cursor:pointer;
  padding:16px 30px 16px 0;position:relative;
  font-family:Newsreader,Georgia,serif;font-weight:400;font-size:17px;line-height:1.3;color:#232838;
}
.faq-q::after{
  content:'';position:absolute;right:6px;top:50%;width:9px;height:1px;background:#2E3D6B;
  transition:transform 420ms cubic-bezier(.16,.84,.28,1);
}
.faq-q::before{
  content:'';position:absolute;right:6px;top:50%;width:9px;height:1px;background:#2E3D6B;
  transform:rotate(90deg);transition:transform 420ms cubic-bezier(.16,.84,.28,1);
}
.faq-item.open .faq-q::before{transform:rotate(0deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height 560ms cubic-bezier(.16,.84,.28,1)}
.faq-a > div{padding:0 40px 18px 0}

/* ── FAQ layout ─────────────────────────────────────────────────────── */
.faq-wrap{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:40px;align-items:start}
.faq-wrap .faq-aside{position:sticky;top:26px}

/* ── Reviews ──────────────────────────────────────────────────────────── */
.quote{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:19px;line-height:1.45;color:#232838;margin:0}
.quote-by{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#6A6449;margin-top:14px}

/* ── Gallery ──────────────────────────────────────────────────────────── */
.gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gal-item{border:0;padding:0;background:none;cursor:zoom-in;display:block;width:100%}
.gal-tall{grid-row:span 2}
.gal-wide{grid-column:span 2}
.lightbox{
  position:fixed;inset:0;z-index:80;background:rgba(23,20,16,.96);
  display:flex;align-items:center;justify-content:center;padding:40px;
  opacity:0;pointer-events:none;transition:opacity 520ms cubic-bezier(.16,.84,.28,1);
}
.lightbox.open{opacity:1;pointer-events:auto}
.lightbox img{max-height:86vh;max-width:100%;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lb-close,.lb-prev,.lb-next{
  position:absolute;background:none;border:0;color:#FBF6EA;cursor:pointer;
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;padding:14px;
}
.lb-close{top:14px;right:18px}
.lb-prev{left:12px;top:50%;font-size:26px}
.lb-next{right:12px;top:50%;font-size:26px}
.lb-cap{position:absolute;bottom:18px;left:0;right:0;text-align:center;
  font-family:'IBM Plex Mono',monospace;font-size:9.5px;letter-spacing:.1em;color:#A8B0C8}

/* ── Scrapbook ────────────────────────────────────────────────────────
   The gallery is the one page with no argument to make, so it drops the
   masthead and the chapter apparatus entirely and behaves like a table of
   prints: photographs laid out by hand, each on its own paper card, each
   sitting at a slightly different angle.

   The rotations are per-item and under 1.2deg — the same discipline as the
   painted arrow signs in the Setas direction. Past a degree or so it stops
   reading as "placed by hand" and starts reading as a scrapbook template.
   ─────────────────────────────────────────────────────────────────────── */
.scrap{
  columns:3;column-gap:22px;
  padding:34px 24px 8px;
}
.print{
  position:relative;background:#FBF6EA;padding:10px 10px 0;
  break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 26px;
  box-shadow:0 1px 0 rgba(255,255,255,.8),0 10px 24px rgba(35,40,56,.13),0 2px 5px rgba(35,40,56,.09);
  border:0;cursor:zoom-in;display:block;width:100%;text-align:left;
  transition:transform 720ms cubic-bezier(.16,.84,.28,1),box-shadow 720ms cubic-bezier(.16,.84,.28,1);
  transform:rotate(var(--tilt,0deg));
}
.print:hover{
  transform:rotate(0deg) translateY(-5px);
  box-shadow:0 1px 0 rgba(255,255,255,.9),0 22px 44px rgba(35,40,56,.2),0 4px 9px rgba(35,40,56,.1);
  z-index:5;
}
.print .well{width:100%}
.print figcaption{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:11px 2px 12px;font-family:'IBM Plex Mono',monospace;font-size:9.5px;
  letter-spacing:.06em;color:#6A6449;
}
.print figcaption b{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:14px;letter-spacing:0;color:#232838}
/* No alpha on functional text. #6A6449 at full opacity is 5.51:1 on paper;
   the opacity:.75 that used to sit here computed to 3.26:1 — the same failure
   mode as the label-token darkening, except the token was fine and the alpha
   on top of it was doing the damage. The number reads quieter than the title
   through size and tracking, not transparency. */
.print .no{white-space:nowrap;letter-spacing:.16em}
/* the tape holding each print to the page */
.print::before{
  content:'';position:absolute;top:-9px;left:50%;width:52px;height:17px;
  transform:translateX(-50%) rotate(var(--tape,-1.4deg));
  background:rgba(214,203,176,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  transition:opacity 520ms ease;pointer-events:none;
}
.print:hover::before{opacity:.55}
/* a print develops on scroll, then settles onto its own angle */
html.js .print{opacity:0;transform:rotate(var(--tilt,0deg)) translateY(16px)}
html.js .print.go{opacity:1;transform:rotate(var(--tilt,0deg))}
.print{transition:transform 720ms cubic-bezier(.16,.84,.28,1),box-shadow 720ms cubic-bezier(.16,.84,.28,1),opacity 900ms cubic-bezier(.16,.84,.28,1)}
html.js .print.done{opacity:1 !important;transform:rotate(var(--tilt,0deg)) !important}
/* hover must still win over the settled state */
html.js .print.done:hover{transform:rotate(0deg) translateY(-5px) !important}

/* the plate a scrapbook sits on: a slip of capulana at the head of the page */
.scrap-head{padding:26px 24px 0;display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap}
.scrap-note{font-family:'IBM Plex Mono',monospace;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:#6A6449}

/* the first print in each column drops a little, so the top edge of the page
   is not a straight line of three cards — the only offset a column flow needs */
.scrap > .print:nth-child(2){margin-top:26px}
.scrap > .print:nth-child(3){margin-top:12px}

@media (max-width:999px){
  .scrap{columns:2;column-gap:18px;padding:28px 20px 8px}
  .scrap > .print{margin-bottom:22px}
  .scrap > .print:nth-child(2){margin-top:22px}
  .scrap > .print:nth-child(3){margin-top:0}
}
@media (max-width:699px){
  .scrap{columns:2;column-gap:14px;padding:22px 16px 8px}
  .scrap > .print{margin-bottom:14px}
  .scrap > .print:nth-child(2){margin-top:14px}
  .print{padding:7px 7px 0}
  .print::before{width:40px;height:13px;top:-7px}
  .print figcaption{font-size:8.5px;padding:9px 1px 10px}
  .print figcaption b{font-size:12.5px}
}

/* ── Route / directions board ─────────────────────────────────────────── */
.route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid rgba(35,40,56,.18)}
.step{padding:14px;border-right:1px solid rgba(35,40,56,.14);border-bottom:1px solid rgba(35,40,56,.14)}
.step-hl{background-color:#EDE3CE}
.notes{display:flex;border:1px solid rgba(35,40,56,.18);margin-top:16px}
.note{padding:13px 15px;border-right:1px solid rgba(35,40,56,.18);font-size:11.5px;line-height:1.65;flex:1}
.note:last-child{border-right:0}

/* ── Menu list (dining) ───────────────────────────────────────────────── */
.menu-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline;
  padding:11px 0;border-bottom:1px solid rgba(35,40,56,.13)}
.menu-row:last-child{border-bottom:0}
.menu-desc{font-size:11.5px;line-height:1.6;color:#4C5266;margin-top:4px}

/* ── Card rail ───────────────────────────────────────────────────────
   Five room types, three in view. A snap rail rather than a 5-up grid:
   at 5 columns each card is too narrow for the photograph to work, and
   the client wants every room to have a card.
   ─────────────────────────────────────────────────────────────────────── */
.rail-cards{
  display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);
  gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:6px;scrollbar-width:none;-ms-overflow-style:none;
}
.rail-cards > *{scroll-snap-align:start;min-width:0}
.rail-cards::-webkit-scrollbar{display:none}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}
.stars{display:flex;gap:4px;margin-bottom:12px}
.stars i{width:10px;height:10px;background:#232838;opacity:.62;
  clip-path:polygon(50% 0,61% 36%,100% 38%,69% 61%,80% 100%,50% 76%,20% 100%,31% 61%,0 38%,39% 36%)}
.band-ink .stars i{background:#FBF6EA;opacity:.78}
.rate-lead{
  padding:20px 22px;border:1px solid rgba(35,40,56,.22);
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;
}
.rate-lead .rl-big{font-family:Newsreader,Georgia,serif;font-weight:200;font-size:46px;line-height:1;color:#232838}
.rate-lead .rl-zar{font-family:'IBM Plex Mono',monospace;font-size:11px;color:#6A6449;margin-top:9px}
.rate-lead .rl-right{text-align:right}
@media (max-width:520px){.rate-lead{flex-direction:column;align-items:flex-start}.rate-lead .rl-right{text-align:left}}
.rate-table td:last-child{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#232838}
.rate-table tr:first-child td{border-bottom-width:2px;border-bottom-color:rgba(35,40,56,.3)}
.rate-table tr:first-child td:last-child{color:#232838;font-weight:500}
/* ── Review slider ────────────────────────────────────────────────────
   Native scroll with snap; the arrows are a convenience, not the only
   way through. One card per click, both directions. */
.rev-rail{display:flex;align-items:flex-start;gap:26px;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
.rev-rail::-webkit-scrollbar{display:none}
/* Each review is a column under its own hairline: rule, stars, quote,
   then the name. Cards do not stretch, so a short review stays short. */
.rev{flex:0 0 min(100%,332px);scroll-snap-align:start;
  border-top:1px solid rgba(251,246,234,.26);padding-top:16px}
.rev .quote{font-size:19px;line-height:1.5;margin-top:13px}
.rev .quote-by{margin-top:13px}
.rev-src{display:block;font-family:'IBM Plex Mono',monospace;font-size:9px;
  letter-spacing:.14em;text-transform:uppercase;color:#8A93AD;margin-top:4px}
.slider-nav{display:flex;gap:10px;margin-top:22px}
.slider-nav button{width:38px;height:38px;border-radius:40px;background:transparent;
  border:1px solid rgba(251,246,234,.34);display:flex;align-items:center;justify-content:center;
  cursor:pointer;padding:0;transition:border-color 420ms cubic-bezier(.16,.84,.28,1)}
.slider-nav button:hover{border-color:#FBF6EA}
.slider-nav button[disabled]{opacity:.3;cursor:default}
.slider-nav button::before{content:'';width:8px;height:8px;
  border-top:1px solid #FBF6EA;border-right:1px solid #FBF6EA;transform:rotate(45deg);margin-left:-2px}
.slider-nav button[data-dir="-1"]::before{transform:rotate(-135deg);margin-left:0;margin-right:-2px}
.rail-wrap{position:relative}
.rail-arrow{
  position:absolute;top:50%;right:-6px;transform:translateY(-50%);
  width:34px;height:34px;border-radius:40px;background:#FBF6EA;
  border:1px solid rgba(35,40,56,.22);display:flex;align-items:center;justify-content:center;
  z-index:2;box-shadow:0 2px 10px rgba(35,40,56,.14);cursor:pointer;padding:0;
  transition:opacity 320ms cubic-bezier(.16,.84,.28,1)
}
.rail-arrow:hover{border-color:#2E3D6B}
.rail-arrow:hover::before{border-color:#2E3D6B}
.rail-arrow[hidden]{display:none}
.rail-arrow.rail-prev{left:-6px;right:auto}
.rail-arrow.rail-prev::before{transform:rotate(-135deg);margin-left:2px}
.rail-arrow::before{
  content:'';width:8px;height:8px;border-top:1px solid #232838;border-right:1px solid #232838;
  transform:rotate(45deg);margin-left:-2px
}
.rail-hint{
  display:flex;align-items:center;gap:9px;margin-top:10px;
  font-family:'IBM Plex Mono',monospace;font-size:9px;letter-spacing:.14em;
  text-transform:uppercase;color:#6A6449;
}
.rail-hint span{flex:1;height:1px;background:rgba(35,40,56,.16)}

/* ── Motion ───────────────────────────────────────────────────────────
   Every move is a material arriving — plaster, chalk, a ruled line, a
   photograph developing — or light changing on a surface. Nothing
   bounces, nothing counts up, NO ELEMENT TRANSLATES. One curve:
   cubic-bezier(.16,.84,.28,1). Reveals cap at 1100ms.

   Reveals are TRANSITIONS, never keyframe animations. A paused document
   (backgrounded tab, preview pane, embed) runs no CSS interpolation at
   all, and a keyframe reveal with fill-mode:both freezes at its HIDDEN
   frame — stranding content invisible forever. With a transition the .go
   class sets the final values directly: if it cannot animate, the
   element simply appears. Pre-states are additionally gated behind
   html.js, so with scripting off nothing is hidden at all.
   ─────────────────────────────────────────────────────────────────────── */
[data-anim]{}
.reveal-photo,.hero-card{transition:clip-path 1100ms cubic-bezier(.16,.84,.28,1),opacity 1100ms cubic-bezier(.16,.84,.28,1)}
html.js .hero-card{clip-path:inset(100% 0 0 0)}
html.js .hero-card.go{clip-path:inset(0 0 0 0)}
/* a photograph develops: a slow wipe up from the bottom edge, arriving at
   full density. it never slides and never zooms on entry. */
html.js .reveal-photo{clip-path:inset(0 0 100% 0);opacity:.5}
html.js .reveal-photo.go{clip-path:inset(0 0 0 0);opacity:1}
/* the four plates develop in sequence, left to right, like courses */
html.js .d1{transition-delay:120ms}
html.js .d2{transition-delay:240ms}
html.js .d3{transition-delay:360ms}
.reveal{transition:opacity 900ms cubic-bezier(.16,.84,.28,1)}
html.js .reveal{opacity:0}
html.js .reveal.go{opacity:1}
/* the emphasis device draws its own hairline, once */
.rule{position:relative}
.rule::after{content:'';position:absolute;left:0;right:0;bottom:-.06em;height:1px;background:currentColor;
  opacity:.42;transform-origin:left;transition:transform 820ms cubic-bezier(.16,.84,.28,1) 320ms}
html.js .rule::after{transform:scaleX(0)}
html.js .rule.go::after,html.js .go .rule::after{transform:scaleX(1)}
/* the capulana is drawn across the page from the left, once */
.band{transition:transform 1100ms cubic-bezier(.16,.84,.28,1)}
html.js .band{transform:scaleX(0)}
html.js .band.go{transform:scaleX(1)}
/* Settled state, written by JS once the reveal has had its moment.
   `transition:none` is the point: adding a class that changes a transitioned
   property re-enters the transition, and a paused document (backgrounded tab,
   preview pane, embed) never interpolates it — so the settle would freeze at
   the hidden value, which is the very thing this rule exists to prevent. By
   the time .done is applied the reveal has already played, so cancelling the
   transition here costs nothing and makes the end state unconditional. */
html.js .done{transition:none !important;clip-path:none !important;opacity:1 !important;transform:none !important}
html.js .done::after{transform:none !important;transition:none !important}
html.js .band.done{transform:scaleX(1) !important}
html.js .rule.done::after{transform:scaleX(1) !important}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  html.js .reveal,html.js .reveal-photo{opacity:1;clip-path:none}
  html.js .hero-card{clip-path:none}
  html.js .band{transform:scaleX(1)}
  html.js .rule::after{transform:scaleX(1)}
  html.js .print{opacity:1;transform:rotate(var(--tilt,0deg))}
  html.js .chips .chip::before{transform:scale(1)}
  .stat + .stat::before{transform:scaleY(1)}
  html.js .fx-score::after{transform:scaleX(1)}
  .bay{opacity:.92}
  .fx-build i{transform:scaleY(1)}
}

/* ═══ Tablet ═══════════════════════════════════════════════════════════ */
@media (max-width:999px){
  .nav-links{display:none}
  .burger{display:flex}
  .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stats .stat:nth-child(4)::before,.stats .stat:nth-child(5)::before{display:none}
  .stat:nth-child(4),.stat:nth-child(5){border-top:1px solid rgba(35,40,56,.14)}
  .stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats-4 .stat:nth-child(3)::before{display:none}
  .stats-4 .stat:nth-child(3),.stats-4 .stat:nth-child(4){border-top:1px solid rgba(35,40,56,.14)}
  .grid4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .rail-cards{grid-auto-columns:calc((100% - 16px)/2)}
  .booking-grid,.faq-wrap{grid-template-columns:minmax(0,1fr);gap:24px}
  .faq-wrap .faq-aside{position:static}
  .gal{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* ═══ Mobile ═══════════════════════════════════════════════════════════
   Not a shrunk desktop. The handrail leaves the margin and becomes a
   horizontal divider; the hero card stops overlaying the photograph and
   sits beneath it, so the image is never cropped to nothing; grids go to
   one column; every tap target clears 44px.
   ─────────────────────────────────────────────────────────────────────── */
@media (max-width:699px){
  .section,.section-lg{padding:32px 16px 0}
  .pad{padding-left:16px;padding-right:16px}
  .nav{padding:13px 16px}
  .util{padding:0 16px;font-size:8px;letter-spacing:.14em}
  .util .util-hide{display:none}
  .h1{font-size:32px}
  .h2{font-size:26px}
  .body,.body-lg{font-size:13.5px}

  .hero{height:auto;background:none}
  .hero::before{position:relative;display:block;height:280px;inset:auto}
  .hero-card{position:relative;left:auto;bottom:auto;width:auto;max-width:none;
    margin:-40px 16px 0;box-shadow:0 4px 12px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.9)}
  .hero-sm .hero-card{width:auto}

  .chapters{grid-template-columns:minmax(0,1fr)}
  .rail{flex-direction:row;justify-content:flex-start;gap:0;border-right:0;box-shadow:none;
    border-bottom:1px solid rgba(35,40,56,.18);padding:0 16px 0;height:26px;align-items:center}
  .rail .label{writing-mode:horizontal-tb;margin:0 12px 0 0}
  .rail::before,.rail::after{display:none}
  .bay{width:26px;height:14px;border-bottom-width:1px}
  .bay:first-of-type{border-top-width:1px}

  .grid2,.grid3,.grid4,.split,.split-l,.faq-wrap{grid-template-columns:minmax(0,1fr);gap:16px}
  .faq-wrap .faq-aside{position:static}
  .band-lime,.band-ink{padding:32px 16px 34px}
  .rail-cards{grid-auto-columns:78%;margin:0 -16px;padding:0 16px 6px}
  .stats,.stats-4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .stats .stat::before{display:none}
  .stat{border-top:1px solid rgba(35,40,56,.14)}
  .stat:nth-child(1),.stat:nth-child(2){border-top:0}
  .form{grid-template-columns:minmax(0,1fr)}
  .foot-top{grid-template-columns:minmax(0,1fr);gap:24px}
  .foot-reach{text-align:left}
  .foot{padding:38px 16px 24px}
  .foot-brand{font-size:31px}
  .foot-wa{font-size:23px}

  .route,.notes{grid-template-columns:minmax(0,1fr);display:grid}
  .note{border-right:0;border-bottom:1px solid rgba(35,40,56,.18)}
  .note:last-child{border-bottom:0}
  .gal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .gal-tall{grid-row:span 1}
  .gal-wide{grid-column:span 2}
  .pill,.pill-light{padding:16px 22px}
  .faq-q{font-size:16px;padding:15px 30px 15px 0}
  .lightbox{padding:16px}
  .lb-prev,.lb-next{font-size:22px;padding:18px 10px}
  /* a scrollable rail of rooms reads better than a stack of tall cards */
  .scroller{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    margin:0 -16px;padding:0 16px 4px;-webkit-overflow-scrolling:touch}
  .scroller > *{flex:0 0 78%;scroll-snap-align:start}
  .scroller::-webkit-scrollbar{display:none}
}


/* ── Hand-drawn ink · Bilene ──────────────────────────────────────────
   The family paint their own arrow signs and the Contact map is drawn
   rather than embedded. This is that same hand, extended to the lagoon
   plan, the activity glyphs and the dune band.

   Strokes DRAW rather than fade. pathLength="1" normalises every path so
   one dash rule covers all of them regardless of length, and the hidden
   pre-state is gated behind html.js exactly like every other reveal on
   this site: a backgrounded document interpolates nothing, so an ungated
   pre-state is how a drawing turns into a blank frame. site.js writes
   .done, so the ink is guaranteed to arrive.
   ───────────────────────────────────────────────────────────────── */
.hand{display:block;width:100%;height:auto;overflow:visible}
/* NO vector-effect here: non-scaling-stroke computes the dash pattern in
   rendered space, which throws away the pathLength="1" normalisation and
   leaves every drawn stroke stopping part-way. Stroke width in user units. */
.hand path,.hand circle{fill:none;stroke:#232838;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hand .thin{stroke:#6A6449;stroke-width:1}
/* the lagoon's fill is the same 118 degree chart hatching as the image wells,
   so no new hue enters the page. It fades with the section rather than
   drawing, because a fill has no stroke to dash. */
.hand .wash{opacity:0;transition:opacity 1100ms cubic-bezier(.16,.84,.28,1) 200ms}
html.js .done .wash,.done .wash{opacity:1}
html:not(.js) .hand .wash{opacity:1}
.hand .accent{stroke:#2E3D6B}
.hand text{font-family:'IBM Plex Mono',monospace;font-size:9px;letter-spacing:.13em;fill:#4C5266;stroke:none}
.hand .cap{font-size:10.5px;letter-spacing:.15em;fill:#232838}
.hand .figure{font-family:Newsreader,Georgia,serif;font-size:18px;letter-spacing:.02em;fill:#8A7F66}
.draw{transition:stroke-dashoffset 1100ms cubic-bezier(.16,.84,.28,1)}
html.js .draw{stroke-dasharray:1;stroke-dashoffset:1}
/* must out-specify html.js .draw above, exactly like .done's transform reset */
html.js .done .draw,.done .draw{stroke-dashoffset:0}
.done .d2{transition-delay:110ms}
.done .d3{transition-delay:230ms}
.done .d4{transition-delay:350ms}
.done .d5{transition-delay:470ms}
.map-note{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:10px;padding-top:9px;border-top:1px solid rgba(35,40,56,.18);box-shadow:0 1px 0 rgba(255,255,255,.6)}

/* one ink glyph per activity. 28px, two or three strokes, no fill — the
   same weight as the drawn rail, so they read as marks not as icon-font
   pictograms. The ink turns indigo under the cursor; nothing moves. */
/* the stroke lives on the <svg> itself, not on its paths: <use> clones the
   symbol into a shadow tree that .glyph path cannot select, but inheritable
   properties still reach it. */
.glyph{width:28px;height:28px;overflow:visible;display:block;margin-bottom:11px;
  fill:none;stroke:#232838;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;
  transition:stroke 460ms cubic-bezier(.16,.84,.28,1)}
.act:hover .glyph{stroke:#2E3D6B}

/* the painted arrow sign: the one thing on this site that is deliberately
   off-square. The rotation sits on the sign itself and NOT on the .reveal
   wrapper, because .done writes transform:none. */
.sign{display:inline-block;background:#FBF6EA;border:1px solid rgba(35,40,56,.5);
  padding:8px 13px 7px;transform:rotate(-2.2deg);box-shadow:2px 3px 0 rgba(35,40,56,.09)}
.sign .mono{color:#232838;letter-spacing:.15em}
/* ── Postcards (Bilene) ───────────────────────────────────────────────
   A pinned collection rather than a grid of panels. The resting tilt sits
   on .pc-in and NOT on the .reveal wrapper, because .done writes
   transform:none. Hover straightens the card; nothing translates. */
.postcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,236px),1fr));gap:30px 24px}
.pc{position:relative}
.pc-in{cursor:default}
.pc-in{
  position:relative;border:1px solid rgba(35,40,56,.22);padding:15px 16px 17px;
  box-shadow:2px 4px 0 rgba(35,40,56,.07);
  transform:rotate(var(--tilt,0deg));
  transition:transform 620ms cubic-bezier(.16,.84,.28,1),box-shadow 620ms cubic-bezier(.16,.84,.28,1);
}
.pc:hover .pc-in{transform:rotate(0deg);box-shadow:3px 7px 0 rgba(35,40,56,.11)}
.pc-in::before{
  content:'';position:absolute;top:-9px;left:50%;width:58px;height:17px;
  margin-left:-29px;background:rgba(138,127,102,.2);
  border-left:1px solid rgba(35,40,56,.1);border-right:1px solid rgba(35,40,56,.1);
  transform:rotate(var(--tape,-1.6deg));
}
.pc .well{margin-bottom:13px}
/* Each glyph moves the way its subject moves. Slow, small, one easing
   curve; the drawing is an ink stroke, not a mascot. */
.pc .glyph{margin-bottom:10px}
.pc:hover .glyph{stroke:#2E3D6B}
.a-fly{transform-origin:50% 90%}
.a-flow,.a-glow{transform-origin:50% 50%}
.a-bob,.a-ride,.a-rest{transform-origin:50% 80%}
.a-swim{transform-origin:80% 50%}
.a-crawl{transform-origin:50% 60%}
.a-wade{transform-origin:50% 95%}
.pc:hover .a-fly,.pc:focus-within .a-fly{animation:gFly 2.6s cubic-bezier(.16,.84,.28,1) infinite}
.pc:hover .a-flow,.pc:focus-within .a-flow{animation:gFlow 2.4s cubic-bezier(.16,.84,.28,1) infinite}
.pc:hover .a-bob,.pc:focus-within .a-bob{animation:gBob 2.2s cubic-bezier(.16,.84,.28,1) infinite}
.pc:hover .a-swim,.pc:focus-within .a-swim{animation:gSwim 2.4s cubic-bezier(.3,0,.2,1) infinite}
.pc:hover .a-crawl,.pc:focus-within .a-crawl{animation:gCrawl 4s cubic-bezier(.5,0,.5,1) infinite}
.pc:hover .a-wade,.pc:focus-within .a-wade{animation:gWade 2.8s cubic-bezier(.16,.84,.28,1) infinite}
.pc:hover .a-ride,.pc:focus-within .a-ride{animation:gRide 1.1s linear infinite}
.pc:hover .a-glow,.pc:focus-within .a-glow{animation:gGlow 2.6s cubic-bezier(.16,.84,.28,1) infinite}
.pc:hover .a-rest,.pc:focus-within .a-rest{animation:gRest 3s cubic-bezier(.16,.84,.28,1) infinite}
/* a kite: swings up on an arc, falls back faster than it rose */
@keyframes gFly{0%{transform:translate(-5px,3px) rotate(-16deg)}55%{transform:translate(5px,-7px) rotate(16deg)}100%{transform:translate(-5px,3px) rotate(-16deg)}}
/* a kayak: travels across the frame and rocks with the stroke */
@keyframes gFlow{0%{transform:translateX(-6px) rotate(-4deg)}50%{transform:translateX(6px) rotate(4deg)}100%{transform:translateX(-6px) rotate(-4deg)}}
/* a moored boat: rides the swell, vertical only, no travel */
@keyframes gBob{0%,100%{transform:translateY(4px)}50%{transform:translateY(-4px)}}
/* a fish: two quick beats forward, then a long glide back */
@keyframes gSwim{0%{transform:translateX(6px) rotate(3deg)}18%{transform:translateX(-2px) rotate(-4deg)}34%{transform:translateX(-7px) rotate(4deg)}100%{transform:translateX(6px) rotate(3deg)}}
/* a turtle: hauls one stroke, rests, hauls again */
@keyframes gCrawl{0%,12%{transform:translateX(-5px) rotate(-3deg)}40%{transform:translateX(0) rotate(3deg)}52%,68%{transform:translateX(0) rotate(3deg)}96%,100%{transform:translateX(-5px) rotate(-3deg)}}
/* a wading bird: lifts a leg, holds, sets it down */
@keyframes gWade{0%,20%{transform:translateY(0) rotate(0deg)}38%{transform:translateY(-5px) rotate(-7deg)}58%{transform:translateY(-5px) rotate(-7deg)}76%,100%{transform:translateY(0) rotate(0deg)}}
/* a quad over ruts: a hard fast judder, never smooth */
@keyframes gRide{0%{transform:translateY(0) rotate(0deg)}15%{transform:translateY(-5px) rotate(5deg)}30%{transform:translateY(2px) rotate(-2deg)}45%{transform:translateY(-3px) rotate(4deg)}60%{transform:translateY(2px) rotate(-3deg)}80%{transform:translateY(-1px) rotate(1deg)}100%{transform:translateY(0) rotate(0deg)}}
/* the sun: breathes, no rotation, no travel */
@keyframes gGlow{0%,100%{transform:scale(.9)}50%{transform:scale(1.12)}}
/* a carried basket: one slow pendulum swing */
@keyframes gRest{0%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}100%{transform:rotate(-6deg)}}
@media (prefers-reduced-motion:reduce){.pc:hover .glyph,.pc:focus-within .glyph{animation:none}}
.pc-note{font-family:'IBM Plex Mono',monospace;font-size:8px;letter-spacing:.14em;
  text-transform:uppercase;color:#8A7F66;margin-top:11px}
.dune-band{padding:26px 24px 0}
@media (max-width:699px){.glyph{width:25px;height:25px;margin-bottom:9px}}

/* ── Dining menu ─────────────────────────────────────────────────────
   A printed card on limewash: a centred masthead, italic course heads
   with a small ink diamond, and dotted leaders running to the price. */
.menu-tabs{display:flex;gap:28px;margin-top:20px;border-bottom:1px solid rgba(35,40,56,.18)}
.menu-tabs button{display:flex;align-items:baseline;gap:9px;background:none;border:0;cursor:pointer;
  padding:0 0 12px;font-family:Newsreader,Georgia,serif;font-weight:200;font-size:30px;line-height:1.03;color:#8A7F66;
  position:relative;transition:color 420ms cubic-bezier(.16,.84,.28,1)}
.menu-tabs button .mono{font-size:10px;letter-spacing:.14em;color:#8A7F66}
.menu-tabs button::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#2E3D6B;
  transform:scaleX(0);transform-origin:left;transition:transform 620ms cubic-bezier(.16,.84,.28,1)}
.menu-tabs button:hover{color:#4C5266}
.menu-tabs button[aria-selected="true"]{color:#232838}
.menu-tabs button[aria-selected="true"] .mono{color:#2E3D6B}
.menu-tabs button[aria-selected="true"]::after{transform:scaleX(1)}
.menu-panel{margin-top:18px;padding:28px 28px 22px;border:1px solid rgba(35,40,56,.18);box-shadow:0 1px 0 rgba(255,255,255,.6),0 14px 30px -18px rgba(35,40,56,.28)}
.menu-panel[hidden]{display:none}
.menu-mast{text-align:center;padding-bottom:16px;border-bottom:1px solid #232838;box-shadow:0 3px 0 -2px #FBF6EA,0 4px 0 -2px #232838}
.menu-mast-k{font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:#6A6449}
.menu-mast-t{font-family:Newsreader,Georgia,serif;font-style:italic;font-weight:200;font-size:40px;line-height:1.03;color:#232838;margin-top:8px}
.menu-mast-s{font-size:11.5px;line-height:1.6;color:#4C5266;margin-top:6px}
.menu-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));column-gap:40px;align-items:start;margin-top:4px}
.menu-cat{break-inside:avoid;padding-top:22px}
.menu-cat-h{display:flex;align-items:center;gap:10px;padding-bottom:6px;
  font-family:Newsreader,Georgia,serif;font-style:italic;font-weight:200;font-size:21px;line-height:1.03;
  letter-spacing:0;text-transform:none;color:#232838}
.menu-cat-h::before{content:'';width:6px;height:6px;flex:0 0 6px;background:#2E3D6B;transform:rotate(45deg)}
.menu-cat .menu-row{display:grid;grid-template-columns:minmax(0,max-content) minmax(14px,1fr) auto;gap:8px;
  align-items:start;padding:6px 0;border-bottom:0}
.menu-cat .menu-row:last-child{border-bottom:0}
.menu-lead{border-bottom:1px dotted #8A7F66;margin-top:.95em}
.menu-name{font-size:12.5px;line-height:1.45;color:#232838}
.menu-cat .menu-desc{font-size:10.5px;line-height:1.5;margin-top:1px;color:#4C5266}
.menu-desc-row{grid-column:1/-1;margin-top:-6px !important;padding-right:56px}
.menu-price{font-size:10.5px;line-height:1.45;padding-top:1px;color:#232838;white-space:nowrap}
.menu-note{margin-top:6px;font-style:italic}
@media (max-width:600px){.menu-panel{padding:22px 16px 16px}.menu-mast-t{font-size:32px}.menu-tabs button{font-size:24px}}

/* Dining: mosaic, one large print and three smaller */
.mos{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr);gap:16px}
.mos > div{display:flex;flex-direction:column;min-width:0}
.mos .well{flex:1 1 auto;min-height:0;align-self:stretch;margin-bottom:0}
.mos-big{grid-column:1;grid-row:1 / span 2}
.mos-big .well{min-height:420px}
.mos-sm .well{aspect-ratio:4/3;flex:0 0 auto}
.mos-wide{grid-column:2 / span 2}
.mos-wide .well{aspect-ratio:2.2/1;flex:0 0 auto}
.mos-flip{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.55fr)}
.mos-flip .mos-big{grid-column:3}
.mos-flip .mos-wide{grid-column:1 / span 2}
.mos-flip .mos-sm .well{aspect-ratio:4/5}
@media (max-width:760px){
  .mos,.mos-flip{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .mos-big,.mos-flip .mos-big{grid-column:1 / span 2;grid-row:auto}
  .mos-big .well{min-height:0;aspect-ratio:4/3;flex:0 0 auto}
  .mos-wide,.mos-flip .mos-wide{grid-column:1 / span 2}
}

/* About: owners' story */
.story-drop::first-letter{float:left;font-family:Newsreader,Georgia,serif;font-weight:200;font-size:76px;line-height:.82;padding:6px 10px 0 0;color:#2E3D6B}
.story-row{margin-top:54px;align-items:center}
.story-quote{margin:56px 0 54px;padding:28px 0 30px;border-top:1px solid #232838;border-bottom:1px solid #232838;text-align:center}
.story-quote p{font-family:Newsreader,Georgia,serif;font-style:italic;font-weight:200;font-size:34px;line-height:1.12;color:#232838;max-width:30ch;margin:14px auto 0;text-wrap:balance}
.story-sign{margin:56px auto 0;max-width:640px;padding:34px 34px 30px;text-align:center;border:1px solid rgba(35,40,56,.18)}
@media (max-width:600px){.story-quote p{font-size:26px}.story-sign{padding:26px 20px}.story-row{margin-top:36px}}
.story-open{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:40px;align-items:center}
@media (max-width:760px){.story-open{grid-template-columns:minmax(0,1fr);gap:20px}}
.story-flip{grid-template-columns:minmax(0,1fr) minmax(0,1.9fr)}
@media (max-width:760px){.story-flip{grid-template-columns:minmax(0,1fr)}}
.pol-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.pol-list{margin:0;padding:0 0 4px 1.3em}
.pol-list li{margin:0 0 8px;padding-left:4px}
.pol-list li::marker{color:#8A7F66;font-family:'IBM Plex Mono',monospace;font-size:.85em}
@media (max-width:900px){.pol-grid{grid-template-columns:minmax(0,1fr);gap:0}}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{display:block;width:30px;height:30px}
.brand-word{font-family:'Newsreader',serif;font-weight:300;font-size:22px;line-height:1;letter-spacing:-.01em;color:#232838;white-space:nowrap}
.foot-brand{display:flex;align-items:center;gap:18px}
.foot-mark{display:block;width:52px;height:52px}
.foot-word{font-family:'Newsreader',serif;font-weight:200;font-size:40px;line-height:1.03;letter-spacing:-.01em;color:#FBF6EA}
@media (max-width:600px){.brand-mark{width:26px;height:26px}.brand-word{font-size:19px}.foot-mark{width:40px;height:40px}.foot-word{font-size:30px}}

/* ═══ Responsive QA pass ════════════════════════════════════════════════ */
@media (min-width:700px) and (max-width:999px){
  .stats{grid-template-columns:repeat(5,minmax(0,1fr))}
  .stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .stats .stat:nth-child(4)::before,.stats .stat:nth-child(5)::before,.stats-4 .stat:nth-child(3)::before{display:block}
  .stat:nth-child(4),.stat:nth-child(5),.stats-4 .stat:nth-child(3),.stats-4 .stat:nth-child(4){border-top:0}
  .stat{padding:14px 12px}
  .stats .num{font-size:24px}
  .stats .label{font-size:8.5px;letter-spacing:.12em}
}
@media (max-width:699px){
  /* the handrail as a slim horizontal strip: fixed-size bays, no stretching */
  .rail{height:30px;padding:0 16px;overflow:hidden}
  .rail .label{flex:0 0 auto}
  .bay{flex:0 0 22px;width:22px;min-height:0;height:14px;
    background-size:11px 14px,11px 14px,auto;background-repeat:repeat-x,repeat-x,repeat}
  .bay + .bay{margin-left:4px}
  .rail-cards{scroll-padding-inline:16px}
  .rail-cards .card .well.r43{aspect-ratio:4/3}
  /* photo rows: swipe sideways instead of a tower of single images */
  .grid3:has(.well),.mob-scroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    margin-left:-16px;margin-right:-16px;padding:0 16px 4px;scroll-padding-inline:16px;scrollbar-width:none}
  .grid3:has(.well)::-webkit-scrollbar,.mob-scroll::-webkit-scrollbar{display:none}
  .grid3:has(.well) > *,.mob-scroll > *{flex:0 0 76%;min-width:0;scroll-snap-align:start}
  .grid4{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px}
  .grid4 .h4{font-size:15px}
  /* spec rows written with inline column rules: stack as clean hairline rows */
  .grid3[style*="gap:0"]{display:grid;grid-template-columns:minmax(0,1fr)}
  .grid3[style*="gap:0"] > *{padding:12px 0 !important;border-right:0 !important;border-bottom:1px solid rgba(35,40,56,.14)}
  .grid3[style*="gap:0"] > *:last-child{border-bottom:0}
  .figs{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important}
  .figs > *{padding:13px 12px 12px 0 !important;border-left:0 !important;border-top:1px solid rgba(35,40,56,.14)}
  .figs > *:nth-child(-n+2){border-top:0}
  .figs > *:nth-child(even){padding-left:14px !important;border-left:1px solid rgba(35,40,56,.14) !important}
}
@media (max-width:699px){
  .split > .well,.split-l > .well{max-height:340px}
  .row-between > .label{text-align:left !important;white-space:normal !important}
}
@media (max-width:699px){.chapters > .rail{display:none !important}}
@media (max-width:699px){
  .grid2[style*="gap:0"]{display:grid;grid-template-columns:minmax(0,1fr)}
  .grid2[style*="gap:0"] > *{padding:12px 0 !important;border-right:0 !important;border-top:0 !important;border-bottom:1px solid rgba(35,40,56,.14)}
  .grid2[style*="gap:0"] > *:last-child{border-bottom:0}
}
/* touch devices: blend modes force full-page repaints while scrolling; the dust stays, the blend goes */
@media (hover:none){
  .grain::after{mix-blend-mode:normal;opacity:.05}
  .grain-dark::after{mix-blend-mode:normal;opacity:.05}
}
/* touch devices: clip-path wipes repaint the whole photograph every frame; a pure opacity
   develop runs on the compositor, so it stays smooth while the page is moving */
@media (hover:none){
  .reveal-photo,.hero-card{transition:opacity 1000ms cubic-bezier(.16,.84,.28,1)}
  html.js .reveal-photo,html.js .hero-card{clip-path:none;opacity:0}
  html.js .reveal-photo.go,html.js .hero-card.go{opacity:1}
  html.js .reveal-photo:not(.done),html.js .reveal:not(.done){will-change:opacity}
}
/* decoded photographs stay on their own layer, so scrolling never re-rasterises them */
.well,.plate-img,.mast-strip{backface-visibility:hidden}
