/* =========================
   VARIABLES
========================= */
:root {
  --primary: #0b2d64;
  --accent: #a19d29;
  --cream: #e8dec8;
  --bg: #faf8f2;
  --heading: #172832;
  --text: #20251f;
  --muted: #596158;
  --border: #d9d4c6;
  --surface: #fff;
  --surface-muted: #eee8db;
  --surface-warm: #efe9dc;
  --surface-sustain: #dfe1cb;
  --footer: #121b20;
  --note: #65705e;
  --accent-soft: #eee9a5;
  --stroke-soft: #6a692d1c;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "DM Sans", Arial, sans-serif;
  --fs-2xs: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.0625rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2.1rem, 3.5vw, 3.35rem);
  --fs-h1: clamp(2.45rem, 4.4vw, 4rem);
  --fs-display: clamp(2.85rem, 5.2vw, 5.1rem);
  --lh-body: 1.65;
  --lh-heading: 1.08;
  --radius-sm: 5px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 72px;
  --space-3xl: 96px;
  --wrap: 1200px;
  --header-h: 80px;
  --header-h-sm: 67px;
  --ease: 0.25s ease;
}

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--footer);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-base)/var(--lh-body) var(--font-sans);
}

body.menu {
  overflow: hidden;
}

html.menu {
  overflow: hidden;
}

input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
input[type=number]{-moz-appearance:textfield;}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  letter-spacing: -0.03em;
}

main {
  flex: 1 0 auto;
}

h1,
h2 {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: var(--lh-heading);
  overflow-wrap: break-word;
}

h3 {
  margin: 0 0 8px;
  font: 400 var(--fs-h3)/1.2 var(--font-serif);
}

h4,
h5,
h6 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap,
.container {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--surface);
  color: var(--heading);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip:focus {
  left: 12px;
}

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

/* =========================
   TYPOGRAPHY HELPERS
========================= */
.ey,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ey::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.demo {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.breadcrumbs {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--primary);
}

.link,
.text-link {
  display: inline-block;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-body .link,
.card-body .text-link {
  margin-top: 14px;
}

.copy {
  max-width: 500px;
  margin: 25px 0 30px;
  font-size: var(--fs-lg);
}

.note {
  margin-top: 25px;
  color: var(--note);
  font-size: var(--fs-xs);
}

/* =========================
   BUTTONS
========================= */
.btn,
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), color 0.2s ease 0.1s;
}

.btn::before,
.button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 100%;
  z-index: -1;
  background: var(--accent);
  transition: top var(--ease);
}

.btn:hover,
.btn:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  border-color: var(--accent);
  color: #fff;
}

.btn:hover::before,
.btn:focus-visible::before,
.button:hover::before,
.button:focus-visible::before {
  top: 0;
}

.btn.alt,
.button.alt {
  background: transparent;
  color: var(--primary);
}

.btn.alt:hover,
.btn.alt:focus-visible,
.button.alt:hover,
.button.alt:focus-visible {
  background: transparent;
}

.btn:disabled,
.button:disabled {
  opacity: 0.5;
  pointer-events: none;
  transform: none;
}

.btn:disabled::before,
.button:disabled::before {
  content: none;
}

/* =========================
   HEADER / NAVIGATION
========================= */
.header,
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 80;
  flex-shrink: 0;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid var(--stroke-soft);
}

.header::before,
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #faf8f2f2;
  pointer-events: none;
}

.bar,
.nav-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  line-height: 0;
}

.logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  border-radius: 8px;
}

.nav,
.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
  grid-column: 2;
  gap: 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.nav a:not(.btn):not(.button),
.nav-links a:not(.btn):not(.button) {
  position: relative;
  white-space: nowrap;
}

.nav a:not(.btn):not(.button)::after,
.nav-links a:not(.btn):not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:not(.btn):not(.button):hover::after,
.nav a:not(.btn):not(.button):focus-visible::after,
.nav a.active::after,
.nav-links a:not(.btn):not(.button):hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav a.active,
.nav-links a.active {
  color: #a19d29;
}

