:root {
  color-scheme: dark;
  --ink: #20211f;
  --deep: #181917;
  --panel: #2a2c28;
  --paper: #f0eee7;
  --accent: #b9c2b3;
  --accent-light: #d3d9ce;
  --muted: #c9ccc4;
  --rule: #555952;
  --control-rule: #747a70;
  --light-rule: #c9cdc3;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; }

body:has(.project-dialog[open]) { overflow: hidden; }

h1, h2, h3, p, figure { margin: 0; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

::selection { color: var(--ink); background: var(--accent-light); }

.wrap {
  width: min(100%, 100rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 20;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.accent { color: var(--accent); }

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner { min-height: 5.5rem; }

.brand {
  display: block;
  flex: none;
  width: clamp(8.5rem, 12.5vw, 11rem);
}

.site-header .brand { width: clamp(10.5rem, 15.5vw, 13.75rem); }

.brand img { width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3.1vw, 3rem);
  font-size: .9375rem;
  font-weight: 700;
}

.site-nav a, .footer-inner a { transition: color .18s ease; }

.site-nav a:hover, .footer-inner a:hover { color: var(--accent-light); }

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .7rem 1.15rem;
  border: 1px solid #8c9389;
}

.nav-contact:hover { border-color: var(--accent-light); }

.menu-toggle { display: none; }

.hero { padding-block: clamp(2.25rem, 3.8vw, 4.25rem) clamp(3rem, 6vw, 6rem); }

.hero-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .34fr);
  align-items: end;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.75rem, 3.1vw, 3rem);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
}

.hero-label span {
  width: .55rem;
  height: .55rem;
  background-color: var(--accent);
  flex: none;
}

.hero h1 {
  margin-top: clamp(.85rem, 1.65vw, 1.6rem);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.042em;
  word-spacing: .12em;
}

.hero h1 span { color: var(--accent); }

.hero-description,
.section-heading > p,
.showroom-copy > p:not(.eyebrow),
.contact-details > p {
  font-size: clamp(1rem, 1.56vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-description { max-width: 22rem; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .85rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease;
}

.button-accent { background: var(--accent); color: var(--deep); }
.button-accent:hover { background: var(--accent-light); }
.button-accent:focus-visible { outline-color: var(--accent-light); }

.text-link {
  display: inline-block;
  padding-block: .3rem;
  border-bottom: 1px solid currentColor;
  font-size: .9375rem;
  font-weight: 700;
}

.text-link:hover { color: var(--accent-light); }

.retail-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13.5rem, .28fr);
  border: 1px solid var(--rule);
}

.hero-figure { display: grid; grid-template-rows: 1fr auto; min-width: 0; }

.hero-image { position: relative; min-height: clamp(16rem, 31vw, 30rem); background: var(--panel); }

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

[data-active-view="aisle"] .hero-image img { object-position: center 62%; }

.hero-caption {
  min-height: 3.15rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.4;
}

.viewer-index {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 2rem);
  background: var(--deep);
  border-left: 1px solid var(--rule);
}

.viewer-index h2 {
  margin-top: .6rem;
  font-size: clamp(1.15rem, 1.95vw, 1.85rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.viewer-options { display: none; }

.js-ready .viewer-options { display: grid; width: 100%; }

.view-button {
  display: grid;
  grid-template-columns: minmax(2.65rem, 39%) 1fr;
  align-items: center;
  gap: .75rem;
  min-height: 3.25rem;
  padding: .55rem 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  font-size: .875rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.view-button:last-child { border-bottom: 1px solid var(--rule); }

.view-button img {
  width: 100%;
  height: auto;
  opacity: .7;
  transition: opacity .2s ease;
}

.view-button[aria-pressed="true"], .view-button:hover { color: var(--accent-light); }

.view-button[aria-pressed="true"] img, .view-button:hover img { opacity: 1; }

.view-button[aria-pressed="true"] img { outline: 1px solid var(--accent-light); outline-offset: -1px; }

.work, .services, .showroom, .contact { padding-block: clamp(3.75rem, 7.2vw, 7.25rem); }

.work {
  background: var(--deep);
  border-top: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, .45fr);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.25rem, 4.2vw, 4.25rem);
}

.section-heading .eyebrow, .showroom .eyebrow, .contact .eyebrow { margin-bottom: 1rem; }

h2 {
  font-size: clamp(2.65rem, 5.5vw, 5.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.067em;
}

.section-heading > p { max-width: 27rem; color: var(--muted); }

.project-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--deep);
}

.project:nth-child(2) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }

.project:nth-child(2) .project-trigger:not([hidden]) { grid-column: 2; grid-row: 1; }

.project:nth-child(2) .project-caption { grid-column: 1; grid-row: 1; }

.project-trigger:not([hidden]) {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 12rem;
  aspect-ratio: 2.08;
  overflow: hidden;
  background: var(--panel);
}

.project-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-trigger:hover img { transform: scale(1.035); }

.project-open {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  transition: background .2s ease;
}

.project-trigger:hover .project-open { background: var(--accent-light); }

