/* ==========================================================================
   LIVING — Mediterranean Modern
   Shade-first rendition. The organising material is Cyprus light: a single
   scroll-driven --sun variable moves the page from morning rake through
   bleached midday to lamplight, and every cast shadow follows it.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Ground: the shaded interior, taken from Living's own photography */
  --shade:      #23241e;
  --shade-2:    #2e3028;
  --shade-3:    #3a3c32;
  --shade-4:    #4a4c40;
  --ink:        #14150f;

  /* Light: plaster and limestone */
  --limestone:  #e7e0d3;
  --plaster:    #f4f0e8;
  --salt:       #fbf9f5;

  /* Material notes, all sampled from real product photography */
  --olive:      #5c6248;

  /* Product content: the real Toe sofa fabric colourways, not UI palette */
  --fabric-off-white:  #e5e0d5;
  --fabric-dark-brown: #4a3a30;
  --umber:      #7a4a33;
  --brass:      #9c7a3c;   /* hairlines on light grounds */
  --brass-lit:  #c49a52;   /* the same note, lifted to pass AA on the dark grounds */

  /* Text roles */
  --on-dark:        #f1ece1;
  --on-dark-muted:  #a8a79a;
  --on-light:       #23241e;
  --on-light-muted: #63645a;

  /* Rules, tinted from the ground rather than grey */
  --rule-dark:  rgba(241, 236, 225, 0.16);
  --rule-light: rgba(35, 36, 30, 0.16);
  --rule-hair:  rgba(35, 36, 30, 0.09);

  /* Cast shadows: warmer and softer on light grounds, deeper on dark */
  --shadow-on-light: rgba(20, 21, 15, 0.22);
  --shadow-on-dark:  rgba(8, 9, 6, 0.5);

  /* Type */
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --text:    "Archivo", ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mark:    "Jost", "Futura", "Century Gothic", var(--text);

  /* Rhythm */
  --gut:  clamp(1.25rem, 3.2vw, 2.75rem);
  --edge: clamp(1.25rem, 5vw, 5.5rem);
  --band: clamp(4.5rem, 10vw, 9rem);
  --maxw: 1560px;

  /* The sun. 0 = 09:00 raking from the left, 1 = 19:00 raking from the right.
     JS moves this on scroll; the value below is the static fallback. */
  --sun: 0.28;
  --sun-x: calc(var(--sun) * 100%);
  --shadow-dx: calc((var(--sun) - 0.5) * -34px);
  --shadow-dy: calc(10px + (1 - var(--sun)) * 8px);
  --shadow-blur: calc(26px + var(--sun) * 26px);

  --ease: cubic-bezier(0.16, 0.84, 0.28, 1);
  --slow: 780ms;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--salt);
  color: var(--on-light);
  font-family: var(--text);
  font-size: clamp(0.975rem, 0.34vw + 0.9rem, 1.0625rem);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--limestone); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}
.dark :focus-visible, .dark-2 :focus-visible, .foot :focus-visible,
.midday :focus-visible, .hero :focus-visible, .rail :focus-visible,
.groupbar :focus-visible { outline-color: var(--brass-lit); }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 50%; top: 0; z-index: 200;
  transform: translate(-50%, -110%);
  background: var(--shade); color: var(--on-dark);
  padding: 0.7rem 1.25rem; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 200ms var(--ease);
}
.skip:focus-visible { transform: translate(-50%, 0); }

/* --- 3. Typography ------------------------------------------------------ */
.display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
/* Bodoni Moda carries a ~0.21em descender; the two largest steps wrap to
   several lines, so they need real leading or "y" lands in the line below. */
.d-xl { font-size: clamp(2.75rem, 7.4vw, 5.75rem); line-height: 1.13; }
.d-lg { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.11; }
.d-md { font-size: clamp(1.6rem, 2.9vw, 2.5rem); letter-spacing: -0.016em; }
.d-sm { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.16; }
.display em { font-style: italic; }

