/* ==========================================================================
   LUMINA — demo replica stylesheet (original code, same design language as
   the reference site: sage palette, brass accent, serif display headings)
   ========================================================================== */

:root {
  --ink: #171817;
  --muted: #676963;
  --line: #d9dcd5;
  --soft: #f3f4f0;
  --white: #ffffff;
  --accent: #8a6744;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.03;
}

h3 {
  font-weight: 700;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.large-copy {
  max-width: 46ch;
  margin-bottom: 30px;
  color: #3d403c;
  font-size: 20px;
  line-height: 1.6;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- buttons & links ---------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  background: transparent;
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.text-link:hover {
  color: var(--accent);
}

.text-link--light {
  color: var(--white);
}

.text-link--light:hover {
  color: #e6d2b4;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 90;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand__wordmark {
  display: block;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
}

.brand__tagline {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.brand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 24px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav__list > li {
  position: relative;
}

.site-nav__list a {
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.site-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  padding: 28px 0;
}

.site-nav__list a:hover {
  color: var(--accent);
}

.menu-caret {
  display: inline-block;
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.site-nav__submenu {
  position: absolute;
  top: 100%;
  left: -22px;
  z-index: 30;
  min-width: 236px;
  padding: 10px 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(23, 24, 23, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.site-nav__submenu a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 500;
}

.site-nav__submenu a:hover {
  background: var(--soft);
}

.menu-item-has-children:hover .site-nav__submenu,
.menu-item-has-children:focus-within .site-nav__submenu,
.menu-item-has-children.submenu-open .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__submenu-action {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.site-nav__submenu-action a {
  color: var(--accent);
  font-weight: 700;
}

.site-header__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.site-search-toggle,
.site-language__button,
.nav-toggle,
.site-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 160ms ease;
}

.site-search-toggle:hover,
.site-language__button:hover,
.site-search-close:hover {
  color: var(--accent);
}

.site-language__button {
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* hamburger */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease;
}

.nav-open .nav-toggle span:not(.screen-reader-text):first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:not(.screen-reader-text):last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- search panel ---------- */

.site-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 48px rgba(23, 24, 23, 0.12);
}

.site-search-panel[hidden] {
  display: none;
}

.site-search-panel__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px var(--pad);
}

.site-search-panel__copy {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 2px;
}

.site-search-panel__copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-search-panel__copy strong {
  font-size: 15px;
}

.product-search-form {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
}

.product-search-form__field {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--soft);
  color: var(--muted);
}

.product-search-form__field:focus-within {
  border-color: var(--ink);
}

.product-search-form__field input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.product-search-form__field input:focus {
  outline: none;
}

.product-search-form__submit {
  min-height: 48px;
}

.product-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 104px;
  z-index: 50;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(23, 24, 23, 0.12);
}

.product-search-suggestions[hidden] {
  display: none;
}

.product-search-suggestions a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  font-size: 14px;
}

.product-search-suggestions a:hover,
.product-search-suggestions a[aria-selected="true"] {
  background: var(--soft);
}

.product-search-suggestions span {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  width: 100%;
  margin: 0;
  min-height: 540px;
  height: calc(84svh - 76px);
  max-height: 700px;
  background: var(--soft);
}

.hero__panel {
  align-self: center;
  padding: 72px 56px 72px var(--pad);
}

.hero__media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1.hero__title--manufacturer {
  margin-bottom: 28px;
  font-size: clamp(40px, 4.6vw, 58px);
}

.hero__summary {
  max-width: 520px;
  margin-bottom: 34px;
  font-size: 18px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ---------- proof bar ---------- */

.home-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 var(--pad);
  border-bottom: 1px solid #d6dad3;
  background: #ecefe9;
}

.home-proof > div {
  display: grid;
  min-height: 118px;
  align-content: center;
  justify-items: center;
  padding: 20px 14px;
  border-right: 1px solid #d6dad3;
  text-align: center;
}

.home-proof > div:last-child {
  border-right: 0;
}

