:root {
  --background: #f3eadc;
  --ink: #201a14;
  --cedar: #5a341f;
  --terracotta: #b75a32;
  --clay: #c98255;
  --sage: #5d6f58;
  --sand: #dcc3a1;
  --paper: #fff9ef;
  --charcoal: #24201b;
  --line: rgba(72, 48, 31, 0.18);
  --soft: rgba(255, 249, 239, 0.78);
  --shadow: 0 18px 44px rgba(32, 26, 20, 0.18);
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #eeece8;
}

@view-transition {
  navigation: auto;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #eeece8;
  background-image: url("assets/branding/clem-site-background-light.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(100vw, 1254px) auto;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px 48px;
  color: var(--paper);
  background: rgba(36, 32, 27, 0.88);
  border-bottom: 1px solid rgba(255, 249, 239, 0.14);
  backdrop-filter: blur(16px);
  view-transition-name: clem-header;
}

.brand {
  justify-self: start;
  color: var(--sand);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header-actions {
  display: contents;
}

.site-header-actions nav {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

.header-contact {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.92rem;
  text-decoration: none;
}

.header-contact span {
  color: rgba(255, 249, 239, 0.5);
  font-weight: 800;
  text-transform: uppercase;
}

.header-contact strong {
  color: var(--sand);
  font-weight: 850;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

nav a {
  position: relative;
  padding-bottom: 4px;
  color: rgba(255, 249, 239, 0.78);
  text-decoration: none;
  transition: color 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

nav a:hover::after,
nav a:focus-visible::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

nav a[aria-current="page"] {
  color: var(--paper);
}

main {
  view-transition-name: clem-page;
}

::view-transition-group(clem-header) {
  animation-duration: 320ms;
}

::view-transition-old(clem-page) {
  animation: clem-page-out 220ms ease both;
}

::view-transition-new(clem-page) {
  animation: clem-page-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.is-page-leaving main,
html.is-page-leaving footer {
  opacity: 0;
  transform: translateY(10px);
}

main,
footer {
  transition: opacity 220ms ease, transform 220ms ease;
}

@keyframes clem-page-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes clem-page-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  background: var(--charcoal);
}

.hero-gallery,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gallery {
  overflow: hidden;
}

.hero-gallery-track {
  display: flex;
  width: max-content;
  height: 100%;
  transition: transform 1.1s ease;
  will-change: transform;
}

.hero-gallery img {
  width: 100vw;
  max-width: none;
  height: 100%;
  flex: 0 0 100vw;
  object-fit: cover;
  object-position: center center;
  background: var(--charcoal);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(22, 18, 14, 0.86), rgba(22, 18, 14, 0.42) 55%, rgba(22, 18, 14, 0.16)),
    linear-gradient(0deg, rgba(22, 18, 14, 0.68), rgba(22, 18, 14, 0.04) 58%);
}

.hero-next {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper);
  background: rgba(36, 32, 27, 0.58);
  border: 1px solid rgba(255, 249, 239, 0.42);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-next:hover,
.hero-next:focus-visible {
  background: var(--terracotta);
  outline: 2px solid rgba(255, 249, 239, 0.45);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin: 0 0 8vh;
  padding-left: 48px;
}

.collection-label {
  margin: 0 0 14px;
  color: rgba(255, 249, 239, 0.74);
  font-size: 1rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.inquiry .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.22rem;
}

p {
  line-height: 1.62;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 249, 239, 0.84);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--terracotta);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 249, 239, 0.1);
  border-color: rgba(255, 249, 239, 0.42);
}

.button.secondary.dark {
  color: var(--cedar);
  background: transparent;
  border-color: rgba(90, 52, 31, 0.28);
}

.collection-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 16;
  display: flex;
  gap: 0;
  overflow-x: auto;
  color: rgba(32, 26, 20, 0.72);
  background: rgba(255, 249, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.collection-tabs a {
  flex: 0 0 auto;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.collection-tabs a:hover,
.collection-tabs a:focus-visible {
  color: var(--cedar);
  background: rgba(220, 195, 161, 0.22);
}

.section-pad {
  padding: 88px 48px;
}

.intro-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(42px, 5vw, 78px);
  padding-bottom: clamp(88px, 8vw, 128px);
  background: rgba(255, 249, 239, 0.88);
  backdrop-filter: blur(1px);
  border-bottom: 0;
}

.collection-intro {
  min-height: 46vh;
  align-items: center;
}

.collection-intro .section-kicker {
  padding-right: clamp(18px, 4vw, 68px);
}

.collection-intro .section-kicker h2 {
  max-width: 820px;
}

.section-kicker h2,
.section-title-row h2 {
  max-width: 760px;
}

.intro-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  max-width: 680px;
  padding-top: clamp(18px, 2vw, 32px);
  color: rgba(32, 26, 20, 0.72);
  font-size: 1.05rem;
}

.intro-copy p {
  margin: 0;
}

.subhead {
  margin-top: 12px;
  color: var(--cedar);
}

.products-section,
.sizes-section {
  background: linear-gradient(180deg, rgba(243, 234, 220, 0.9), rgba(255, 249, 239, 0.84));
  backdrop-filter: blur(1px);
}

.products-section {
  position: relative;
  margin-top: 0;
  --section-slant-height: clamp(62px, 6vw, 104px);
  padding-top: clamp(132px, 11vw, 188px);
}

.products-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--section-slant-height) * -1);
  height: calc(var(--section-slant-height) + 3px);
  background: rgba(243, 234, 220, 0.9);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -1px 0 rgba(90, 52, 31, 0.22));
}

