:root {
  color-scheme: dark;
  --page:#151613;
  --panel:#1c1d19;
  --surface:#23241f;
  --ink:#f5f0e5;
  --muted:#c4c0b3;
  --gold:#ddc195;
  --line:#3f4037;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Aptos', 'Segoe UI', system-ui, sans-serif;
  --wrap: min(1392px, calc(100% - 64px));
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--page); color:var(--ink); font: 16px/1.6 var(--sans); }
img { display:block; width:100%; max-width:100%; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
[hidden] { display:none !important; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:var(--serif); font-weight:400; }
h1 { font-size:clamp(3.4rem, 7.25vw, 7.3rem); line-height:.96; letter-spacing:-.064em; }
h2 { font-size:clamp(2.25rem, 4.35vw, 4.35rem); line-height:1.01; letter-spacing:-.052em; }
h3 { font-size:1.65rem; line-height:1.13; letter-spacing:-.035em; }
p { color:var(--muted); }
.frame { width:var(--wrap); margin-inline:auto; }
.skip { position:absolute; z-index:8; left:10px; top:10px; transform:translateY(-200%); padding:.65rem 1rem; color:var(--page); background:var(--gold); }
.skip:focus { transform:none; }
.header { height:77px; display:flex; align-items:center; justify-content:space-between; gap:18px; position:relative; z-index:5; }
.brand { display:inline-flex; align-items:center; gap:11px; color:var(--ink); flex:none; }
.brand-wordmark { width:clamp(113px,13vw,153px); height:auto; }
.header nav,.footer nav { display:flex; align-items:center; gap:clamp(14px, 2.3vw, 36px); }
.header nav a,.footer nav a { font-size:.91rem; color:var(--muted); white-space:nowrap; }
.header nav a:is(:hover,[aria-current]),.footer nav a:hover { color:var(--gold); }
.button { display:inline-flex; align-items:center; justify-content:center; width:max-content; max-width:100%; min-height:45px; padding:10px 19px; border:1px solid transparent; border-radius:5px; font-size:.9rem; font-weight:600; line-height:1.3; text-align:center; transition:background .2s,border-color .2s,color .2s; }
.button.primary { background:var(--gold); color:#1a1b17; border-color:var(--gold); }
.button.primary:hover { background:#f3d7aa; border-color:#f3d7aa; }
.button.outline,.button.nav-contact { border-color:#8e7d61; color:var(--ink); background:transparent; }
.button.outline:hover,.button.nav-contact:hover { background:var(--gold); color:var(--page); border-color:var(--gold); }
.button.glass { color:white; background:#191b17b3; border-color:#ffffff7d; }
.button.glass:hover { background:#3e3e31; border-color:white; }
.actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.menu-toggle,.mobile-contact { display:none !important; }
.hero { min-height:max(630px, 100svh); display:flex; align-items:center; position:relative; overflow:hidden; isolation:isolate; background:#252e22; }
.hero-image,.hero-shade,.sunlight { position:absolute; inset:0; }
.hero-image img { height:100%; object-fit:cover; object-position:54% 50%; }
.hero-rain { opacity:0; transition:opacity 1.1s ease-in-out; }
.hero[data-weather=rain] .hero-rain { opacity:1; }
.hero-shade { background:linear-gradient(90deg,#0c100cdb 0%,#111510b8 24%,#10140d42 57%,#12171004 78%),linear-gradient(0deg,#10120eac 0%,transparent 23%); }
.hero-copy { padding:112px max(32px, calc((100vw - 1280px)/2), 6.5vw) 105px; position:relative; }
.eyebrow { color:var(--gold); text-transform:uppercase; font-size:.81rem; letter-spacing:.15em; font-weight:650; line-height:1.4; margin-bottom:14px; }
.hero h1 em { font-weight:400; color:#f2dfbf; }
.hero-copy > p:not(.eyebrow) { color:#f1eadc; max-width:420px; margin:22px 0 25px; font-size:1.08rem; }
.weather { position:absolute; left:max(32px, calc((100vw - 1280px)/2), 6.5vw); bottom:23px; display:flex; align-items:center; gap:7px; }
.weather-buttons { display:flex; align-items:center; gap:2px; padding:3px; border:1px solid #ffffff69; border-radius:100px; background:#151814dc; }
.weather button { background:transparent; color:#faf7ec; min-height:37px; border:0; border-radius:100px; padding:5px 11px; font-size:.84rem; display:flex; align-items:center; gap:6px; }
.weather-buttons button[aria-pressed=true] { color:#181914; background:#f1dbb1; }
.weather button:not([aria-pressed=true]):hover { background:#5c574e; }
.weather .play-weather { border:1px solid #ffffff69; background:#151814dc; width:39px; padding:0; display:grid; place-items:center; }
.hero-caption { position:absolute; right:24px; bottom:33px; color:#fff9ea; text-align:right; font-size:.79rem; background:#171a15c7; padding:4px 10px; border-radius:5px; }
.hero-caption span { margin-inline:3px; }
.section { padding:clamp(51px,7vw,100px) 0 0; scroll-margin-top:12px; }
.section-head { display:grid; grid-template-columns:1.35fr .7fr; align-items:end; gap:24px; margin-bottom:25px; }
.section-head > div:last-child { display:grid; gap:13px; justify-items:start; }
.section-head > div:last-child p { max-width:370px; }
.space-grid,.guide-grid,.process-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.space-card { position:relative; isolation:isolate; min-height:clamp(255px,25vw,345px); overflow:hidden; display:flex; align-items:flex-end; padding:20px; }
.space-card img { position:absolute; inset:0; height:100%; object-fit:cover; z-index:-2; }
.space-card::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#0b0c09f5 0%,#0b0c09b5 25%,#0b0c0900 70%); }
.space-card img,.project-open img,.guide-card img { transition:transform .35s; }
.space-card:hover img,.project-open:hover img,.guide-card a:hover img { transform:scale(1.045); }
.space-card h3 { font-size:clamp(1.55rem,2.4vw,2.4rem); margin-bottom:5px; }
.space-card p { color:#efe9dd; max-width:315px; line-height:1.35; }
.commercial { padding:14px 0; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 20px; }
.text-link { color:var(--gold); text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.text-link:hover { color:var(--ink); }
.product-rail { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.product-rail a { display:flex; flex-direction:column; gap:6px; border:1px solid var(--line); border-radius:8px; padding:17px; background:var(--panel); }
.product-rail a:hover { border-color:var(--gold); }
.product-rail strong { font:1.7rem/1.1 var(--serif); }
.product-rail span { font-size:.94rem; line-height:1.4; color:var(--muted); }
.product-icon { width:43px; height:43px; color:var(--gold); }
.project-grid { display:grid; gap:16px; }
.home-projects { grid-template-columns:1.45fr 1fr 1fr; }
.full-projects { grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; }
.project-card { border:1px solid var(--line); background:var(--panel); border-radius:8px; overflow:hidden; }
.project-open { width:100%; padding:0; display:block; position:relative; overflow:hidden; border:0; border-radius:0; color:var(--ink); background:var(--surface); }
.project-open img { aspect-ratio:1.5; object-fit:cover; }
.home-projects .project-open img { aspect-ratio:unset; height:clamp(160px,19vw,265px); }
.project-open:focus-visible { outline-offset:-5px; }
.expand-icon { position:absolute; right:12px; bottom:12px; display:grid; width:33px; aspect-ratio:1; place-items:center; background:#181a16db; border:1px solid #ffffff5d; border-radius:50%; font-size:1.2rem; }
.project-caption { padding:14px 17px 19px; }
.project-caption p { font-size:.84rem; margin-bottom:4px; }
.project-caption h3 { font-size:clamp(1.35rem,2.2vw,1.9rem); }
.project-dialog { position:fixed; border:1px solid #76644a; border-radius:11px; color:var(--ink); background:var(--panel); padding:0; width:min(790px, calc(100% - 32px)); max-height:calc(100dvh - 32px); }
.project-dialog::backdrop { background:#090b08d6; }
.dialog-close { position:absolute; top:9px; right:9px; width:43px; height:43px; display:grid; place-content:center; background:#171914e8; color:var(--ink); border:1px solid #ffffff84; border-radius:50%; z-index:1; }
.dialog-body img { max-height:52vh; object-fit:cover; }
.project-dialog-copy { padding:22px clamp(20px,5vw,40px) 32px; }
.project-dialog-copy p:not(.eyebrow) { margin:13px 0 19px; }
.about-band { display:grid; grid-template-columns:1.09fr 1fr; margin-top:clamp(50px,7vw,98px); overflow:hidden; border-radius:9px; background:var(--panel); border:1px solid var(--line); }
.about-band img { object-fit:cover; height:100%; min-height:310px; }
.about-band > div { padding:clamp(26px,5.1vw,72px); align-self:center; }
.about-band p:not(.eyebrow) { margin:16px 0 22px; }
.guide-card { border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--panel); }
.guide-card a { display:block; height:100%; }
.guide-card a:focus-visible { outline-offset:-4px; }
.guide-card img { aspect-ratio:1.9; object-fit:cover; transform-origin:center top; }
.guide-card a > div { padding:20px 18px; position:relative; background:var(--panel); }
.guide-card .eyebrow { margin-bottom:7px; }
.guide-card h3 { margin-bottom:8px; }
.guide-card .text-link { display:inline-block; margin-top:12px; font-size:.92rem; }
.cta { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:clamp(51px,7vw,98px); padding:clamp(25px,5vw,68px); border:1px solid #665943; border-radius:9px; background:linear-gradient(110deg,#28281f,#1b1c17); }
.cta p { margin-top:13px; }
.footer { display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; padding:31px 0; margin-top:36px; border-top:1px solid var(--line); }
.footer p,.footer small { color:var(--muted); font-size:.8rem; margin-top:3px; }
.footer .brand-wordmark { width:clamp(150px,16vw,195px); }
.page-intro { padding:clamp(45px,7vw,96px) 0 30px; border-top:1px solid var(--line); }
.page-intro h1 { max-width:1060px; }
.lede { margin-top:20px; max-width:620px; font-size:1.13rem; }
.category-nav { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.category-nav :is(a,button),.related-links a { background:var(--panel); border:1px solid #78694f; border-radius:100px; font-size:.88rem; color:var(--ink); padding:7px 14px; }
.category-nav :is(a,button):hover,.category-nav button[aria-pressed=true],.related-links a:hover { color:var(--page); border-color:var(--gold); background:var(--gold); }
.gallery-section,.page-intro + .section { padding-top:20px; }
.gallery-section .category-nav { margin-bottom:22px; }
.product-family { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.65fr); gap:clamp(20px,4vw,60px); align-items:start; }
.family-summary { background:var(--panel); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.family-summary img { aspect-ratio:1.95; object-fit:cover; }
.family-summary > div:last-child { padding:23px; }
.family-summary h2 { font-size:clamp(1.7rem,3.2vw,3.2rem); }
.category-illustration { padding:28px; background:linear-gradient(130deg,#37382d,#262821); display:grid; place-content:center; }
.category-illustration svg { width:96px; height:96px; }
.product-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.product-list article,.process-grid article { border:1px solid var(--line); background:var(--panel); border-radius:8px; padding:20px; }
.product-list article p,.process-grid article p { margin:9px 0 13px; }
.product-list .text-link { display:inline-block; }
.related-links { margin-top:45px; }
.related-links h2 { font-size:2rem; margin-bottom:12px; }
.related-links > div { display:flex; flex-wrap:wrap; gap:10px; }
.page-intro + .about-band { margin-top:8px; }
.article > img { border-radius:9px; max-height:510px; object-fit:cover; }
.article-body { max-width:760px; margin:32px auto 0; }
.article-body section { margin:30px 0; }
.article-body h2 { font-size:clamp(1.7rem,3vw,2.65rem); margin-bottom:8px; }
.contact { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr); gap:30px; margin-bottom:60px; align-items:start; }
.contact aside,.enquiry { padding:clamp(22px,4vw,42px); background:var(--panel); border:1px solid var(--line); border-radius:8px; }
.contact aside h2 { font-size:clamp(1.7rem,3vw,2.7rem); }
.contact aside p { margin-top:14px; }
.contact aside .button { margin-top:12px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 15px; }
.enquiry label { display:block; color:var(--ink); margin-bottom:15px; line-height:1.45; }
.enquiry :is(input,select,textarea) { display:block; width:100%; margin-top:6px; min-height:44px; padding:10px; background:#151613; color:var(--ink); border:1px solid #777565; border-radius:5px; }
.enquiry textarea { resize:vertical; }
.enquiry select { appearance:none; padding-right:36px; background:#151613 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23f5f0e5' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 15px no-repeat; }
.enquiry-result { border-top:1px solid var(--line); padding-top:20px; margin-top:24px; }
.enquiry-status { margin-top:9px; }
@media (max-width:900px) {
  :root { --wrap:calc(100% - 36px); }
  .header nav,.footer nav { gap:16px; }
  .space-card { padding:14px; }
  .product-rail a { padding:12px; }
}
@media (max-width:820px) {
  :root { --wrap:calc(100% - 28px); }
  .header { height:66px; }
  .menu-toggle { display:block !important; background:transparent; border:1px solid #89795e; color:var(--ink); padding:6px 14px; border-radius:5px; }
  .header .desktop-contact { display:none; }
  .header .mobile-contact { display:inline-flex !important; }
  .header nav { display:none; position:absolute; top:58px; right:0; width:min(265px,100%); padding:18px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:0 12px 30px #0009; }
  .header nav.open { display:grid; align-items:start; gap:11px; }
  .header nav a { padding-block:6px; }
  .hero { min-height:max(570px, 92svh); align-items:flex-end; }
  .hero-copy { padding:84px 20px 105px; width:100%; }
  .hero-shade { background:linear-gradient(0deg,#0d100de8 0%,#0d100dd9 24%,#0d100d82 49%,transparent 76%); }
  .hero-image img { object-position:54% center; }
  .hero h1 { font-size:clamp(2.7rem,10vw,4.6rem); }
  .hero-copy > p:not(.eyebrow) { font-size:.99rem; margin:15px 0 17px; }
  .weather { left:18px; bottom:34px; }
  .hero-caption { right:auto; left:18px; bottom:5px; background:transparent; padding:0; text-align:left; font-size:.76rem; }
  .section-head,.about-band,.product-family,.contact { grid-template-columns:1fr; }
  .section-head { gap:10px; }
  .section-head > div:last-child { gap:10px; }
  .space-grid { grid-template-columns:1fr; }
  .space-card { min-height:240px; padding:17px; }
  .product-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-projects,.guide-grid { grid-template-columns:1fr; }
  .full-projects { gap:12px; }
  .home-projects .project-open img { height:auto; aspect-ratio:1.7; }
  .about-band img { min-height:0; aspect-ratio:1.6; }
  .cta { align-items:flex-start; flex-direction:column; }
  .footer { align-items:flex-start; flex-direction:column; }
  .footer nav { flex-wrap:wrap; }
  .process-grid { grid-template-columns:1fr; }
  .page-intro h1 { font-size:clamp(2.8rem,11vw,5.1rem); }
}
@media (max-width:400px) {
  .hero .button { padding-inline:11px; }
  .form-grid,.product-list,.full-projects { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}

.rainfall { position:absolute; inset:0; pointer-events:none; overflow:hidden; opacity:0; transition:opacity 1.1s ease-in-out; }
.rainfall::before { content:''; position:absolute; inset:-120px -60px 0; background:
  repeating-linear-gradient(106deg,transparent 0 65px,#b4d2ef40 66px,#b4d2ef40 67px,transparent 68px 129px) 0 0 / 260px 129px,
  repeating-linear-gradient(103deg,transparent 0 27px,#bdcfeb24 28px,transparent 29px 92px) 0 0 / 190px 92px;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.hero[data-weather=rain] .rainfall { opacity:.28; }
.hero[data-weather=rain] .rainfall::before { animation:downpour .46s linear infinite; }
@keyframes downpour { to { background-position:-40px 129px,-24px 92px; } }
@media (prefers-reduced-motion:reduce) { .hero[data-weather=rain] .rainfall::before { animation:none; } }

body:has(.hero) > .header { position:absolute; inset:0 0 auto; }
body:has(.hero) > .header nav a { color:#f5f0e5; text-shadow:0 1px 7px #10120f; }
body:has(.hero) > .header nav a:hover { color:var(--gold); }
body:has(.hero) > .header .nav-contact { background:#15161399; }
body:has(.hero) > .header .nav-contact:hover { background:var(--gold); }
.hero-shade {
  background:linear-gradient(180deg,#0e100de0 0%,#0e100d55 13%,transparent 25%),
    linear-gradient(90deg,#0c100cd6 0%,#111510a8 25%,#10140d12 63%,transparent 83%),
    linear-gradient(0deg,#10120ead 0%,transparent 22%);
}
.sunlight {
  opacity:.86; pointer-events:none; transition:opacity 1.05s ease-in-out;
  background:
    radial-gradient(ellipse at 93% 8%,#fff4ca8c 0%,#ffe0a54d 16%,transparent 54%),
    radial-gradient(ellipse at 78% 51%,#ffd38e26 0%,transparent 52%);
  mix-blend-mode:screen;
}
.sunlight::before {
  content:''; position:absolute; inset:0; opacity:.55;
  background:conic-gradient(from 196deg at 95% 3%,transparent 0deg,#fff0b833 10deg,transparent 15deg,#fff0be28 22deg,transparent 29deg,#fff0be29 44deg,transparent 51deg);
  mask-image:radial-gradient(ellipse at 92% 4%,#000 5%,transparent 69%);
}
.hero[data-weather=rain] .sunlight { opacity:0; }
.hero[data-weather=sun] .sunlight::before { animation:daylight 4.8s ease-out both; }
@keyframes daylight { from { opacity:.26; } to { opacity:.62; } }
.footer address,.showroom-details address,.contact address { font-style:normal; display:grid; gap:3px; color:var(--muted); }
.footer address strong,.showroom-details address strong,.contact address strong { color:var(--ink); font-weight:600; }
.contact address { margin-top:16px; }
.footer nav { flex-wrap:wrap; }
.refer-band { margin-top:clamp(40px,6vw,85px); }
.refer-band .section-head { border-top:1px solid var(--line); padding-top:28px; }
.refer-band h2 { font-size:clamp(2.35rem,4vw,3.6rem); }
.tour-feature {
  display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:stretch;
  background:#23241f; min-height:320px;
}
.tour-feature img { height:100%; max-height:470px; object-fit:cover; }
.tour-copy { padding:clamp(26px,4vw,62px); align-self:center; }
.tour-copy p:not(.eyebrow) { margin:13px 0 22px; }
.tour-copy h2 { font-size:clamp(2.3rem,4.15vw,4.1rem); }
.showroom-details { padding:20px 0; display:flex; align-items:start; gap:15px 35px; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.tour-products .space-card img { object-position:center; }
.ref-trap { position:absolute; top:0; left:-10000px; width:1px; height:1px; overflow:hidden; }
.optional { color:var(--muted); font-size:.85em; }
.referral-status { margin-top:12px; }
.referral-status[data-error] { color:#ffb8a8; }
.referral-admin { margin-bottom:60px; }
.admin-table-wrap { overflow:auto; margin:14px 0; }
.admin-table { border-collapse:collapse; width:100%; min-width:710px; text-align:left; }
.admin-table :is(th,td) { padding:12px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.admin-table td { overflow-wrap:anywhere; }
.admin-table th { background:var(--surface); color:var(--gold); }
.admin-pager button:disabled { opacity:.45; cursor:default; }
@media (max-width:820px) {
  .hero-shade {
    background:linear-gradient(180deg,#0e100dde,transparent 17%),
      linear-gradient(0deg,#0d100df1 0%,#0d100ddc 24%,#0d100d73 52%,transparent 78%);
  }
  .sunlight { background:radial-gradient(ellipse at 92% 13%,#fff4ca85 0%,#ffe0a535 19%,transparent 56%); }
  .tour-feature { grid-template-columns:1fr; }
  .tour-feature img { aspect-ratio:1.48; max-height:320px; }
}
@media (prefers-reduced-motion:reduce) { .hero[data-weather=sun] .sunlight::before { animation:none; } }
