/* Crown Feature Walls. Light showroom layout in the brand palette:
   Midnight Navy #020C21, Warm Ivory #F9E3B3, Fern Olive #968833, Antique Gold #CA862E. */
:root {
  --navy: #020c21;
  --navy-soft: #1d2740;
  --ivory: #f9e3b3;
  --bg: #fbf9f5;
  --panel: #f1ebe0;
  --panel-2: #e9e1d3;
  --gold: #ca862e;
  --gold-deep: #8f5a17;
  --olive: #968833;
  --ink: #0b1222;
  --text: #2c2f38;
  --muted: #5f5d58;
  --line: #ddd4c4;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 0.55em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.todo { background: #ffe14d; color: #3b2f00; padding: 0 4px; border-radius: 2px; font-family: var(--sans); font-size: 0.85em; }
.split-copy a:not(.pill), .faqs a, .prose a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--ink); }

/* Pill buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 30px; border-radius: 999px;
  border: 1.5px solid var(--navy); font: 700 0.86rem/1.1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.pill svg { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .2s; }
.pill:hover svg { transform: translateX(3px); }
.pill-solid { background: var(--navy); color: #fff; }
.pill-solid:hover { background: var(--navy-soft); }
.pill-outline { background: transparent; color: var(--navy); }
.pill-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 58px; height: auto; }
.wordmark { display: flex; flex-direction: column; font-family: var(--serif); text-transform: uppercase; line-height: 1; }
.wm-1 { font-size: 1.5rem; letter-spacing: 0.4em; }
.wm-2 { font-size: 0.6rem; letter-spacing: 0.32em; margin-top: 6px; color: var(--gold-deep); font-family: var(--sans); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { font-weight: 700; text-decoration: none; color: var(--ink); }
.site-nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; gap: 34px; height: 46px; align-items: center; }
.nav-inner a { text-decoration: none; font-size: 0.93rem; color: var(--ink); position: relative; padding-block: 12px; }
.nav-inner a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-inner a:hover::after, .nav-inner a[aria-current]::after { transform: scaleX(1); }
.utility-bar { background: var(--navy); color: var(--ivory); }
.utility-inner { display: flex; justify-content: center; gap: 0; height: 34px; align-items: center; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.utility-inner span { padding: 0 26px; border-left: 1px solid rgba(249, 227, 179, 0.3); }
.utility-inner span:first-child { border-left: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 960px) {
  .utility-inner span:nth-child(n+3) { display: none; }
  .header-phone { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 110px; }
  .header-top { height: 66px; }
  .nav-toggle { display: block; }
  .brand { margin-right: auto; }
  .brand img { width: 46px; }
  .wm-1 { font-size: 1.2rem; }
  .header-actions .pill { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--bg); box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); }
  .site-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; height: auto; gap: 0; padding-block: 8px 16px; }
  .nav-inner a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-inner a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .utility-inner { font-size: 0.66rem; }
  .utility-inner span { padding: 0 12px; white-space: nowrap; }
  .utility-inner span:nth-child(n+2) { display: none; }
}

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 18px; font-size: 0.85rem; color: var(--ink); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { color: var(--muted); }

/* Centred intro */
.intro { text-align: center; max-width: 860px; padding-block: 28px 44px; }
.intro p { color: var(--muted); font-size: 1.05rem; }
.intro-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.intro-actions.left { justify-content: flex-start; }

/* Carousels */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: none; }
.car-btn { position: absolute; top: calc(50% - 30px); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
  box-shadow: 0 4px 14px rgba(0,0,0,.18); display: grid; place-items: center; z-index: 2; transition: opacity .2s; }
.car-btn svg { width: 22px; height: 22px; fill: var(--navy); }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; min-height: 12px; }
.car-dots button { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; padding: 0; }
.car-dots button[aria-current="true"] { background: var(--navy); }

.hero-carousel .carousel-track { padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); }
.slide { position: relative; width: clamp(260px, 30vw, 400px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--panel); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transition: transform .6s ease; }
.slide:hover img { transform: scale(1.03); }
.slide-label, .tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px; color: #fff; font: 400 1.35rem/1.2 var(--serif);
  background: linear-gradient(to top, rgba(2, 12, 33, 0.78), rgba(2, 12, 33, 0)); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: clamp(56px, 8vw, 96px); }
.split-img { position: relative; min-height: 560px; overflow: hidden; }
.split-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.split.landscape .split-img img { object-position: 50% 50%; }
.split-copy { padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 96px); align-self: center; text-align: center; }
.split-copy p { color: var(--muted); max-width: 34em; margin-inline: auto; }
.split-copy .pill { margin-top: 14px; }
.split.reverse .split-img { order: 2; }
.tone-panel { background: var(--panel); }
.split.tone-panel .split-img { min-height: 600px; }
.visit .split-copy h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.visit .split-copy h2 + h3 { margin-top: 8px; }
.motion .split-img { background: var(--navy); display: grid; place-items: center; padding: 32px; }
.motion .split-img video { width: auto; height: auto; max-height: 78vh; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 8px; }
.flatlay .split-img, .materials .split-img { background: var(--panel-2); display: grid; place-items: center; padding: 40px; }
.flatlay .split-img > img { position: static; width: auto; height: auto; max-height: 72vh; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.4); }
.materials .split-img img { position: static; width: auto; height: auto; max-height: 72vh; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.4); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .split-img, .split.tone-panel .split-img { min-height: 0; aspect-ratio: 4 / 5; }
  .split.landscape .split-img { aspect-ratio: 3 / 2; }
  .motion .split-img, .materials .split-img, .flatlay .split-img { aspect-ratio: auto; }
}