.products-section::after {
  display: none;
}

.collection-page-head {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.collection-page-title {
  display: grid;
  gap: 14px;
}

.collection-products .collection-page-title {
  transform: none;
}

.collection-page-title p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(32, 26, 20, 0.68);
  font-size: 1.04rem;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-title-row > p {
  max-width: 560px;
  margin: 0;
  color: rgba(32, 26, 20, 0.68);
  font-size: 1.02rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inner-page {
  min-height: calc(100vh - var(--header-height));
}

.inner-page .collection-page-title h1,
.inner-page .section-title-row h1,
.customize-page-panel h1,
.inquiry-copy h1 {
  max-width: 900px;
  font-size: 3.25rem;
}

.standalone-section {
  min-height: calc(100vh - var(--header-height) - 78px);
  padding-top: 104px;
}

.page-products .products-section {
  min-height: calc(100vh - var(--header-height));
  padding-top: 88px;
}

.page-products .products-section::before {
  display: none;
}

.page-products .collection-page-head {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}

.page-products .collection-page-title {
  max-width: 980px;
}

.product-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: 72px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.product-toolbar .filters input {
  width: 340px;
}

.product-toolbar .filters select {
  width: 230px;
}

.page-sizes .format-grid {
  margin-top: 56px;
}

.customize-page-panel {
  min-height: calc(100vh - var(--header-height) - 78px);
  padding-top: 92px;
  padding-bottom: 92px;
}

.customize-page-panel > div {
  display: grid;
  align-content: center;
  gap: 18px;
}

.customize-page-panel p {
  margin: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.text-link {
  width: fit-content;
  margin-top: 8px;
  color: var(--cedar);
  font-weight: 850;
  text-underline-offset: 4px;
}

.inquiry-page-main {
  background: var(--charcoal);
}

.page-inquiry .inquiry {
  min-height: calc(100vh - var(--header-height) - 78px);
}

#about,
#gallery,
#customize,
#inquiry {
  scroll-margin-top: var(--header-height);
}

.about-customize,
.about-inquiry {
  min-height: 72vh;
}

input,
select,
textarea {
  min-height: 44px;
  border: 1px solid rgba(90, 52, 31, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 249, 239, 0.86);
  font: inherit;
}

.collection-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.summary-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.summary-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--cedar);
}

.summary-item span {
  color: rgba(32, 26, 20, 0.68);
}

.colour-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px;
  margin-bottom: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.colour-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, auto);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 249, 239, 0.9);
  border: 0;
  cursor: pointer;
}

.colour-chip:hover,
.colour-chip:focus-visible {
  background: var(--paper);
  outline: 2px solid rgba(183, 90, 50, 0.22);
  outline-offset: -2px;
}