.nav a.active::after,
.nav-links a.active::after {
  width: 100%;
  background: #a19d29;
}

.nav .btn,
.nav .button,
.nav-links .btn,
.nav-links .button {
  min-height: 39px;
  padding: 0 15px;
  font-size: var(--fs-xs);
}

.hamb,
.hamburger {
  display: none;
  position: relative;
  z-index: 3;
  grid-column: 2;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamb span,
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamb[aria-expanded="true"] span:nth-child(1),
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamb[aria-expanded="true"] span:nth-child(2),
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamb[aria-expanded="true"] span:nth-child(3),
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px #1728321a;
  z-index: 45;
}

@media (min-width: 1101px) {
  .bar,
  .nav-wrap {
    align-items: stretch;
  }

  .logo {
    align-self: center;
  }

  .nav,
  .nav-links {
    height: 100%;
  }

  .dropdown {
    display: flex;
    align-items: center;
    align-self: stretch;
  }

  .dropdown-menu {
    display: grid;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
    transition-delay: 0.16s;
  }

  .dropdown-menu::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    bottom: 100%;
    height: 20px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
}

.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--bg);
  color: var(--primary);
}

/* =========================
   LAYOUT / SECTIONS
========================= */
.section {
  padding: var(--space-3xl) 0;
}

.muted {
  background: var(--surface-muted);
}

.dark {
  background: var(--heading);
  color: var(--cream);
}

.dark h2,
.dark h3,
.dark .ey,
.dark .eyebrow {
  color: #fff;
}

.dark .ey,
.dark .eyebrow {
  color: var(--accent-soft);
}

.head {
  margin-bottom: 42px;
}

.head:has(> div) {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}

.head h2,
.copyblock h2,
.sus h2,
.inquiry h2,
.section-head h2 {
  max-width: 670px;
  color: var(--heading);
  font-size: var(--fs-h2);
  line-height: 1.06;
}