.project-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .85rem;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.project-caption h3 {
  font-size: clamp(1.8rem, 3.9vw, 3.9rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.project-caption p:not(.eyebrow) { max-width: 25rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }

.project-caption .eyebrow { color: var(--accent); }


h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.light {
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}

.light .section-heading > p { color: #464b44; }

.service-list { border-top: 1px solid var(--light-rule); }

.service {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, .65fr);
  gap: .75rem 3rem;
  align-items: center;
  border-bottom: 1px solid var(--light-rule);
  padding-block: 1.6rem;
}

.service h3 { font-size: clamp(1.5rem, 2.7vw, 2.5rem); }

.service p {
  max-width: 35rem;
  color: #464b44;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.showroom { background: var(--panel); }

.showroom-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6rem);
}

.showroom-copy > p:not(.eyebrow) {
  max-width: 26rem;
  color: var(--muted);
  margin-block: 1.25rem 1.75rem;
}

.showroom-image {
  background: #070806;
  aspect-ratio: 1.65;
  display: grid;
  place-items: center;
}

.showroom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact { background: #dce1d7; color: var(--ink); color-scheme: light; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, .48fr);
  align-items: end;
  gap: 1.5rem 3rem;
}

.contact h2 { font-size: clamp(3.2rem, 8.3vw, 8.25rem); }

.contact-details > p { margin-bottom: 1.25rem; }

.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #353931; }
.button-dark:focus-visible { outline-color: var(--ink); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  margin-top: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-links a:hover { text-decoration: underline; }

.footer-inner { min-height: 8.5rem; padding-block: 2rem; }

.family-link { font-size: .9375rem; }
.family-link strong { margin-left: .2em; }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9375rem; }

.project-dialog {
  width: min(65rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  color: var(--paper);
  background: var(--deep);
  border: 1px solid var(--rule);
}

.project-dialog::backdrop { background: #11130fe5; }

.dialog-top, .dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem clamp(.8rem, 2vw, 1.5rem);
}

.dialog-top p { color: var(--muted); }

.dialog-control, .dialog-actions button {
  min-height: 2.75rem;
  padding: .55rem .85rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--control-rule);
  cursor: pointer;
}

.dialog-control:hover, .dialog-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dialog-control { min-width: 2.75rem; font-size: 1.5rem; line-height: 1; }

.dialog-image { width: 100%; max-height: 65dvh; object-fit: contain; background: #11130f; }

.dialog-bottom { padding-block: 1rem; }

.dialog-bottom h2 { font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -.03em; }

.dialog-bottom p { margin-top: .5rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }

.dialog-actions { display: flex; gap: .4rem; }

@media (max-width: 1020px) {
  .hero-masthead { grid-template-columns: 1fr; gap: .95rem; }
  .hero-description { max-width: 36rem; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 4.5rem; flex-wrap: wrap; position: relative; }
  .brand { width: 8.5rem; }
  .site-header .brand { width: 10rem; }

  .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .8rem 1.25rem;
    padding-bottom: 1.125rem;
  }

  .js-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: .55rem .7rem;
    color: var(--paper);
    background: transparent;
    border: 1px solid var(--control-rule);
    cursor: pointer;
  }

  .menu-icon {
    width: .875rem;
    height: .55rem;
    border-block: 1px solid currentColor;
  }

  .js-ready .site-nav {
    position: absolute;
    z-index: 5;
    inset: 100% 0 auto;
    display: none;
    padding: 1rem var(--gutter);
    color: var(--paper);
    background: var(--ink);
    border-block: 1px solid var(--rule);
  }

  .js-ready .site-header[data-menu-open="true"] .site-nav {
    display: grid;
    gap: .25rem;
  }

  .js-ready .site-nav a { padding-block: .85rem; }
  .js-ready .site-nav .nav-contact { margin-top: .55rem; width: fit-content; }

  .hero { padding-block: 2.25rem 3rem; }

  .hero h1 { font-size: clamp(2.05rem, 9.3vw, 3.4rem); }

  .hero h1 span { display: block; }

  .retail-viewer { grid-template-columns: 1fr; }

  .hero-image { min-height: 0; aspect-ratio: 1.48; }

  .hero-caption { min-height: 3.85rem; padding: .65rem .75rem; font-size: .875rem; }

  .viewer-index { padding: .9rem .75rem 1rem; border-left: 0; border-top: 1px solid var(--rule); }

  .viewer-index h2 { font-size: 1.35rem; }

  .js-ready .viewer-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }

  .view-button, .view-button:last-child { grid-template-columns: 1fr; align-content: start; gap: .4rem; border: 0; padding: 0; }

  .view-button img { aspect-ratio: 2.1; object-fit: cover; }

  .section-heading, .showroom-grid, .contact-inner, .service { grid-template-columns: 1fr; }

  .section-heading { align-items: start; gap: 1.1rem; }

  .project, .project:nth-child(2) { grid-template-columns: minmax(0, 1fr); padding-top: 1px; }

  .project-trigger:not([hidden]) { min-height: 0; aspect-ratio: 1.48; }

  .project:nth-child(2) .project-trigger:not([hidden]),
  .project:nth-child(2) .project-caption { grid-column: auto; grid-row: auto; }

  .project-caption { padding: 1rem 0 1.7rem; }

  .contact-inner { align-items: start; }

  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 1.25rem 2rem; }

  .dialog-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.project-trigger[data-project="retail-aisle"] img { scale: 1.035; }