.colour-dot {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(32, 26, 20, 0.2);
  border-radius: 50%;
}

.colour-chip span:not(.colour-dot) {
  font-weight: 900;
}

.colour-chip small {
  min-width: 0;
  overflow: hidden;
  color: rgba(32, 26, 20, 0.62);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-list {
  display: grid;
  gap: 64px;
}

.product-category-block {
  display: grid;
  gap: 20px;
}

.product-category-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(260px, 0.74fr);
  gap: 22px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-category-head h3 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-align: left;
  background: rgba(255, 249, 239, 0.88);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(183, 90, 50, 0.68);
  background: var(--paper);
}

.product-image-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: clamp(22px, 3vw, 42px);
  background: #ffffff;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  background: #ffffff;
}

.product-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(32, 26, 20, 0.66);
  font-size: 0.82rem;
}

.product-card h4 {
  margin: 0;
  line-height: 1.14;
  font-size: 1.04rem;
}

.product-card p {
  margin: 0;
  color: rgba(32, 26, 20, 0.7);
  font-size: 0.92rem;
}

.shape-catalog-block .product-category-head {
  margin-bottom: 24px;
}

.shape-catalog-figure {
  margin: 0;
  overflow: hidden;
  background: #f5f5f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shape-catalog-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid rgba(32, 26, 20, 0.24);
  border-radius: 50%;
}

.sizes-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.format-group-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 22px;
  background: rgba(255, 249, 239, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.format-group-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.format-group-card header span {
  color: var(--cedar);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.format-group-card header strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  color: var(--paper);
  background: var(--cedar);
  border-radius: 999px;
  font-size: 0.9rem;
}

.format-group-card p {
  max-width: 42rem;
  margin: 0;
  color: rgba(32, 26, 20, 0.64);
  line-height: 1.55;
}

.format-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.format-chip {
  display: inline-grid;
  gap: 3px;
  min-width: min(100%, 156px);
  padding: 10px 12px;
  background: rgba(243, 234, 220, 0.78);
  border: 1px solid rgba(90, 52, 31, 0.16);
  border-radius: 8px;
}

.format-chip strong {
  color: var(--cedar);
  font-size: 1rem;
}

.format-chip small,
.format-chip em {
  color: rgba(32, 26, 20, 0.6);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

.format-more {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.format-more summary {
  cursor: pointer;
  color: var(--terracotta);
  font-weight: 800;
  margin-bottom: 12px;
}

.surface-section {
  background: rgba(255, 249, 239, 0.88);
  backdrop-filter: blur(1px);
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.surface-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 249, 239, 0.88);
}

.surface-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ffffff;
}

.surface-card span {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.surface-card strong {
  color: var(--cedar);
  font-size: 1.18rem;
}

.surface-card small {
  color: rgba(32, 26, 20, 0.66);
  line-height: 1.5;
}

.applications-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(183, 90, 50, 0.2), rgba(93, 111, 88, 0.24)),
    var(--charcoal);
  border-top: 1px solid rgba(255, 249, 239, 0.12);
  border-bottom: 1px solid rgba(255, 249, 239, 0.12);
}

.application-page-hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 48px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(22, 18, 14, 0.78), rgba(22, 18, 14, 0.25)),
    var(--charcoal);
}

.application-page-copy {
  display: grid;
  gap: 18px;
}

.application-page-copy h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.application-page-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 249, 239, 0.78);
  font-size: 1.14rem;
}

.application-page-hero img {
  width: 100%;
  height: min(70vh, 760px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.homepage-gallery {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(420px, 1.32fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: 72vh;
  background: rgba(255, 249, 239, 0.86);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(1px);
}

.homepage-gallery-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.homepage-gallery-copy h2 {
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
}

.homepage-gallery-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(32, 26, 20, 0.68);
  font-size: 1.04rem;
}

.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--paper);
  background: rgba(36, 32, 27, 0.94);
  border: 1px solid rgba(90, 52, 31, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-slides,
.gallery-slide,
.gallery-shade,
.gallery-empty {
  position: absolute;
  inset: 0;
}

.gallery-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 480ms ease, transform 1500ms linear;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.gallery-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.7), rgba(20, 16, 12, 0.12) 65%),
    linear-gradient(0deg, rgba(20, 16, 12, 0.62), transparent 58%);
  pointer-events: none;
}