.head p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.split.start {
  align-items: start;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: linear-gradient(120deg, #f1ecde, var(--bg) 65%, #e8ead8);
}

.page-hero h1 {
  max-width: 760px;
  font-size: var(--fs-h1);
}

.page-hero p {
  max-width: 540px;
  margin-top: 18px;
  font-size: var(--fs-lg);
}

.page-hero h1 em {
  color: var(--primary);
  font-style: italic;
}

.page-hero .actions {
  margin-top: 24px;
}

.sus .actions {
  margin-top: 28px;
}

.page-hero .hero-photo,
.large,
.large-image {
  height: 390px;
  overflow: hidden;
  border-radius: 48% 52% 20px 20px;
  background: var(--surface-warm);
}

.page-hero .hero-photo img,
.large img,
.large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

/* =========================
   HOME HERO
========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background: linear-gradient(105deg, #f3eedf, var(--bg) 56%, #edf0dd);
}

.hero::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -220px;
  top: -230px;
  border: 1px solid #a19d295c;
  border-radius: 42% 58% 67% 33% / 47% 39% 61% 53%;
  transform: rotate(-19deg);
  pointer-events: none;
}

.hero h1 {
  max-width: 620px;
  color: var(--heading);
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--primary);
  font-style: italic;
}

.hero-photo {
  position: relative;
  height: 540px;
  padding: 17px 0 0 17px;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 33px 23px 0;
  background: var(--accent);
  border-radius: 46% 54% 17% 20% / 30% 48% 20% 31%;
  opacity: 0.72;
}

.hero-photo img {
  position: relative;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 43% 57% 18% 18% / 31% 46% 20% 28%;
  filter: saturate(0.72);
}

.page-hero .hero-photo {
  height: 390px;
  padding: 0;
}

.page-hero .hero-photo::before {
  display: none;
}

.page-hero .hero-photo img {
  width: 100%;
  height: 100%;
  border-radius: 48% 52% 20px 20px;
}

.label {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 180px;
  padding: 13px 16px;
  background: var(--heading);
  color: #fff;
  font-size: var(--fs-2xs);
  line-height: 1.35;
}

/* =========================
   TRUST BAR
========================= */
.trust {
  background: var(--primary);
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border-right: 1px solid #ffffff2e;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.5;
}

/* =========================
   MATERIALS / PRODUCTS MOSAIC
========================= */
.section-spacing {
  margin-bottom: 80px;
}

.about-bg {
  /*background-image: url("../../assets/images/about-banner.jpg");*/
  background-image: url("../../assets/images/Warm.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0;
}

.about-bg .about-cta-content {
  max-width: 515px;
  padding: 50px 40px;
  background-color: #000;
}

.about-bg .about-cta-content p {
  margin: 0;
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .section-spacing {
    margin-bottom: 50px;
  }

  .about-bg .about-cta-content {
    max-width: 455px;
    padding: 30px 20px;
  }

  .about-bg .about-cta-content p {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .section-spacing {
    margin-bottom: 40px;
  }

  .about-bg {
    padding: 0;
  }

  .about-bg .about-cta-content {
    padding: 20px;
  }

  .about-bg .about-cta-content p {
    font-size: 20px;
  }
}

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

.material {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #222;
  color: #fff;
}

.material::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #172832e5, transparent 65%);
}

.material img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.material:hover img {
  transform: scale(1.06);
}

.matcopy {
  position: absolute;
  z-index: 1;
  inset: auto 23px 20px;
}

.matcopy h3 {
  margin: 0 0 5px;
  color: #fff;
  font: 1.65rem var(--font-serif);
}

.matcopy p {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.collection {
  position: relative;
  overflow: hidden;
  background: var(--surface-warm);
}

.collection::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -80px;
  width: 520px;
  height: 190px;
  border: 28px solid #a19d292e;
  border-radius: 50%;
  transform: rotate(-11deg);
  pointer-events: none;
}

.products {
  display: grid;
  grid-template-columns: 1.2fr 0.82fr 0.9fr;
  grid-template-rows: 300px 270px;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.product {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ddd;
}

.product:first-child {
  grid-row: span 2;
}

.product:nth-child(4) {
  grid-column: span 2;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product:hover img {
  transform: scale(1.04);
}

.pinfo {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(transparent, #101b20dc);
}

.pinfo h3 {
  margin: 4px 0;
  color: #fff;
  font: 1.38rem var(--font-serif);
}

.pinfo a {
  color: #fff;
}

/* =========================
   CUSTOM / SUSTAIN / CAP
========================= */
.custom {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.art {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-radius: 48% 52% 25px 25px;
  /*background: url("../../assets/images/infra-left-poster.jpg") center / cover;*/
  background: url("../../assets/images/infraleft.webp") center / cover;
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 35%, #172832a6);
}

.caption {
  position: absolute;
  z-index: 1;
  bottom: 19px;
  left: 22px;
  max-width: 190px;
  color: #fff;
  font: 1.25rem / 1.1 var(--font-serif);
}

.copyblock .steps {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 25px;
  counter-reset: step;
}

.copyblock .step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  counter-increment: step;
}

.copyblock .step::before {
  content: "0" counter(step);
  color: var(--accent);
  font: 1.5rem var(--font-serif);
}

.copyblock .step h3 {
  margin: 0;
  font-size: var(--fs-lg);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.copyblock .step p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.sustain {
  padding: 105px 0;
  background: var(--surface-sustain);
}

.sgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 75px;
  align-items: center;
}

.sphoto {
  height: 550px;
  position: relative;
}

.sphoto img {
  width: 86%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 12px 12px;
}

/* .sphoto::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 42%;
  height: 42%;
  border-radius: 50% 50% 0 50%;
  background: var(--accent);
  opacity: 0.85;
  mix-blend-mode: multiply;
  pointer-events: none;
} */

.sus p {
  max-width: 490px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 32px 0;
}

.stat {
  padding-top: 11px;
  border-top: 1px solid #6a692d78;
}

.stat strong {
  display: block;
  color: var(--primary);
  font: 2.1rem var(--font-serif);
}

.stat span {
  display: block;
  font-size: var(--fs-2xs);
  line-height: 1.25;
}

.cap {
  padding: 88px 0;
  background: var(--heading);
  color: var(--cream);
}

.cap-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 45px;
}

.cap-head h2,
.cap h2,
.dark h2 {
  max-width: 650px;
  color: #fff;
  font-size: var(--fs-h2);
  line-height: 1.06;
}

.cap-head p {
  max-width: 320px;
  margin: 0;
  font-size: var(--fs-sm);
}

.dark .cap-grid,
h2 + .cap-grid {
  margin-top: 42px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e8dec84a;
}

.cap-grid article,
.cap-grid > div {
  padding: 24px 22px 10px 0;
  margin-right: 20px;
  border-right: 1px solid #e8dec84a;
}

.cap-grid article:last-child,
.cap-grid > div:last-child {
  border-right: 0;
  margin-right: 0;
}

.cap-grid svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #d8d26e;
  stroke-width: 1.3;
}

.cap-grid h3,
.dark .cap-grid h3,
.cap h3 {
  margin: 12px 0 5px;
  color: #fff;
  font: 1.28rem/1.2 var(--font-serif);
}

.cap-grid p,
.cap p {
  margin: 0;
  color: #e8dec8bf;
  font-size: var(--fs-xs);
}

.cap-head .ey{
  color: var(--accent-soft)
}

/* =========================
   CARDS / FEATURES / TAGS
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px #17283214;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.empty-filter {
  margin: 8px 0 0;
  color: var(--muted);
}

.card img,
.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  color: var(--heading);
}

.card-body p {
  color: var(--muted);
  font-size: var(--fs-md);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}

.feature h3 {
  font-size: 1.28rem;
}

.feature p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.points {
  margin-top: 25px;
}

.point {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.point h3 {
  font-size: 1.28rem;
}

.point p {
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  background: #faf8f2f2;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 22px;
}

.tags .tag {
  background: var(--surface-muted);
  border-radius: 4px;
  padding: 6px 10px;
}

.checklist {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-md);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================
   STEPS (CARD GRID)
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.step {
  padding: 20px;
  border: 1px solid #6a692d36;
  border-radius: 13px;
  background: var(--surface);
}

.num {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font: 1.5rem var(--font-serif);
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* =========================
   PLACEHOLDERS / GALLERY
========================= */
.placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-warm) center / cover no-repeat;
  min-height: 160px;
}

.placeholder::after {
  content: attr(data-alt);
  position: absolute;
  inset: auto 0 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, #101b20dc);
  color: #fff;
  font-size: var(--fs-2xs);
  line-height: 1.35;
}

.placeholder.card-image {
  height: 240px;
  min-height: 240px;
  border-radius: 0;
}

.placeholder.large-image {
  height: 390px;
  min-height: 390px;
  border-radius: 48% 52% 20px 20px;
  /*background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=1000&q=80");*/
  background-image: url("../../assets/images/JuteWaveCollection.webp");
}

.placeholder.product-main,
.product-main {
  height: 460px;
  min-height: 460px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--surface-warm);
}

