.mesa {
  --ink: #132d29;
  --muted: #485c56;
  --paper: #faf9f4;
  --soft: #edece3;
  --line: #cbd0c4;
  --accent: #e6a85a;
  --on-accent: #1a241e;
  --footer: #102622;
  --focus: #ad5921;
  --radius: 3px;
  --input-line: #9ba79e;
}

.mesa h1,.mesa h2,.mesa h3 {
  letter-spacing: -.052em;
}

.mesa h1,.mesa h2 {
  font-weight: 600;
}

.mesa h3 {
  font-weight: 650;
}

.mesa .skip:not(:focus) {
  clip-path: inset(50%);
}

.mesa .mast {
  background: #102420;
  color: #f8f9ef;
  --nav-bg: #102420;
  --nav-line: #355048;
  border-bottom-color: #31483f;
}

.mesa .mast-row {
  min-height: 76px;
}

.mesa .mast .brand img {
  filter: brightness(0) invert(1);
  height: 45px;
}

.mesa .mast-contact {
  border: 1px solid #b8c9bc;
  color: #f5f6ee;
  background: transparent;
}

.mesa .mast a:focus-visible,.mesa .mast button:focus-visible,.mesa-hero :is(a,button):focus-visible {
  outline-color: #ffd390;
}

.mesa .btn-primary {
  background: #e9ad67;
  color: #14241f;
}

.mesa-hero {
  position: relative;
  isolation: isolate;
  background: #122521;
  color: #fff;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.hero-pictures,.hero-picture,.hero-picture img,.mesa-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-pictures {
  z-index: -2;
  overflow: hidden;
}

.hero-picture {
  visibility: hidden;
  overflow: hidden;
  background: #142923;
}

.hero-picture.is-current,.hero-picture.is-leaving {
  visibility: visible;
}

.hero-picture img {
  object-fit: cover;
  object-position: var(--photo-focus,center);
}

.catalog-picture img {
  inset-inline: auto 0;
  width: min(74%,1400px);
  mask-image: linear-gradient(90deg,transparent,#000 27%);
}

.mesa-hero::after {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(6,22,19,.95) 0%,rgba(8,24,21,.83) 29%,rgba(9,26,23,.57) 44%,rgba(9,26,23,.06) 72%,transparent 100%);
}

.mesa-hero-inner {
  min-height: clamp(475px,40.5vw,650px);
  display: flex;
  align-items: center;
  padding-block: clamp(52px,6vw,105px);
}

.mesa-hero-copy {
  width: min(54%,660px);
}

.mesa-hero h1 {
  font-size: clamp(4.3rem,7.6vw,7.9rem);
  font-weight: 550;
  line-height: .95;
  letter-spacing: -.071em;
}

.mesa-hero h1 em {
  font-style: normal;
  color: #efb775;
}

.mesa-hero p {
  margin: 22px 0 25px;
  max-width: 500px;
  color: #f1f3e9;
  line-height: 1.6;
  font-size: clamp(1rem,1.19vw,1.22rem);
}

.mesa-hero .text-link {
  color: #fff;
}

.hero-controls {
  position: absolute;
  inset: auto 0 clamp(16px,2.3vw,36px);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  max-width: 100%;
  padding: 3px 8px;
  color: #f1f3e9;
  background: rgba(10,29,26,.92);
  border-radius: 2px;
  font-size: .83rem;
  line-height: 1.35;
}

.photo-controls-inner {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 5px;
  border: 1px solid rgba(237,241,227,.47);
  border-radius: 3px;
  background: rgba(10,29,26,.91);
  color: #fff;
  pointer-events: auto;
}

.photo-selectors {
  display: flex;
  gap: 1px;
}

.photo-controls-inner button {
  display: grid;
  width: 40px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  color: inherit;
}

.photo-controls-inner button:focus-visible {
  outline-offset: -4px;
}

.photo-selectors button span {
  width: 20px;
  height: 3px;
  background: #8fa29a;
}

.photo-selectors button[aria-current=true] span,.photo-selectors button:hover span {
  background: #f4b971;
}

.photo-controls-inner .photo-play {
  position: relative;
}

.photo-play::after {
  position: absolute;
  right: 0;
  height: 17px;
  border-right: 1px solid #60786d;
  content: "";
}

.photo-play span {
  width: 10px;
  height: 13px;
  border-inline: 3px solid currentColor;
}

.photo-play[data-paused] span {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left: 10px solid currentColor;
  border-right: 0;
}

.mesa .section-heading p {
  max-width: 630px;
}

.applications {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: clamp(24px,2.6vw,40px) clamp(16px,2.1vw,34px);
}

