@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --page: #efece6; --ink: #4a443d; --ink-2: #5f584f; --ink-3: #6f675d; --ink-4: #c6beb1;
  --hair: #ddd6c9; --plaster: #f8f6f1; --stone: #eae5dc;
  --gut: 26px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gut: max(48px, calc((100vw - 1344px) / 2)); } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--plaster); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gut); background: rgba(248,246,241,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.logo { white-space: nowrap; font-weight: 500; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; gap: 26px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin: 0 auto; }
.menu a { text-decoration: none; padding: 4px 0; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.quotebtn { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 -1px 0 var(--ink-4); white-space: nowrap; padding: 4px 0; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; margin: -10px -10px -10px 0; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform 200ms ease, top 200ms ease; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1099px) {
  .topbar { padding: 12px var(--gut); flex-wrap: wrap; }
  .quotebtn { margin-left: auto; }
  .burger { display: block; }
  .menu { display: none; order: 5; width: 100%; flex-direction: column; gap: 0; margin: 8px 0 0; }
  .menu.open { display: flex; }
  .menu a { padding: 15px 0; border-top: 1px solid var(--hair); font-size: 12px; box-shadow: none !important; }
}

/* hero */
.hero { position: relative; min-height: 440px; height: 62vh; max-height: 760px; background: var(--stone); overflow: hidden; }
.hero img, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,43,38,0) 72%, rgba(48,43,38,0.32) 100%); pointer-events: none; }
.hero-cap { position: absolute; z-index: 1; left: var(--gut); bottom: 18px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(253,252,249,0.94); }
.hero-sm { height: 52vh; min-height: 340px; }
@media (min-width: 768px) { .hero { min-height: 640px; } .hero-sm { min-height: 520px; } }

/* type */
.section { padding: 64px var(--gut); }
@media (min-width: 768px) { .section { padding: 112px var(--gut); } }
.intro { border-bottom: 1px solid var(--hair); }
.kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.h1 { font-weight: 300; font-size: 30px; line-height: 1.18; margin: 0 0 18px; max-width: 640px; letter-spacing: -0.005em; }
.h2 { font-weight: 300; font-size: 25px; line-height: 1.22; margin: 0 0 16px; max-width: 520px; }
@media (min-width: 768px) { .h1 { font-size: 44px; } .h2 { font-size: 32px; } }
.lead { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); max-width: 520px; margin: 0; }
.small { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); max-width: 560px; margin: 14px 0 0; }
.link { text-underline-offset: 3px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 28px; }
.cta { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 26px; text-decoration: none; transition: background 200ms ease, color 200ms ease; }
.cta-outline, .cta-light { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.cta-outline:hover, .cta-light:hover { background: var(--ink); color: var(--plaster); }
.cta-text { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; box-shadow: inset 0 -1px 0 var(--ink-4); padding: 4px 0; transition: color 200ms ease, box-shadow 200ms ease; }
.cta-text:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }

/* projects */
.works-section { padding-top: 64px; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; margin-top: 26px; align-items: start; }
@media (min-width: 768px) { .works { grid-template-columns: repeat(3, 1fr); gap: 30px 24px; } }
.project { border: 0; padding: 0; margin: 0; background: none; font: inherit; color: inherit; display: block; width: 100%; text-align: left; cursor: pointer; position: relative; }
.project img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: opacity 200ms ease; }
.project:hover img { opacity: 0.88; }
.tag { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); padding: 8px 2px 0; }
.count { position: absolute; top: 10px; right: 10px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fdfcf9; background: rgba(48,43,38,0.55); padding: 4px 8px; }
.slot { border: 1px dashed var(--ink-4); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.slot span { font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); line-height: 1.5; }
.index { padding: 6px var(--gut) 56px; display: grid; }
.index a { display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; border-top: 1px solid var(--hair); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: padding 200ms ease, color 200ms ease; }
.index a:last-child { border-bottom: 1px solid var(--hair); }
.index a::after { content: "\2192"; color: var(--ink-3); letter-spacing: 0; }
.index a:hover { color: var(--ink); padding-left: 10px; }