/* Small tracked caps — the labelling voice throughout */
.label {
  font-family: var(--text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.3;
}
.label-lg { font-size: 0.8125rem; letter-spacing: 0.2em; }

/* The small-text ramp. Body sits above these; labels sit below. */
.t-note { font-size: 0.9375rem; line-height: 1.55; }
.t-sub  { font-size: 0.8125rem; line-height: 1.5; }
.t-fine { font-size: 0.75rem;   line-height: 1.5; }

.lede {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.28rem);
  line-height: 1.55;
  max-width: 34ch;
}
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.muted { color: var(--on-light-muted); }
.on-dark .muted, .dark .muted { color: var(--on-dark-muted); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* --- 4. Lefkara lace ---------------------------------------------------- */
/* Lefkaritika: the geometric needlework of Lefkara, Cyprus. Used as the
   page's only ornament — section joins, footer edge, quiet passages. */
.lace {
  height: 13px;
  background-repeat: repeat-x;
  background-size: auto 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='13' viewBox='0 0 56 13'%3E%3Cg fill='none' stroke='%2323241e' stroke-width='1'%3E%3Cpath d='M0 1.5h56'/%3E%3Cpath d='M0 12l14-9 14 9 14-9 14 9'/%3E%3C/g%3E%3Cg fill='%2323241e'%3E%3Cpath d='M14 4.6l4 5.4h-8z'/%3E%3Cpath d='M42 4.6l4 5.4h-8z'/%3E%3Crect x='27' y='0.5' width='2' height='2'/%3E%3Crect x='-1' y='0.5' width='2' height='2'/%3E%3Crect x='55' y='0.5' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}
.lace-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='13' viewBox='0 0 56 13'%3E%3Cg fill='none' stroke='%23f1ece1' stroke-opacity='0.62' stroke-width='1'%3E%3Cpath d='M0 1.5h56'/%3E%3Cpath d='M0 12l14-9 14 9 14-9 14 9'/%3E%3C/g%3E%3Cg fill='%23f1ece1' fill-opacity='0.62'%3E%3Cpath d='M14 4.6l4 5.4h-8z'/%3E%3Cpath d='M42 4.6l4 5.4h-8z'/%3E%3Crect x='27' y='0.5' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}
.lace-brass {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='13' viewBox='0 0 56 13'%3E%3Cg fill='none' stroke='%239c7a3c' stroke-width='1'%3E%3Cpath d='M0 1.5h56'/%3E%3Cpath d='M0 12l14-9 14 9 14-9 14 9'/%3E%3C/g%3E%3Cg fill='%239c7a3c'%3E%3Cpath d='M14 4.6l4 5.4h-8z'/%3E%3Cpath d='M42 4.6l4 5.4h-8z'/%3E%3Crect x='27' y='0.5' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- 5. Layout --------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--edge); }
.dark { background: var(--shade); color: var(--on-dark); }
.dark-2 { background: var(--shade-2); color: var(--on-dark); }
.light { background: var(--plaster); color: var(--on-light); }
.stone { background: var(--limestone); color: var(--on-light); }

section { position: relative; }
.band { padding-block: var(--band); }
.band-tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* --- 6. Wordmark ------------------------------------------------------- */
.mark {
  font-family: var(--mark);
  font-weight: 300;
  font-size: 1.72rem;
  letter-spacing: 0.012em;
  line-height: 1;
  position: relative;
  display: inline-block;
  width: max-content;
  justify-self: start;
  padding-right: 0.34em;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  right: 0.04em; top: 0.055em;
  width: 0.15em; height: 0.15em;
  background: currentColor;
}
.mark-sm { font-size: 1.24rem; }

/* --- 7. Group bar & masthead ------------------------------------------- */
.groupbar {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
}
.groupbar .wrap {
  display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2rem);
  min-height: 34px; flex-wrap: wrap;
}
.groupbar a { padding-block: 0.55rem; transition: color 160ms var(--ease); }
.groupbar a:hover { color: var(--on-dark); }
.groupbar .sep { margin-left: auto; }
.groupbar .grp { display: flex; gap: clamp(0.9rem, 2.4vw, 1.9rem); white-space: nowrap; }
.groupbar .util { display: flex; gap: clamp(0.9rem, 2vw, 1.5rem); align-items: center; }

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: var(--salt);
  border-bottom: 1px solid var(--rule-hair);
  transition: box-shadow 260ms var(--ease), background 260ms var(--ease);
}
.masthead.is-stuck { box-shadow: 0 12px 34px -22px rgba(20, 21, 15, 0.34); }
.mast-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--gut);
  min-height: 78px;
}
.mast-nav { display: flex; justify-content: center; gap: clamp(0.9rem, 2.1vw, 2rem); }
.mast-nav > li { position: static; }
.navlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 1.7rem 0 1.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  position: relative;
}
.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1.05rem;
  height: 1px; background: var(--on-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.navlink:hover::after, [aria-expanded="true"] > .navlink::after, .navlink[aria-current]::after { transform: scaleX(1); }
.navlink.is-sale { color: var(--umber); }

.mast-util { display: flex; align-items: center; gap: 0.35rem; justify-self: end; }
.iconbtn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 180ms var(--ease);
  position: relative;
}
.iconbtn:hover { background: var(--limestone); }
.iconbtn svg { width: 19px; height: 19px; }
.basket-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--umber); color: var(--salt);
  border-radius: 8px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em;
  display: grid; place-items: center;
}
.burger { display: none; }

