:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --navy: #0f1b2d;
  --navy-2: #17243a;
  --accent: #2563eb;
  --success: #0f766e;
  --shadow: 0 18px 45px rgba(15, 27, 45, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 clamp(28px, 4vw, 68px);
  color: var(--navy);
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-symbol {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  color: #46536a;
  font-weight: 650;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-toggle,
.quote-button,
.secondary-link,
.primary-link,
.tab-button {
  border: 0;
  border-radius: 8px;
}

.lang-toggle {
  background: transparent;
  color: var(--navy);
  font-weight: 750;
  padding: 10px;
}

.quote-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  font-weight: 800;
}

.quote-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  min-height: calc(100svh - 78px);
  padding: clamp(70px, 9vh, 120px) clamp(28px, 7.5vw, 124px);
  overflow: hidden;
  background: #fff;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--navy);
  animation: fade-up 700ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: #71809a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #71809a;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6.6vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: #46536a;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-brand {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  animation: scale-in 800ms 120ms ease both;
}

.hero-brand > img {
  width: min(650px, 94%);
  max-height: 66vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.hero-wordmark {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: 14px;
  width: min(430px, 86%);
  margin-top: 16px;
  color: #fff;
}

.hero-wordmark span {
  height: 2px;
  background: #fff;
}

.hero-wordmark strong {
  font-size: clamp(15px, 1.6vw, 23px);
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 850;
}

.primary-link {
  color: #fff;
  background: var(--navy);
}

.secondary-link {
  color: var(--navy);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(10, 25, 47, 0.62);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  gap: 24px;
  align-items: end;
  width: min(1400px, 86vw);
  margin: 74px auto 24px;
}

.catalog-toolbar h2,
.quote-strip h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.search-box {
  display: grid;
  gap: 8px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.search-box input {
  min-height: 48px;
  padding: 0 15px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1400px, 86vw);
  margin: 0 auto 28px;
}

.category-intro {
  width: min(1400px, 86vw);
  margin: 0 auto 30px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.category-intro h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.category-intro p:not(.eyebrow) {
  max-width: 980px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.tab-button {
  min-height: 40px;
  padding: 0 14px;
  color: #64748b;
  background: #eef2f7;
  font-weight: 800;
}

.tab-button[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(1400px, 86vw);
  margin: 0 auto 78px;
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 12px 30px rgba(15, 27, 45, 0.06);
  animation: fade-up 520ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.product-image {
  display: grid;
  min-height: 310px;
  width: 100%;
  border: 0;
  background: var(--soft);
}

.product-image img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  padding: 18px;
}

.product-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--navy);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 850;
}

.references-section {
  width: min(1400px, 86vw);
  margin: 0 auto 82px;
  padding-top: 10px;
}

.references-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.references-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.references-heading > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.reference-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 27, 45, 0.06);
}

.reference-image {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.reference-image img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
}

.reference-card-body {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}

.reference-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.3;
}

.reference-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-badge {
  margin: 8px 0 4px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

.color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.color-dot,
.color-option {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 27, 45, 0.18);
}

.color-dot {
  width: 18px;
  height: 18px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ghost-button {
  min-height: 42px;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1400px, 86vw);
  margin: 0 auto 80px;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.services-section {
  width: min(1400px, 86vw);
  margin: 26px auto 80px;
  padding: 62px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-copy {
  max-width: 980px;
}

.services-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.services-body {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-top: 24px;
}

.services-body p,
.services-closing {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.services-closing {
  margin-top: 24px;
  color: var(--navy);
  font-weight: 900;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  width: min(1400px, 86vw);
  margin: 0 auto 82px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-intro,
.about-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.about-intro {
  max-width: 720px;
  margin: 20px 0 0;
  color: #344054;
  font-size: 19px;
  font-weight: 700;
}

.about-read-more {
  width: fit-content;
  margin-top: 28px;
}

.about-body {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.about-body p {
  margin: 0;
}

.company-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.company-facts span,
.company-facts a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--navy);
  font-weight: 800;
}

.founder-portrait {
  margin: 0;
}

.founder-photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  padding: 28px;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  color: #64748b;
  background: #eef2f7;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 34%;
}

.founder-caption {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  color: var(--navy);
}

.founder-caption strong {
  font-size: 17px;
}

.founder-caption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.about-page-main {
  width: min(1400px, 86vw);
  margin: 0 auto;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding: 76px 0 82px;
}

.story-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.story-subtitle {
  margin: 30px 0 0;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
}

.story-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #344054;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.55;
}

.story-body {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-top: 28px;
}

.story-body p,
.story-section-body p,
.community-copy p,
.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 7vw, 104px);
  padding: 72px 0 78px;
  border-top: 1px solid var(--line);
}

.story-section-body,
.community-copy {
  display: grid;
  gap: 18px;
}

.story-section-body p,
.community-copy p {
  max-width: 820px;
}

