/* Galeries homepage — classic and compact. Cormorant Garamond carries headings and text;
   Manrope is kept for buttons and small UI, matching the shared header and footer. */
:root {
  --hp-ivory: #fbf9f4;
  --hp-linen: #f2ece0;
  --hp-hunter: #2f3b26;
  --hp-forest: #232b1d;
  --hp-brass: #9a7b4b;
  --hp-brass-soft: #cdb894;
  --hp-brass-light: #c8b183;
  --hp-ink: #222a1c;
  --hp-muted: #585d4f;
  --hp-rule: #ddd3bf;
  --hp-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --hp-sans: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

/* ---------- Shared ---------- */
.hp { display: block; background: var(--hp-ivory); color: var(--hp-ink); font-variant-numeric: lining-nums; overflow-x: clip; }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.hp-section { padding-block: clamp(40px, 4.6vw, 64px); }
.hp h2 { margin: 0; font-family: var(--hp-serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.005em; color: var(--hp-ink); }
.hp p { margin: 0; }
.hp a { text-decoration: none; }
.hp-head { max-width: 720px; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; }
.hp-head p { margin-top: 10px; font-family: var(--hp-serif); font-size: 20px; line-height: 1.5; color: var(--hp-muted); }
.hp-center { margin-top: clamp(22px, 2.6vw, 32px) !important; text-align: center; }

.hp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; background: var(--hp-hunter); border: 1px solid var(--hp-hunter); color: var(--hp-ivory) !important; font-family: var(--hp-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.hp-btn:hover { background: var(--hp-forest); border-color: var(--hp-forest); }
.hp-btn--light { background: transparent; border-color: var(--hp-brass-light); color: #f6f1e6 !important; }
.hp-btn--light:hover { background: var(--hp-brass-light); border-color: var(--hp-brass-light); color: var(--hp-forest) !important; }

.hp-link { display: inline-block; padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid var(--hp-brass); font-family: var(--hp-sans); font-size: 13px; font-weight: 600; color: var(--hp-hunter) !important; cursor: pointer; transition: color .25s, border-color .25s; }
.hp-link:hover { color: var(--hp-brass) !important; }

.hp a:focus-visible, .hp button:focus-visible, .hp [tabindex]:focus-visible { outline: 2px solid var(--hp-brass); outline-offset: 3px; }

/* ---------- Original hero + "Every room" grid (restored) ---------- */
:root {
  --gh-ink: #1f271a;
  --gh-green: #34432a;
  --gh-green-deep: #222c1b;
  --gh-sage: #72815d;
  --gh-sand: #ebe5d8;
  --gh-ease: cubic-bezier(.22, .61, .36, 1);
  --gh-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
.gh-page { overflow-x: clip; }
.gh-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gh-sage); margin-bottom: 18px; }
.gh-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.gh-page h2 em { font-family: var(--gh-serif); font-style: italic; color: var(--gh-sage); }
.gh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.gh-page .gh-head h2 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; line-height: 1.02; }

.gh-link { position: relative; display: inline-flex; gap: 8px; padding: 6px 0; background: none; border: 0; font-size: 13px; font-weight: 600; color: var(--gh-ink); cursor: pointer; }
.gh-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--gh-ease); }
.gh-link:hover::after { transform: scaleX(0); transform-origin: right; animation: gh-underline .5s .25s var(--gh-ease) forwards; }
@keyframes gh-underline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* Reveal-on-scroll (only hides content once JS has confirmed it can reveal it). */
.gh-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--gh-ease) var(--d, 0ms), transform .9s var(--gh-ease) var(--d, 0ms); }
.gh-js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero: centred title that pops in. */
.gh-hero { position: relative; width: 100%; aspect-ratio: 1920 / 720; overflow: hidden; background: var(--gh-green-deep); }
.gh-hero .banner-slider, .gh-hero .slick-list, .gh-hero .slick-track, .gh-hero .slick-slide, .gh-hero .slick-slide > div, .gh-slide, .gh-slide__link { height: 100%; }
.gh-hero .slick-track { margin-top: 0 !important; }
.gh-slide { position: relative; }
.gh-slide__link { display: block; width: 100%; }
.gh-slide__media, .gh-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-slide__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
/* Bebas Neue is a single-weight, all-caps condensed face, so it runs larger than the old serif. */
.gh-slide__title { margin: 0; color: #fff; font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif !important; font-size: clamp(3.75rem, 8vw, 8.5rem); font-weight: 400 !important; line-height: .92; letter-spacing: .06em; text-shadow: 0 10px 34px rgba(0, 0, 0, .4); }
.gh-slide__desc { margin: 1rem 0 0; max-width: 680px; color: rgba(255, 255, 255, .86); font-size: .88rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
/* Pop-in: each slide's caption zooms in from small as it becomes active. */
.gh-slide__content > * { opacity: 0; transform: scale(.4); }
.gh-hero .slick-active .gh-slide__content > *, .gh-hero .banner-slider:not(.slick-initialized) .gh-slide:first-child .gh-slide__content > * { animation: gh-zoom-in .9s cubic-bezier(.34, 1.4, .64, 1) both; }
.gh-hero .slick-active .gh-slide__content > :nth-child(2) { animation-delay: .2s; }
@keyframes gh-zoom-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.gh-hero__arrow { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 9; width: 48px; height: 48px; margin: 0 !important; padding: 0; border: 0; background: transparent; color: rgba(255, 255, 255, .72); font-size: 20px; line-height: 1; }
.gh-hero__arrow:hover { color: #fff; }
.gh-hero__arrow--prev { left: 1rem; }
.gh-hero__arrow--next { right: 1rem; }

/* Rooms (bento). It sits straight under the slider: a small top gap, no blank band. */
#gh-rooms { padding-block: clamp(20px, 2.4vw, 32px) clamp(40px, 4.6vw, 64px); }
#gh-rooms.gf-shell { width: 100%; padding-inline: var(--gf-gutter, 56px); }
/* The head uses the bento's 12-column grid: the heading sits over the Living Room tile,
   the intro and "Shop all" link over the Dining Room tile, so the row has no empty middle. */
#gh-rooms .gh-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 18px; align-items: end; margin-bottom: clamp(20px, 2.4vw, 32px); }
#gh-rooms .gh-head > :first-child { grid-column: 1 / span 6; }
.gh-head__aside { grid-column: 7 / span 6; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 4px; }
#gh-rooms .gh-head__aside p { margin: 0; max-width: 31em; font-family: var(--gh-serif); font-size: clamp(18px, 1.3vw, 21px); line-height: 1.5; color: var(--hp-muted); }
.gh-head__aside .gh-link { flex: none; }
.gh-rooms { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(200px, 18.5vw, 420px); gap: 18px; }
.gh-room { position: relative; overflow: hidden; display: block; color: #fff !important; background: var(--gh-sand); isolation: isolate; }
.gh-room--1 { grid-column: 1 / span 6; grid-row: span 2; }
.gh-room--2 { grid-column: span 6; }
.gh-room--3, .gh-room--4 { grid-column: span 3; }
.gh-room--5, .gh-room--6 { grid-column: span 6; }
.gh-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--gh-ease); }
.gh-room::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 26, 16, .78) 0%, rgba(20, 26, 16, .1) 50%, rgba(20, 26, 16, 0) 100%); transition: background .6s var(--gh-ease); }
.gh-room:hover img, .gh-room:focus-visible img { transform: scale(1.07); }
.gh-room:hover::after { background: linear-gradient(0deg, rgba(20, 26, 16, .86) 0%, rgba(20, 26, 16, .3) 65%, rgba(20, 26, 16, .1) 100%); }
.gh-room__num { position: absolute; top: 20px; left: 22px; font-size: 11px; letter-spacing: 2px; font-weight: 600; opacity: .85; }
.gh-room__body { position: absolute; left: 24px; right: 80px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.gh-room__name { font-family: var(--gh-serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; }
.gh-room__tag { font-size: 13px; color: rgba(255, 255, 255, .82); max-height: 0; opacity: 0; transform: translateY(8px); transition: all .5s var(--gh-ease); }
.gh-room:hover .gh-room__tag, .gh-room:focus-visible .gh-room__tag { max-height: 40px; opacity: 1; transform: none; }
.gh-room__arrow { position: absolute; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); font-size: 18px; transition: background .4s var(--gh-ease), color .4s var(--gh-ease), transform .4s var(--gh-ease); }
.gh-room:hover .gh-room__arrow { background: #fff; color: var(--gh-ink); transform: rotate(45deg); }

@media (max-width: 768px) { .gh-hero { aspect-ratio: 768 / 715; } .gh-hero__arrow { display: none !important; } }
@media (max-width: 1199px) {
  .gh-head__aside { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 991px) {
  .gh-rooms { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 14px; }
  .gh-room--1, .gh-room--6 { grid-column: span 2; grid-row: span 1; }
  .gh-room--2, .gh-room--3, .gh-room--4, .gh-room--5 { grid-column: span 1; grid-row: span 1; }
  .gh-room__tag { max-height: 40px; opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .gh-slide__title { font-size: clamp(3rem, 14vw, 4.5rem); }
  .gh-slide__desc { font-size: .78rem; letter-spacing: .16em; }
  .gh-head, #gh-rooms .gh-head { display: block; }
  .gh-page .gh-head h2 { font-size: clamp(36px, 10vw, 46px); }
  .gh-head__aside { margin-top: 16px; }
  #gh-rooms .gh-head__aside p { font-size: 18px; }
  .gh-rooms { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gh-room--1, .gh-room--2, .gh-room--3, .gh-room--4, .gh-room--5, .gh-room--6 { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-slide__content > * { animation: none !important; opacity: 1; transform: none; }
  .gh-room img { transition: none; transform: none; }
}

/* ---------- Heritage ---------- */
.hp-heritage { background: var(--hp-linen); }
.hp-heritage__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hp-heritage__copy p { margin: 16px 0 24px; max-width: 34em; font-family: var(--hp-serif); font-size: 20px; line-height: 1.55; color: var(--hp-muted); }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hp-timeline { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--hp-brass-soft); }
.hp-timeline li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0 14px 30px; }
.hp-timeline li + li { border-top: 1px solid var(--hp-rule); }
.hp-timeline li::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--hp-linen); border: 1px solid var(--hp-brass); transform: rotate(45deg); }
.hp-timeline strong { font-family: var(--hp-serif); font-size: 42px; font-weight: 500; line-height: 1; color: var(--hp-hunter); }
.hp-timeline span { font-family: var(--hp-serif); font-size: 20px; line-height: 1.35; color: var(--hp-ink); }

/* ---------- Design service ---------- */
.hp-design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--hp-forest); color: #efe9dc; }
.hp-design__copy { justify-self: end; align-self: center; width: 100%; max-width: 640px; padding: clamp(44px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(44px, 5vw, 72px) 32px; }
.hp .hp-design h2 { color: #f6f1e6; }
.hp-design__copy > p { margin: 14px 0 20px; font-family: var(--hp-serif); font-size: 20px; line-height: 1.55; color: #cfd3c4; }
.hp-checks { display: grid; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.hp-checks li { position: relative; padding-left: 24px; font-family: var(--hp-serif); font-size: 20px; line-height: 1.4; color: #f1ece1; }
.hp-checks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--hp-brass-light); transform: rotate(45deg); }
.hp-design__media { position: relative; min-height: 360px; margin: 0; overflow: hidden; }
.hp-design__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hp-design__media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(251, 249, 244, .65); pointer-events: none; }

/* ---------- Reviews ---------- */
.hp-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-review { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 4px clamp(20px, 3vw, 44px); text-align: center; }
.hp-review + .hp-review { border-left: 1px solid var(--hp-rule); }
.hp-review__stars { font-size: 15px; letter-spacing: 3px; color: var(--hp-brass); }
.hp-review__stars .off { color: var(--hp-rule); }
.hp-review blockquote { margin: 0; padding: 0; border: 0; font-family: var(--hp-serif); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--hp-ink); }
.hp-review figcaption { font-family: var(--hp-sans); font-size: 13px; font-weight: 600; color: var(--hp-hunter); }

/* ---------- Makers roster ---------- */
.hp-makers { background: var(--hp-linen); }
.hp-makers__list { max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; columns: 4; column-gap: 40px; column-rule: 1px solid var(--hp-rule); }
.hp-makers__list li { margin: 0; padding: 4px 0; break-inside: avoid; }
.hp-makers__list a { font-family: var(--hp-serif); font-size: 21px; font-weight: 500; line-height: 1.3; color: var(--hp-ink) !important; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.hp-makers__list a:hover { color: var(--hp-hunter) !important; border-bottom-color: var(--hp-brass); }

/* ---------- Video modal ---------- */
.hp-video { width: min(1100px, 92vw); padding: 0; border: 0; background: #000; overflow: visible; }
.hp-video::backdrop { background: rgba(14, 18, 11, .86); }
.hp-video__frame { aspect-ratio: 16 / 9; }
.hp-video__frame iframe, .hp-video__frame video { display: block; width: 100%; height: 100%; border: 0; }
.hp-video__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-size: 26px; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hp-makers__list { columns: 3; }
}
@media (max-width: 991px) {
  .hp-shell { width: calc(100% - 40px); }
  .hp-heritage__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hp-design { grid-template-columns: minmax(0, 1fr); }
  .hp-design__media { order: -1; min-height: 0; aspect-ratio: 16 / 7; }
  .hp-design__copy { justify-self: stretch; max-width: none; padding: 36px 20px 44px; }
  .hp-reviews__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(280px, 46%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hp-reviews__grid::-webkit-scrollbar { display: none; }
  .hp-review { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .hp-shell { width: calc(100% - 32px); }
  .hp h2 { font-size: clamp(28px, 8vw, 34px); }
  .hp-head p, .hp-heritage__copy p, .hp-design__copy > p { font-size: 18px; }
  .hp-timeline li { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 12px 0 12px 22px; }
  .hp-timeline strong { font-size: 32px; }
  .hp-timeline span, .hp-checks li { font-size: 18px; }
  .hp-design__media { aspect-ratio: 4 / 3; }
  .hp-design__media::after { inset: 10px; }
  .hp-reviews__grid { grid-auto-columns: 84%; }
  .hp-review { padding-inline: 16px; }
  .hp-review blockquote { font-size: 19px; }
  .hp-makers__list { columns: 2; column-gap: 24px; }
  .hp-makers__list a { font-size: 18px; }
}
