:root {
  --canvas: #dbd5cc;
  --paper: #f5f2e8;
  --paper-2: #ebe6dc;
  --ink: #1d211b;
  --ink-2: #3d4239;
  --ink-3: #595c54;
  --line: #1d211b;
  --accent: #a05532;
  --on-accent: #ffffff;
  --focus: #075e72;
  --focus-on-accent: #ffffff;
  --link-hover: #9f5730;
  --blue: #3158a8;
  --red: #a43d3d;
  --green: #16775d;
  --warning: #795000;
  --pad-h: 72px;
  --pad-v: 104px;
  --page-max: 1500px;
  --portal-side-padding: 24px;
  --section-min: 100svh;
  --section-viewport: calc(100svh - var(--snap-top-offset));
  /* Updated at runtime from the sticky header height; keeps snapped rules single. */
  --snap-top-offset: 134px;
  --section-pad-v: 128px;
  --hero-type: 84px;
  --hero-lead-size: 19px;
  --media-y: 35%;
  --hero-media-width: 40vw;
  --hero-media-x: 0px;
  --hero-media-y-offset: -30px;
  --hero-animation-scale: 1;
  --hero-animation-x: 0px;
  --hero-animation-y: 0px;
  --hero-soft-left-mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.34) 24%, rgba(0, 0, 0, 0.82) 43%, #000 57%);
  --hero-wireframe-filter: brightness(1.14) contrast(1.06) saturate(1.05);
  --offer-title-size: 62px;
  --offer-text-size: 21px;
  --glb-title-size: 58px;
  --glb-text-size: 20px;
  --portfolio-title-size: 58px;
  --portfolio-text-size: 20px;
  --discount-title-size: 58px;
  --discount-text-size: 20px;
  --contact-title-size: 56px;
  --contact-text-size: 20px;
  --work-card-min: 260px;
  --work-gap: 24px;
  --line-weight: 1.25px;
  --radius: 0;
  --shadow: 6px 6px 0 rgba(26, 26, 26, 0.08);
  --header-bg: rgba(244, 241, 234, 0.94);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding: var(--snap-top-offset) 0 40px;
}

html.lightbox-open {
  scroll-snap-type: none;
}

html.legal-document,
html.redirect-document {
  scroll-snap-type: none;
  scroll-padding: 0;
}

body {
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(26, 26, 26, 0.025) 1px, transparent 1px),
    var(--canvas);
  background-size: 44px 44px, 44px 44px, auto;
}