.section-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.values-section {
  padding: 72px 0 78px;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.community-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.story-gallery {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  margin: -48px 0 86px;
}

.story-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.story-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-gallery-item--portrait {
  aspect-ratio: 4 / 5;
}

.story-gallery-item--landscape {
  align-self: center;
  aspect-ratio: 16 / 9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.value-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.value-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
}

.value-item p {
  font-size: 15px;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  margin-bottom: 86px;
  padding: 62px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.community-section > div {
  min-width: 0;
}

.community-section .eyebrow {
  color: #aab7cc;
}

.community-section h2,
.community-copy p {
  color: #fff;
}

.community-section h2 {
  max-width: 100%;
  font-size: clamp(34px, 3.4vw, 54px);
  overflow-wrap: anywhere;
}

.story-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.quote-strip .eyebrow {
  color: #aab7cc;
}

.quote-strip .primary-link {
  background: #fff;
  color: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 7vw;
  color: #d7deea;
  background: var(--navy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #9aa8bd;
}

.product-dialog {
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: scale-in 180ms ease both;
}

.product-dialog::backdrop {
  background: rgba(15, 27, 45, 0.58);
}

.icon-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #eef2f7;
  font-size: 28px;
  line-height: 1;
}

.product-dialog > .icon-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 20px;
  height: 100%;
  overflow: hidden;
  padding: 18px 82px 18px 18px;
}

.gallery-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}

.gallery-main {
  display: grid;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  padding: 28px;
  transform: translateY(-4%) scale(0.84);
  transform-origin: center top;
  transition: transform 180ms ease;
}

.gallery-main:hover img {
  transform: translateY(-2%) scale(1.02);
}

.gallery-main.is-centered-product img {
  object-position: center;
  transform: scale(0.78);
  transform-origin: center;
}

.gallery-main.is-centered-product:hover img {
  transform: scale(0.96);
}

.gallery-main.is-contained-product {
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

.gallery-main.is-contained-product img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: translateY(-10%) scale(0.78);
  transform-origin: center;
}

.gallery-main.is-contained-product:hover img {
  transform: translateY(-8%) scale(0.88);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(46px, 1fr));
  gap: 7px;
  margin-top: 8px;
  max-height: 62px;
  overflow: hidden;
}

.thumb-button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.thumb-button[aria-pressed="true"] {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 27, 45, 0.1);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-panel {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding-right: 0;
}

.detail-panel .eyebrow {
  margin-bottom: 6px;
}

.detail-panel h2 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.detail-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  margin: 6px 0 0;
}

.option-group {
  display: grid;
  gap: 8px;
}

.option-label {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.color-option {
  width: 30px;
  height: 30px;
}

.color-option[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--navy);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}

.calculator .primary-link {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border-radius: 0;
  white-space: normal;
  text-align: center;
}

.calc-row,
.size-grid {
  display: grid;
  gap: 7px;
}

.calculator > .calc-row {
  grid-column: 1 / -1;
}

.detail-card,
.calc-row,
.calc-total,
.calculator .form-note {
  padding: 12px;
}

.detail-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.size-grid {
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 6px;
}

.size-input {
  display: grid;
  gap: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.size-input input,
.quantity-input,
.select-input {
  min-width: 0;
  min-height: 36px;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  background: #fff;
  padding: 0 8px;
}

.size-input input {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.size-input input::-webkit-outer-spin-button,
.size-input input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.min-warning {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 7px 9px;
  border-radius: 8px;
  color: #b00020;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 800;
}

.size-card {
  border-left: 1px solid var(--line);
}

.size-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.size-total {
  display: block;
  color: var(--navy);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.calc-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.calc-total strong {
  font-size: 24px;
}

.calculator .form-note {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.35;
  border-top: 1px solid var(--line);
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(620px, 94vw);
  transform: translateX(102%);
  transition: transform 180ms ease;
}

.quote-drawer.is-open {
  transform: translateX(0);
}

.drawer-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
}

.quote-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px 24px;
}

.quote-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--soft);
}

.quote-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.quote-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.remove-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 900;
}

.empty-state {
  padding: 30px 18px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.quote-form input {
  min-height: 42px;
  padding: 0 11px;
}

.quote-form textarea {
  resize: vertical;
  padding: 10px 11px;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: rgba(15, 27, 45, 0.48);
}

.drawer-backdrop.is-open {
  display: block;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .detail-panel {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 0 18px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .header-actions {
    gap: 2px;
  }

  .lang-toggle {
    padding: 8px;
  }

  .story-back-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .quote-button span:first-child {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    min-height: calc(100svh - 78px);
    padding: 52px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-brand > img {
    width: min(330px, 82vw);
    max-height: 320px;
  }

  .hero-wordmark {
    width: min(280px, 76vw);
    margin-top: 8px;
  }

  .hero-wordmark strong {
    font-size: 13px;
  }

  .hero-content,
  .catalog-toolbar,
  .category-tabs,
  .category-intro,
  .product-grid,
  .references-section,
  .services-section,
  .about-section,
  .quote-strip {
    width: calc(100vw - 36px);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

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

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

  .about-page-main {
    width: calc(100vw - 36px);
  }

  .story-hero,
  .story-section,
  .community-section,
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-hero {
    padding: 44px 0 58px;
  }

  .story-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .story-section {
    gap: 24px;
    padding: 52px 0 58px;
  }

  .story-portrait {
    max-width: 520px;
  }

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

  .community-section {
    margin-bottom: 56px;
    padding: 32px 24px;
  }

  .community-section h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .story-gallery {
    gap: 14px;
    margin: -24px 0 56px;
  }

  .story-gallery-item--landscape {
    aspect-ratio: 16 / 10;
  }

  .quote-strip,
  .services-section,
  .about-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-section {
    padding: 42px 0;
  }

  .about-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .founder-photo-placeholder {
    min-height: 0;
  }

  .product-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100vh;
    border-radius: 0;
  }

  .product-detail {
    height: auto;
    max-height: 100dvh;
    overflow: auto;
    padding: 18px;
  }

  .gallery-main,
  .gallery-main img {
    min-height: auto;
    height: 430px;
  }

  .thumb-row {
    grid-template-columns: repeat(5, 1fr);
  }

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

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