:root{--paper:#f7f4ed;--ink:#252a24;--muted:#585950;--line:#cbc6b9;--brass:#c2a674;--serif:"Instrument Serif",Baskerville,"Iowan Old Style","Palatino Linotype",Georgia,serif;--sans:"DM Sans","Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper);font:100% var(--sans)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #be8d36;outline-offset:4px}h1,h2,h3,p,dl,dd{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}em{font-weight:400}.wrap{width:min(89%,1440px);margin-inline:auto}.skip{position:absolute;z-index:5;left:12px;top:-100px;background:white;padding:12px}.skip:focus{top:10px}.mast{min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.identity{display:flex;align-items:center;gap:12px}.monogram{display:block;width:60px;height:auto;flex:none}.wordmark{font:1.55rem/.96 var(--serif);letter-spacing:-.045em}.wordmark small{display:block;font:600 .65rem/1.3 var(--sans);letter-spacing:.2em;margin-top:5px}.mast nav{display:flex;gap:clamp(16px,2.9vw,48px);align-items:center}.nav-links a,footer a{font-size:.9rem}.nav-links a:hover,footer a:hover{text-decoration:underline;text-underline-offset:5px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border:1px solid transparent;font-size:.9rem;font-weight:550;line-height:1.3;border-radius:2px}.dark{background:var(--ink);color:white}.dark:hover{background:#3d5245}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 39fr) minmax(0, 61fr);
  background: #242822;
  color: #f8f3e8;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(38px, 5.9vw, 100px) clamp(22px, 3.7vw, 74px) clamp(38px, 5.9vw, 100px) max(5.5vw, calc((100vw - 1440px) / 2));
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-size: .75rem;
  line-height: 1.45;
  letter-spacing: .17em;
  font-weight: 550;
}
.rule { width: 32px; height: 1px; background: currentColor; }
.hero .eyebrow { color: #dfc69a; }
.feature-story h1 {
  font-size: clamp(3.2rem, 6.3vw, 7.8rem);
  line-height: .99;
  letter-spacing: -.045em;
  margin: clamp(25px, 3.1vw, 54px) 0 22px;
}
.feature-story h1 span { display: block; }
.feature-story p {
  max-width: 31ch;
  color: #e2e0d5;
  font-size: clamp(1rem, 1.14vw, 1.21rem);
  line-height: 1.62;
}
.hero-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--brass);
  padding: 0 0 4px;
  min-height: 44px;
  margin-top: 22px;
  color: inherit;
  font-size: .95rem;
}
.hero-link:hover { color: #ebd6b2; }
.hero-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  background: #25231d;
}
.hero-pictures {
  position: relative;
  overflow: hidden;
  min-height: clamp(390px, 38vw, 665px);
}
.feature-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
}
.feature-photo.active { opacity: 1; transform: scale(1); }
.hero-bottom {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px clamp(14px, 2vw, 32px);
  color: #efe8da;
  background: #302d26;
}
#heroFinish { font-size: .83rem; letter-spacing: .035em; }
#heroFinish b { font-weight: 400; color: var(--brass); margin-inline: 6px; }
.arrows { display: flex; }
.arrows button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
}
.arrows button:hover { background: #ffffff12; }
.arrows button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #f2e5cb;
  border-right: 1px solid #f2e5cb;
  transform: rotate(45deg);
}
.arrows .prev::before { transform: rotate(-135deg); }
.portfolio{padding-block:clamp(50px,5.5vw,96px) clamp(50px,6vw,100px)}.section-lead{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}h2{font-size:clamp(3.15rem,5.1vw,6.2rem);line-height:1;letter-spacing:-.055em;margin:14px 0 0}.section-lead>p,.bio p,.detail-body>p,.note,#formResult>p{color:var(--muted);line-height:1.65}.section-lead>p{max-width:35ch;margin-bottom:3px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:28px 0 23px;padding-top:19px;border-top:1px solid var(--line)}.filters button{border:1px solid var(--line);border-radius:30px;background:transparent;min-height:40px;padding:7px 17px;font-size:.89rem}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.filters button:hover{border-color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}.card{font:inherit;text-align:left;border:0;padding:0;background:none}.card .frame{display:block;overflow:hidden;background:#d4cabe;aspect-ratio:1.75}.card img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.card:hover img{transform:scale(1.025)}.card small{display:block;font-size:.75rem;line-height:1.45;letter-spacing:.14em;text-transform:uppercase;color:#566155;margin:16px 0 5px}.card .name{font:clamp(1.65rem,2.65vw,3.2rem)/1.1 var(--serif);letter-spacing:-.035em}.card:hover .name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.about{background:#e8ebdf}.about-inner{max-width:1100px;display:grid;grid-template-columns:.74fr 1fr;align-items:center;gap:clamp(32px,7vw,110px);padding-block:clamp(44px,6vw,95px)}.portrait{display:block;width:100%;max-width:390px;height:auto;justify-self:center}.bio h2{margin-bottom:22px}.bio p+p{margin-top:12px}.bio .button{margin-top:22px}footer{display:flex;justify-content:space-between;align-items:center;padding-block:25px;gap:1rem}footer span{font:1.2rem var(--serif)}footer .divider{margin-inline:6px;color:#8d987f}
dialog{width:min(560px,92vw);max-height:90dvh;padding:0;border:0;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #0004}dialog::backdrop{background:#15231dba}body:has(dialog[open]){overflow:hidden}.close{position:absolute;right:12px;top:12px;width:42px;height:42px;border-radius:50%;font-size:1.65rem;line-height:1;border:1px solid var(--line);background:var(--paper);z-index:2}.detail-body,.form-body{padding:clamp(24px,4vw,42px)}dialog h2{font-size:clamp(2.4rem,4vw,3.9rem);margin:12px 0 18px}#detailPhoto{width:100%;max-height:34vh;object-fit:cover;display:block}dl{margin:18px 0 23px}dl div{display:grid;grid-template-columns:minmax(80px,.65fr) 1.7fr;gap:14px;border-top:1px solid var(--line);padding:9px 0;font-size:.92rem;line-height:1.5}dt{color:var(--muted)}dd{overflow-wrap:anywhere}.note{font-size:.92rem}form{display:grid;gap:14px;margin-top:18px}form[hidden]{display:none}label{display:grid;gap:5px;font-size:.9rem;font-weight:550}label span{display:contents;color:var(--muted);font-weight:400}input,select,textarea{width:100%;color:var(--ink);background:white;border:1px solid #aab1a7;border-radius:2px;padding:10px;font-size:1rem}textarea{resize:vertical}select{appearance:none;padding-right:34px;background:linear-gradient(45deg,transparent 50%,var(--ink) 50%) calc(100% - 18px) 51%/5px 5px no-repeat,linear-gradient(135deg,var(--ink) 50%,transparent 50%) calc(100% - 13px) 51%/5px 5px no-repeat,white}#formResult{margin-top:20px}#formResult h3{font-size:1.7rem}#editInquiry{margin-top:15px}

.section-lead h2 { margin: 0; }
.filters {
  gap: clamp(12px, 2.2vw, 36px);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  margin: 22px 0 28px;
  padding-top: 0;
}
.filters button {
  position: relative;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
}
.filters button[aria-pressed=true] { background: transparent; color: var(--ink); }
.filters button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #877047;
  transform: scaleX(0);
  transform-origin: left;
}
.filters button[aria-pressed=true]::after { transform: scaleX(1); }
.about { background: #e9e6dc; }

.card:hover .name { text-decoration: none; }
.card[hidden] { display: none; }
@keyframes drift-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes veil-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .feature-photo { transition: opacity .7s ease, transform 1.05s cubic-bezier(.2,.7,.25,1); }
  .arrows button, .button { transition: background-color .22s; }
  .filters button::after { transition: transform .3s ease; }
  .card img { transition: transform .65s cubic-bezier(.2,.7,.25,1); }
  .card:is(:hover,:focus-visible) img { transform: scale(1.045); }
  dialog[open], .revealed { animation: drift-in .48s ease-out both; }
  dialog[open]::backdrop { animation: veil-in .28s ease-out both; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
  .mast nav { gap: 16px; }
  .section-lead > p { max-width: 26ch; }
}
@media (max-width: 660px) {
  .mast { min-height: 68px; }
  .mast nav > a { display: none; }
  .mast nav .button { min-height: 44px; padding: 9px 12px; font-size: .8rem; }
  .identity { gap: 8px; }
  .wordmark { font-size: 1.28rem; }
  .wordmark small { font-size: .57rem; }
   .monogram { width: 42px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 26px 5.5% 23px; }
  .feature-story h1 { font-size: clamp(2.6rem, 10.7vw, 4.5rem); margin: 13px 0 10px; }
  .feature-story h1 span { display: inline; }
  .feature-story p { max-width: 40ch; }
  .hero-link { margin-top: 4px; }
  .hero-pictures { min-height: 0; aspect-ratio: 1.52; }
  .hero-bottom { min-height: 46px; padding-block: 0; }
  .section-lead { display: block; }
  .section-lead > p { margin-top: 12px; max-width: 36ch; }
  .filters { gap: 16px; margin: 14px 0 20px; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .card small { margin-top: 11px; }
  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .portrait { min-width: 0; max-width: min(100%, 340px); }
  footer span { font-size: 1rem; }
}
@media (max-width: 360px) { .mast .monogram { width: 33px; } .mast .identity { gap: 5px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Each leaf crops one half of the same photograph at the room's aspect ratio. */
.pocket-doors { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pocket-doors {
    display: flex;
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    --door-duration: 1.65s;
    --door-easing: cubic-bezier(.43,.02,.3,1);
  }
  .pocket-doors::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #172016;
    opacity: .35;
  }
  .pocket-doors.opening::before {
    animation: reveal-room var(--door-duration) .28s ease-out both;
  }
  .pocket-leaf {
    position: relative;
    width: 50%;
    overflow: hidden;
    box-shadow: 0 0 12px 3px #17201652;
    background: #62624c;
  }
  .opening .pocket-leaf {
    animation: open-pocket var(--door-duration) var(--delay) var(--door-easing) both;
  }
  .left-leaf { --travel: calc(-100% - 18px); --delay: .28s; }
  .right-leaf { --travel: calc(100% + 18px); --delay: .34s; }
  .pocket-leaf img {
    display: block;
    position: absolute;
    top: 0;
    width: 200%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .left-leaf img { left: 0; }
  .right-leaf img { right: 0; }
  @keyframes open-pocket {
    from { transform: translateX(0); }
    to { transform: translateX(var(--travel)); }
  }
  @keyframes reveal-room { to { opacity: 0; } }
}

.style-guide { background: #292c25; color: #f7f4ed; }
.guide-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  padding-block: clamp(42px, 5.5vw, 90px);
}
.guide-copy h2, .home-guide h2 { margin: 0; }
.finish-options { display: grid; gap: 0; margin: 24px 0 18px; }
.finish-options button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid #ffffff2e;
  text-align: left;
  color: #e2ded4;
  background: transparent;
}
.finish-options button[aria-pressed=true] { background: #ffffff0c; color: white; }
.finish-options button[aria-pressed=true]::after { content: '✓'; margin-inline-start: auto; color: #dbc99f; }
.swatch { width: 28px; height: 24px; border: 1px solid #ffffff55; }
.walnut { background: repeating-linear-gradient(87deg,#805b44 0 3px,#74513c 4px 5px); }
.oak { background: repeating-linear-gradient(88deg,#cbb186 0 3px,#bba17b 4px 5px); }
.paint { background: #ece8d9; }
.guide-copy p, .home-types p { font-size: 1rem; line-height: 1.65; }
.guide-copy p { max-width: 44ch; min-height: 5em; color: #e3dfd5; }
.finish-figure { margin: 0; }
.finish-figure img { width: 100%; aspect-ratio: 1.5; object-fit: cover; display: block; }
.finish-figure figcaption { font-size: .85rem; color: #e4ded1; padding: 11px 0 0; }
.home-guide { padding-block: clamp(44px, 6vw, 98px); }
.home-types { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); }
.home-types article { padding-top: 16px; border-top: 1px solid var(--line); }
.home-types h3 { font-size: clamp(1.7rem, 2.5vw, 2.7rem); margin-bottom: 10px; }
.home-types p { color: var(--muted); max-width: 52ch; }
@media(max-width: 700px) {
  .guide-inner, .home-types { grid-template-columns: minmax(0, 1fr); }
  .guide-inner { gap: 18px; }
  .guide-copy p { min-height: 0; }
}

[hidden] { display: none !important; }
.site-footer { display: block; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.maker-credit { display: block; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: var(--muted); font-size: .8rem; letter-spacing: .015em; }
.maker-credit a { color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.maker-credit a:hover { text-decoration-thickness: 2px; }
.nav-links { display: flex; gap: inherit; align-items: center; }
.static-gallery figure { margin: 0; }
.static-gallery img { width: 100%; height: auto; }
.static-gallery figcaption { margin-top: 6px; }
@media (max-width: 660px) {
  .mast { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-block: 12px 0; }
  .mast nav { display: contents; }
  .mast nav > a.button { display: inline-flex; margin-inline-start: auto; }
  .nav-links { order: 1; flex-basis: 100%; gap: 0 22px; flex-wrap: wrap; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
}
@media (max-width: 660px), (max-height: 500px) and (pointer: coarse) {
  dialog[open] {
    max-height: 90vh;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 60px 16px;
  }
  dialog[open] > .close {
    position: sticky;
    top: 8px;
    display: grid;
    place-items: center;
    margin: 8px 8px -52px auto;
    width: 44px;
    height: 44px;
  }
  .form-body input, .form-body select, .form-body textarea { min-inline-size: 0; }
  .form-body input, .form-body select { min-height: 44px; }
}
.thanks-page { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-page main { flex: 1; display: grid; align-content: center; justify-items: start; padding-block: 65px; }
.thanks-page h1 { font-size: clamp(3rem,7vw,6.5rem); letter-spacing: -.05em; }
.thanks-page main p { margin: 18px 0 24px; color: var(--muted); line-height: 1.6; }

.feature-photo, .card img, #detailPhoto, .finish-figure img, .garage img, .static-gallery img {
  filter: brightness(1.045) contrast(1.025);
}
.card .frame { aspect-ratio: 4 / 3; }
#detailPhoto { max-height: 54dvh; object-fit: contain; background: #eae6df; }
.garage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: clamp(42px, 5vw, 80px);
}
.garage figure { margin: 0; }
.garage img { display: block; width: 100%; height: auto; }
.garage figcaption { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.garage h2 { margin: 0; }
.garage p { color: var(--muted); line-height: 1.65; max-width: 47ch; margin: 18px 0; }
.garage .button { margin-top: 6px; }
@media (max-width: 700px) {
  .garage { grid-template-columns: minmax(0, 1fr); }
  .garage figure { order: 1; }
}