.use-card {
  grid-column: span 2;
  border-bottom: 1px solid #a5b2a7;
  display: flex;
  flex-direction: column;
}

.use-img {
  aspect-ratio: 1.62;
  overflow: hidden;
  background: #d5d6c9;
}

.use-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.use-card:hover .use-img img {
  transform: scale(1.035);
}

.use-copy {
  padding: 18px 0 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.use-copy h3 {
  font-size: clamp(1.28rem,1.65vw,1.79rem);
  line-height: 1.15;
  text-wrap: balance;
}

.use-copy p {
  margin: 10px 0 17px;
  max-width: 390px;
}

.use-copy .card-action {
  margin-top: auto;
}

.use-more {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .8rem;
  padding: clamp(24px,2.7vw,42px);
  background: #234638;
  color: #faf9f4;
}

.use-more h3 {
  font-size: clamp(1.7rem,2.25vw,2.4rem);
  line-height: 1.12;
  text-wrap: balance;
}

.use-more p {
  max-width: 54ch;
  color: #e5eee4;
  line-height: 1.5;
}

.use-more .card-action {
  margin-top: .3rem;
  color: #f2c58c;
}

.use-more:hover .card-action,
.use-more:focus-visible .card-action {
  text-decoration-thickness: 2px;
}

.use-card-wide .use-img img {
  object-position: center 78%;
}

@media(min-width:981px) {
  .use-card-wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(16px,1.6vw,26px);
  }
  .use-card-wide .use-img {
    position: relative;
    aspect-ratio: auto;
    min-height: 180px;
  }
  .use-card-wide .use-img img {
    position: absolute;
    inset: 0;
  }
  .use-card-wide .use-copy {
    padding: 12px 0 16px;
  }
}

.work-section {
  background: #183630;
  color: #fcfbf3;
}

.workshop {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px,6.5vw,102px);
  padding-block: clamp(52px,6vw,90px);
  align-items: center;
}

.work-photo {
  align-self: center;
}

.work-photo img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.work-photo p {
  color: #d5dece;
  font-size: .85rem;
  margin-top: 10px;
}

.workshop h2 {
  font-size: clamp(3.05rem,5vw,5.6rem);
  line-height: .98;
}

.work-steps {
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
  border-top: 1px solid #5f7668;
}
.work-intro {
  margin-top: 16px;
  color: #e1eadf;
  max-width: 48ch;
  font-size: clamp(1rem,1.16vw,1.14rem);
  line-height: 1.55;
}

.work-steps li {
  padding: 13px 0;
  border-bottom: 1px solid #5f7668;
}

.work-steps h3 {
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.work-steps p {
  color: #dce4d6;
  font-size: .95rem;
  margin-top: 4px;
}

.mesa-library {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px,3.8vw,54px) clamp(32px,7.5vw,110px);
}

.stock-intro>p {
  max-width: 370px;
  margin: 19px 0;
}

.stock-intro h2 {
  max-width: 12ch;
}

.custom-fabrication {
  color: #f8f9ee;
  background: #17352f;
}

.fabrication-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: clamp(24px,6vw,96px);
}

.fabrication-intro h2 {
  max-width: 15ch;
}

.fabrication-intro p {
  max-width: 55ch;
  color: #e1e9de;
  font-size: clamp(1rem,1.2vw,1.2rem);
  line-height: 1.6;
}

.fabrication-dimensions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: clamp(30px,3.4vw,54px) 0 clamp(26px,3vw,44px);
  padding-block: clamp(22px,2.5vw,38px);
  border-block: 1px solid #6c8277;
}

.fabrication-dimensions>div+div {
  border-left: 1px solid #62786c;
  padding-left: clamp(16px,3vw,44px);
}

.fabrication-dimensions dt {
  color: #d8e3d7;
  font-size: 1rem;
}

.fabrication-dimensions dd {
  margin-top: 6px;
  color: #f1ba79;
  font-size: clamp(2.3rem,3.9vw,4.4rem);
  line-height: 1.1;
  letter-spacing: -.05em;
  font-weight: 600;
}

.dimension-unit {
  font-size: .58em;
  letter-spacing: -.02em;
}

.dimension-detail {
  display: block;
  max-width: 32ch;
  margin-top: 9px;
  color: #e1e9de;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
}

.custom-fabrication a:focus-visible {
  outline-color: #ffd390;
}

.company-section {
  border-top: 1px solid var(--line);
  background: #e9ede5;
}

.company-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(20px,5vw,76px);
  align-items: end;
  margin-bottom: clamp(26px,3.4vw,51px);
}