.home-proof strong {
  margin-bottom: 6px;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.01em;
  line-height: 1.05;
  white-space: nowrap;
}

.home-proof span {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-proof small {
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- shared section shells ---------- */

.intro,
.collections,
.featured-products,
.custom-process {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px var(--pad);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading > div > p {
  margin-bottom: 0;
}

.section-heading > p {
  width: min(390px, 40%);
  margin-bottom: 4px;
  color: var(--muted);
}

/* ---------- intro ---------- */

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
}

.intro__copy h2 {
  margin-bottom: 34px;
}

.video-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-embed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(23, 24, 23, 0.45);
  color: var(--white);
  font-size: 20px;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.video-embed:hover .video-embed__play {
  background: rgba(23, 24, 23, 0.7);
  transform: translate(-50%, -50%) scale(1.06);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.capabilities div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.capabilities div:last-child {
  border-right: 0;
}

.capabilities strong {
  margin-bottom: 8px;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.capabilities span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- collections ---------- */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.collection-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.collection-card img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 8px;
  object-fit: contain;
  background: #fff;
  transition: transform 260ms ease;
}

.collection-card:hover img {
  transform: scale(0.985);
}

.collection-card:hover span:last-child {
  color: var(--accent);
}

/* ---------- products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 16px;
}

.product-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.025);
}

.product-card__body {
  padding-top: 16px;
}

.product-card__body p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.35;
}

.product-card__body a:hover {
  color: var(--accent);
}

/* ---------- project band ---------- */

.project-band {
  position: relative;
  display: grid;
  min-height: 720px;
  color: var(--white);
}

.project-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-band::after {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 11, 0.38);
  content: "";
}

.project-band__content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(560px, calc(100% - 40px));
  margin: 0 0 80px var(--pad);
}

.project-band__content .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.project-band__content h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 4.5vw, 62px);
}

.project-band__content p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 18px;
}

/* ---------- custom process ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid #cdd1c8;
  list-style: none;
}

.process-list li {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid #cdd1c8;
  text-align: center;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span,
.process-list p {
  color: var(--muted);
  font-size: 13px;
}

.process-list p {
  max-width: 300px;
  margin-bottom: 0;
}

.process-list h3 {
  margin: 18px 0;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

/* ---------- home cta ---------- */

.home-cta {
  padding: 96px var(--pad);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.home-cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.home-cta h2 {
  margin-bottom: 34px;
  font-size: clamp(36px, 4.2vw, 58px);
}

/* ---------- footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1.15fr;
  gap: 48px;
  padding: 64px var(--pad);
  border-top: 1px solid #333733;
  background: #202320;
  color: var(--white);
}

.site-footer__brand p {
  max-width: 360px;
  margin: 20px 0 0;
  color: #aeb3aa;
}

.site-footer__brand sup {
  margin-left: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  vertical-align: super;
}

.site-footer__group,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #c7cbc3;
  font-size: 13px;
}

.site-footer__group strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__group a:hover {
  color: var(--white);
}

.site-footer__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--white);
  font-weight: 700;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #3d413d;
  color: #aeb3aa;
  font-size: 12px;
  text-align: center;
}

.site-footer__copyright em {
  color: #7c817a;
  font-style: normal;
}

/* ---------- whatsapp float & demo ribbon ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.demo-ribbon {
  position: fixed;
  left: 0;
  bottom: 22px;
  z-index: 60;
  padding: 6px 12px;
  border-radius: 0 3px 3px 0;
  background: rgba(23, 24, 23, 0.82);
  color: #d8c1a0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---------- inner pages ---------- */

.page-hero {
  padding: 72px var(--pad) 56px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4vw, 54px);
}

.page-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.standard-page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 88px var(--pad);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-bar a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all 160ms ease;
}

.filter-bar a:hover,
.filter-bar a.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 220px;
  background: var(--soft);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.detail-grid__image {
  background: var(--soft);
}