/* Range carousel with panel */
.range { display: grid; grid-template-columns: minmax(260px, 0.32fr) 1fr; gap: 24px; align-items: stretch; margin-top: clamp(56px, 8vw, 96px);
  padding-left: max(20px, calc((100vw - var(--wrap)) / 2)); }
.range-panel { background: var(--panel); border-radius: 4px; padding: 44px 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.range-panel p { color: var(--muted); }
.range-carousel { min-width: 0; }
.range-carousel .carousel-track { padding-right: 20px; }
.tile { position: relative; display: block; width: clamp(230px, 22vw, 300px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: var(--panel); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-label small { display: block; font: 700 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); margin-bottom: 8px; }
@media (max-width: 860px) {
  .range { grid-template-columns: 1fr; padding-left: 0; }
  .range-panel { margin-inline: 20px; padding: 32px 24px; }
  .range-carousel .carousel-track { padding-inline: 20px; scroll-padding-inline: 20px; }
}

/* Designs page grid */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 22px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.design-grid .tile { width: auto; }
.tile[hidden] { display: none; }

/* CTA box */
.cta-box { margin-top: clamp(56px, 8vw, 96px); background: var(--panel); border-radius: 22px; padding: clamp(36px, 5vw, 56px) 24px; text-align: center; max-width: 920px; }
.cta-box > p { color: var(--muted); max-width: 40em; margin-inline: auto; }
.contact-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.pill-contact { text-transform: none; letter-spacing: 0; font-size: 0.95rem; padding-inline: 24px; }
.pill-contact svg { width: 20px; height: 20px; }
.pill-contact:hover svg { transform: none; }
.cta-area { margin: 22px 0 0 !important; font-family: var(--serif); color: var(--ink) !important; }

/* FAQs */
.faqs { max-width: 980px; margin-top: clamp(56px, 8vw, 96px); }
.faqs h2 { text-align: center; margin-bottom: 30px; }
.faqs details { background: var(--panel); border-radius: 4px; margin-bottom: 10px; }
.faqs summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 600; color: var(--ink); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; }
.faqs details[open] summary::after { content: "\2212"; }
.faqs details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); padding-top: 52px; font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr 1fr; gap: 36px; }
.site-footer h3 { font: 700 1rem/1.2 var(--sans); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.two-col { columns: 2; column-gap: 28px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links a { font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; }
.footer-brand { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.footer-word { font: 400 1.6rem/1 var(--serif); letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); }
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.social.is-todo { opacity: 0.35; }
.footer-legal { padding-block: 22px 40px; font-size: 0.78rem; color: var(--muted); }
.footer-legal p { margin-bottom: 8px; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } .footer-word { font-size: 1.15rem; letter-spacing: 0.2em; } }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .mobile-bar .pill { padding-inline: 10px; min-height: 46px; font-size: 0.8rem; }
  body { padding-bottom: 76px; }
}

/* Design page */
.design-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 8px; }
.gallery { display: grid; grid-template-columns: 1fr 88px; gap: 12px; align-items: start; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: var(--panel); border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; max-height: 80vh; aspect-ratio: 9 / 16; object-fit: cover; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 80vh; overflow-y: auto; scrollbar-width: thin; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; opacity: 0.65; transition: opacity .2s, border-color .2s; }
.thumb img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--navy); opacity: 1; }
.is-landscape .gallery { grid-template-columns: 1fr; }
.is-landscape .gallery-main img { aspect-ratio: 3 / 2; max-height: none; }
.design-copy { position: sticky; top: 180px; }
.kicker { font: 700 0.74rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.lead { font-size: 1.06rem; color: var(--muted); }
.highlights { list-style: none; padding: 22px 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; border-block: 1px solid var(--line); }
.highlights li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--ink); }
.highlights li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1.5px; background: var(--gold); }
.fineprint { font-size: 0.86rem; color: var(--muted); margin-top: 20px; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
@media (max-width: 900px) {
  .design-hero { grid-template-columns: 1fr; }
  .design-copy { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main img { max-height: 74vh; }
  .thumbs { flex-direction: row; overflow-x: auto; }
  .thumb { flex: 0 0 62px; }
}
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 760px; padding-block: 20px; }
.prose p { color: var(--muted); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 12, 33, 0.96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(2, 12, 33, 0.9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 140px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); width: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { font-size: 0.9rem; color: rgba(255,255,255,.8); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 600px) { .lightbox figure { max-width: 100vw; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }
