:root {
  color-scheme: light;
  --ink: #18201a;
  --muted: #535e55;
  --paper: #f7f8f4;
  --line: #dce1d8;
  --dark: #131715;
  --on-dark: #f1f4ec;
  --dim: #a9b5aa;
  --accent: #d9f58a;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.58; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #648319; outline-offset: 5px; }
.hero :focus-visible, .site-header :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--accent); transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.wrap { width: min(100% - 6rem, 80rem); margin-inline: auto; }
.site-header, .hero, .contact, .footer { color: var(--on-dark); background: var(--dark); }
.site-header { border-bottom: 1px solid #303b32; }
.header-inner, .footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 4.7rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; font-size: 1.04rem; font-weight: 700; white-space: nowrap; }
.brand-mark { position: relative; display: inline-block; flex: 0 0 1.45rem; width: 1.45rem; height: 1.45rem; border: 1px solid var(--accent); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; background: var(--accent); }
.brand-mark::before { width: 1px; height: 10px; left: 7px; top: 5px; box-shadow: 6px 0 var(--accent); }
.brand-mark::after { height: 1px; width: 7px; left: 7px; top: 10px; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.2rem); }
.site-header nav a { color: var(--dim); text-decoration: none; font-size: .92rem; }
.site-header nav a:hover { color: var(--on-dark); }
.site-header nav .nav-contact { border: 1px solid #48564a; border-radius: .3rem; padding: .36rem .8rem; color: var(--on-dark); }
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(4.3rem, 7vw, 7.5rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: #536817; font: 650 .84rem/1.35 ui-monospace, Consolas, monospace; letter-spacing: .085em; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { letter-spacing: -.052em; font-weight: 680; }
h1 { max-width: 12ch; font-size: clamp(3rem, 5.5vw, 5.25rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
h3 { letter-spacing: -.025em; }
.hero-desc { max-width: 39ch; color: var(--dim); margin-top: 1.35rem; font-size: 1.1rem; }
.actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; text-decoration: none; border: 1px solid transparent; border-radius: .3rem; padding: .6rem 1rem; font-size: .93rem; font-weight: 650; }
.primary { background: var(--accent); color: #172012; }
.primary:hover { background: #e7ffa7; }
.outline { border-color: #49574a; color: var(--on-dark); }
.outline:hover { background: #263128; }
.hero-sample { position: relative; isolation: isolate; }
.hero-sample::before { content: ''; pointer-events: none; position: absolute; z-index: -1; inset: -3rem -3rem -2.1rem; background-image: linear-gradient(90deg, #28342b 1px, transparent 1px), linear-gradient(#28342b 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse, black 42%, transparent 76%); }
.hero-frame { overflow: hidden; background: #161d19; border: 1px solid #49564b; border-radius: .65rem; box-shadow: 0 1.25rem 4rem #080d0ab5; }
.frame-bar { display: flex; justify-content: space-between; gap: .5rem; align-items: center; color: #bdc9be; font: .78rem/1.5 ui-monospace, Consolas, monospace; padding: .75rem .88rem; border-bottom: 1px solid #3d4b40; }
.frame-bar span:first-child { display: flex; align-items: center; gap: .46rem; }
.frame-mark { width: .56rem; height: .56rem; border: 1px solid var(--accent); border-radius: 1px; }
.screen { display: block; width: 100%; height: auto; background: #202824; }
.hero-sample figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 1rem; margin-top: .75rem; color: #bbc6bc; font: .78rem/1.5 ui-monospace, Consolas, monospace; }
.section { padding-block: clamp(3.9rem, 7vw, 7.4rem); }
.section-top, .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 2rem clamp(2rem, 8vw, 8rem); }
.section-top { align-items: end; margin-bottom: 2.15rem; }
.section-top > p, .intro, .about-copy, .service-list dd, .steps p, .card-copy p { color: var(--muted); }
.section-top > p { max-width: 48ch; }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.work-card { border: 1px solid var(--line); border-radius: .55rem; overflow: hidden; background: #fff; }
.featured-project { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); grid-column: 1 / -1; align-items: center; background: #edf0e8; }
.featured-project .preview { align-self: stretch; display: flex; align-items: center; }
.featured-project .card-copy { padding: clamp(1.25rem, 3.5vw, 3rem); }
.featured-project .card-copy h3 { font-size: clamp(1.6rem, 2.5vw, 2.35rem); }
.card-copy ul { margin: .8rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.card-copy li + li { margin-top: .25rem; }
.preview { cursor: zoom-in; display: block; position: relative; background: #202824; width: 100%; padding: 0; border: 0; text-align: left; }
.preview:focus-visible { outline-offset: -4px; outline-color: var(--accent); }
.expand-icon { position: absolute; top: .55rem; right: .55rem; width: 2.1rem; height: 2.1rem; border: 1px solid #7b8a7d; border-radius: .25rem; background: #17201a; color: #e8efe7; }
.preview:hover .expand-icon { color: #17201a; background: var(--accent); }
.expand-icon::before, .expand-icon::after { content: ''; position: absolute; width: .5rem; height: .5rem; }
.expand-icon::before { top: .49rem; right: .49rem; border-top: 1px solid; border-right: 1px solid; }
.expand-icon::after { bottom: .49rem; left: .49rem; border-bottom: 1px solid; border-left: 1px solid; }
.card-copy { padding: 1.15rem 1.2rem 1.3rem; }
.card-copy h3 { font-size: 1.23rem; margin-bottom: .45rem; }
.services, .about { border-block: 1px solid var(--line); background: #edf0e8; }
.two-col { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.intro { margin-top: 1.15rem; max-width: 37ch; }
.service-list { margin: 0; }
.service-list > div { border-top: 1px solid #cbd4c5; padding: .9rem 0 1rem; }
.service-list > div:last-child { border-bottom: 1px solid #cbd4c5; }
.service-list dt, .steps h3 { font-weight: 680; font-size: 1.16rem; }
.service-list dd { margin: .32rem 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; list-style: none; gap: 1.4rem; }
.steps li { border-top: 2px solid #a8b79d; padding-top: .95rem; }
.steps p { margin-top: .55rem; }
.about-copy p + p { margin-top: .75rem; }
.contact .two-col { align-items: center; }
.contact p:not(.eyebrow) { max-width: 48ch; color: var(--dim); margin-bottom: 1.1rem; }
.email { display: inline-block; margin: .55rem .1rem .25rem .9rem; color: var(--on-dark); text-underline-offset: .22rem; overflow-wrap: anywhere; }
.footer { border-top: 1px solid #303b32; padding-block: 1.35rem; }
.footer .wrap > span { color: var(--dim); font-size: .9rem; }
dialog { width: min(64rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid #526357; border-radius: .6rem; color: var(--on-dark); background: #151d18; }
dialog::backdrop { background: #0a100de0; }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.dialog-header h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.dialog-header p, .dialog-footer, .lighting-controls p { color: #b9c6ba; }
.dialog-header p { margin-top: .25rem; font-size: .88rem; }
.dialog-footer, .lighting-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding: .85rem 1.2rem 1.1rem; }
.dialog-footer p, .lighting-controls > div { flex: 1 1 27rem; }
.lighting-controls { border-bottom: 1px solid #526357; }
.lighting-controls[hidden] { display: none; }
#lighting-status { color: var(--accent); font-size: .92rem; }
.dialog-hint { display: none; padding: 0 1.2rem .55rem; color: #b9c6ba; font-size: .88rem; }
.close { white-space: nowrap; cursor: pointer; font-size: .9rem; background: #26352b; color: var(--on-dark); border: 1px solid #566b5b; border-radius: .25rem; padding: .4rem .65rem; }
.close span { margin-left: .2rem; }
.dialog-body { overflow: auto; }
.dialog-body:focus-visible { outline-offset: -3px; outline-color: var(--accent); }
.dialog-graphic { position: relative; min-width: 37rem; }
.room-target { position: absolute; cursor: pointer; border: 1px solid transparent; background: transparent; }
.room-target:hover, .room-target:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 39rem) { .dialog-hint { display: block; } }
@media (max-width: 62rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-grid { gap: 2.25rem; }
  h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
}
@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .section-top, .two-col { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 3.15rem; }
  .section-top, .two-col { gap: 1rem; }
  h1 { font-size: clamp(2.7rem, 9vw, 4.3rem); }
  .works { grid-template-columns: 1fr; }
  .featured-project { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 26rem) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .5rem; padding-block: .75rem; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .footer .wrap { align-items: flex-start; flex-direction: column; gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