.gallery-empty {
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 249, 239, 0.1);
  background: rgba(238, 236, 232, 0.08);
}

.gallery-empty span {
  font-size: clamp(5rem, 20vw, 18rem);
  font-weight: 950;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 3;
  display: flex;
  transform: translateY(-50%);
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 80px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(20, 16, 12, 0.58);
  cursor: pointer;
  opacity: 0.82;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  color: var(--terracotta);
  background: transparent;
  outline: none;
  opacity: 1;
  transform: translateX(4px);
}

.gallery-empty[hidden],
.gallery-controls[hidden] {
  display: none;
}

.applications-section .section-title-row > p,
.applications-section p {
  color: rgba(255, 249, 239, 0.75);
}

.applications-section .eyebrow {
  color: var(--sand);
}

.application-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
  gap: 28px;
  align-items: center;
  margin: 14px 0 22px;
}

.application-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.application-feature h3 {
  max-width: 560px;
  font-size: 2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--sand);
  font-weight: 900;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.application-card {
  overflow: hidden;
  background: rgba(255, 249, 239, 0.09);
  border: 1px solid rgba(255, 249, 239, 0.16);
  border-radius: 8px;
}

.application-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255, 249, 239, 0.18);
}

.application-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.application-card-body p {
  margin: 0;
}

.application-specs {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 249, 239, 0.86);
  font-size: 0.88rem;
}

.application-specs li {
  padding-top: 7px;
  border-top: 1px solid rgba(255, 249, 239, 0.12);
}

.source-note {
  color: var(--sand) !important;
  font-size: 0.82rem;
  font-weight: 900;
}

.source-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(rgba(255, 249, 239, 0.82), rgba(255, 249, 239, 0.82)),
    rgba(93, 111, 88, 0.13);
  backdrop-filter: blur(1px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-panel p {
  color: rgba(32, 26, 20, 0.72);
  font-size: 1.04rem;
}

.source-panel img,
.source-image-block img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.technical-section {
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.88), rgba(220, 195, 161, 0.28));
  backdrop-filter: blur(1px);
}

.technical-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech-card {
  overflow: auto;
  padding: 16px;
  background: rgba(255, 249, 239, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

th,
td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(90, 52, 31, 0.14);
  vertical-align: top;
}

th {
  color: var(--cedar);
  font-weight: 900;
}

.source-image-block {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 249, 239, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-image-block summary {
  cursor: pointer;
  font-weight: 900;
}

.source-image-block img {
  margin-top: 14px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.inquiry {
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(183, 90, 50, 0.28), rgba(93, 111, 88, 0.2)),
    var(--charcoal);
}

.inquiry h2,
.inquiry p {
  max-width: 760px;
}

.inquiry p {
  color: rgba(255, 249, 239, 0.78);
}

.inquiry-copy {
  display: grid;
  gap: 18px;
}

.inquiry-copy h2 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.inquiry-copy p {
  margin: 0;
}

.inquiry-contact-panel {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding: 18px;
  background: rgba(255, 249, 239, 0.08);
  border: 1px solid rgba(255, 249, 239, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 16, 12, 0.22);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 249, 239, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inquiry-form .wide,
.inquiry-form-actions {
  grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  color: var(--paper);
  background: rgba(255, 249, 239, 0.1);
  border-color: rgba(255, 249, 239, 0.24);
  border-radius: 8px;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255, 249, 239, 0.48);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(220, 195, 161, 0.46);
  border-color: rgba(220, 195, 161, 0.72);
}

.inquiry-form select {
  cursor: pointer;
}

.inquiry-form select option {
  color: var(--ink);
  background: var(--paper);
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.required-mark {
  display: inline;
  color: var(--sand);
}

.inquiry-form textarea {
  min-height: 150px;
  resize: vertical;
}

.inquiry-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inquiry-form-note {
  max-width: none !important;
  margin: 0;
  color: rgba(255, 249, 239, 0.56) !important;
  font-size: 0.9rem;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.inquiry-form-note.success {
  color: #d7e9cb;
}

.inquiry-form-note.error {
  color: #ffd0bd;
}

#inquirySubmit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links-label {
  width: 100%;
  margin-right: 4px;
  color: rgba(255, 249, 239, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 11px 6px 7px;
  color: rgba(255, 249, 239, 0.9);
  background: rgba(255, 249, 239, 0.07);
  border: 1px solid rgba(255, 249, 239, 0.18);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 249, 239, 0.13);
  border-color: rgba(255, 249, 239, 0.38);
  outline: none;
  transform: translateY(-2px);
}

.social-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #ffffff;
  background: #1877f2;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.social-mark-instagram {
  position: relative;
  background: #b44b76;
}

.social-mark-instagram::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 5px;
}

.social-mark-instagram::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
}

