:root {
  --ink: #161616;
  --muted: #5f625d;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9d3c8;
  --forest: #244036;
  --wine: #7b2d32;
  --gold: #b08642;
  --blue: #2f5268;
  --shadow: 0 18px 45px rgba(22, 22, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  font-weight: 820;
  letter-spacing: 0;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta,
.lang-toggle,
.button,
.filter-button {
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-cta {
  padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: #fff;
}

.lang-toggle {
  min-width: 54px;
  padding: 0 12px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.header-cta:hover,
.lang-toggle:hover,
.button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 112px clamp(18px, 5vw, 72px) 28px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 18, 16, 0.88), rgba(17, 24, 22, 0.42) 48%, rgba(17, 24, 22, 0.2)),
    linear-gradient(0deg, rgba(7, 9, 8, 0.76), rgba(7, 9, 8, 0.02) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-bottom: clamp(28px, 8vh, 80px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 880px;
  font-size: clamp(2.55rem, 6.6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}

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

.button {
  padding: 0 22px;
  font-weight: 720;
}

.button.primary {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.button.primary:hover {
  background: #632327;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.hero-strip div {
  padding: 18px;
  background: rgba(10, 15, 13, 0.52);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.1vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
  background: #fff;
}

.intro-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats div {
  padding: 20px;
  background: #fff;
}

.stats dt {
  color: var(--forest);
  font-size: 2rem;
  font-weight: 820;
}

.stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.products {
  background: var(--paper);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 24px;
}

.filter-button {
  padding: 0 16px;
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.filter-button.active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

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

.product-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.06);
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.product-body {
  padding: 22px;
}

.product-type {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-body h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.product-body p,
.product-body li {
  color: var(--muted);
  line-height: 1.55;
}

.product-body ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.style-gallery {
  background: #fff;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 6vw, 72px);
  max-width: none;
  align-items: end;
}

.gallery-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.gallery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.gallery-summary div {
  padding: 18px 20px;
  background: #f9f7f2;
}

.gallery-summary strong,
.gallery-summary span {
  display: block;
}

.gallery-summary strong {
  color: var(--forest);
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-summary span {
  margin-top: 6px;
  color: var(--muted);
}

.style-filter-bar {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin: 0 0 26px;
  padding: 8px 0 14px;
  scrollbar-width: thin;
}

.style-filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.style-filter-button:hover {
  transform: translateY(-1px);
}

.style-filter-button.active {
  color: #fff;
  border-color: var(--forest);
  background: var(--forest);
}

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

.style-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(22, 22, 22, 0.05);
}

.style-card.expanded {
  grid-column: 1 / -1;
}

.style-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line);
}

.style-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.style-card-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.style-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.style-card.expanded .style-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.style-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: #ece8df;
  cursor: zoom-in;
}

.style-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.style-thumb:hover img {
  transform: scale(1.035);
}

.style-thumb.size-chart img {
  object-fit: contain;
  padding: 8px;
  background: #f3efe7;
}

.style-card-more {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.style-empty {
  padding: 28px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-modal {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101412;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.gallery-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.gallery-modal figure {
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 28px);
}

.gallery-modal img {
  width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  background: #0b0e0c;
}

.gallery-modal figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.82);
}

.modal-close,
.modal-nav {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.modal-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-nav {
  top: 50%;
  width: 46px;
  height: 56px;
  transform: translateY(-50%);
  font-size: 2.5rem;
  line-height: 1;
}

.modal-prev {
  left: 12px;
}

.modal-next {
  right: 12px;
}

.capabilities {
  background: #18251f;
  color: #fff;
}

.capabilities .section-heading {
  margin-bottom: 32px;
}

.capabilities .section-heading h2 {
  color: #fff;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 20px;
}

.capability-panel,
.spec-table {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.capability-panel {
  padding: clamp(22px, 4vw, 36px);
}

.capability-panel h3 {
  font-size: 1.45rem;
}

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

.spec-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
}

.spec-table {
  display: grid;
}

.spec-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.process {
  background: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 260px;
  padding: 24px;
  background: #fff;
}

.process-list span {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
  font-weight: 850;
}

.process-list h3 {
  font-size: 1.22rem;
}

.process-list p {
  color: var(--muted);
  line-height: 1.6;
}

.faq {
  background: #f0ede6;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 37, 31, 0.96), rgba(47, 82, 104, 0.86)),
    #18251f;
}

.contact-copy p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-email {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-copy .contact-email p {
  margin: 0 0 10px;
}

.contact-email a {
  display: inline-block;
  max-width: 100%;
  padding: 6px 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 680;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 6px;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  color: var(--gold);
  text-decoration-color: currentColor;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 680;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  outline: none;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #111817;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-strip,
  .intro,
  .gallery-heading,
  .capability-layout,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 150px;
    white-space: normal;
    line-height: 1.1;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .lang-toggle {
    min-width: 46px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 92vh;
    padding: 96px 16px 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats,
  .product-grid,
  .gallery-summary,
  .style-grid,
  .process-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .style-card-header {
    min-height: 0;
  }

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

  .gallery-modal figcaption {
    flex-direction: column;
    gap: 5px;
  }

  .modal-nav {
    width: 40px;
    height: 48px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}