.page-redirect {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.page-redirect p {
  margin: 0;
}

.page-redirect a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

body[data-page="site"] .site-header,
body[data-page="site"] main,
body[data-page="site"] .footer {
  width: min(var(--page-max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

body[data-page="portal"] .site-header,
body[data-page="portal"] .portal-page {
  width: min(
    var(--page-max),
    calc(100% - var(--portal-side-padding) - var(--portal-side-padding))
  );
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 18px clamp(28px, 4vw, 48px);
  border: var(--line-weight) solid var(--line);
  border-bottom-width: 1px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
}

body[data-page="site"] main,
body[data-page="portal"] .portal-page {
  border: var(--line-weight) solid var(--line);
  border-top: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: max-content;
}

.brand-mark img {
  display: none;
}

.brand-mark::before {
  content: "";
  width: 78px;
  height: 96px;
  flex: 0 0 auto;
  background: var(--ink);
  -webkit-mask: url("/assets/lighthouse-logo-new-dark.png") center / contain no-repeat;
  mask: url("/assets/lighthouse-logo-new-dark.png") center / contain no-repeat;
}

.brand-mark span {
  max-width: 250px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links,
.nav-actions,
.hero-actions,
.section-header,
.panel-header,
.merge-bar,
.portal-topbar,
.model-meta,
.render-strip,
.locale-row {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 22px;
  color: var(--ink-2);
  font-size: 13px;
}

.nav-actions,
.hero-actions {
  gap: 12px;
}

.nav-actions {
  justify-content: flex-end;
}

.portal-link-button {
  appearance: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
}

.portal-link-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.portal-link-button:not(:disabled) {
  cursor: pointer;
}

.portal-release-note {
  flex: 1 0 100%;
  max-width: 38ch;
  margin-left: auto;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.portal-release-note[hidden] {
  display: none;
}

.portal-unavailable .nav-actions {
  flex-wrap: wrap;
}

.mono,
.sec-label,
.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-3);
}

.solid-button,
.ghost-button,
.text-button,
.pricing-tab {
  min-height: 42px;
  border: var(--line-weight) solid var(--ink);
  border-radius: var(--radius);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.solid-button {
  background: var(--ink);
  color: var(--paper);
}

.ghost-button {
  background: transparent;
}

.text-button {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.solid-button:hover,
.ghost-button:hover,
.pricing-tab:hover,
.text-button:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.full-width {
  width: 100%;
}

.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.hero-section,
.section-band {
  position: relative;
  padding: min(var(--pad-v), var(--section-pad-v)) var(--pad-h);
}

.snap-section {
  min-height: var(--section-viewport);
  padding-top: clamp(56px, 8vh, 84px);
  padding-bottom: clamp(48px, 7vh, 76px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin: 0;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 0;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: var(--section-viewport);
}

.hero-section.snap-section {
  padding-top: clamp(56px, 7vh, 80px);
  padding-bottom: clamp(56px, 7vh, 80px);
}

.section-band + .section-band,
.hero-section + .section-band {
  border-top: 1px solid var(--line);
}

.sec-label {
  position: absolute;
  top: 16px;
  left: var(--pad-h);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(760px, calc(100vw - 220px));
  max-width: 760px;
  transform: translateY(clamp(-112px, -7vh, -48px));
}

.hero-copy::before {
  display: none;
  content: none;
}

.hero-accent-strip {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}

.hero-accent-strip::after {
  content: "";
  position: absolute;
  left: -0.025em;
  right: -0.025em;
  bottom: 0.14em;
  z-index: -1;
  height: 0.3em;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 24px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 650;
}

h1 {
  font-size: var(--hero-type);
  line-height: 0.98;
  max-width: 980px;
  margin-bottom: 28px;
}

h2 {
  font-size: 54px;
}

h3 {
  font-size: 24px;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: var(--hero-lead-size);
  line-height: 1.45;
}

.hero-lead.dark {
  color: var(--ink-2);
}

.hero-media {
  position: relative;
  margin: 0;
  border: var(--line-weight) solid var(--line);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.08);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center var(--media-y);
}

.hero-media figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-top: var(--line-weight) solid var(--line);
  background: var(--paper);
}

.hero-webgl {
  display: grid;
  grid-template-areas: "media";
  align-self: center;
  justify-self: end;
  width: clamp(420px, var(--hero-media-width), 1120px);
  max-width: none;
  aspect-ratio: 4 / 3;
  margin-left: 0;
  transform: translate(var(--hero-media-x), var(--hero-media-y-offset));
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}

.offer-section,
.glb-section,
.portfolio-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.68fr) minmax(0, 1.22fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.offer-section,
.glb-section {
  align-content: center;
  padding-top: clamp(72px, 7vh, 104px);
  padding-bottom: clamp(42px, 6vh, 72px);
}

.glb-section {
  min-height: var(--section-viewport);
  padding-top: clamp(48px, 5.5vh, 76px);
  align-items: center;
}

.offer-section.snap-section {
  scroll-margin-top: 0;
}

.glb-section.snap-section {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.portfolio-section.snap-section,
.contact-section.snap-section {
  scroll-snap-align: start;
}

.offer-copy,
.glb-copy,
.portfolio-copy {
  max-width: 560px;
}

.offer-section h2 {
  font-size: var(--offer-title-size);
}

.glb-section h2 {
  font-size: var(--glb-title-size);
}

.portfolio-section h2 {
  font-size: var(--portfolio-title-size);
}

.contact-section h2 {
  font-size: var(--contact-title-size);
}

.offer-copy p,
.glb-copy p,
.portfolio-copy p,
.form-note {
  color: var(--ink-2);
  line-height: 1.55;
}

.offer-copy p,
.offer-list span,
.best-for,
.offer-discounts {
  font-size: var(--offer-text-size);
}

.glb-copy p,
.glb-price-list span,
.fine-print {
  font-size: var(--glb-text-size);
}

.glb-copy p.fine-print {
  max-width: 520px;
  font-size: clamp(11px, calc(var(--glb-text-size) * 0.5 + 3px), 16px);
}

.portfolio-copy p {
  font-size: var(--portfolio-text-size);
}

.contact-section p,
.contact-form label,
.contact-form input,
.contact-form textarea {
  font-size: var(--contact-text-size);
}

.price-line {
  margin: 18px 0 22px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -4px 0 24px;
}

.complexity-button {
  min-width: min(240px, 100%);
}

.offer-list,
.glb-price-list,
.offer-discounts {
  display: grid;
  gap: 0;
  margin: 20px 0;
  border-top: var(--line-weight) solid var(--line);
}

.offer-list span,
.glb-price-list span,
.offer-discounts span,
.offer-discounts strong {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.offer-discounts strong {
  color: var(--ink);
}

.best-for,
.fine-print {
  line-height: 1.42;
}

.pdp-composition {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: minmax(620px, min(72vh, 840px)) auto;
  gap: 14px;
  align-items: stretch;
}

.pdp-shot,
.pdp-thumb,
.gift-visual {
  margin: 0;
}

.pdp-shot,
.pdp-thumb {
  position: relative;
  overflow: hidden;
  border: var(--line-weight) solid var(--line);
  background: color-mix(in srgb, var(--paper) 70%, white);
  padding: 0;
  color: inherit;
  appearance: none;
  text-align: inherit;
}

.pdp-shot img,
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-shot {
  grid-column: 1 / span 3;
  grid-row: 1;
  min-height: 0;
}

.lifestyle-shot img {
  object-position: center center;
}

.product-shot img,
.pdp-thumb img {
  object-fit: contain;
  padding: 8%;
  background: white;
}

.pdp-product-stack {
  grid-column: 4 / span 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.product-shot {
  min-height: 0;
}

.pdp-shot figcaption,
.pdp-thumb figcaption,
.gift-visual figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: var(--line-weight) solid color-mix(in srgb, var(--line) 38%, transparent);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  padding: 7px 9px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-2);
  backdrop-filter: blur(14px);
}

.pdp-carousel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.pdp-thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.pdp-shot:hover,
.pdp-thumb:hover,
.portfolio-tile:hover {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.glb-section {
  background: var(--paper-2);
}

.model-stage {
  min-width: 0;
  min-height: min(78vh, 760px);
  display: grid;
  place-items: center;
  background: transparent;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  scroll-margin-block-end: 30px;
}

.model-stage model-viewer {
  grid-area: 1 / 1;
  width: 100%;
  height: min(78vh, 760px);
  min-height: 560px;
  background: transparent;
}

.model-stage model-viewer:not(:defined) {
  visibility: hidden;
}

.model-stage model-viewer[hidden] {
  display: none;
}

.model-viewer-status {
  grid-area: 1 / 1;
  max-width: 34ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.model-viewer-status[hidden] {
  display: none;
}

.portfolio-section {
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
  min-height: max(var(--section-viewport), 1180px);
  align-items: center;
  align-content: center;
}

.portfolio-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, 20vh);
  grid-template-areas:
    "bottle echair metal lifestyle"
    "bottle sunset sunset lifestyle"
    "bike desk lantern window"
    "sofa sofa lantern wood";
  gap: 12px;
}

.portfolio-tile {
  min-width: 0;
  min-height: 0;
  border: var(--line-weight) solid var(--line);
  background: var(--paper-2);
  padding: 0;
  overflow: hidden;
  appearance: none;
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

@media (min-width: 1061px) {
  .portfolio-bottle {
    grid-area: bottle;
  }

  .portfolio-e-chair {
    grid-area: echair;
  }

  .portfolio-top-left {
    grid-area: metal;
  }

  .portfolio-lifestyle {
    grid-area: lifestyle;
  }

  .portfolio-sunset {
    grid-area: sunset;
  }

  .portfolio-bike {
    grid-area: bike;
  }

  .portfolio-window-chair {
    grid-area: window;
  }

  .portfolio-desk-chair {
    grid-area: desk;
  }

  .portfolio-sofa {
    grid-area: sofa;
  }

  .portfolio-lantern {
    grid-area: lantern;
  }

  .portfolio-wood-chair {
    grid-area: wood;
  }
}

.quote-form h3,
.contact-form-title {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.4vw, 38px);
}

.gift-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(70vh, 680px);
}

.gift-visual img {
  width: min(560px, 92%);
  filter: saturate(0.96) contrast(1.02);
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: center;
  border-top: var(--line-weight) solid var(--line);
  padding-top: 18px;
}

.contact-section {
  align-items: center;
  align-content: center;
}

.contact-section.snap-section {
  min-height: var(--section-min);
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-webgl-stage,
.hero-webgl-fallback {
  grid-area: media;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.hero-webgl-stage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  -webkit-mask-image: var(--hero-soft-left-mask);
  mask-image: var(--hero-soft-left-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-webgl-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-wireframe);
  background-repeat: no-repeat;
  background-position: center var(--media-y);
  background-size: cover;
  filter: var(--hero-wireframe-filter);
  transform: translateZ(0);
  transition: opacity 0.08s ease;
}

.hero-webgl.webgl-ready .hero-webgl-stage::before {
  opacity: 0;
}

.hero-webgl-stage canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  transform: translate(var(--hero-animation-x), var(--hero-animation-y)) scale(var(--hero-animation-scale));
  transform-origin: center;
}

.hero-webgl .hero-webgl-fallback {
  position: relative;
  z-index: 0;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center var(--media-y);
  transform: translate(var(--hero-animation-x), var(--hero-animation-y)) scale(var(--hero-animation-scale));
  transform-origin: center;
  opacity: 0;
  -webkit-mask-image: var(--hero-soft-left-mask);
  mask-image: var(--hero-soft-left-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: opacity 0.24s ease;
}

.hero-webgl.webgl-ready .hero-webgl-fallback {
  opacity: 0;
}

.hero-webgl.webgl-fallback .hero-webgl-stage {
  display: none;
}

.hero-webgl.webgl-fallback .hero-webgl-fallback {
  opacity: 1;
}

.hero-webgl figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(360px, calc(100% - 32px));
  margin: 0 0 18px;
  border: 0;
  border-left: var(--line-weight) solid color-mix(in srgb, var(--line) 42%, transparent);
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  backdrop-filter: blur(16px);
}

.hero-media span,
.work-item span,
.contact-ledger span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-3);
}

.render-strip {
  grid-column: 1 / -1;
  position: absolute;
  left: var(--pad-h);
  right: var(--pad-h);
  bottom: 108px;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
  border-top: var(--line-weight) solid var(--line);
  border-bottom: var(--line-weight) solid var(--line);
}

.render-strip span {
  padding: 16px 24px;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.benefit-grid {
  display: grid;
  gap: 0;
  border-top: var(--line-weight) solid var(--line);
}

.benefit-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.benefit-card strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: var(--ink-3);
}

.benefit-card p,
.viewer-copy p,
.panel p,
.footer p,
.storage-map span,
.activity-feed span,
.project-card p,
.file-card p,
.person-card p,
.contractor-card p {
  color: var(--ink-2);
  line-height: 1.55;
}

.section-header {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(var(--work-card-min), 28vw);
  gap: var(--work-gap);
}

.work-item {
  position: relative;
  overflow: hidden;
  border: var(--line-weight) solid var(--line);
  background: var(--paper-2);
  min-height: var(--work-card-min);
}

.work-item.large {
  grid-row: span 2;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--media-y);
  filter: saturate(0.92);
}

.work-item div {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(26, 26, 26, 0.78), rgba(26, 26, 26, 0));
}

.work-item strong {
  display: block;
  max-width: 430px;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.2;
}

.viewer-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: center;
  background: var(--paper-2);
}

