:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #252622;
  --line: #d2d1c9;
  --muted: #585952;
  --accent: #863e2e;
  --serif: "Instrument Serif","Baskerville","Times New Roman",serif;
  --sans: "DM Sans",Arial,sans-serif;
  --pad: clamp(1.2rem,4.5vw,5.4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}

button,
a {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #398782;
  outline-offset: 4px;
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

button {
  border: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.skip {
  position: absolute;
  top: -10rem;
  left: .5rem;
  background: #fff;
  padding: .5rem 1rem;
  z-index: 5;
}

.skip:focus {
  top: .5rem;
}

.top {
  min-height: 5.4rem;
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.brand {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-right: auto;
}

.brand b {
  font: 400 2.55rem/1 var(--serif);
  white-space: nowrap;
}

.brand>span {
  font-weight: 600;
  font-size: .84rem;
  line-height: 1.12;
  letter-spacing: -.012em;
}

.top nav {
  display: flex;
  gap: 2.15rem;
}

.top nav a,
.top-contact {
  font-size: .88rem;
}

.top nav a[aria-current="page"],
.top nav a:hover,
footer>a:hover,
.locations a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.top-contact {
  padding: .5rem 1.25rem;
  border: 1px solid #777970;
  border-radius: 2rem;
}

.top-contact:hover {
  background: var(--ink);
  color: white;
}

.location {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #54544c;
  line-height: 1.6;
}

.location i {
  color: var(--accent);
  font-style: normal;
  margin: 0 .2em;
}

.intro {
  max-width: 24rem;
  line-height: 1.6;
  color: var(--muted);
}

.primary {
  display: inline-block;
  margin-top: 1.85rem;
  padding: .72rem 1.3rem;
  background: var(--ink);
  color: white;
  border-radius: 2rem;
  font-weight: 500;
  font-size: .91rem;
}

.primary:hover {
  background: #494b40;
}

.area {
  padding: clamp(3.75rem,6.5vw,7.5rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .85fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 2.4rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(3rem,4.7vw,5.1rem);
}

.section-head p {
  color: var(--muted);
  max-width: 33rem;
}

.material-toggle {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.4rem;
}

.material-toggle button {
  font-size: .88rem;
  padding: .48rem 1.1rem;
  border-radius: 1.5rem;
  border: 1px solid #b7b7ad;
  background: transparent;
}

.material-toggle button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.material-toggle button:hover {
  border-color: var(--ink);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 1.75rem 1rem;
}


.project-grid figcaption {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  margin-top: .6rem;
}

.project-grid button:hover+figcaption {
  text-decoration: underline;
  text-underline-offset: .23em;
}

.projects {
  background: #e9ebe5;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 1.25rem;
}

.project-grid .open-image {
  width: 100%;
  background: transparent;
  padding: 0;
  display: block;
}

.project-grid img {
  height: clamp(14rem,24vw,27rem);
  border-radius: 2px;
}

.service-grid,
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
}

.service-grid h3,
.locations h3 {
  font-size: clamp(1.75rem,2.5vw,3rem);
}

.service-grid ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
}

.service-grid li {
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact,
footer {
  background: #292e29;
  color: #f8f7f3;
}

.contact .section-head p {
  color: #d3d7cd;
}

.locations {
  border-top: 1px solid #60675e;
  padding-top: 1.75rem;
}

.locations a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  color: #eef0e9;
  text-decoration: underline;
  text-decoration-color: #9aab95;
  text-underline-offset: .24em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  border-top: 1px solid #515950;
  padding: 1.45rem var(--pad);
  font-size: .85rem;
}

dialog {
  position: fixed;
  margin: auto;
  max-width: min(64rem,94vw);
  max-height: 92dvh;
  padding: 0;
  border: none;
  background: var(--paper);
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(20,24,20,.83);
}

.lightbox-inner {
  padding: 1rem;
  position: relative;
}

.lightbox-inner img {
  max-height: 70dvh;
  object-fit: contain;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.lightbox-inner h2 {
  font-size: clamp(1.5rem,2.5vw,2.5rem);
  padding: .9rem 0 .15rem;
}

.lightbox-inner button {
  display: block;
  margin: 0 0 .7rem auto;
  background: var(--ink);
  color: white;
  border-radius: 2em;
  padding: .35rem .95rem;
  font-size: .88rem;
}

body:has(dialog[open]) {
  overflow: hidden;
}

@media(max-width:850px) {
  .top {
    gap: 1.6rem;
  }

  .top nav {
    gap: 1.15rem;
  }

  .location {
    letter-spacing: .05em;
  }

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

  .section-head {
    gap: 2rem;
  }

  .project-grid {
    gap: .7rem;
  }

  .project-grid img {
    height: 15rem;
  }
}

@media(max-width:640px) {
  .top {
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding-top: .85rem;
    min-height: auto;
  }

  .brand b {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .top nav {
    order: 3;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid var(--line);
    margin-top: .5rem;
    padding: .6rem 0;
  }

  .top-contact {
    margin-left: auto;
  }

  .intro {
    max-width: 34rem;
  }

  .primary {
    margin-top: 1.3rem;
  }

  .section-head {
    display: block;
    margin-bottom: 1.6rem;
  }

  .section-head p {
    margin-top: 1.15rem;
  }

  .sample-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.3rem .7rem;
  }


  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem .7rem;
  }

  .project-grid figure:first-child {
    grid-column: 1/-1;
  }

  .project-grid img {
    height: auto;
    aspect-ratio: 1.15;
  }

  .project-grid figure:first-child img {
    aspect-ratio: 1.45;
    object-position: 50% 50%;
  }

  .service-grid,
  .locations {
    gap: 1.7rem;
  }

  .service-grid h3 {
    font-size: 1.85rem;
  }

  .service-grid li {
    line-height: 1.35;
  }

  .locations {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location {
    font-size: .75rem;
  }
}

@media(max-width:360px) {
  .service-grid,
  .locations {
    grid-template-columns: 1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 1.4rem;
}

.material-link {
  font-size: .92rem;
  text-decoration: underline;
  text-underline-offset: .3em;
  padding: .65rem 0;
}

.locations .contact-email {
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  letter-spacing: -.025em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.top-contact {
  white-space: nowrap;
}

/* The ordinary document flow is also the reduced-motion and no-script layout. */

.hero-scroll {
  background: #292923;
  color: var(--paper);
}

.hero-stage {
  position: relative;
}

.panel-art {
  position: relative;
  height: clamp(23rem,73vh,60rem);
  overflow: hidden;
}

.panel-art img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.panel-art figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 3.5rem var(--pad) 1.3rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  background: linear-gradient(transparent,#17130eaa);
  color: white;
  font-size: .86rem;
}

.company-intro {
  padding: clamp(3.5rem,7vw,7.5rem) var(--pad);
  background: #292923;
}

.intro-layout {
  max-width: 79rem;
  margin: auto;
}

.company-intro .location {
  color: #d5d4c7;
}

.company-intro .location i {
  color: #c6aa86;
}

.company-intro h1 {
  font-size: clamp(3.9rem,7.6vw,9.2rem);
  line-height: .92;
  letter-spacing: -.065em;
  margin: 1.45rem 0;
  color: #faf7ed;
}

.company-intro h1 em {
  font-size: .85em;
}

.company-intro .initials {
  letter-spacing: -.02em;
  white-space: nowrap;
}

.company-intro .intro {
  color: #e0dfd6;
  max-width: 29rem;
}

.company-intro .primary {
  background: #f4f0e5;
  color: #292923;
}

.company-intro .primary:hover {
  background: white;
}

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

.project-grid img {
  height: auto;
  aspect-ratio: 4/4.6;
}

.motion-hero {
  height: calc(var(--stage-h) + var(--travel));
  --stage-h: 100svh;
  --travel: 85svh;
  --art-opacity: 1;
  --art-scale: 1;
  --intro-opacity: 0;
  --intro-shift: 1.5rem;
  --caption-opacity: 1;
}

.motion-hero .hero-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--stage-h);
  overflow: hidden;
}

.motion-hero .panel-art,
.motion-hero .company-intro {
  position: absolute;
  inset: 0;
  height: 100%;
}

.motion-hero .panel-art img {
  transform: scale(var(--art-scale));
  opacity: var(--art-opacity);
  will-change: transform,opacity;
}

.motion-hero .panel-art figcaption {
  opacity: var(--caption-opacity);
  padding-bottom: 2rem;
}

.motion-hero .company-intro {
  background: transparent;
  display: flex;
  align-items: center;
  opacity: var(--intro-opacity);
  transform: translateY(var(--intro-shift));
}

.motion-hero .intro-layout {
  width: 100%;
}

@media(max-width:850px) {
  .project-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .project-grid img {
    aspect-ratio: 1.2;
  }
}

@media(max-width:640px) {
  .project-grid figure:first-child {
    grid-column: auto;
  }

  .project-grid figure:first-child img {
    aspect-ratio: 1.2;
  }

  .motion-hero {
    --travel: 65svh;
    --stage-h: 80svh;
  }

  .panel-art {
    height: clamp(15rem,55vw,20rem);
  }

  .company-intro .intro {
    max-width: 27rem;
  }

  .motion-hero .panel-art img {
    object-position: 49% 50%;
  }

  .company-intro h1 {
    font-size: clamp(3.1rem,10vw,5.4rem);
  }

  .company-intro {
    padding-block: 2.5rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  .panel-art {
    height: auto;
  }

  .panel-art img {
    height: auto;
    max-height: 82svh;
    object-fit: contain;
  }
}

.scroll-cue {
  display: none;
}

.motion-hero .scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 1.1rem;
  background: currentColor;
}

@media(min-width:641px) {
  .motion-hero {
    --stage-h: calc(100svh - 5.4rem);
  }
}

.project-grid figcaption small {
  display: block;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 400;
}



[hidden] {
  display: none !important;
}

.catalogue-note {
  color: var(--muted);
  max-width: 65ch;
}

.catalogue-note a, #finish-details a, #clear-filters {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.catalogue-filter {
  margin: 1.4rem 0 1.7rem;
  padding: 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: end;
  border-block: 1px solid var(--line);
}

.catalogue-filter label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-size: .875rem;
}

.catalogue-filter input, .catalogue-filter select {
  box-sizing: border-box;
  width: 100%;
  padding: .62rem .8rem;
  border: 1px solid #a7a79c;
  border-radius: .25rem;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.4 var(--sans);
}

.catalogue-filter select {
  appearance: none;
  padding-right: 2.5rem;
  min-width: 9rem;
}

.catalogue-filter label:has(select) {
  position: relative;
}

.catalogue-filter label:has(select)::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1.13rem;
  width: .43rem;
  height: .43rem;
  border: solid #53554e;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.catalogue-filter input:focus-visible, .catalogue-filter select:focus-visible {
  outline: 3px solid #398782;
  outline-offset: 2px;
}

