@font-face { font-family:Manrope; src:url('../asaiah/fonts/Manrope.ttf'); font-weight:200 800; font-display:swap; }
@font-face { font-family:Display; src:url('../asaiah/fonts/DMSerifDisplay-Regular.ttf'); font-display:swap; }
@font-face { font-family:Display; src:url('../asaiah/fonts/DMSerifDisplay-Italic.ttf'); font-style:italic; font-display:swap; }
:root { --paper:#f4f0e6; --ink:#292c25; --pine:#262c25; --brass:#d5b488; --rule:#bcaf9b; --serif:Display,Georgia,serif; --gutter:clamp(20px,5vw,90px); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font:480 16px/1.6 Manrope,Arial,sans-serif; }
button,select,input { font:inherit; }
button,a,select { touch-action:manipulation; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid #ae6239; outline-offset:4px; }
.skip { position:absolute; z-index:9; top:4px; left:7px; padding:11px 18px; background:var(--paper); transform:translateY(-140%); }
.skip:focus { transform:none; }
h1,h2,h3,figure,p { margin:0; }
h1,h2,h3 { font-family:var(--serif); font-weight:400; }
.eyebrow { font:750 10px/1.45 Manrope,Arial,sans-serif; text-transform:uppercase; letter-spacing:.17em; }
.mast,footer { display:flex; align-items:center; justify-content:space-between; gap:15px; padding-inline:var(--gutter); }
.mast { background:var(--paper); min-height:clamp(65px,6vw,93px); border-bottom:1px solid #332c232e; }
.wordmark { font:400 clamp(27px,3.1vw,52px)/1 var(--serif); letter-spacing:-.045em; white-space:nowrap; }
.wordmark em { color:#826847; font-size:.85em; }
.mast nav,footer nav { display:flex; align-items:center; gap:clamp(15px,2.8vw,46px); }
.mast nav a,footer nav a,.rule-link { display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:14px; font-weight:650; }
.mast nav .nav-brief { padding-inline:17px; border:1px solid #9d917c; }
.mast a:hover,footer a:hover,.rule-link:hover { text-decoration:underline; text-underline-offset:5px; }
.opening { display:grid; grid-template-columns:minmax(0,.80fr) minmax(0,1.62fr); background:var(--pine); color:#fbf5e7; }
.opening-copy { display:flex; align-items:flex-start; flex-direction:column; justify-content:center; padding:clamp(36px,5vw,80px) clamp(20px,2.8vw,52px) clamp(36px,5vw,80px) var(--gutter); }
.opening .eyebrow,.material-section .eyebrow { color:var(--brass); }
.opening h1 { margin:22px 0 20px; font-size:clamp(56px,5.6vw,106px); line-height:.95; letter-spacing:-.05em; }
.opening h1 em { display:block; color:#e1c6a3; }
.opening-lead { color:#e3e0d2; font-size:clamp(15px,1.2vw,21px); line-height:1.55; max-width:30ch; }
.rule-link { border-bottom:1px solid currentColor; width:fit-content; }
/* Draw the direction marks so they also render on systems without arrow glyphs. */
.rule-link span,.nav-brief span,.commission span,.brief-button span {
  display:inline-block; position:relative; width:12px; height:12px; flex:none;
  font-size:0; line-height:0; transform:rotate(-45deg);
}
.rule-link span::before,.nav-brief span::before,.commission span::before,.brief-button span::before {
  content:""; position:absolute; top:5px; left:0; width:11px; border-top:1.5px solid currentColor;
}
.rule-link span::after,.nav-brief span::after,.commission span::after,.brief-button span::after {
  content:""; position:absolute; right:1px; top:2px; width:6px; height:6px;
  border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg);
}
.opening .rule-link span,#save-brief span { transform:rotate(90deg); }
#use-finish span { transform:rotate(45deg); }
.opening .rule-link { margin-top:clamp(20px,2.9vw,46px); color:#f4e4cd; }
.opening-plate { position:relative; display:flex; flex-direction:column; min-width:0; background:#4a3d31; }
.room-view { position:relative; flex:auto; min-height:clamp(390px,67svh,760px); overflow:hidden; isolation:isolate; }
.room-view img,.room-view canvas { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.room-view canvas { opacity:0; }
.room-view canvas.ready { opacity:1; }
.scene-bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0 16px; padding:5px clamp(13px,1.8vw,36px); min-height:50px; color:#f3e9da; background:#36352e; font-size:12px; }
.scene-bar i { color:var(--brass); margin:0 4px; }
.camera-control { display:inline-flex; align-items:center; gap:10px; font-weight:650; }
.camera-control input { width:clamp(72px,9vw,150px); min-height:40px; accent-color:#e0bd8f; cursor:ew-resize; }
.section,.material-section { padding:clamp(55px,6.5vw,110px) var(--gutter); }
.section h2,.material-section h2 { font-size:clamp(45px,5.8vw,98px); line-height:1; letter-spacing:-.05em; margin-top:12px; }
.section h2 em { color:#78583d; }
.project-intro,.consult { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); gap:clamp(20px,5vw,96px); align-items:end; }
.project-intro>p,.consult p:not(.eyebrow) { font-size:clamp(15px,1.28vw,20px); line-height:1.6; max-width:49ch; color:#575448; }
.comparison { margin-top:clamp(22px,3vw,42px); }
.compare-images { position:relative; display:grid; grid-template-columns:1fr 1fr; isolation:isolate; overflow:hidden; background:#c3b69e; }
.compare-images img { width:100%; height:auto; display:block; }
.compare-images .divider,.compare-images input,.comparison figcaption { display:none; }
.comparison.interactive .compare-images { display:grid; grid-template-columns:1fr; aspect-ratio:1.95; }
.comparison.interactive img { height:100%; object-fit:cover; object-position:center 60%; grid-area:1/1; min-height:0; }
.comparison.interactive .after-img { clip-path:inset(0 0 0 var(--split,50%)); }
.comparison.interactive .divider { display:block; position:absolute; top:0; bottom:0; left:var(--split,50%); border-left:2px solid white; pointer-events:none; }
.divider span { position:absolute; top:50%; left:0; transform:translate(-50%,-50%); white-space:nowrap; background:var(--paper); border:1px solid #8a7d68; border-radius:100%; width:43px; height:43px; display:grid; place-items:center; font-weight:700; }
.comparison.interactive input { display:block; position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; touch-action:pan-y; cursor:ew-resize; }
.compare-images:focus-within { outline:3px solid #9b633c; outline-offset:3px; }
.comparison.interactive figcaption { display:flex; align-items:center; justify-content:space-between; gap:8px; border-bottom:1px solid var(--rule); padding:8px 0; font-size:13px; }
.comparison button { min-height:44px; padding:0 10px; border:0; background:transparent; color:var(--ink); font-weight:700; }
.comparison button[aria-pressed=true] { text-decoration:underline; text-underline-offset:.35em; }
.material-section { background:#302e27; color:#f6efe2; }
.material-intro { margin-bottom:clamp(24px,3vw,48px); }
.material-intro h2 em { color:#d8bd98; }
.material-spread { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(0,.8fr); gap:clamp(26px,5.2vw,90px); align-items:center; }
.detail-plate { aspect-ratio:4/3; background:#524535; overflow:hidden; }
.detail-plate img { display:block; width:100%; height:100%; object-fit:cover; }
.finish-options { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; padding-bottom:clamp(15px,2vw,28px); margin-bottom:clamp(20px,2.3vw,36px); border-bottom:1px solid #94856e; }
.finish-options button { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:6px 1px; color:#f5e7d4; border:0; border-bottom:2px solid transparent; background:none; font-size:14px; }
.finish-options button[aria-pressed=true] { border-color:#dfbf95; color:white; }
.swatch { display:inline-block; width:19px; height:19px; border:1px solid #f0dabb88; border-radius:50%; }
.swatch.wood { background:repeating-linear-gradient(98deg,#6e4429 0 2px,#8b5d3c 3px 4px,#5b3728 5px); }
.swatch.stone { background:linear-gradient(139deg,#bba98a,#e3d3b8 44%,#bfad8f 47%,#d6c6a5 60%); }
.swatch.metal { background:linear-gradient(105deg,#88603b,#debd7e 45%,#896744 68%,#c6a77e); }
.material-notes h3 { margin:9px 0 14px; font-size:clamp(36px,3.7vw,67px); line-height:1; letter-spacing:-.036em; }
#detail-copy { color:#e4dece; max-width:38ch; }
.material-notes .rule-link { margin-top:clamp(14px,2vw,32px); color:#ebd1ae; }
.consult { align-items:start; }
.consult p:not(.eyebrow) { margin-top:20px; max-width:36ch; }
.consult form { width:100%; display:grid; gap:6px; }
.consult label { font-size:14px; font-weight:700; }
.consult select { color:var(--ink); width:100%; min-height:47px; border:1px solid #9c9688; border-radius:0; background:#faf7ef; padding:9px 12px; margin-bottom:11px; }
.brief-button,.commission { border:0; background:var(--pine); color:#fff7e9; padding:13px 18px; }
.brief-button { display:flex; align-items:center; justify-content:space-between; font-weight:650; }
.consult output:not(:empty) { white-space:pre-line; margin-top:15px; padding-left:15px; border-left:2px solid #a58460; }
footer { padding-block:28px; border-top:1px solid var(--rule); flex-wrap:wrap; }
footer strong { font:400 29px var(--serif); }
footer p { font-size:13px; margin-top:2px; } footer nav { flex-wrap:wrap; }
#project,#consult,#materials { scroll-margin-top:10px; }
@media(max-width:920px) and (min-width:701px) {
  .opening { grid-template-columns:minmax(0,.87fr) minmax(0,1.32fr); }
  .opening-copy { padding-left:27px; }
  .opening h1 { font-size:clamp(50px,6.6vw,64px); }
}
@media(max-width:700px) {
  .mast { min-height:63px; }
  .mast nav { gap:15px; }
  .mast nav a { font-size:12px; }
  .mast nav .nav-project { display:none; }
  .mast nav .nav-brief { padding-inline:10px; gap:5px; }
  .opening { grid-template-columns:1fr; }
  .opening-copy { padding:26px var(--gutter) 22px; }
  .opening h1 { margin:10px 0 9px; font-size:clamp(44px,9.3vw,65px); line-height:1; }
  .opening h1 em { display:inline; }
  .opening-lead { max-width:46ch; line-height:1.47; font-size:14px; }
  .opening .rule-link { margin-top:5px; min-height:42px; }
  .room-view { min-height:0; aspect-ratio:1.53; }
  .scene-bar { min-height:45px; display:grid; padding:9px var(--gutter) 6px; gap:0; }
  .scene-bar:has(.camera-control[hidden]) { padding-block:12px; }
  .scene-bar .camera-control { justify-content:space-between; gap:15px; }
  .scene-bar .camera-control input { flex:1; width:auto; min-width:0; min-height:44px; margin:0; }
  .project-intro,.material-spread,.consult { grid-template-columns:1fr; gap:21px; }
  .material-notes .finish-options { margin-bottom:20px; padding-bottom:12px; }
  .comparison.interactive .compare-images { aspect-ratio:1.5; }
  .material-section h2,.section h2 { margin-top:8px; }
}
@media(max-width:380px) {
  .mast,.scene-bar { gap:4px 9px; } .mast { padding-inline:14px; }
  .mast nav { gap:8px; } .wordmark { font-size:24px; }
  .scene-bar { padding-inline:9px; font-size:11px; } .camera-control { gap:4px; }
  .finish-options { gap:5px 10px; } .comparison.interactive figcaption { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media(forced-colors:active) { .finish-options button[aria-pressed=true],.brief-button,.commission { border:2px solid ButtonText; } .divider span { color:CanvasText; background:Canvas; } }
#material-status:empty { display:none; }
#material-status { margin-top:8px; color:#ead2af; }
@media(max-width:700px) {
  .material-spread { grid-template-areas:"choices" "plate" "note" "status" "brief"; gap:0; }
  .material-notes { display:contents; }
  .material-notes .finish-options { grid-area:choices; padding-bottom:8px; margin-bottom:15px; }
  .detail-plate { grid-area:plate; }
  #material-note { grid-area:note; margin-top:21px; }
  #material-status { grid-area:status; }
  #use-finish { grid-area:brief; }
}

/* The material loupe samples the selected render at the point under the mouse. */
.detail-plate { position:relative; isolation:isolate; }
.detail-plate[data-zoomed] > img { transform:scale(1.9); }
.material-loupe { display:block; position:absolute; top:0; left:0; border-radius:50%; pointer-events:none; opacity:0; background-repeat:no-repeat; background-color:#665443; box-shadow:0 3px 12px #1b17145c; }
.detail-plate[data-loupe]:not([data-zoomed]) .material-loupe { opacity:1; }
.material-loupe::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #413228; box-shadow:inset 0 0 0 2px #d4b48f,inset 0 0 0 3px #5e4b3b,0 0 0 1px #efdbc3; }
.lens-toggle { position:absolute; right:12px; bottom:12px; z-index:1; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid #c1a786; border-radius:2px; color:#fcf3e3; background:#2b2924; font:650 13px/1.2 Manrope,Arial,sans-serif; }
.lens-toggle[aria-pressed=true] { background:#e3cfb2; color:#31271f; border-color:#574332; }
.lens-icon { position:relative; width:12px; height:12px; border:1.5px solid currentColor; border-radius:50%; margin-right:3px; }
.lens-icon::after { content:""; position:absolute; width:6px; height:1.5px; background:currentColor; right:-4px; bottom:-2px; transform:rotate(45deg); }
@media (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  html[data-ae-mouse] .detail-plate[data-loupe] { cursor:crosshair; }
}

.design-tour { background:#262c25; color:#f3eddf; border-top:1px solid #6e6a57; padding:15px clamp(17px,2.3vw,38px) 17px; }
.tour-controls,.tour-controls > div { display:flex; align-items:center; flex-wrap:wrap; gap:3px 14px; }
.tour-controls { justify-content:space-between; }
.tour-controls strong { font:400 clamp(18px,1.5vw,24px)/1.25 var(--serif); }
.tour-controls button { padding:3px 1px; min-height:44px; background:transparent; color:#d4c9b7; border:0; border-bottom:2px solid transparent; font-size:13px; }
.tour-controls button[aria-pressed=true] { color:#ffe4b8; border-bottom-color:#d4ad77; }
.design-tour p { font-size:14px; line-height:1.55; margin:8px 0 1px; max-width:63ch; }
.tour-enquiry { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#efd0a4; font-size:13px; font-weight:620; text-decoration:underline; text-underline-offset:4px; }
.room-view[data-detail] :is(.poster,canvas) { transform-origin:var(--tour-pivot,50% 50%); transform:scale(var(--tour-zoom,1)); }
.room-view[data-detail=lighting] { --tour-pivot:54% 12%; --tour-zoom:1.55; }
.room-view[data-detail=finishes] { --tour-pivot:53% 80%; --tour-zoom:1.55; }
@media(prefers-reduced-motion:no-preference) { .room-view :is(.poster,canvas) { transition:transform .62s cubic-bezier(.26,.02,.2,1),transform-origin .62s ease; } }
@media(max-width:600px) { .tour-controls { align-items:flex-start; flex-direction:column; } }