/* Store status pill — live, from the real published hours */
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  padding: 0.4rem 0.7rem 0.4rem 0.55rem;
  border: 1px solid var(--rule-light);
  white-space: nowrap;
}
.status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--on-light-muted); flex: none;
}
.status[data-open="yes"] .dot { background: var(--olive); box-shadow: 0 0 0 3px rgba(92, 98, 72, 0.2); }
.status[data-open="no"] .dot { background: var(--umber); }
.dark .status, .groupbar .status { border-color: var(--rule-dark); }

/* --- 8. Mega-menu ------------------------------------------------------ */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--salt);
  border-top: 1px solid var(--rule-hair);
  border-bottom: 1px solid var(--rule-light);
  box-shadow: 0 30px 60px -34px rgba(20, 21, 15, 0.4);
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 2.5vw, 2.25rem);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 240ms var(--ease), transform 300ms var(--ease),
              visibility 0s linear 300ms;
  z-index: 80;
}
.mega.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 240ms var(--ease), transform 300ms var(--ease), visibility 0s;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2.5rem) var(--gut);
}
.mega-col > .label { color: var(--on-light-muted); padding-bottom: 0.7rem; border-bottom: 1px solid var(--rule-hair); margin-bottom: 0.8rem; }
.mega-col li + li { margin-top: 0.34rem; }
.mega-col a {
  font-size: 0.9375rem; line-height: 1.45;
  display: inline-block;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 92%; background-repeat: no-repeat;
  transition: background-size 280ms var(--ease);
}
.mega-col a:hover { background-size: 100% 1px; }
.mega-foot {
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  padding-top: 1.1rem; border-top: 1px solid var(--rule-hair);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center;
}

/* --- 9. Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), transform 220ms var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-solid { background: var(--shade); color: var(--on-dark); }
.btn-solid:hover { background: var(--ink); transform: translateY(-1px); }
.btn-invert { background: var(--limestone); color: var(--shade); }
.btn-invert:hover { background: var(--salt); transform: translateY(-1px); }
.btn-line { border-color: var(--rule-light); color: var(--on-light); }
.btn-line:hover { border-color: var(--on-light); background: rgba(35, 36, 30, 0.04); }
.dark .btn-line { border-color: var(--rule-dark); color: var(--on-dark); }
.dark .btn-line:hover { border-color: var(--on-dark); background: rgba(241, 236, 225, 0.07); }
.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.6875rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.42; cursor: not-allowed; transform: none; }

/* Text link with a brass hairline — the only accent use on light grounds */
.tlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--brass);
  transition: gap 240ms var(--ease), color 200ms var(--ease);
}
.tlink:hover { gap: 0.85rem; color: var(--brass); }
@media (pointer: coarse), (max-width: 900px) {
  .tlink { position: relative; }
  .tlink::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%;
    height: 44px; transform: translateY(-50%);
  }
  .mark { position: relative; }
  .mark::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%;
    height: 44px; transform: translateY(-50%);
  }
  .iconbtn { width: 44px; height: 44px; }
}
.tlink svg { width: 15px; height: 15px; }
.dark .tlink:hover { color: var(--limestone); }

/* --- 10. Hero ---------------------------------------------------------- */
.hero { background: var(--shade); color: var(--on-dark); overflow: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  min-height: min(80vh, 720px);
}
.hero-type {
  padding: clamp(2.75rem, 5.5vw, 5.5rem) clamp(1.25rem, 3.4vw, 4rem)
           clamp(2.5rem, 4vw, 4rem) var(--edge);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  position: relative; z-index: 2;
}
.hero-type h1 { max-width: 17ch; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.12; }
.hero-type .lede { color: var(--on-dark-muted); max-width: 42ch; }
.hero-act { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }

.hero-plate { position: relative; overflow: hidden; min-height: 46vh; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
/* The rake: one hard-edged blade of light whose position follows --sun */
.hero-plate::after {
  content: ""; position: absolute; inset: -12% -30%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 240, 208, 0) 33%,
    rgba(255, 240, 208, 0.1) 44%,
    rgba(255, 246, 224, 0.19) 49%,
    rgba(255, 240, 208, 0.08) 55%,
    rgba(255, 240, 208, 0) 67%,
    transparent 100%);
  mix-blend-mode: screen;
  transform: translateX(calc(-18% + var(--sun) * 42%));
  transition: transform 900ms linear;
}
.hero-plate::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(35, 36, 30, 0.62), rgba(35, 36, 30, 0) 42%);
  pointer-events: none;
}

/* --- 11. Day rail — the page's spine ---------------------------------- */
.rail { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--rule-dark); }
.rail-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.rail-inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--brass); opacity: 0.5;
  transform: scaleX(var(--sun)); transform-origin: left;
  transition: transform 900ms var(--ease);
}
.rail-item {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1.15rem clamp(0.75rem, 1.4vw, 1.4rem) 1.2rem;
  border-left: 1px solid var(--rule-dark);
  text-align: left;
  transition: background 240ms var(--ease);
}
.rail-item:first-child { border-left: 0; }
.rail-item:hover { background: rgba(241, 236, 225, 0.05); }
.rail-what {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--on-dark);
}
.rail-sub { font-size: 0.8125rem; line-height: 1.4; color: var(--on-dark-muted); }
.rail-item[aria-current="true"] { background: rgba(156, 122, 60, 0.14); }
.rail-item[aria-current="true"] .rail-what { color: var(--brass-lit); }
.rail-item[aria-current="true"] .rail-sub { color: var(--on-dark); }

/* --- 12. Section heads ------------------------------------------------- */
.act-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: var(--gut);
  align-items: end;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.act-clock {
  display: flex; align-items: baseline; gap: 0.85rem;
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-light);
}
.dark .act-clock .t {
  font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.012em;
}
.act-side { padding-bottom: 0.35rem; }
.act-side p { font-size: 0.95rem; max-width: 46ch; }

/* --- 13. Product cards ------------------------------------------------ */
.grid-p {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card, 232px), 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.6rem) var(--gut);
}
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard-fig {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--limestone);
  overflow: hidden;
  /* the tile casts a shadow, and the sun decides which way it falls */
  box-shadow: var(--shadow-dx) var(--shadow-dy) var(--shadow-blur) var(--shadow-on-light);
  transition: box-shadow var(--slow) var(--ease);
}
.dark .pcard-fig, .dark-2 .pcard-fig { box-shadow: var(--shadow-dx) var(--shadow-dy) var(--shadow-blur) var(--shadow-on-dark); }
.pcard-fig img {
  width: 100%; height: 100%; object-fit: cover;
  /* catalogue packshots ship on white; multiplying drops that white into the
     limestone tile so the grid reads as one material, not pasted cut-outs */
  mix-blend-mode: multiply;
  transition: transform var(--slow) var(--ease);
}
.pcard:hover .pcard-fig,
.pcard:focus-within .pcard-fig {
  box-shadow: calc(var(--shadow-dx) * 0.34) 6px 18px rgba(20, 21, 15, 0.34);
}
.pcard:hover .pcard-fig img,
.pcard:focus-within .pcard-fig img { transform: scale(1.035); }
.pcard-body { padding-top: 0.95rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.pcard-brand { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-light-muted); }
.dark .pcard-brand { color: var(--on-dark-muted); }
.pcard-name {
  font-size: 0.9375rem; line-height: 1.34;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 300ms var(--ease);
}
.pcard:hover .pcard-name { background-size: 100% 1px; }
.pcard-price {
  margin-top: auto; padding-top: 0.5rem;
  font-size: 0.9375rem; font-variant-numeric: tabular-nums;
}
.pcard-price .from { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-light-muted); margin-right: 0.35rem; }
.dark .pcard-price .from { color: var(--on-dark-muted); }
.pcard-a { position: absolute; inset: 0; z-index: 3; }

/* The two speeds, made visible: homeware carries a basket action,
   furniture carries the showroom. */