#finish-count {
  margin: 0 0 .55rem auto;
  font-size: .88rem;
  color: var(--muted);
}

.finish-preview {
  display: block;
}

.finish-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
}

.finish-preview h3 {
  margin: .7rem 0 .2rem;
  font: 550 1.03rem/1.25 var(--sans);
  letter-spacing: -.02em;
}

.finish-preview:hover h3 {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.finish-meta, .supplier-price, .finish-price span {
  color: var(--muted);
  font-size: .875rem;
}

.finish-price {
  margin-top: .25rem;
  font-size: .98rem;
}

.finish-price strong, .slab-options strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.catalogue-more {
  display: block;
  padding: .7rem 1.35rem;
  margin: 2.15rem auto 0;
  border: 1px solid var(--ink);
  border-radius: 2rem;
  background: transparent;
}

.catalogue-more:hover {
  background: var(--ink);
  color: var(--paper);
}

#clear-filters {
  background: transparent;
  padding: .35rem;
}

.glass-sample {
  max-width: 65rem;
}

.glass-sample .open-image {
  padding: 0;
  display: block;
  background: transparent;
}

.glass-sample img {
  object-fit: contain;
  max-height: 32rem;
  width: auto;
  max-width: 100%;
}

.glass-sample figcaption {
  margin-top: .7rem;
}

