@import url('https://fonts.googleapis.com/css2?family=Akshar:wght@400;500;600&family=Nunito+Sans:wght@400;500;600;700&display=swap');

@font-face {
  font-family: "Sens Serif";
  src: url("/assets/fonts/sens-serif.woff2") format("woff2");
  font-display: swap;
}

:root {
  --primary: #000;
  --accent: #7b4b25;
  --accent-dark: #5f3518;
  --ink: #1b1a19;
  --muted: #77716c;
  --catalog: #e9e5e1;
  --story: #716b66;
  --line: rgba(56, 55, 53, .13);
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

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

/* Shared WordPress-style header */
.site-header {
  position: relative;
  z-index: 100;
  height: 86px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .025);
}

.header-inner {
  width: calc(100% - 32px);
  max-width: 1128px;
  height: 86px;
  margin: 0 auto;
  position: relative;
}

.logo {
  position: absolute;
  top: 22px;
  left: 0;
  width: 200px;
  line-height: 0;
}
.logo img { width: 200px; height: auto; }

.main-nav {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 15px;
  color: #56514d;
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus { color: var(--accent); }

.chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.main-nav .dropdown {
  position: absolute;
  z-index: 200;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 7px 0;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .11);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.main-nav .dropdown a {
  display: block;
  padding: 9px 15px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  line-height: 21px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav .dropdown a:hover { color: var(--accent); background: #f7f4f1; }

.lang-switch {
  position: absolute;
  top: 30px;
  right: 0;
  display: flex;
  gap: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 26px;
}
.lang-switch a {
  min-width: 31px;
  padding: 0 7px;
  border: 1px solid rgba(123, 75, 37, .35);
  color: var(--accent);
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
.lang-switch a:first-child { border-radius: 2px 0 0 2px; }
.lang-switch a:last-child {
  border-left: 0;
  border-radius: 0 2px 2px 0;
}
.lang-switch a:hover,
.lang-switch a:focus-visible {
  background: rgba(123, 75, 37, .08);
}
.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

main { display: block; }

/* Homepage slider */
.home-slider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #222;
}

.home-slider-track { position: absolute; inset: 0; }

.home-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(5%);
  transition: opacity .48s ease, transform .55s ease, visibility .55s;
  background-color: #222;
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
}

.home-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 40px;
  display: grid;
  place-items: center;
}

.home-hero-copy h1 {
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Akshar", sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: normal;
  text-align: center;
  white-space: normal;
}

.home-copy-card {
  position: absolute;
  z-index: 2;
  inset: 0 80px;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
}
.home-copy-card h2 {
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Akshar", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.home-copy-card p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: "Akshar", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}
.home-copy-card a {
  display: inline-block;
  padding: 14px 23px;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  text-transform: uppercase;
}

.home-slide-title {
  display: grid;
  place-items: center;
}
.home-slide-title h2 {
  position: relative;
  z-index: 2;
  width: calc(100% - 80px);
  margin: 0;
  color: #fff;
  font-family: "Akshar", sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.home-slide-products {
  overflow-y: auto;
  padding: 0 20px;
  background: #fff;
}
.home-slide-products h2 {
  width: calc(100% + 40px);
  height: 57.6px;
  margin: 0 0 20px -20px;
  color: #2c2a26;
  font-family: "Akshar", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 57.6px;
  text-align: center;
  text-transform: uppercase;
}
.home-category-grid {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.home-category {
  min-width: 0;
  min-height: 143px;
  display: grid;
  grid-template-columns: 113px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  text-align: left;
}
.home-category img { width: 113px; height: 113px; object-fit: cover; }
.home-category span {
  display: block;
  align-self: center;
  padding: 0;
  color: #2c2a26;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.5px;
  transition: color .2s ease;
}
.home-category:hover span,
.home-category:focus-visible span { color: var(--accent); }

.slider-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: rgba(238, 229, 229, .47);
  color: rgba(0, 0, 0, .44);
  font-size: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease;
}
.slider-arrow::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 18px;
  height: 18px;
  border-bottom: 4px solid currentColor;
  border-left: 4px solid currentColor;
}
.slider-prev::before { left: 23px; transform: rotate(45deg); }
.slider-next::before { right: 23px; transform: rotate(225deg); }
.slider-arrow:hover {
  background: rgba(123, 75, 37, .18);
  color: var(--accent);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Catalog and filters */
.catalog-page main,
.product-page main { background: var(--catalog); }

.listing-wrap {
  width: 100%;
  min-height: calc(100vh - 132px);
  padding: 74px 42px 64px;
  background: var(--catalog);
}

.listing-meta {
  max-width: 1182px;
  margin: 0 auto 9px;
  color: #999692;
  font-size: 12px;
  text-align: right;
}

.color-filter {
  max-width: 1182px;
  min-height: 46px;
  margin: 0 auto 21px;
  padding: 9px 0 11px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.color-filter .label {
  margin-right: 4px;
  color: #8e8c88;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.color-swatch {
  width: 21px;
  height: 21px;
  border: 2px solid var(--catalog);
  border-radius: 50%;
  outline: 1px solid rgba(0, 0, 0, .18);
  transition: transform .15s ease, outline-color .15s ease;
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { outline: 2px solid var(--accent); outline-offset: 2px; }
.clear-filter { margin-left: 5px; color: var(--accent); font-size: 12px; }

.product-grid {
  max-width: 1182px;
  margin: 0 auto;
  display: grid;
}
.product-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.product-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 19px; }

.product-card {
  min-width: 0;
  background: transparent;
}
.product-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.product-card:hover .thumb img { transform: scale(1.018); opacity: .94; }

.product-card .info { display: block; padding: 10px 0 0; }
.product-card .cat-label {
  display: block;
  min-height: 21px;
  color: #aaa7a3;
  font-size: 13px;
  line-height: 21px;
}
.product-title {
  display: block;
  margin-top: 1px;
  color: #3e3d3a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transition: color .2s ease;
}
.product-card:hover .product-title { color: var(--accent); }

.pagination {
  max-width: 1182px;
  margin: 54px auto 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pagination a,
.pagination span {
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .15);
  color: #777;
  font-size: 13px;
}
.pagination .current { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Product detail */
.product-single {
  min-height: calc(100vh - 86px);
  padding: 0 20px 70px;
  background: var(--catalog);
}
.product-single-grid {
  max-width: 1225px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: start;
}
.product-gallery { padding: 0 34px 0 0; }
.product-gallery .main-image { width: 100%; background: #ddd; }
.product-gallery .main-image img { width: 100%; height: auto; }
.product-gallery .thumbs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.product-gallery .thumbs img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  opacity: .68;
}
.product-gallery .thumbs img.active { opacity: 1; }

.product-details { padding: 0 22px 0 26px; }
.product-type {
  display: inline-block;
  margin: -7px 0 10px;
  color: var(--accent);
  font-size: 16px;
}
.product-details h1 {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .035);
  color: #393835;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.35;
}
.spec-table .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
}
.spec-table .k { font-weight: 400; }
.spec-table .k::after { content: ":"; }
.spec-table .v { display: flex; align-items: center; gap: 7px; color: var(--accent); }
.spec-swatch { width: 17px; height: 17px; border-radius: 50%; outline: 1px solid rgba(0, 0, 0, .2); }

.related-products {
  max-width: 1225px;
  margin: 70px auto 0;
}
.related-products h2 {
  margin: 0 0 28px;
  font-size: 21px;
  font-weight: 500;
}

/* Editorial story pages */
.story-page { background: var(--story); }
.story-layout {
  padding: 144px 40px 128px;
  background: var(--story);
  color: #fff;
}
.story-layout h1 {
  margin: 0 0 44px;
  color: #fff;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}
.story-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.story-copy {
  width: 60%;
  max-width: 711px;
  margin: 44px auto 0;
  color: #fff;
}
.story-copy p { margin: 0 0 16px; }

/* Facilities */
.facilities-layout { padding: 152px 64px 100px; }
.facilities-intro { text-align: center; }
.facilities-intro h1 {
  margin: 0;
  color: #363532;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
.facilities-intro p { margin: 15px 0 0; color: #8a8884; line-height: 1.65; }
.facility { max-width: 1137px; margin: 81px auto 0; }
.facility + .facility { margin-top: 75px; }
.facility img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.facility h2 { margin: 28px 0 12px; font-size: 32px; font-weight: 400; }
.facility p { max-width: 900px; margin: 0 0 16px; color: #76736f; }

/* Gallery */
.editorial-hero {
  height: 400px;
  position: relative;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
}
.editorial-hero > div { position: relative; z-index: 1; }
.editorial-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.1;
}
.editorial-hero p { margin: 25px 20px 0; color: #fff; font-size: 16px; line-height: 1.65; }
.gallery-hero { background-image: url("/assets/images/reference/QMG-Office.jpg"); }
.gallery-hero > div { transform: translateY(-28px); }
.contact-hero { background-image: url("/assets/images/reference/home-bg2.jpg"); }

.projects-section { padding: 144px 40px 80px; }
.project-filters {
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.project-filters button {
  margin: 0 0 15px;
  padding: 6px 15px;
  border: 1px solid #b6b3af;
  background: #fff;
  color: #96938f;
  font-size: 15px;
  line-height: 26.4px;
  cursor: pointer;
}
.project-filters button:hover,
.project-filters button.active {
  border-color: var(--accent);
  color: var(--accent);
}

.projects-grid {
  max-width: 1185px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.projects-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--accent);
}
.projects-grid figure.is-hidden { display: none; }
.project-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  text-align: center;
}
.projects-grid img {
  width: 100%;
  aspect-ratio: 1.143 / 1;
  object-fit: cover;
  opacity: .7;
  transition: opacity .35s ease;
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  color: #fff;
}
.project-card-overlay::before,
.project-card-overlay::after {
  content: "";
  position: absolute;
  inset: 30px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.project-card-overlay::before {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: scaleX(0);
}
.project-card-overlay::after {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: scaleY(0);
}
.project-card-title {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
  transform: translateY(-20px);
  transition: transform .35s ease;
}
.project-view-button {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #54595f;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}
.project-view-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.project-card:hover img,
.project-card:focus-visible img { opacity: .4; }
.project-card:hover .project-card-overlay::before,
.project-card:hover .project-card-overlay::after,
.project-card:focus-visible .project-card-overlay::before,
.project-card:focus-visible .project-card-overlay::after {
  opacity: 1;
  transform: scale(1);
}
.project-card:hover .project-card-title,
.project-card:focus-visible .project-card-title,
.project-card:hover .project-view-button,
.project-card:focus-visible .project-view-button {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 0 24px 24px;
  overflow: auto;
  background: rgba(0, 0, 0, .78);
}
.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox-dialog {
  position: relative;
  width: min(700px, calc(100vw - 48px));
  margin: auto;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}
.gallery-lightbox-stage {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: #111;
}
.gallery-lightbox-image {
  width: 100%;
  height: auto;
  background: #111;
}
.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 9px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  color: #5b5956;
  font-size: 27px;
  line-height: 30px;
  cursor: pointer;
}
.gallery-lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 36px;
  height: 36px;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(0, 0, 0, .12);
  color: #fff;
  font-size: 36px;
  line-height: 28px;
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery-lightbox-prev { left: 12px; }
.gallery-lightbox-next { right: 12px; }
.gallery-lightbox-meta {
  min-height: 105px;
  padding: 13px 16px 18px;
  background: #fff;
  text-align: left;
}
.gallery-lightbox-dots {
  min-height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-lightbox-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #252525;
  cursor: pointer;
}
.gallery-lightbox-dots button.active { background: var(--accent); }
.gallery-lightbox-meta h2 {
  margin: 9px 0 0;
  color: #3b3936;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

/* Contact */
.contact-content {
  width: calc(100% - 80px);
  max-width: 1185px;
  min-height: 912px;
  margin: 0 auto;
  padding: 144px 0;
  display: grid;
  grid-template-columns: 1.0153fr 1fr;
  gap: 0;
}
.contact-details h2,
.contact-form-panel h2 {
  margin: 0 0 26px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
.contact-details {
  padding-right: 96px;
  color: #7f7c76;
}
.contact-details ul { list-style: none; margin: 0 0 27px; padding: 0; }
.contact-details li {
  min-height: 32px;
  margin: 0 0 4px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}
.contact-icon {
  width: 18px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-details a { color: var(--accent); }
.contact-details p { max-width: 570px; margin: 0 0 18px; }

.contact-form-panel {
  min-height: 624px;
  padding: 40px 40px 20px;
  background: #e2e1df;
}
.contact-form-panel h2 {
  margin-bottom: 20px;
  font-size: 24px;
}
.contact-form-intro {
  margin: 0 0 20px;
  color: #7f7c76;
  font-size: 14px;
  line-height: 26.4px;
}
.contact-form { display: grid; gap: 0; }
.contact-form label {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 6px;
  color: #7f7c76;
  font-size: 16px;
  font-weight: 400;
}
.contact-form label span { color: var(--accent); }
.contact-form input,
.contact-form textarea {
  grid-column: 1 / -1;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #666;
}
.contact-form input {
  height: 52px;
  margin: 0 0 15px;
}
.contact-form textarea {
  height: 120px;
  margin: 0 0 15px;
}
.contact-form textarea { resize: vertical; }
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: var(--accent);
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.field-error {
  margin: -10px 0 13px;
  color: #8b2f24;
  font-size: 12px;
  line-height: 1.4;
}
.form-error-summary {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 3px solid #8b2f24;
  background: rgba(139, 47, 36, .08);
  color: #6f2119;
  font-size: 13px;
}
.contact-form button {
  justify-self: start;
  padding: 14px 23px;
  border: 1px solid #2c2a26;
  background: transparent;
  color: #2c2a26;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  cursor: pointer;
}
.contact-form button:hover,
.contact-form button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.form-success {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(123, 75, 37, .08);
  color: var(--accent);
  font-size: 13px;
}

.generic-content,
.not-found {
  max-width: 920px;
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.not-found h1 { margin: 0; font-size: 80px; font-weight: 400; }

.site-footer {
  min-height: 46px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}
.site-footer p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.footer-credit::before {
  content: "•";
  margin-right: 10px;
  opacity: .65;
}
.footer-credit a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  opacity: .8;
}

@media (max-width: 1024px) {
  .main-nav > ul > li > a { padding-inline: 9px; font-size: 12px; }
  .home-hero-copy h1,
  .home-slide-title h2 { font-size: 64px; }
  .home-copy-card h2 { font-size: 44px; }
  .home-copy-card p { font-size: 28px; }
  .product-grid-five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header,
  .header-inner { height: 96px; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
  }
  .logo {
    position: static;
    width: 200px;
  }
  .logo img { width: 200px; }
  .menu-toggle { display: block; grid-column: 3; }
  .menu-toggle span {
    width: 4px;
    height: 4px;
    margin: 3px auto;
    border-radius: 50%;
    background: var(--accent);
  }
  .lang-switch {
    position: static;
    grid-column: 2;
    grid-row: 1;
  }
  .main-nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    transform: translateY(-8px);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > ul { display: block; padding: 12px 22px 24px; }
  .main-nav > ul > li > a { padding: 9px 4px; }
  .main-nav .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .main-nav .has-dropdown.open > .dropdown { display: block; }

  .home-slider { height: 100vh; }
  .home-hero-copy { inset: 0; padding: 30px; }
  .home-hero-copy h1 { font-size: 58px; }
  .home-copy-card { inset: 0 40px; gap: 18px; }
  .home-copy-card h2 { font-size: 42px; }
  .home-copy-card p { font-size: 24px; }
  .home-category-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-arrow { width: 48px; height: 48px; }
  .slider-arrow::before { top: 16px; width: 14px; height: 14px; border-width: 0 0 3px 3px; }
  .slider-prev::before { left: 18px; }
  .slider-next::before { right: 18px; }

  .listing-wrap { padding-inline: 24px; }
  .product-grid-four,
  .product-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-single-grid { grid-template-columns: 1fr; }
  .product-details { padding: 34px 0 0; }
  .product-gallery { padding: 0; }

  .story-layout { padding: 90px 28px 100px; }
  .story-layout h1 { font-size: 62px; }
  .story-copy { width: 82%; }

  .facilities-layout { padding-inline: 32px; }
  .facilities-intro h1 { font-size: 40px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-content {
    width: calc(100% - 48px);
    min-height: 0;
    padding: 80px 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-details { padding-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .site-footer p {
    flex-direction: column;
    gap: 1px;
  }
  .footer-credit::before { display: none; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
  }
  .logo,
  .logo img {
    width: 150px;
    max-width: 100%;
  }
  .lang-switch {
    display: flex;
    grid-column: 2;
  }
  .lang-switch a {
    min-width: 28px;
    padding-inline: 5px;
  }
  .menu-toggle {
    width: 38px;
    grid-column: 3;
  }

  .home-slider { min-height: 520px; }
  .home-hero-copy h1 { font-size: 46px; }
  .home-copy-card { inset: 0 24px; gap: 14px; }
  .home-copy-card h2,
  .home-slide-title h2 { font-size: 36px; }
  .home-copy-card p { font-size: 20px; }
  .home-category-grid { grid-template-columns: repeat(2, 1fr); }
  .home-slide-products { padding: 0 12px; }
  .home-slide-products h2 {
    width: calc(100% + 24px);
    height: 48px;
    margin: 0 0 12px -12px;
    font-size: 40px;
    line-height: 48px;
  }
  .home-category-grid { gap: 12px; }
  .home-category { min-height: 100px; grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
  .home-category img { width: 80px; height: 80px; }
  .home-category span { font-size: 14px; line-height: 18px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }

  .listing-wrap { padding: 54px 16px 50px; }
  .listing-meta { text-align: left; }
  .product-grid-four,
  .product-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .product-card .cat-label { font-size: 11px; }
  .product-title { font-size: 14px; }

  .product-single { padding-inline: 15px; }
  .story-layout { padding: 72px 18px 80px; }
  .story-layout h1 { margin-bottom: 32px; font-size: 50px; }
  .story-copy { width: 100%; margin-top: 32px; }
  .facilities-layout { padding: 82px 18px 70px; }
  .facilities-intro h1 { font-size: 34px; }
  .facilities-intro p br { display: none; }

  .editorial-hero { height: 340px; }
  .editorial-hero h1 { font-size: 56px; }
  .editorial-hero p { font-size: 14px; }
  .editorial-hero p br { display: none; }
  .projects-section { padding: 80px 16px 60px; }
  .project-filters { gap: 7px; }
  .project-filters button { padding: 7px 10px; font-size: 13px; }
  .projects-grid { gap: 12px; }
  .project-card-overlay { padding: 20px; }
  .project-card-overlay::before,
  .project-card-overlay::after { inset: 16px; }
  .project-card-title { font-size: 15px; line-height: 19px; }
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox-dialog { width: calc(100vw - 24px); }
  .gallery-lightbox-meta { min-height: 90px; }
  .gallery-lightbox-meta h2 { font-size: 20px; }

  .contact-content { width: 100%; padding: 70px 18px; }
  .contact-details h2 { font-size: 40px; }
  .contact-form-panel { padding: 38px 24px; }
}