.viewer-copy {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--line-weight) solid var(--line);
}

.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.model-shell {
  border: var(--line-weight) solid var(--line);
  background: #fefefe;
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.1);
  overflow: hidden;
}

model-viewer {
  width: 100%;
  height: 520px;
  min-height: 360px;
  background:
    repeating-linear-gradient(45deg, rgba(26, 26, 26, 0.06), rgba(26, 26, 26, 0.06) 2px, transparent 2px, transparent 12px),
    #efebe1;
}

.model-meta {
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: var(--line-weight) solid var(--line);
  background: var(--paper);
}

.model-meta span,
.id-pill,
.status-pill,
.priority-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pricing-tab.active {
  background: var(--ink);
  color: var(--paper);
}

.pricing-table {
  display: grid;
  border-top: var(--line-weight) solid var(--line);
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(140px, 0.55fr) minmax(140px, 0.55fr) minmax(220px, 1.2fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-row.header {
  color: var(--ink-3);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-value {
  font-weight: 800;
}

.service-summary {
  margin: 0 0 18px;
  color: var(--ink-2);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.contact-ledger {
  display: grid;
  border-top: var(--line-weight) solid var(--line);
}

.contact-ledger div {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  scroll-snap-align: end;
  scroll-snap-stop: normal;
  margin-top: 0;
  margin-bottom: 80px;
  padding: 48px var(--pad-h);
  background: var(--ink);
  color: var(--paper);
}

.footer p {
  color: var(--paper);
}

.footer img {
  width: 180px;
  margin-bottom: 16px;
}

.legal-page {
  display: grid;
  gap: 32px;
  padding: min(var(--pad-v), var(--section-pad-v)) var(--pad-h);
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h1 {
  font-size: clamp(44px, 8vw, 96px);
  max-width: 900px;
}

.legal-copy h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 44px);
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.58;
}

.legal-copy ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.footer-legal,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-legal {
  justify-items: end;
}

.footer-legal a,
.footer-legal .portal-link-button,
.footer-contact a {
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal .portal-link-button:not(:disabled):hover,
.footer-contact a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Portal */
body[data-page="portal"] .portal-page {
  padding: 0;
  margin-bottom: 80px;
}

.portal-site-header {
  border-bottom-width: var(--line-weight);
}

.app-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 760px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: var(--line-weight) solid var(--line);
  background: var(--paper-2);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 800;
}

.sidebar-brand img {
  width: 28px;
  height: 28px;
}

.nav-tab {
  min-height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  padding: 0 12px;
  text-align: left;
  font-weight: 700;
}

.nav-tab.active,
.nav-tab:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.portal-content {
  min-width: 0;
  padding: 36px;
  background: var(--paper);
}

.portal-topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.portal-topbar h1 {
  font-size: 52px;
}

.account-pill,
.active-locale {
  border: var(--line-weight) solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 8px 12px;
  font-weight: 800;
}

.portal-screen {
  display: none;
}

.portal-screen.active {
  display: block;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi,
.panel,
.project-card,
.file-card,
.person-card,
.contractor-card {
  border: var(--line-weight) solid var(--line);
  background: var(--paper);
}

.kpi {
  padding: 18px;
}

.kpi span {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 800;
}

.kpi strong {
  display: block;
  margin-top: 12px;
  font-size: 34px;
}

.dashboard-grid,
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.panel {
  padding: 18px;
}

.panel-header {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.activity-feed,
.storage-map,
.project-board,
.file-grid,
.client-grid,
.contractor-grid {
  display: grid;
  gap: 12px;
}

.activity-item,
.storage-map div {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 12px;
}

.storage-map div:nth-child(2) {
  border-color: var(--green);
}

.storage-map div:nth-child(3) {
  border-color: var(--blue);
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(160px, 0.8fr) minmax(140px, 0.7fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: var(--line-weight) solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0 12px;
}

textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--focus-on-accent);
}

.project-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card,
.file-card,
.person-card,
.contractor-card {
  padding: 18px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.status-pill {
  color: var(--green);
}

.priority-pill.high {
  color: var(--red);
}

.priority-pill.medium {
  color: var(--blue);
}

.priority-pill.low {
  color: var(--ink-3);
}

.thread-note {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.task-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: var(--line-weight) solid var(--line);
  background: var(--paper);
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--ink-3);
  font-size: 12px;
  text-transform: uppercase;
}

.file-grid,
.client-grid,
.contractor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
}

.person-card input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.merge-bar {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--ink-3);
}

.stacked-form {
  display: grid;
  gap: 14px;
}

.locale-row {
  gap: 10px;
  margin-top: 20px;
}

.locale-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: var(--line-weight) solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  font-weight: 900;
}

.locale-row .active-locale {
  color: var(--ink);
}

.auth-dialog {
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  border: var(--line-weight) solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-dialog::backdrop {
  background: rgba(26, 26, 26, 0.54);
}

.complexity-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, calc(100vw - 42px));
  max-width: none;
  max-height: calc(100vh - 42px);
  margin: 0;
  border: var(--line-weight) solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.complexity-dialog::backdrop {
  background: rgba(26, 26, 26, 0.62);
}

.complexity-card {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 42px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.complexity-card h2 {
  max-width: 760px;
  padding-right: 48px;
}

.complexity-table-wrap {
  overflow-x: auto;
  border: var(--line-weight) solid var(--line);
  background: var(--paper-2);
}

.complexity-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: clamp(15px, 1.45vw, 20px);
}

.complexity-table caption {
  padding: 14px 16px;
  border-bottom: var(--line-weight) solid var(--line);
  text-align: left;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.complexity-table th,
.complexity-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.complexity-table tr:last-child td {
  border-bottom: 0;
}

.complexity-table th:last-child,
.complexity-table td:last-child {
  width: 210px;
  text-align: right;
  white-space: nowrap;
}

.complexity-image {
  display: block;
  width: 100%;
  max-height: min(58vh, 640px);
  object-fit: contain;
  border: var(--line-weight) solid var(--line);
  background: white;
}

.media-lightbox {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(1180px, calc(100vw - 44px));
  max-width: none;
  height: min(86vh, 860px);
  margin: 0;
  border: var(--line-weight) solid var(--line);
  padding: 0;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  color: var(--ink);
  overflow: hidden;
}

.media-lightbox::backdrop {
  background: rgba(26, 26, 26, 0.72);
}

.media-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

.lightbox-close {
  z-index: 3;
  background: var(--paper);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 62px;
  border: var(--line-weight) solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.auth-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: var(--line-weight) solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
}

.dialog-close:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.auth-card h2 {
  padding-right: 42px;
}

.turnstile-slot {
  width: min(300px, 100%);
  min-height: 65px;
  justify-self: center;
}

.turnstile-slot[hidden] {
  display: none;
}

.credential-note {
  margin: -2px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.form-error {
  margin: 0;
  border: var(--line-weight) solid var(--red);
  background: color-mix(in srgb, var(--red) 9%, var(--paper));
  color: var(--red);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translate(-50%, 18px);
  max-width: min(520px, calc(100vw - 32px));
  border: var(--line-weight) solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1060px) {
  :root {
    --pad-h: 32px;
    --pad-v: 76px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-section,
  .offer-section,
  .glb-section,
  .portfolio-section,
  .split-section,
  .viewer-section,
  .contact-section,
  .dashboard-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 36px;
    overflow: visible;
  }

  .hero-copy::before {
    inset: -22px -28px -24px;
    background: color-mix(in srgb, var(--paper) 82%, transparent);
  }

  .hero-copy {
    width: auto;
    max-width: 780px;
  }

  .hero-webgl {
    justify-self: stretch;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .hero-webgl-stage,
  .hero-webgl-fallback {
    min-height: 360px;
  }

  .render-strip {
    position: static;
    margin-top: 28px;
  }

  .pdp-composition {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    grid-template-rows: minmax(420px, 1fr) auto;
  }

  .pdp-product-stack {
    grid-column: 2;
    grid-row: 1;
    min-height: 420px;
  }

  .lifestyle-shot {
    grid-column: 1;
    grid-row: 1;
    min-height: 420px;
  }

  .pdp-carousel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .model-stage,
  .model-stage model-viewer,
  .gift-visual {
    min-height: 560px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 18vw);
    grid-template-areas: none;
  }

  .portfolio-bottle,
  .portfolio-e-chair,
  .portfolio-top-left,
  .portfolio-lifestyle,
  .portfolio-sunset,
  .portfolio-bike,
  .portfolio-window-chair,
  .portfolio-desk-chair,
  .portfolio-sofa,
  .portfolio-lantern,
  .portfolio-wood-chair {
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
    border-right: 0;
    border-bottom: var(--line-weight) solid var(--line);
  }

  .sidebar-brand {
    grid-column: 1 / -1;
  }

  .kpi-grid,
  .file-grid,
  .client-grid,
  .contractor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding: 0;
  }

  :root {
    --pad-h: 18px;
    --pad-v: 60px;
  }

  body[data-page="site"] .site-header,
  body[data-page="site"] main,
  body[data-page="site"] .footer,
  body[data-page="portal"] .site-header,
  body[data-page="portal"] .portal-page {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
    padding: 16px var(--pad-h);
  }

  .brand-mark::before {
    width: 52px;
    height: 64px;
  }

  .brand-mark span {
    font-size: 24px;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .portal-release-note {
    margin-left: 0;
    text-align: left;
  }

  h1 {
    font-size: clamp(34px, calc(var(--hero-type) * 0.36 + 13.8px), 54px);
  }

  h2,
  .portal-topbar h1 {
    font-size: 34px;
  }

  .offer-section h2 {
    font-size: clamp(30px, calc(var(--offer-title-size) * 0.25 + 20.5px), 42px);
  }

  .glb-section h2 {
    font-size: clamp(30px, calc(var(--glb-title-size) * 0.25 + 20.5px), 42px);
  }

  .portfolio-section h2 {
    font-size: clamp(30px, calc(var(--portfolio-title-size) * 0.25 + 20.5px), 42px);
  }

  .contact-section h2 {
    font-size: clamp(30px, calc(var(--contact-title-size) * 0.25 + 20.5px), 42px);
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-copy,
  .hero-webgl,
  .render-strip {
    min-width: 0;
    max-width: 100%;
  }

  .hero-accent-strip {
    white-space: normal;
  }

  .snap-section {
    min-height: 100svh;
    scroll-margin-top: 0;
  }

  .hero-copy::before {
    inset: -16px -14px -18px;
  }

  .hero-webgl {
    grid-template-areas:
      "media"
      "caption";
    aspect-ratio: auto;
  }

  .hero-webgl-stage,
  .hero-webgl .hero-webgl-fallback {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-webgl figcaption {
    position: static;
    grid-area: caption;
    width: auto;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-lead {
    font-size: clamp(15px, calc(var(--hero-lead-size) * 0.7 + 4px), 23px);
  }

  .offer-section,
  .glb-section,
  .portfolio-section,
  .contact-section {
    gap: 28px;
    align-content: center;
  }

  .pdp-composition {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .lifestyle-shot {
    grid-column: 1;
    grid-row: auto;
  }

  .pdp-product-stack {
    grid-column: 1;
    grid-row: auto;
    min-height: 520px;
  }

  .lifestyle-shot,
  .product-shot {
    min-height: 300px;
  }

  .pdp-carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 58vw);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .complexity-card {
    gap: 14px;
    padding: 20px;
  }

  .complexity-table {
    min-width: 560px;
    font-size: 14px;
  }

  .complexity-table th,
  .complexity-table td {
    padding: 11px 12px;
  }

  .model-stage,
  .model-stage model-viewer,
  .gift-visual {
    min-height: 420px;
  }

  .model-stage model-viewer {
    height: 460px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(160px, 42vw);
    grid-template-areas: none;
  }

  .portfolio-bottle,
  .portfolio-e-chair,
  .portfolio-top-left,
  .portfolio-lifestyle,
  .portfolio-sunset,
  .portfolio-bike,
  .portfolio-window-chair,
  .portfolio-desk-chair,
  .portfolio-sofa,
  .portfolio-lantern,
  .portfolio-wood-chair {
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-tile.wide,
  .portfolio-tile.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .benefit-grid,
  .work-grid,
  .project-board,
  .kpi-grid,
  .file-grid,
  .client-grid,
  .contractor-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-item.large {
    grid-row: auto;
  }

  .work-grid {
    grid-auto-rows: minmax(260px, 70vw);
  }

  .section-header,
  .portal-topbar,
  .merge-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-items: start;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pricing-row.header {
    display: none;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .portal-content {
    padding: 18px;
  }

  model-viewer {
    height: 420px;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-webgl-stage {
    display: none;
  }

  .hero-webgl .hero-webgl-fallback {
    opacity: 1 !important;
  }
}

/* Locked production tokens. */
.page-furniture {
  --canvas: #131a1c;
  --paper: #1d2527;
  --paper-2: #273033;
  --ink: #f3eddf;
  --ink-2: #c0b8aa;
  --ink-3: #a9a294;
  --line: #80786a;
  --accent: #d5a136;
  --accent-ink: #1a160d;
  --on-accent: #1a160d;
  --focus-ring: #f0c057;
  --focus: #f0c057;
  --focus-on-accent: #1a160d;
  --link-hover: #d5a136;
  --blue: #82b8eb;
  --warning: #e1b650;
  --red: #f08c84;
  --green: #6bc69a;
  --header-bg: color-mix(in srgb, var(--paper) 94%, transparent);
  --line-weight: 1px;
  --hero-type: 82px;
  --hero-lead-size: 20px;
  --hero-animation-scale: 1.23;
  --hero-animation-x: 69px;
  --hero-animation-y: -36px;
  --hero-wireframe: url("/assets/hero/hero-wireframe.webp");
  --offer-title-size: 60px;
  --offer-text-size: 21px;
  --glb-title-size: 56px;
  --glb-text-size: 20px;
  --portfolio-title-size: 58px;
  --portfolio-text-size: 20px;
  --contact-title-size: 56px;
  --contact-text-size: 20px;
  color: var(--ink);
  color-scheme: dark;
}

.page-furniture .pdp-composition,
.page-furniture .pdp-product-stack,
.page-furniture .pdp-carousel {
  gap: 14px;
}

.page-furniture .portfolio-grid {
  gap: 12px;
}

.page-furniture .contact-form {
  gap: 14px;
}

.page-terms {
  --canvas: #e4ded7;
  --paper: #f7f3ec;
  --paper-2: #ece5dc;
  --ink: #241c19;
  --ink-2: #5f514b;
  --ink-3: #68615d;
  --line: #3d302c;
  --accent: #a83f2f;
  --accent-ink: #ffffff;
  --on-accent: #ffffff;
  --focus-ring: #8f3025;
  --focus: #8f3025;
  --focus-on-accent: #ffffff;
  --link-hover: #a83f2f;
  --blue: #315f8c;
  --warning: #795000;
  --red: #963d35;
  --green: #2c6b50;
  --header-bg: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
  color-scheme: light;
}

.page-terms .legal-copy h1 {
  font-size: 72px;
}

.page-terms .legal-copy h2 {
  margin-top: 34px;
  font-size: 34px;
}

.page-terms .legal-copy p,
.page-terms .legal-copy li {
  font-size: 19px;
  line-height: 1.6;
}

.page-privacy .legal-copy p,
.page-privacy .legal-copy li {
  font-size: 19px;
}

.auth-card [data-auth-submit][aria-busy="true"] {
  cursor: wait;
}

.auth-card [data-auth-submit]:disabled {
  opacity: 0.72;
}

@media (max-width: 360px) {
  .auth-dialog {
    width: calc(100vw - 8px);
  }

  .auth-card {
    padding-inline: 4px;
  }
}

@media (min-width: 761px) {
  .page-terms .legal-page {
    padding-block: 104px;
  }
}

@media (min-width: 792px) {
  .page-terms .legal-copy {
    max-width: 900px;
  }
}

@media (min-width: 1061px) {
  .page-furniture {
    --pad-h: 128px;
    --hero-media-width: 50vw;
  }

  .page-furniture .section-band {
    padding-block: 60px;
  }

  .page-furniture .hero-copy {
    width: 700px;
  }

  .page-furniture .hero-section {
    column-gap: 24px;
  }

  .page-furniture .offer-section,
  .page-furniture .glb-section,
  .page-furniture .portfolio-section,
  .page-furniture .contact-section {
    column-gap: 72px;
  }

  .page-furniture .pdp-composition {
    grid-template-rows: 840px auto;
  }

  .page-furniture .model-stage,
  .page-furniture .model-stage model-viewer {
    height: 760px;
    min-height: 760px;
  }

  .page-furniture .portfolio-grid {
    grid-auto-rows: 260px;
  }

  .page-terms {
    --pad-h: 72px;
  }
}

@media (min-width: 1090px) {
  .page-furniture {
    --page-max: 1660px;
  }

  .page-terms {
    --page-max: 1500px;
  }
}