.glass-sample small {
  display: block;
  color: var(--muted);
}

#finish-details {
  padding-bottom: .3rem;
}

#finish-details a {
  display: inline-block;
  margin-top: .65rem;
  font-size: .94rem;
}

#lightbox:has(#finish-details:not([hidden])) img {
  max-height: 52dvh;
}

.slab-options {
  padding: .45rem 0 0;
  margin: .5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .9rem;
}

.slab-options li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media(max-width:640px) {
  .catalogue-filter {
    flex-wrap: wrap;
    gap: .7rem;
  }

  .catalogue-filter label:first-child {
    flex: 1 1 10rem;
    min-width: 0;
  }

  .catalogue-filter input {
    min-width: 0;
  }

  .catalogue-filter select {
    min-width: 7.5rem;
  }

  #finish-count {
    flex: 1 0 100%;
    margin: 0;
  }

  .finish-preview h3 {
    font-size: 1rem;
  }
}

.swatch-note {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .875rem;
}

#finish-details .swatch-note {
  max-width: 54ch;
}

.kitchen-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .875rem;
}

.kitchen-gallery figure {
  position: relative;
  min-width: 0;
}

.kitchen-gallery figure:first-child {
  grid-row: span 2;
}

.kitchen-gallery button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
}

.kitchen-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.kitchen-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem .9rem .65rem;
  background: linear-gradient(transparent, rgba(18, 18, 15, .77));
  color: white;
  font-size: .925rem;
  pointer-events: none;
}


@media (max-width: 700px) {
  .kitchen-gallery {
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }

  .kitchen-gallery figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .kitchen-gallery figcaption {
    font-size: .875rem;
    padding-inline: .6rem;
  }
}