.company-intro p {
  max-width: 660px;
  font-size: clamp(1rem,1.18vw,1.2rem);
  line-height: 1.6;
}

.company-gallery {
  display: grid;
  grid-template-columns: 1.16fr repeat(3,minmax(0,1fr));
  gap: clamp(10px,1.15vw,19px);
}

.company-photo {
  border-bottom: 1px solid #b6c1b4;
}

.company-photo img {
  width: 100%;
  height: clamp(220px,23vw,390px);
  object-fit: cover;
}

.company-photo figcaption {
  padding: 10px 0;
  font-size: .95rem;
  line-height: 1.4;
  font-weight: 650;
}

.company-note {
  margin-top: 15px;
  color: #53665b;
  font-size: .83rem;
}

.material-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: .82rem 0;
}

.material-index a:first-child {
  border-top: 1px solid var(--line);
}

.material-index a:hover strong {
  text-decoration: underline;
}

.material-index span {
  color: var(--muted);
  font-size: .9rem;
  text-align: right;
}

.mesa .subhead {
  background: #e9ede1;
}

.mesa .subhead h1 {
  font-size: clamp(2.9rem,5.7vw,5.6rem);
  max-width: 19ch;
}

.mesa .products-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.mesa .product {
  display: flex;
  flex-direction: column;
  border: 0;
  border-bottom: 1px solid #9bac9f;
  background: transparent;
}

.mesa .product-img {
  aspect-ratio: 4 / 3;
}

.mesa .product-copy {
  padding: 15px 0 0;
}

.mesa .product h2 {
  font-weight: 600;
  line-height: 1.15;
}

.mesa .product .card-action {
  color: var(--ink);
  margin: auto 0 0;
  padding: 8px 0 16px;
}

.mesa .family-link,.mesa .plain-link,.mesa .selected-material a {
  color: #245749;
}

.mesa .detail-info h1 {
  line-height: 1.05;
}

.mesa .gallery-bg {
  background: #e9e9df;
}

.mesa .selected-material {
  border-color: #a26825;
}

.mesa .project-layout {
  grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr);
}

.project-aside {
  padding: 0 0 24px;
  background: #efece1;
}

.project-aside img {
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: cover;
  object-position: 78% 66%;
}

.project-aside h2,.project-aside p,.project-aside .text-link {
  margin-inline: 22px;
}

.project-aside h2 {
  margin-top: 22px;
}

.wizard-status {
  color: #36594a;
  font-size: .9rem;
  font-weight: 650;
  padding-bottom: 9px;
  border-bottom: 2px solid #aac3ac;
  margin-bottom: 22px;
}

.wizard fieldset>legend {
  font-family: Inter,Arial,sans-serif;
  letter-spacing: -.035em;
}

.use-options {
  display: grid;
  gap: 9px;
}

.use-choice {
  border: 1px solid #a7b5a8;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 10px 15px;
  cursor: pointer;
}

.use-choice:has(input:checked) {
  background: #e1e8d8;
  border-color: #3c6754;
}

.use-choice input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #305b46;
}

.use-prompt {
  margin: 15px 0 20px;
}

.wizard .actions {
  margin-top: 20px;
}

.brief-summary {
  background: #e9eee2;
  border-left: 3px solid #456e56;
  padding: 16px 20px;
  margin: 0 0 22px;
}

.brief-summary dl div {
  display: grid;
  grid-template-columns: minmax(80px,.48fr) 1fr;
  gap: 12px;
  padding: 5px 0;
}

.brief-summary dt {
  color: #4a5f52;
}

.brief-summary dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.mesa .detail-note {
  border-left: 3px solid #7b927c;
}

@media(min-width:1111px) and (max-width:1279px) {
  .mesa .mast-row {
    gap: 1vw;
  }
  .mesa .mast nav {
    gap: 1.15vw;
  }
  .mesa .mast nav>a,.mesa .mast-contact {
    white-space: nowrap;
  }
}

@media(min-width:761px) and (max-width:1110px) {
  .mesa .mast .mast-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    padding-top: 7px;
  }
  .mesa .mast .brand {
    justify-self: start;
  }
  .mesa .mast .mast-contact {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 39px;
  }
  .mesa .mast .mast-row nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
  }
  .mesa .mast nav>a {
    padding-block: 8px;
  }
}

@media(max-width:980px) {
  .mesa .mast-row {
    gap: clamp(10px,1.7vw,17px);
  }
  .mesa .mast nav {
    gap: clamp(10px,1.7vw,17px);
  }
  .mesa .mast nav>a,.mesa .mast-contact {
    font-size: .86rem;
  }
  .mesa-hero-copy {
    width: 60%;
  }
  .mesa .products-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .applications {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px;
  }
  .use-card {
    grid-column: auto;
  }
  .use-more {
    grid-column: 1 / -1;
  }
  .workshop {
    gap: 32px;
  }
  .mesa .project-layout {
    gap: 28px;
  }
}