.pcard-act {
  margin-top: 0.7rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-light-muted);
}
.dark .pcard-act { color: var(--on-dark-muted); }
.pcard-act svg { width: 14px; height: 14px; flex: none; }
.pcard-add {
  position: relative; z-index: 4;
  border: 1px solid var(--rule-light); padding: 0.55rem 0.9rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.pcard-add:hover { background: var(--shade); color: var(--on-dark); border-color: var(--shade); }
.pcard-add[data-added="1"] { background: var(--olive); border-color: var(--olive); color: var(--salt); }
.dark .pcard-add { border-color: var(--rule-dark); }
.dark .pcard-add:hover { background: var(--limestone); color: var(--shade); border-color: var(--limestone); }

/* Furniture cards run taller and quieter */
/* Per-section card widths. These are classes, not inline styles, so the
   ≤640px token can still win and grids never collapse to one column. */
.grid-p-sm { --card: 150px; }
.grid-p-md { --card: 172px; }
.grid-p-lg { --card: 200px; }
/* The room row must show all four rooms on one line, not three plus an orphan. */
.grid-p-room { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-p-room { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid-p-room { grid-template-columns: 1fr; } }

.grid-p.considered { --card: 300px; }
.grid-p.considered .pcard-name { font-size: 1.0625rem; }
.grid-p.considered .pcard-body { padding-top: 1.1rem; }

/* --- 14. Plates: large editorial figures ------------------------------ */
.plate { position: relative; overflow: hidden; background: var(--limestone); }
/* A plate whose height comes from an aspect-ratio must not also stretch to a
   taller grid sibling — the ratio would then drive its width past the column. */
.plate-ar { align-self: start; width: 100%; }
.plate-blend img { mix-blend-mode: multiply; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.25rem, 2.6vw, 2.5rem);
  background: linear-gradient(to top, rgba(20, 21, 15, 0.92), rgba(20, 21, 15, 0.72) 46%, rgba(20, 21, 15, 0.3) 78%, transparent);
  color: var(--on-dark);
  display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start;
}
.plate-cap .tlink { border-color: rgba(241, 236, 225, 0.5); }
.plate-cap .tlink:hover { border-color: var(--limestone); color: var(--limestone); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

/* --- 15. Midday: the quiet passage ----------------------------------- */
.midday { background: var(--ink); color: var(--on-dark); text-align: center; }
.midday-in {
  max-width: 58ch; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.35rem;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.midday .lace { width: min(300px, 62%); }
.midday p { color: var(--on-dark-muted); }
.act-eyebrow { margin-bottom: 0.9rem; }
.act-clock {
  display: flex; align-items: baseline; gap: 0.85rem;
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-light);
}

/* --- 16. Roster ------------------------------------------------------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}
.roster-grid li { border-bottom: 1px solid var(--rule-dark); }
.roster-grid a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 0.82rem 1rem 0.82rem 0;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 180ms var(--ease), transform 260ms var(--ease), background 180ms var(--ease);
}
.roster-grid a:hover { transform: translateX(0.7rem); background: rgba(241, 236, 225, 0.05); color: var(--brass-lit); }
.roster-grid a span { font-size: 0.6875rem; color: var(--on-dark-muted); letter-spacing: 0.1em; }
.roster-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--gut); padding-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }

/* --- 17. Showrooms --------------------------------------------------- */
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.room {
  border: 1px solid var(--rule-light);
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.15rem;
  background: var(--salt);
}
.dark .room { border-color: var(--rule-dark); background: var(--shade-2); }
.room-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.hours { border-top: 1px solid var(--rule-hair); }
.dark .hours { border-color: var(--rule-dark); }
.hours div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--rule-hair);
  font-size: 0.9375rem;
}
.dark .hours div { border-color: var(--rule-dark); }
.hours dt { font-weight: 500; min-width: 0; }
.hours dd { font-variant-numeric: tabular-nums; color: var(--on-light-muted); text-align: right; min-width: 0; }
.dark .hours dd { color: var(--on-dark-muted); }
.hours div[data-today="1"] { background: rgba(156, 122, 60, 0.12); margin-inline: -0.6rem; padding-inline: 0.6rem; }
.hours div[data-today="1"] dd { color: inherit; }
.addr { font-size: 1.125rem; line-height: 1.5; font-style: normal; }

