:root {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f3f2ef;
  --line: #d7d6d1;
  --muted: #64635f;
  --max-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { height: 78px; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 104px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); }
.wordmark { font-weight: 800; font-size: 23px; letter-spacing: -.7px; }
.wordmark span { font-size: 30px; line-height: 0; }
.desktop-nav { display: flex; gap: 32px; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .65px; }
.desktop-nav a { transition: opacity .2s; }
.desktop-nav a:hover, .text-link:hover { opacity: .55; }
.nav-toggle.icon-button { display: none; }
.icon-button { border: 0; background: transparent; width: 42px; height: 42px; display: grid; place-items: center; }
.icon-button svg { width: 21px; }
.mobile-nav { display: none; }

.hero { min-height: min(745px, calc(100vh - 78px)); display: grid; grid-template-columns: 1.1fr .9fr; background: #e9e6e0; }
.hero > img { height: 100%; width: 100%; object-fit: contain; object-position: center; min-height: 640px; padding: clamp(26px, 4vw, 72px); background: #f7f7f5; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px clamp(35px, 6vw, 110px); }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.25px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 500; letter-spacing: -.75px; line-height: .99; }
h1 { font-size: clamp(48px, 5.25vw, 82px); margin-bottom: 25px; max-width: 700px; }
h2 { font-size: clamp(38px, 4vw, 59px); margin-bottom: 22px; }
h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.hero-description { max-width: 440px; color: #353431; font-size: 16px; margin-bottom: 31px; }
.button { border: 1px solid var(--ink); min-height: 51px; padding: 0 19px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .05px; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg, .request-item svg { width: 16px; height: 16px; stroke-width: 1.75; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #333; }
.button-wide { width: 100%; margin-top: 10px; }

.section-pad { padding: 105px clamp(24px, 6vw, 104px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { min-width: 0; }
.modular-preview { display: block; background: #f8f8f6; aspect-ratio: .92; }
.modular-preview canvas { width: 100%; height: 100%; display: block; }
.modular-photo { position: relative; background: #fff; }
.modular-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.design-own { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 51px; padding: 0 19px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0; text-decoration: none; flex-shrink: 0; transition: transform .2s, background .2s; }
.design-own:hover { background: var(--soft); transform: translateY(-2px); }
.design-own:focus-visible { outline: 2px solid #125c93; outline-offset: 4px; }
.design-own-icon { position: relative; display: block; width: 34px; height: 28px; flex: 0 0 34px; }
.design-own-icon > span { position: absolute; width: 16px; height: 11px; }
.design-own-icon > span:nth-child(1) { left: 0; top: 4px; background: #f2bc00; }
.design-own-icon > span:nth-child(2) { left: 0; top: 16px; background: #00a33c; }
.design-own-icon > span:nth-child(3) { left: 17px; top: 16px; background: #125c93; }
.design-own-icon svg { position: absolute; right: 0; top: 0; width: 17px; height: 17px; stroke: #ad1326; stroke-width: 1; }
.modular-disclosure { font-size: 12px; color: var(--muted); margin-top: 30px; }
.request-design { margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.request-design[hidden] { display: none; }
.request-design-heading { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.request-design img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: contain; }
.request-design p { font-size: 12px; white-space: pre-line; }
.request-design-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
#request-status { font-size: 13px; line-height: 1.5; color: #deddd8; }
.product-image { position: relative; background: #fff; aspect-ratio: .92; overflow: hidden; }
.product-image > img, .gallery-slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; padding: 8%; filter: brightness(var(--photo-background-lift, 1.005)); transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-gallery-track { width: 100%; height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-track:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.gallery-slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; overflow: hidden; background: #fff; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-controls { position: absolute; inset: 50% 12px auto; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.gallery-arrow { width: 38px; height: 38px; border: 1px solid #d5d4cf; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; opacity: 0; pointer-events: auto; transition: opacity .2s, background .2s; }
.gallery-arrow svg { width: 17px; height: 17px; stroke-width: 1.75; }
.product-gallery:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow:disabled { opacity: 0; pointer-events: none; }
.gallery-arrow:hover { background: #fff; }
.gallery-dots { position: absolute; left: 50%; bottom: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; transform: translateX(-50%); }
.gallery-dot { width: 7px; height: 7px; padding: 0; border: 1px solid #76746f; border-radius: 50%; background: rgba(255,255,255,.84); }
.gallery-dot.is-active { border-color: var(--ink); background: var(--ink); }
.product-meta { padding: 15px 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); }
.product-meta h3, .product-meta p { margin: 0; }
.product-meta p { font-size: 12px; color: var(--muted); white-space: nowrap; }
.request-item { border: 0; padding: 14px 0 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.request-item:hover { text-decoration: underline; text-underline-offset: 4px; }
.request-item.is-added { color: #4b6955; }
.viewing-assurance { display: flex; align-items: flex-start; gap: 12px; border-block: 1px solid #676560; padding: 18px 0; margin-bottom: 26px; }
.viewing-assurance svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.viewing-assurance p { margin: 0; color: #c8c7c3; font-size: 14px; }
.viewing-assurance strong { color: #fff; }
.form-footnote a, .footer-contact a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-page { max-width: 850px; margin-inline: auto; }
.privacy-page h1 { font-size: 48px; letter-spacing: 0; line-height: 1.1; }
.privacy-page h2 { font-family: Inter, Arial, sans-serif; font-size: 22px; letter-spacing: 0; line-height: 1.3; margin-top: 32px; }
.privacy-page p, .privacy-page li { font-size: 16px; overflow-wrap: anywhere; }
.privacy-page a { text-decoration: underline; }

.process-section { background: var(--soft); display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(40px, 9vw, 160px); }
.process-intro p:not(.eyebrow) { max-width: 380px; color: #494743; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 65px 1fr 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.process-list span { font-size: 12px; color: var(--muted); }
.process-list h3, .process-list p { margin: 0; }
.process-list p { color: var(--muted); font-size: 13px; }

.inspection-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--ink); color: var(--paper); }
.inspection-image { min-height: 850px; }
.inspection-image img { width: 100%; height: 100%; object-fit: contain; padding: clamp(32px, 6vw, 96px); background: #f7f7f5; }
.form-panel { padding: 92px clamp(32px, 7vw, 118px); display: flex; flex-direction: column; justify-content: center; }
.form-panel .eyebrow { color: #b7b5af; }
.form-intro { color: #c8c7c3; max-width: 515px; margin-bottom: 30px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .25px; }
label span { color: #aaa8a3; font-weight: 400; }
input, textarea { appearance: none; width: 100%; color: var(--paper); border: 1px solid #676560; background: transparent; border-radius: 0; padding: 12px; min-height: 45px; font-size: 13px; outline: none; transition: border-color .2s, background .2s; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #999791; }
input:focus, textarea:focus { border-color: var(--paper); background: #242424; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-panel .button-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form-panel .button-dark:hover { background: #deddd8; }
.form-footnote { color: #96948e; font-size: 11px; margin: 2px 0 0; }
.success-state { padding: 22px 0; }
.success-state svg { width: 26px; height: 26px; margin-bottom: 16px; }
.success-state h3 { font-family: "Source Serif 4", Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.5px; }
.success-state p { color: #c8c7c3; max-width: 440px; }
.text-button { background: transparent; border: 0; color: var(--paper); padding: 0 0 4px; border-bottom: 1px solid var(--paper); font-size: 12px; }

.site-footer { background: var(--paper); padding: 57px clamp(24px, 6vw, 104px) 28px; }
.site-footer .wordmark { display: inline-block; margin-bottom: 8px; }
.site-footer p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.copyright { margin-top: 58px !important; border-top: 1px solid var(--line); padding-top: 18px; font-size: 10px !important; letter-spacing: .4px; }

@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 22px; }
  .desktop-nav { display: none; }
  .nav-toggle.icon-button { display: grid; }
  .mobile-nav { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; background: var(--paper); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav-header { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); }
  .mobile-nav-links { display: grid; align-content: start; padding: 36px 22px; }
  .mobile-nav-links a { padding: 19px 0; border-bottom: 1px solid var(--line); font-family: "Source Serif 4", Georgia, serif; font-size: 33px; font-weight: 500; line-height: 1.1; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero > img { min-height: 390px; height: 52vh; order: 0; padding: 32px; }
  .hero-copy { padding: 52px 24px 60px; }
  h1 { font-size: clamp(45px, 12vw, 60px); }
  .hero-description { font-size: 15px; }
  .section-pad { padding: 70px 24px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 32px; }
  .text-link { white-space: normal; }
  .product-grid { gap: 30px; grid-template-columns: 1fr; }
  .privacy-page h1 { font-size: 36px; }
  .product-image { aspect-ratio: 1.08; }
  .gallery-controls { display: none; }
  .gallery-dots { bottom: 11px; gap: 5px; }
  .gallery-dot { width: 6px; height: 6px; }
  .process-section { grid-template-columns: 1fr; gap: 35px; }
  .process-list li { grid-template-columns: 40px 1fr; gap: 12px; }
  .process-list p { grid-column: 2; }
  .inspection-section { grid-template-columns: 1fr; padding: 0; }
  .inspection-image { min-height: 390px; }
  .form-panel { padding: 62px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { padding: 47px 24px 24px; }
  .copyright { margin-top: 5px !important; }
}