.social-mark-instagram span {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}

.social-mark-red {
  background: #d93a3a;
  border-radius: 8px;
  font-size: 0.54rem;
  letter-spacing: 0;
}

.social-arrow {
  color: rgba(255, 249, 239, 0.48);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.72);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(1280px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 52px);
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--paper);
  background: var(--charcoal);
  border: 0;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.modal-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: 26px;
  padding: 18px 22px 26px;
}

.modal-gallery {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.modal-main-image,
.modal-source-image {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.modal-main-image {
  max-height: calc(100vh - 110px);
}

.modal-source-image {
  max-height: 420px;
}

.modal-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.modal-heading {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.modal-copy h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.modal-copy p {
  margin: 0;
  color: rgba(32, 26, 20, 0.74);
}

.modal-lede {
  max-width: 760px;
  color: rgba(32, 26, 20, 0.68) !important;
  font-size: 1.02rem;
}

.detail-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  color: rgba(32, 26, 20, 0.74);
  background: rgba(220, 195, 161, 0.2);
  border: 1px solid rgba(90, 52, 31, 0.16);
  border-radius: 999px;
  font-size: 0.86rem;
}

.detail-quick-facts strong {
  color: var(--cedar);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-section {
  min-width: 0;
}

.detail-section h3 {
  margin: 0;
  color: var(--cedar);
  font-size: 1.02rem;
}

.detail-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 168px;
  padding: 16px;
  background: rgba(255, 249, 239, 0.66);
  border: 1px solid rgba(90, 52, 31, 0.14);
  border-radius: 8px;
}

.specs-card {
  grid-column: 1 / -1;
}

.detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-count {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  color: var(--cedar);
  background: rgba(220, 195, 161, 0.28);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.82rem;
}

.spec-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.spec-chip {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 10px;
  background: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(90, 52, 31, 0.11);
  border-radius: 8px;
}

.spec-chip.priority {
  background: rgba(220, 195, 161, 0.16);
}

.spec-chip strong {
  color: rgba(32, 26, 20, 0.54);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.spec-chip span {
  color: var(--ink);
  line-height: 1.28;
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.variant-option {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 68px;
  padding: 7px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 249, 239, 0.74);
  border: 1px solid rgba(90, 52, 31, 0.2);
  border-radius: 8px;
  cursor: pointer;
}

.variant-option.active,
.variant-option:hover,
.variant-option:focus-visible {
  border-color: var(--terracotta);
  outline: 2px solid rgba(183, 90, 50, 0.18);
}

.variant-option img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: #ffffff;
  border-radius: 6px;
}

.variant-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.variant-option strong,
.variant-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variant-option strong {
  color: var(--cedar);
  font-size: 0.88rem;
}

.variant-option small {
  color: rgba(32, 26, 20, 0.68);
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(90, 52, 31, 0.13);
}

.detail-list strong {
  flex: 0 0 132px;
  color: rgba(32, 26, 20, 0.58);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.detail-list span {
  min-width: 0;
  text-align: right;
}

.size-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 249, 239, 0.86);
  border: 1px solid rgba(90, 52, 31, 0.16);
  border-radius: 8px;
  font-weight: 850;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(32, 26, 20, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  color: rgba(32, 26, 20, 0.78);
  background: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(90, 52, 31, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
}

.swatch-chip .swatch {
  width: 18px;
  height: 18px;
}

.detail-note {
  color: rgba(32, 26, 20, 0.62) !important;
  font-size: 0.9rem;
  line-height: 1.55;
}

.strong-note {
  color: rgba(32, 26, 20, 0.72) !important;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: rgba(32, 26, 20, 0.78);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.84rem;
}

.badge::after {
  content: "/";
  color: rgba(90, 52, 31, 0.32);
}

.badge:last-child::after {
  content: "";
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-links a {
  color: var(--cedar);
  font-weight: 900;
}

.source-preview {
  background: rgba(255, 249, 239, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.source-preview summary {
  padding: 12px;
  color: var(--cedar);
  cursor: pointer;
  font-weight: 900;
}

.source-preview .modal-source-image {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.source-data-panel {
  background: rgba(220, 195, 161, 0.16);
  border: 1px solid rgba(90, 52, 31, 0.16);
  border-radius: 8px;
}

.source-data-panel summary {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  color: var(--cedar);
  cursor: pointer;
  font-weight: 900;
}

.source-data-panel summary small {
  color: rgba(32, 26, 20, 0.58);
  font-weight: 650;
}

.source-data-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.compact-source-list li {
  display: grid;
  gap: 4px;
}

.compact-source-list span {
  text-align: left;
  overflow-wrap: anywhere;
  color: rgba(32, 26, 20, 0.72);
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px 48px;
  color: rgba(255, 249, 239, 0.7);
  background: var(--charcoal);
}

footer a {
  color: var(--sand);
}

.seo-noscript {
  padding: 40px 48px;
  background: var(--paper);
}

@media (max-width: 1180px) and (min-width: 981px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header-actions nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 24px;
  }

  .site-header-actions {
    display: grid;
    width: 100%;
    justify-items: start;
    gap: 6px;
  }

  .site-header-actions nav,
  .header-contact {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .hero-copy {
    padding-left: 24px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .section-pad {
    padding: 64px 24px;
  }

  .intro-band,
  .homepage-gallery,
  .application-page-hero,
  .application-feature,
  .inquiry,
  .source-panel,
  .modal-inner,
  .technical-tables {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-page-head,
  .format-grid,
  .product-category-head,
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .hero-next {
    right: 14px;
  }

  .product-toolbar {
    justify-content: flex-start;
    margin-top: 48px;
  }

}

@media (max-width: 620px) {
  body::before {
    background-position: center 170px;
  }

  .header-contact {
    font-size: 0.86rem;
  }

  nav {
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding-left: 14px;
    margin-bottom: 48px;
  }

  .hero-next {
    top: auto;
    right: 14px;
    bottom: 28px;
    transform: none;
  }

  .application-page-hero {
    padding: 40px 24px;
  }

  .gallery-stage {
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .inner-page .collection-page-title h1,
  .inner-page .section-title-row h1,
  .customize-page-panel h1,
  .inquiry-copy h1 {
    font-size: 2.25rem;
  }

  .collection-summary,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .detail-list li {
    display: grid;
    gap: 3px;
  }

  .detail-list strong,
  .detail-list span {
    flex: none;
    text-align: left;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    width: 100%;
  }

  .filters input,
  .filters select {
    width: 100%;
  }

  .product-toolbar {
    margin-top: 38px;
    padding-bottom: 24px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .inquiry-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-form-actions .button {
    width: 100%;
  }

  .social-links {
    align-items: stretch;
  }

  .social-links-label {
    width: 100%;
  }

  .social-link {
    flex: 1 1 150px;
    justify-content: space-between;
  }

  footer {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(clem-page),
  ::view-transition-new(clem-page) {
    animation: none;
  }

  main,
  footer,
  nav a,
  nav a::after {
    transition: none;
  }

  .hero-gallery-track {
    transition: none;
  }
}

.not-found-page {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: clamp(42px, 8vw, 120px) var(--page-pad);
  text-align: center;
}

.not-found-page h1 {
  max-width: 900px;
  margin: 12px auto 22px;
}

.not-found-page p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
}