/* --- 18. Footer ------------------------------------------------------ */
.foot { background: var(--shade); color: var(--on-dark); }
.foot-lace { height: 13px; }
.news {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gut) clamp(2rem, 5vw, 6rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule-dark);
}
.news-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.field {
  flex: 1 1 220px;
  background: transparent; color: var(--on-dark);
  border: 1px solid var(--rule-dark);
  padding: 0.9rem 1rem; font-size: 1rem;
  transition: border-color 200ms var(--ease);
}
.field::placeholder { color: var(--on-dark-muted); }
.field:hover { border-color: rgba(241, 236, 225, 0.34); }
.field:focus-visible { border-color: var(--brass); outline-offset: 1px; }
.form-note { font-size: 0.75rem; color: var(--on-dark-muted); margin-top: 0.7rem; }

.foot-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.75rem, 3.4vw, 3rem) var(--gut);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.foot-cols h3 { color: var(--on-dark-muted); }
.foot-cols ul { margin-top: 1rem; }
.foot-cols li + li { margin-top: 0.44rem; }
.foot-cols a { font-size: 0.9375rem; transition: color 170ms var(--ease); }
.foot-cols a:hover { color: var(--brass-lit); }
/* Social row — icons only. The platform name stays on the link as an
   accessible name, so a screen reader still announces "Living on Instagram". */
.foot-social {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.85rem clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule-dark);
}
.foot-social .label { color: var(--on-dark-muted); }
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.soc {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule-dark);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
.soc svg { width: 18px; height: 18px; }
.soc:hover { border-color: var(--limestone); background: rgba(241, 236, 225, 0.07); color: var(--limestone); }
.soc-name {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.foot-base {
  border-top: 1px solid var(--rule-dark);
  padding-block: 1.5rem 2rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem;
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--on-dark-muted);
}

/* --- 19. Breadcrumb, filters, listing ------------------------------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-light-muted); }
.crumb a:hover { color: var(--on-light); }
.crumb svg { width: 11px; height: 11px; opacity: 0.55; }

.listing-top {
  display: flex; flex-wrap: wrap; gap: 1rem var(--gut);
  align-items: end; justify-content: space-between;
  padding-block: clamp(1.5rem, 2.6vw, 2.25rem);
  border-bottom: 1px solid var(--rule-light);
}
.controls { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.sel { position: relative; display: inline-flex; align-items: center; }
.sel select {
  appearance: none; background: transparent;
  border: 1px solid var(--rule-light);
  padding: 0.7rem 2.4rem 0.7rem 0.9rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
}
.sel svg { position: absolute; right: 0.85rem; width: 12px; height: 12px; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  border: 1px solid var(--rule-light);
  padding: 0.52rem 0.85rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.chip:hover { border-color: var(--on-light); }
.chip[aria-pressed="true"] { background: var(--shade); border-color: var(--shade); color: var(--on-dark); }
.count { font-size: 0.75rem; color: var(--on-light-muted); font-variant-numeric: tabular-nums; }

.empty {
  padding: clamp(3rem, 7vw, 6rem) 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.empty svg { width: 34px; height: 34px; color: var(--on-light-muted); }

/* --- 20. Product page ----------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(1.75rem, 4vw, 4.5rem); align-items: start; }
.pdp-gal { display: flex; flex-direction: column; gap: 0.75rem; position: sticky; top: 100px; }
/* The primary derivative is 1200x628; framing to its own ratio shows the
   piece whole with no crop and no letterbox seam. */
.pdp-main { background: var(--limestone); aspect-ratio: 1200 / 628; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.thumb {
  width: 74px; height: 74px; overflow: hidden;
  border: 1px solid var(--rule-hair); background: var(--limestone);
  transition: border-color 200ms var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--shade); }
.thumb:hover { border-color: var(--on-light-muted); }

.pdp-info { display: flex; flex-direction: column; gap: 1.15rem; padding-top: 0.25rem; }
.pdp-price { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.pdp-price .from { font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-light-muted); }
.swatches { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rule-light);
  box-shadow: inset 0 0 0 2px var(--salt);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--salt), 0 0 0 1px var(--shade); transform: scale(1.06); }
.spec { border-top: 1px solid var(--rule-light); }
.spec div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule-hair); font-size: 0.9375rem; }
.spec dt { color: var(--on-light-muted); letter-spacing: 0.02em; }
.spec dd { text-align: right; font-variant-numeric: tabular-nums; }

