/* The Cottage and the Studio (23 Nov 2026): the stay's two other houses, read from the record's stay-houses list. */

/* Opening: one photograph, full screen on every width, the words on its shaded foot. */
[data-page="the-cottages"] .hero-16-stage { min-height: 88svh; }
@media (min-width: 768px) { [data-page="the-cottages"] .hero-16-stage { min-height: 92svh; } }
[data-page="the-cottages"] .hero-16-content { padding-bottom: clamp(3.5rem, 8vh, 6rem); }
[data-page="the-cottages"] .hero-16-chapter-index { font-family: var(--font-display); font-weight: 300; font-size: var(--type-h1); line-height: 1; color: #fff; opacity: 0.7; margin-bottom: var(--space-6); font-variant-numeric: oldstyle-nums; }
[data-page="the-cottages"] .hc-hero-shade { background: linear-gradient(to bottom, rgba(26, 39, 64, 0.34) 0%, rgba(26, 39, 64, 0.10) 26%, rgba(26, 39, 64, 0.42) 52%, rgba(26, 39, 64, 0.82) 100%); }
[data-page="the-cottages"] .hc-hero-sleeps { display: block; margin-top: 0.15em; font-size: 0.62em; }
[data-page="the-cottages"] .hc-hero-sleeps em { color: #fff; }
[data-page="the-cottages"] [data-section="opening"] .t-lead { color: rgba(255, 255, 255, 0.92); }

/* Who sleeps where: the stay's arithmetic, every figure from the record. */
.hc-tally { border-top: 2px solid var(--accent); padding-top: var(--space-6); }
.hc-tally-title { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4); }
.hc-tally dl { margin: 0; }
.hc-tally-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--card-line); }
.hc-tally-row dt { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; color: var(--foreground); }
.hc-tally-row dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; color: var(--foreground); font-variant-numeric: lining-nums tabular-nums; }
.hc-tally-total { border-bottom: 0; }
.hc-tally-total dt { font-style: italic; color: var(--accent); }
.hc-tally-total dd { font-size: 2.5rem; color: var(--accent); }
.hc-tally-note { margin-top: var(--space-4); font-size: 14px; line-height: 1.5; color: var(--muted-foreground-1); font-style: italic; }

/* Each cottage: its words, five photographs that say what it is, every room, then the rest of its photographs. */
.hc-house + .hc-house { border-top: 1px solid var(--card-line); }
.hc-house--alt { background: color-mix(in srgb, var(--muted) 55%, var(--background)); }
.hc-house-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hc-house-facts { margin-top: var(--space-6); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground-1); }

.hc-mosaic { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hc-mosaic-tile { display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; cursor: zoom-in; }
.hc-mosaic-tile img { transition: transform 0.9s ease; }
.hc-mosaic-tile:hover img { transform: scale(1.03); }
@media (min-width: 640px) {
  .hc-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-mosaic .hc-mosaic-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .hc-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(13rem, 16vw, 19rem); gap: 12px; }
  .hc-mosaic .hc-mosaic-tile { aspect-ratio: auto; }
  .hc-mosaic .hc-mosaic-tile:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
}

.hc-rooms { margin-top: clamp(3rem, 6vw, 5rem); }
.hc-room-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 900px) { .hc-room-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hc-room { padding: 1.5rem 0; border-top: 1px solid var(--card-line); }
.hc-room-name { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.hc-room-floor { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground-1); }
.hc-room-words { margin-top: 0.6rem; font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--muted-foreground-1); max-width: 40ch; }
.hc-room-meta { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 13px; color: var(--foreground); }
.hc-room-meta:not(:has(*)) { display: none; }

.hc-more { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hc-more:not(:has(.hc-strip-tile)) { display: none; }
.hc-strip { margin-top: var(--space-4); display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hc-strip::-webkit-scrollbar { display: none; }
.hc-strip-tile { flex: 0 0 72%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; scroll-snap-align: start; cursor: zoom-in; }
@media (min-width: 640px) { .hc-strip-tile { flex-basis: 40%; } }
@media (min-width: 1024px) { .hc-strip-tile { flex-basis: calc((100% - 30px) / 4); } }
/* The phone's booking bar sits over the foot of the opening: the words stop above it. */
@media (max-width: 767px) { [data-page="the-cottages"] .hero-16-content { padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)); } }