@media(max-width:760px) {
  .mesa .mast-row {
    min-height: 63px;
  }
  .mesa .mast .brand img {
    height: 37px;
  }
  .hero-picture img {
    object-position: var(--mobile-focus,center);
  }
  .catalog-picture img {
    width: 100%;
    mask-image: none;
  }
  .mesa-hero::after {
    background: linear-gradient(0deg,rgba(8,28,23,.99) 0%,rgba(8,28,23,.94) 33%,rgba(8,28,23,.57) 61%,rgba(8,28,23,.06) 89%);
  }
  .mesa-hero-inner {
    min-height: clamp(520px,90vw,610px);
    align-items: flex-end;
    padding: 170px 0 110px;
  }
  .mesa-hero-copy {
    width: 100%;
    max-width: 570px;
  }
  .mesa-hero h1 {
    font-size: clamp(3.6rem,11.4vw,5.6rem);
  }
  .mesa-hero p {
    margin: 15px 0 19px;
  }
  .applications {
    grid-template-columns: 1fr;
  }
  .use-card {
    display: grid;
    grid-template-columns: .82fr 1fr;
    align-items: start;
    gap: 18px;
    padding: 13px 0;
  }
  .use-img {
    aspect-ratio: 1.18;
  }
  .use-copy {
    padding: 0;
  }
  .use-copy p {
    font-size: .93rem;
    margin: 7px 0 11px;
  }
  .workshop,.mesa-library,.mesa .project-layout {
    grid-template-columns: 1fr;
  }
  .mesa .mast nav {
    gap: 0;
  }
  .hero-controls {
    bottom: 15px;
    justify-content: flex-start;
  }
  .hero-caption {
    right: auto;
    left: 0;
  }
  .photo-controls-inner button {
    width: clamp(26px,7.6vw,40px);
  }
  .photo-controls-inner .photo-play {
    width: 36px;
  }
  .photo-selectors button span {
    width: min(20px,55%);
  }
  .fabrication-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fabrication-dimensions {
    display: block;
    padding: 0;
  }
  .fabrication-dimensions>div {
    display: grid;
    grid-template-columns: minmax(0,.83fr) minmax(0,1.4fr);
    align-items: baseline;
    gap: 12px;
    padding-block: 16px;
  }
  .fabrication-dimensions>div+div {
    border-left: 0;
    border-top: 1px solid #62786c;
    padding-left: 0;
  }
  .fabrication-dimensions dd {
    margin: 0;
    font-size: clamp(1.7rem,6vw,2.75rem);
  }
  .dimension-detail {
    margin-top: 6px;
  }
  .company-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 19px 12px;
  }
  .company-photo img {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .work-photo {
    order: 2;
  }
  .work-photo img {
    aspect-ratio: 1.7;
  }
  .workshop h2 br,.mesa-library h2 br {
    display: none;
  }
  .workshop h2 br:after,.mesa-library h2 br:after {
    content: " ";
  }
  .workshop h2,.mesa-library h2 {
    max-width: 13ch;
  }
  .mesa .products-grid {
    gap: 14px;
  }
  .mesa .subhead h1 {
    font-size: clamp(2.7rem,9vw,4.5rem);
  }
  .project-aside {
    padding: 0 0 22px;
  }
  .material-index a {
    padding: .73rem 0;
  }
}

@media(max-width:480px) {
  .mesa .mast-row {
    gap: 7px;
  }
  .mesa .mast-contact {
    font-size: .8rem;
  }
  .mesa-hero-inner {
    min-height: 555px;
  }
  .mesa-hero .actions {
    align-items: flex-start;
  }
  .mesa-hero .text-link {
    align-self: center;
  }
  .use-card {
    display: block;
    padding: 0 0 16px;
    margin-bottom: 8px;
  }
  .use-img {
    aspect-ratio: 2.05;
  }
  .use-copy {
    padding-top: 14px;
  }
  .use-copy h3 {
    font-size: 1.55rem;
  }
  .mesa .products-grid {
    gap: 17px 12px;
  }
  .mesa .product h2 {
    font-size: 1.14rem;
  }
  .mesa .product-copy p,.mesa .product-copy .meta {
    font-size: .82rem;
  }
  .brief-summary dl div {
    display: block;
  }
  .brief-summary dd {
    margin-top: 1px;
  }
}