.cards .card:nth-child(6n + 1) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1590874103328-eac38a683ce7?auto=format&fit=crop&w=800&q=80");
}

.cards .card:nth-child(6n + 2) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=800&q=80");
}

.cards .card:nth-child(6n + 3) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=800&q=80");
}

.cards .card:nth-child(6n + 4) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1543002588-bfa74002ed7e?auto=format&fit=crop&w=800&q=80");
}

.cards .card:nth-child(6n + 5) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=800&q=80");
}

.cards .card:nth-child(6n + 6) .placeholder {
  background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=800&q=80");
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumbs .placeholder {
  height: 92px;
  min-height: 92px;
}

.thumbs .placeholder:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1590874103328-eac38a683ce7?auto=format&fit=crop&w=400&q=80");
}

.thumbs .placeholder:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=400&q=80");
}

.thumbs .placeholder:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=400&q=80");
}

.thumbs .placeholder::after {
  font-size: var(--fs-2xs);
  padding: 8px;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.filterbar input,
.filterbar select {
  flex: 1 1 220px;
  min-height: 44px;
  max-width: 320px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.pagination button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.pagination button:hover,
.pagination button:focus-visible {
  background: var(--primary);
  color: #fff;
}

.product-pagination {
  margin-top: 40px;
  overflow-x: auto;
  padding: 2px;
}

.pagination-list {
  display: inline-flex;
  min-width: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-item + .page-item .page-link {
  margin-left: -1px;
}

.page-link {
  position: relative;
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
}

.page-item:first-child .page-link {
  border-radius: 6px 0 0 6px;
}

.page-item:last-child .page-link {
  border-radius: 0 6px 6px 0;
}

.page-item:not(.active):not(.disabled) .page-link:hover,
.page-item:not(.active):not(.disabled) .page-link:focus-visible {
  z-index: 2;
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.page-item.active .page-link {
  z-index: 1;
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.page-item.disabled .page-link {
  background: color-mix(in srgb, var(--border) 25%, var(--surface));
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 575px) {
  .product-pagination {
    margin-top: 28px;
  }

  .pagination-list {
    justify-content: flex-start;
    min-width: max-content;
  }

  .page-link {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
  }

  .page-link span {
    display: none;
  }
}

/* =========================
   FORMS / TABLES
========================= */
.formbox,
.quote {
  padding: 28px;
  border-radius: 17px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.form,
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form label,
.field label {
  display: grid;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--heading);
}

.form input,
.form textarea,
.form select,
.field input,
.field textarea,
.field select,
.footer input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.form textarea,
.field textarea,
.full {
  grid-column: span 2;
  min-height: 115px;
  resize: vertical;
}

.form .btn,
.form .button,
.quote .btn,
.quote .button {
  justify-self: start;
}

.msg,
.form-message {
  display: none;
  grid-column: span 2;
  margin: 0;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.msg.show,
.form-message.show {
  display: block;
}

.field:has([type="checkbox"]) {
  grid-column: span 2;
}

.field:has([type="checkbox"]) label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: var(--fs-sm);
}

.field [type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.upload {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.inquiry {
  padding: 90px 0;
  background: linear-gradient(120deg, var(--primary), #87852e);
  color: #fff;
}

.iqgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.inquiry .ey,
.inquiry .eyebrow {
  color: var(--accent-soft);
}

.inquiry h2,
.cta h2 {
  color: #fff;
  font-size: var(--fs-h2);
  line-height: 1.06;
}

.inquiry p {
  max-width: 440px;
}

.inquiry .form {
  padding: 0;
  border: 0;
  background: transparent;
}

.inquiry .form input,
.inquiry .form textarea {
  border: 1px solid #ffffff75;
  background: #fff;
}

.inquiry .form textarea {
  min-height: 72px;
}

.inquiry .form .btn,
.inquiry .form .button {
  background: var(--heading);
  border-color: var(--heading);
}

.inquiry .msg,
.inquiry .form-message {
  color: var(--accent-soft);
}

.specs {
  width: 100%;
  border-collapse: collapse;
}

.specs th,
.specs td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: var(--fs-md);
}

.specs th {
  width: 34%;
  color: var(--heading);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.specs td {
  color: var(--muted);
}

/* =========================
   FAQ / ARTICLE / CTA
========================= */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.faq-q span {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: var(--fs-md);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.article {
  max-width: 760px;
}

.article:has(.quote) {
  max-width: 880px;
}

.article h2 {
  margin: 2rem 0 0.8rem;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.article p {
  margin-bottom: 1em;
}

.toc {
  padding: 20px 22px;
  margin: 24px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.toc ol {
  margin: 10px 0 0;
  padding-left: 18px;
}

.toc a:hover {
  color: var(--primary);
}

.cta {
  padding: 88px 0;
  background: linear-gradient(120deg, var(--primary), #87852e);
  color: #fff;
  text-align: center;
}

.cta p {
  max-width: 520px;
  margin: 12px auto 0;
}

.cta .btn,
.cta .button {
  margin-top: 24px;
  background: var(--heading);
  border-color: var(--heading);
}

.cta .btn:hover,
.cta .btn:focus-visible,
.cta .button:hover,
.cta .button:focus-visible {
  background: var(--heading);
  border-color: var(--accent);
}

/* =========================
   FOOTER / CHROME
========================= */
.footer {
  padding: 72px 0 50px;
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  background: var(--footer);
  color: #d6d5ca;
}

.foot,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1.15fr);
  gap: 40px 32px;
  align-items: start;
}

.footer .logo img {
  height: 88px;
  max-width: min(240px, 100%);
}

.footer p {
  max-width: 34ch;
  margin: 12px 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.footer h3 {
  margin: 8px 0 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foot a:not(.logo),
.footer-grid a:not(.logo) {
  display: block;
  margin: 8px 0;
  font-size: var(--fs-xs);
}

.foot a:not(.logo):hover,
.foot a:not(.logo):focus-visible,
.footer-grid a:not(.logo):hover,
.footer-grid a:not(.logo):focus-visible {
  color: #fff;
}

.footer form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-width: 260px;
}

.footer input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #ffffff3d;
  background: transparent;
  color: #fff;
}

.footer input::placeholder {
  color: #d6d5ca;
  opacity: 0.7;
}

.footer .btn,
.footer .button {
  justify-self: start;
  min-height: 38px;
  margin-top: 0;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--footer);
  font-size: var(--fs-xs);
}

.footer .btn::before,
.footer .button::before {
  background: var(--cream);
}

.footer .btn:hover,
.footer .btn:focus-visible,
.footer .button:hover,
.footer .button:focus-visible {
  border-color: var(--cream);
  background: var(--accent);
  color: var(--footer);
}

.legal,
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 48px;
  padding-top: 24px;
  padding-right: 56px;
  border-top: 1px solid #ffffff22;
  color: #aeb3ad;
  font-size: var(--fs-2xs);
}

.footer .legal a,
.footer .copyright a,
.footer .legal-links a {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.legal-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.legal-links .legal-sep {
  opacity: 0.7;
  pointer-events: none;
}

.float-wa,
.back-top {
  position: fixed;
  right: 18px;
  z-index: 35;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

.float-wa svg,
.back-top svg {
  width: 22px;
  height: 22px;
}

.float-wa svg {
  fill: currentColor;
}

.back-top svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.float-wa {
  right: 18px;
  bottom: 22px;
  background: #128c7e;
}

.back-top {
  bottom: 74px;
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  flex: none;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 24px 16px;
  background: color-mix(in srgb, var(--heading) 62%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  display: grid;
  width: min(580px, 100%);
  max-height: min(90dvh, 820px);
  overflow: auto;
  padding: 36px 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 28px 64px #1728323d;
  transform: translateY(18px);
  transition: transform 0.28s ease;
}

.modal.open .modal-box {
  transform: none;
}

.modal-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.modal-head {
  padding-right: 40px;
  margin-bottom: 22px;
}

.modal-head .ey,
.modal-head .eyebrow {
  margin-bottom: 10px;
}

.modal-box h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.modal-box .modal-lead {
  margin: 10px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: var(--fs-base);
}

.modal .enquiry-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.modal .enquiry-form textarea {
  min-height: 96px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
}

.modal .enquiry-form .btn {
  justify-self: start;
}

.modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
  font-size: 1.25rem;
  line-height: 1;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.modal .close:hover,
.modal .close:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

html.modal-open {
  overflow: hidden;
}

/* =========================
   MOTION
========================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .bar,
  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: 1fr;
  }

  .logo {
    grid-row: 1;
    grid-column: 1;
    min-width: 0;
  }

  .hamb,
  .hamburger {
    display: inline-flex;
    grid-row: 1;
    grid-column: 2;
  }

  .nav,
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 20px 24px 48px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--bg);
    border-top: 1px solid var(--stroke-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    font-size: 1.05rem;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }

  .nav.open,
  .nav-links.open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a:not(.btn):not(.button),
  .nav-links a:not(.btn):not(.button) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    padding: 12px 0;
    white-space: nowrap;
  }

  .nav a:not(.btn):not(.button)::after,
  .nav-links a:not(.btn):not(.button)::after {
    display: none;
  }

  .nav a.active,
  .nav-links a.active {
    color: #a19d29;
    box-shadow: none;
    text-decoration: underline;
    text-decoration-color: #a19d29;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
  }

  .nav a.active::after,
  .nav-links a.active::after {
    display: none;
  }

  .nav .btn,
  .nav .button,
  .nav-links .btn,
  .nav-links .button {
    width: fit-content;
    margin-top: 16px;
    font-size: var(--fs-sm);
    min-height: 47px;
  }

  .dropdown {
    width: 100%;
  }

  .nav .dropdown > a,
  .nav-links .dropdown > a {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .nav .dropdown > a:not(.btn)::after,
  .nav-links .dropdown > a:not(.btn)::after {
    content: "+";
    display: block;
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    background: none;
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1;
  }

  .nav .dropdown.open > a:not(.btn)::after,
  .nav-links .dropdown.open > a:not(.btn)::after {
    content: "–";
    width: auto;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
  }

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

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

  .custom,
  .sgrid {
    gap: 45px;
  }

  .foot,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .custom,
  .sgrid,
  .iqgrid,
  .product-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .cap-grid article:nth-child(2),
  .cap-grid > div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .wrap,
  .container {
    width: min(calc(100% - 32px), 600px);
  }

  .modal {
    padding: 12px;
  }

  .modal-box {
    padding: 28px 20px 22px;
  }

  .header,
  .site-header {
    height: var(--header-h-sm);
  }

  .nav,
  .nav-links {
    top: var(--header-h-sm);
    max-height: calc(100dvh - var(--header-h-sm));
  }

  .hero {
    padding: 50px 0 40px;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.35rem);
  }

  .logo img {
    height: 48px;
  }

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

  .form textarea,
  .field textarea,
  .full,
  .msg,
  .form-message,
  .field:has([type="checkbox"]) {
    grid-column: span 1;
  }

  .hero-photo {
    height: 390px;
    max-width: 510px;
  }

  .page-hero .hero-photo,
  .large,
  .large-image,
  .placeholder.large-image {
    height: 320px;
    min-height: 320px;
    max-width: 510px;
  }

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

  .trust-grid div {
    padding: 16px;
    border-bottom: 1px solid #ffffff2e;
  }

  .trust-grid div:nth-child(2n) {
    border-right: 0;
  }

  .section,
  .sustain,
  .cap,
  .inquiry,
  .cta {
    padding: 72px 0;
  }

  .head:has(> div),
  .cap-head {
    display: block;
  }

  .head p,
  .cap-head p {
    margin-top: 16px;
    max-width: none;
  }

  .materials {
    gap: 10px;
  }

  .material {
    min-height: 280px;
  }

  .products {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 270px 210px 210px;
  }

  .product:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }

  .art {
    min-height: 370px;
  }

  .sphoto {
    height: 430px;
  }

  .placeholder.product-main,
  .product-main {
    height: 320px;
    min-height: 320px;
  }

  .footer {
    padding: 64px 0 132px;
  }

  .foot,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .foot > div:first-child,
  .foot > div:last-child,
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer form {
    max-width: calc(100% - 64px);
  }

  .legal,
  .copyright {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 64px;
  }

  .formbox,
  .quote {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .materials,
  .cards,
  .features,
  .stats,
  .form,
  .form-grid,
  .cap-grid,
  .trust-grid,
  .products {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-rows: none;
  }

  .product:first-child,
  .product:nth-child(4) {
    grid-column: span 1;
    min-height: 240px;
  }

  .material {
    min-height: 220px;
  }

  .form textarea,
  .field textarea,
  .full,
  .msg,
  .form-message,
  .field:has([type="checkbox"]) {
    grid-column: span 1;
  }

  .foot,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot > div:first-child,
  .foot > div:last-child,
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer form {
    max-width: calc(100% - 64px);
  }
}