.detail-grid__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.detail-grid__meta > .model {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid__meta h1 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.detail-grid__meta .lead {
  margin-bottom: 28px;
  color: #3d403c;
  font-size: 17px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.inquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: var(--ink);
}

.inquiry-form .button,
.inquiry-form__full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  object-fit: cover;
}

.post-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0;
  font-size: 18px;
}

.post-card a:hover {
  color: var(--accent);
}

.catalog-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.catalog-panel .button {
  margin-top: 10px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(360px, 88vw);
    margin: 0;
    padding: 90px 32px 40px;
    background: var(--white);
    box-shadow: -18px 0 48px rgba(23, 24, 23, 0.16);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 240ms ease;
  }

  .nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav__list > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__list > li > a {
    padding: 16px 0;
  }

  .site-nav__submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-item-has-children:hover .site-nav__submenu,
  .menu-item-has-children:focus-within .site-nav__submenu,
  .menu-item-has-children.submenu-open .site-nav__submenu {
    display: block;
  }

  .site-nav > .button {
    margin-top: 24px;
  }

  .nav-open::after {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(23, 24, 23, 0.4);
    content: "";
  }

  .home-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof > div {
    border-right: 0;
    border-bottom: 1px solid #d6dad3;
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-heading > p {
    width: auto;
  }

  .collection-grid,
  .product-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    min-height: 200px;
  }

  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities div:nth-child(2n) {
    border-right: 0;
  }

  .capabilities div {
    border-bottom: 1px solid var(--line);
  }

  .capabilities div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .project-band {
    min-height: 560px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .brand__logo {
    width: 180px;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .hero__panel {
    padding: 48px var(--pad) 56px;
  }

  .hero__media {
    height: 360px;
  }

  .hero h1.hero__title--manufacturer {
    font-size: 40px;
  }

  .hero__summary {
    font-size: 16px;
  }

  .intro,
  .collections,
  .featured-products,
  .custom-process,
  .standard-page {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-proof {
    grid-template-columns: 1fr 1fr;
  }

  .home-proof > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .product-grid {
    gap: 30px 16px;
  }

  .project-band h2 {
    font-size: 40px;
  }

  .site-search-panel__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .product-search-suggestions {
    right: 0;
  }

  .product-search-suggestions a {
    flex-wrap: wrap;
    gap: 2px;
  }

  .product-search-suggestions span {
    width: 100%;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .collection-grid,
  .product-grid,
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- homepage: full category grid ---------- */

.collection-grid--full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- homepage: services band ---------- */

.services-band {
  width: 100%;
  margin-top: 8px;
  padding: 112px var(--pad);
  background: var(--ink);
  color: var(--white);
}

.services-band .section-heading {
  color: var(--white);
}

.services-band .section-heading > p {
  color: rgba(255, 255, 255, 0.62);
}

.services-band .eyebrow {
  color: var(--accent);
}

.section-heading--light h2 {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-3px);
}

.service-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .collection-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .collection-grid--full,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 20px;
  }
}

/* hide netlify injected badge */
a[href*="netlify.com"] { display: none !important; }
#nl-badge-frame, iframe[id^="nl-badge"] { display: none !important; width: 0 !important; height: 0 !important; }

/* language toggle */
.lang-toggle {
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease;
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); }
.site-header__controls { align-items: center; gap: 10px; }


/* ---------- language selector ---------- */
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: border-color 160ms ease, color 160ms ease;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn .caret { opacity: 0.6; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  width: 210px; max-height: 380px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 24, 23, 0.14); padding: 6px;
}
.lang-menu a {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; font-size: 13px; color: var(--ink);
  text-decoration: none; border: 0; background: transparent; cursor: pointer;
}
.lang-menu a:hover { background: var(--soft); }
.lang-menu a.cur { background: var(--soft); font-weight: 700; }
.lang-menu img { width: 22px; height: 15px; object-fit: cover; border: 0; display: block; }
.lang-menu .soon { margin-left: auto; font-size: 10px; color: var(--muted); letter-spacing: 0.5px; }
.site-header__controls { align-items: center; gap: 10px; }