/* system blocks */
.system { border-top: 1px solid var(--hair); }
.sys-head { margin-bottom: 34px; }
.sys-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 768px) { .sys-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 56px; } }
.sys-img { width: 100%; height: auto; display: block; border: 1px solid var(--hair); background: #fff; object-fit: contain; max-height: 560px; }
.sys-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.stat { border-top: 1px solid var(--ink-4); padding-top: 14px; }
.stat b { display: block; font-weight: 300; font-size: 22px; color: var(--ink); line-height: 1.25; }
.stat span { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; display: block; margin-top: 4px; }
.credit { padding: 0 var(--gut) 56px; font-size: 11px; line-height: 1.6; letter-spacing: 0.04em; color: var(--ink-3); max-width: 760px; margin: 0; }

/* architects */
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 12.5px; max-width: 900px; }
.table th { text-align: left; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; color: var(--ink-2); padding: 10px 8px 10px 0; border-bottom: 1px solid var(--ink); }
.table td { padding: 13px 8px 13px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); vertical-align: top; }
.table td:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .table tr:first-child { border-top: 1px solid var(--ink); }
  .table td { border: 0; padding: 3px 0; display: flex; gap: 12px; }
  .table td::before { content: attr(data-l); flex: 0 0 82px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
  .table td:first-child { font-size: 14px; padding-bottom: 6px; }
  .table td:first-child::before { content: none; }
}
.note { border-left: 1px solid var(--ink-4); padding: 2px 0 2px 18px; margin-top: 28px; max-width: 620px; }
.note p { font-size: 13px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.steps { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { border-top: 1px solid var(--ink-4); padding-top: 14px; }
.step b { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.step span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.band { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; background: var(--stone); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,43,38,0.1), rgba(48,43,38,0.6)); }
@media (min-width: 768px) { .band { min-height: 560px; } }
.band-text { position: relative; z-index: 1; padding: 32px var(--gut); color: #fdfcf9; }
.band-text h2 { font-weight: 300; font-size: 26px; margin: 0 0 10px; }
.band-text p { margin: 0; font-size: 13.5px; line-height: 1.65; color: rgba(253,252,249,0.9); max-width: 460px; }
@media (min-width: 768px) { .band-text { padding: 52px var(--gut); } .band-text h2 { font-size: 32px; } }
.ctapanel { padding: 72px var(--gut); border-top: 1px solid var(--hair); }
@media (min-width: 768px) { .ctapanel { padding: 112px var(--gut); } }
.ctapanel h2 { font-weight: 300; font-size: 26px; margin: 0 0 12px; max-width: 520px; }
@media (min-width: 768px) { .ctapanel h2 { font-size: 32px; } }
.ctapanel p { margin: 0 0 26px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 480px; }

.footer { padding: 26px var(--gut); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--hair); background: var(--page); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(36,32,28,0.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; object-fit: contain; display: block; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); color: rgba(253,252,249,0.9); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.lb-close, .lb-nav { background: none; border: 0; color: #fdfcf9; cursor: pointer; font: inherit; }
.lb-close { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 12px 0 12px 16px; box-shadow: none; min-height: 44px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 26px; width: 56px; height: 72px; opacity: 0.8; }
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }
@media (max-width: 600px) { .lb-nav { top: auto; bottom: 14px; transform: none; } .lightbox img { max-height: 72vh; } }
body.lb-open { overflow: hidden; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* about + quote */
.about-block { border-top: 1px solid var(--hair); padding-top: 44px; padding-bottom: 44px; }
.about-text { font-size: 15px; line-height: 1.8; color: var(--ink-2); max-width: 640px; margin: 0; }
.form-section { padding-top: 40px; }
.form { max-width: 680px; }
.form fieldset { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.form legend { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--hair); padding: 11px 16px; cursor: pointer; min-height: 44px; transition: border-color 200ms ease, color 200ms ease; }
.checks label:hover { border-color: var(--ink-3); }
.checks label:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.checks input { accent-color: var(--ink); margin: 0; }
.field { margin: 0 0 32px; }
.field > label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--hair); background: none; padding: 10px 2px; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.fieldset, fieldset.field { margin-bottom: 40px; }
.two { display: grid; gap: 0 32px; }
@media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
.submit { font: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 16px 34px; background: var(--ink); color: #fdfcf9; border: 0; cursor: pointer; transition: background 200ms ease; }
.submit:hover { background: #2f2a25; }

/* dropdowns */
.drop { position: relative; display: inline-flex; align-items: baseline; gap: 2px; }
.dropbtn { background: none; border: 0; padding: 4px 4px; font-size: 8px; color: var(--ink-3); cursor: pointer; }
.panel { display: none; position: absolute; z-index: 30; top: 100%; left: -16px; min-width: 270px; background: var(--plaster); border: 1px solid var(--hair); padding: 8px 0; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu .panel-link { display: block; padding: 10px 18px; box-shadow: none !important; white-space: normal; }
.menu .panel-link b { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink); }
.menu .panel-link span { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.menu .panel-link:hover { background: var(--stone); }
@media (min-width: 1100px) { .drop:hover .panel, .drop:focus-within .panel, .drop.open .panel { display: block; } .drop:hover .dropbtn, .drop.open .dropbtn { color: var(--ink); } }
@media (max-width: 1099px) { .drop { display: block; } .dropbtn { display: none; } .panel { display: block; position: static; border: 0; padding: 0 0 8px 14px; margin: 0; min-width: 0; } .panel::before { display: none; } .menu .panel-link { padding: 9px 0; border-top: 0; } .menu .panel-link span { display: none; } .menu .panel-link b { font-size: 13px; color: var(--ink-2); } }

/* line pages */
.sub { margin-top: 44px; }
.sub h2 { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 2px 12px; margin: 4px -2px 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.car-item { scroll-snap-align: start; flex: 0 0 128px; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.car-item img { width: 128px; height: 128px; object-fit: cover; display: block; border: 1px solid var(--hair); background: #fff; }
.car-contain img { object-fit: contain; padding: 16px; }
.car-item > span:last-child { display: block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding-top: 8px; line-height: 1.5; white-space: normal; max-width: 128px; }
.car-chip { cursor: default; }
.chip { display: block; width: 128px; height: 128px; border: 1px solid var(--hair); }
@media (min-width: 768px) { .car-item { flex-basis: 148px; } .car-item img, .chip { width: 148px; height: 148px; } .car-item > span:last-child { max-width: 148px; } }
.syscards { display: grid; gap: 40px; }
@media (min-width: 768px) { .syscards { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.syscard { display: grid; gap: 8px; align-content: start; text-decoration: none; }
.syscard img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; border: 1px solid var(--hair); background: #fff; margin-bottom: 8px; }
.syscard-k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.syscard-n { font-weight: 300; font-size: 24px; }
.syscard-d { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.syscard:hover .syscard-n { text-decoration: underline; text-underline-offset: 4px; }
.lb-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; padding: 0 70px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(253,252,249,0.85); }
@media (max-width: 600px) { .lb-cap { bottom: 86px; padding: 0 16px; } }

.car-wrap { position: relative; }
.car-btn { position: absolute; top: 78px; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: var(--plaster); color: var(--ink); font: 400 26px/1 var(--font); padding: 0 0 3px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.car-btn:hover { background: var(--ink); color: var(--plaster); }
.car-prev { left: 6px; } .car-next { right: 6px; }
.car-wrap.at-start .car-prev, .car-wrap.at-end .car-next, .car-wrap.no-scroll .car-btn { display: none; }
@media (min-width: 768px) { .car-btn { top: 88px; } }
.carousel { align-items: flex-start; }
.car-item { align-self: flex-start; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.tag-line { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 2px 2px 0; }
.tag-line { letter-spacing: 0.05em; }
@media (max-width: 767px) { .tag-line { font-size: 9px; letter-spacing: 0.02em; white-space: nowrap; } }