.acc { border-top: 1px solid var(--rule-light); }
.acc details { border-bottom: 1px solid var(--rule-hair); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0; cursor: pointer; list-style: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 13px; height: 13px; transition: transform 300ms var(--ease); flex: none; }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: 1.35rem; font-size: 0.9375rem; }

/* The showroom call — the mechanism, not an apology */
.instore {
  border: 1px solid var(--rule-light);
  background: var(--plaster);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.instore-top { display: flex; align-items: center; gap: 0.7rem; }
.instore-top svg { width: 20px; height: 20px; flex: none; color: var(--umber); }
.instore-rooms { display: grid; gap: 0.55rem; }
.instore-room {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.62rem 0.8rem; border: 1px solid var(--rule-hair); background: var(--salt);
  font-size: 0.8125rem;
}

/* --- 21. Appointment form ------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem var(--gut); }
.f-row { display: flex; flex-direction: column; gap: 0.45rem; }
.f-row.wide { grid-column: 1 / -1; }
.f-row label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-light-muted); }
.f-in {
  background: var(--salt); border: 1px solid var(--rule-light);
  padding: 0.85rem 0.95rem; font-size: 1rem;
  transition: border-color 200ms var(--ease);
}
.f-in:hover { border-color: var(--on-light-muted); }
.f-in:focus-visible { border-color: var(--brass); }
textarea.f-in { min-height: 108px; resize: vertical; font-family: var(--text); }

/* A select inside a form row is a field, not the listing's sort chip. */
.f-row .sel { width: 100%; }
.f-row .sel select {
  width: 100%;
  font-size: 1rem; font-weight: 400;
  text-transform: none; letter-spacing: normal;
  padding: 0.85rem 2.6rem 0.85rem 0.95rem;
  border-color: var(--rule-light);
}
.f-row .sel select { background: var(--salt); color: var(--on-light); }
.f-row .sel svg { color: var(--on-light); opacity: 0.75; z-index: 1; }

/* Labels sit on the dark card, not on the light field. */
.dark .f-row label, .dark-2 .f-row label, .foot .f-row label { color: var(--on-dark-muted); }
.f-err { font-size: 0.75rem; color: var(--umber); display: none; }
.f-row[data-invalid="1"] .f-in { border-color: var(--umber); }
.f-row[data-invalid="1"] .f-err { display: block; }
.f-ok {
  display: none; gap: 0.7rem; align-items: start;
  border: 1px solid var(--olive); background: rgba(92, 98, 72, 0.08);
  padding: 1rem 1.15rem; font-size: 1rem;
}
.f-ok svg { width: 19px; height: 19px; color: var(--olive); flex: none; margin-top: 2px; }
.f-note { font-size: 0.8125rem; line-height: 1.5; }
.f-ok[data-on="1"] { display: flex; }
.dark [data-mailform] .btn-solid, .dark-2 [data-mailform] .btn-solid {
  background: var(--limestone); color: var(--shade);
}
.dark [data-mailform] .btn-solid:hover, .dark-2 [data-mailform] .btn-solid:hover { background: var(--salt); }

/* --- 22. Reveal — armed only when it starts below the fold --------- */
.rise { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .rise[data-armed] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  }
  .js .rise[data-armed].in { opacity: 1; transform: none; }
  .js .rise[data-armed]:nth-child(2) { transition-delay: 70ms; }
  .js .rise[data-armed]:nth-child(3) { transition-delay: 140ms; }
  .js .rise[data-armed]:nth-child(4) { transition-delay: 210ms; }
}

/* --- 23. Drawer (mobile nav) ---------------------------------------- */
.scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 21, 15, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.scrim.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 300ms var(--ease), visibility 0s;
}
/* A viewport-sized clipping host: the panel can sit off-canvas without
   extending the document's scroll width. */
.drawer-host {
  position: fixed; inset: 0; z-index: 101;
  overflow: hidden;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear 420ms;
}
.drawer-host.is-open {
  visibility: visible; pointer-events: auto;
  transition: visibility 0s;
}

.drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--salt); color: var(--on-light);
  transform: translateX(100%);
  transition: transform 420ms var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gut); border-bottom: 1px solid var(--rule-hair);
  position: sticky; top: 0; background: var(--salt); z-index: 2;
}
.drawer-body { padding: 0.5rem var(--gut) 2.5rem; }
.drawer details { border-bottom: 1px solid var(--rule-hair); }
.drawer summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; cursor: pointer; list-style: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 13px; height: 13px; transition: transform 280ms var(--ease); }
.drawer details[open] > summary svg { transform: rotate(45deg); }
.drawer-sub { padding: 0 0 1.1rem 0.2rem; display: flex; flex-direction: column; gap: 0.1rem; }
.drawer-sub .label { color: var(--on-light-muted); margin-top: 0.85rem; }
.drawer-sub a { padding: 0.42rem 0; font-size: 0.9375rem; }
.drawer-flat { display: flex; flex-direction: column; }
.drawer-flat > a {
  padding: 1.05rem 0; border-bottom: 1px solid var(--rule-hair);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
body.is-locked { overflow: hidden; }

/* --- 24. Toast ------------------------------------------------------ */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 130%);
  background: var(--shade); color: var(--on-dark);
  padding: 0.9rem 1.3rem; font-size: 0.8125rem;
  display: flex; align-items: center; gap: 0.7rem;
  box-shadow: 0 20px 44px -20px rgba(20, 21, 15, 0.6);
  transition: transform 460ms var(--ease);
  max-width: calc(100vw - 2rem);
}
.toast.is-up { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--brass-lit); flex: none; }

/* --- 25. Responsive ------------------------------------------------- */
@media (max-width: 1320px) {
  .mast-util .status { display: none; }
}
@media (max-width: 1240px) {
  .mast-nav { gap: 0.85rem; }
  .navlink { font-size: 0.6875rem; letter-spacing: 0.1em; }
}
@media (max-width: 1120px) {
  .mast-row { grid-template-columns: 1fr auto; min-height: 66px; }
  .mast-row > nav, .mega { display: none; }
  .burger { display: grid; }
  .hero-type { padding-right: clamp(1.25rem, 3vw, 2.5rem); }
  .act-head { grid-template-columns: 1fr; align-items: start; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gal { position: static; }
  .split { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
}
/* Below tablet the hero stacks — type first, so the offer and its action land
   in the first viewport instead of below a photograph. */
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-type {
    padding: clamp(1.75rem, 5vw, 3rem) var(--edge) clamp(1.5rem, 4vw, 2.5rem);
    order: 1;
    gap: clamp(1rem, 3vw, 1.5rem);
  }
  .hero-plate { order: 2; min-height: 42vh; }
  .hero-plate::before { background: linear-gradient(to top, rgba(35, 36, 30, 0.5), transparent 55%); }
}

@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr; }
  .rail-inner { grid-template-columns: repeat(2, 1fr); }
  .rail-item:nth-child(3) { border-left: 0; }
  .rail-item:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 640px) {
  :root { --gut: 1.1rem; --edge: 1.15rem; --band: 3.5rem; }
  .grid-p, .grid-p-sm, .grid-p-md, .grid-p-lg { --card: 148px; gap: 1.6rem 1.1rem; }
  .grid-p.considered { --card: 100%; }
  .duo { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .groupbar .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .groupbar .wrap::-webkit-scrollbar { display: none; }
  .groupbar .grp { gap: 0.9rem; font-size: 0.6875rem; }
  .groupbar .util { display: none; }
  .rail-item { padding: 0.9rem 0.75rem 1rem; }
  .d-xl { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .pcard-price { font-size: 0.9375rem; }
  .thumb { width: 60px; height: 60px; }
  .room { padding: 1.15rem; }
  .hours div { flex-direction: column; align-items: flex-start; }
  .hours dd { text-align: left; }
  .hours div[data-today="1"] { margin-inline: -0.5rem; padding-inline: 0.5rem; }
  .status { white-space: normal; }
  .addr { font-size: 1.0625rem; }
}


/* --- 26. Short viewports (landscape phones) ------------------------- */
/* A 393px-tall viewport cannot hold a stacked hero; tighten it so the
   headline and its action still land above the fold. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 0; }
  .hero-type {
    order: 1;
    padding: 1.25rem var(--edge);
    gap: 0.75rem;
  }
  .hero-plate { order: 2; min-height: 0; }
  .hero-type h1 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
  .hero-type .lede { font-size: 0.9375rem; }
  .rail-sub { display: none; }
}

/* --- 27. Print ------------------------------------------------------ */
@media print {
  .masthead, .groupbar, .rail, .scrim, .drawer, .toast, .news { display: none; }
  body { background: #fff; color: #000; }
  .dark, .dark-2, .foot, .midday, .hero { background: #fff !important; color: #000 !important; }
}
