:root {
  color-scheme: light;
  --paper: oklch(0.965 0.012 78);
  --paper-deep: oklch(0.925 0.021 74);
  --ink: oklch(0.19 0.025 52);
  --muted: oklch(0.46 0.028 58);
  --line: oklch(0.82 0.026 70);
  --clay: oklch(0.55 0.115 43);
  --clay-dark: oklch(0.37 0.092 43);
  --sage: oklch(0.67 0.052 138);
  --sand: oklch(0.86 0.056 83);
  --shadow: 0 24px 70px oklch(0.28 0.04 48 / 0.14);
  --font-body: "Instrument Sans", sans-serif;
  --font-display: "Newsreader", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 4%, oklch(0.91 0.055 74 / 0.75), transparent 32rem),
    linear-gradient(180deg, var(--paper), oklch(0.945 0.018 68));
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 80%, transparent);
  backdrop-filter: blur(18px);
  transition: box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.site-header.has-shadow {
  border-color: color-mix(in oklch, var(--line) 92%, var(--clay) 8%);
  box-shadow: 0 12px 34px oklch(0.28 0.04 48 / 0.09);
}

.brand img {
  width: clamp(4.1rem, 8vw, 5.7rem);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 1px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: min(1160px, calc(100% - clamp(2rem, 7vw, 7rem)));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(19rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: calc(100vh - 5.5rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 13ch;
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.15rem, 4.8vw, 4.4rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 1.75vw, 1.62rem);
  font-weight: 650;
  letter-spacing: -0.018em;
}

.hero-text,
.intro-copy p,
.section-heading p,
.trust-copy p,
.market-copy p,
.culture-copy p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.hero-text {
  max-width: 43rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 360ms var(--ease), background 360ms var(--ease), color 360ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--clay-dark);
  outline: 1px solid var(--line);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  transform: rotate(-1deg);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-image.tall {
  grid-row: span 2;
  min-height: clamp(27rem, 58vw, 45rem);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: oklch(0.29 0.04 52);
  color: var(--paper);
}

.proof-band div {
  min-height: 10.5rem;
  padding: clamp(1.25rem, 2.7vw, 2.2rem);
  border-right: 1px solid oklch(0.74 0.022 70 / 0.28);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band strong {
  display: block;
  max-width: 11ch;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.1vw, 3.4rem);
  font-weight: 560;
  line-height: 0.98;
}

.proof-band div:last-child strong {
  max-width: 13ch;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
}

.proof-band span {
  color: oklch(0.83 0.025 76);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro,
.products,
.factory,
.certificates,
.collaboration,
.markets,
.culture,
.contact {
  padding-block: clamp(4.5rem, 9vw, 9rem);
}

.intro-grid {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.4rem);
}

.intro-grid h2 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.12;
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 4rem);
  max-width: none;
  margin-left: 0;
}

.section-heading,
.section-heading.wide {
  display: grid;
  grid-template-columns: minmax(8rem, 0.24fr) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 4vw, 4rem);
  row-gap: 0.85rem;
  align-items: start;
  margin-bottom: clamp(2.2rem, 5vw, 4.2rem);
}

.section-heading .eyebrow,
.section-heading.wide .eyebrow {
  grid-column: 1;
  margin-top: 0.28rem;
  margin-bottom: 0;
}

.section-heading h2,
.section-heading.wide h2 {
  grid-column: 2;
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  line-height: 1.09;
}

.section-heading.wide p:last-child {
  grid-column: 2;
  max-width: 43rem;
}

.product-showcase {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.4rem);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(15rem, 1fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 4.5rem);
  padding: clamp(1rem, 2vw, 1.4rem) 0;
  border-top: 1px solid var(--line);
}

.product-feature:last-child {
  border-bottom: 1px solid var(--line);
}

.product-feature.offset {
  margin-left: clamp(0rem, 10vw, 8rem);
}

.product-feature img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  background: var(--paper-deep);
}

.product-feature span {
  display: block;
  margin-bottom: 2rem;
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 650;
}

.product-feature p {
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.65;
}

.factory {
  width: min(1260px, calc(100% - clamp(2rem, 5vw, 5rem)));
}

.factory-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.factory-main,
.factory-stack img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-deep);
}

.factory-main {
  height: clamp(30rem, 60vw, 48rem);
}

.factory-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.factory-stack img {
  height: 100%;
  min-height: 14rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.trust-copy {
  position: sticky;
  top: 7rem;
}

.certificate-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
  align-items: start;
}

.certificate-strip img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: contain;
  padding: clamp(0.5rem, 1vw, 0.9rem);
  background: oklch(0.972 0.008 78);
  border: 1px solid var(--line);
}

.logo-marquee {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.logo-marquee img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  padding: clamp(0.55rem, 1vw, 1rem);
  background: oklch(0.972 0.008 78);
}

.markets {
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.market-copy h2 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.2vw, 3.25rem);
  line-height: 1.08;
}

.market-copy p:last-of-type {
  max-width: 35rem;
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.market-list li {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--clay-dark);
  font-weight: 800;
}

.market-map {
  width: 100%;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.culture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.68fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.culture-images {
  display: block;
  order: 2;
  max-width: 30rem;
  justify-self: end;
}

.culture-images img {
  width: 100%;
  min-height: clamp(16rem, 30vw, 24rem);
  object-fit: cover;
  background: var(--paper-deep);
}

.culture-copy {
  order: 1;
  max-width: 42rem;
}

.culture-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.06;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(19rem, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: oklch(0.26 0.036 52);
  color: var(--paper);
}

.contact-card p {
  color: oklch(0.83 0.025 76);
}

.contact-card .eyebrow {
  color: var(--sand);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  font-style: normal;
}

.contact-list a {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 0;
  border-bottom: 1px solid oklch(0.8 0.02 75 / 0.28);
}

.contact-list strong {
  font-size: 1.1rem;
}

.contact-list span {
  color: oklch(0.83 0.025 76);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 4.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.8rem;
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-weight: 800;
  }

  .site-nav {
    position: fixed;
    inset: 4.9rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 1rem;
  }

  .hero,
  .intro-grid,
  .section-heading,
  .factory-layout,
  .trust-grid,
  .markets,
  .culture,
  .contact-card {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: 11ch;
  }

  .hero-gallery {
    transform: none;
  }

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

  .proof-band div:nth-child(2) {
    border-right: 0;
  }

  .proof-band div:nth-child(-n + 2) {
    border-bottom: 1px solid oklch(0.74 0.022 70 / 0.28);
  }

  .product-feature,
  .product-feature.offset {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .trust-copy {
    position: static;
  }

  .logo-marquee {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section-shell,
  .factory {
    width: min(100% - 1.5rem, 1160px);
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-gallery,
  .certificate-strip,
  .culture-images {
    grid-template-columns: 1fr;
  }

  .hero-image.tall {
    min-height: 19rem;
  }

  .hero-image,
  .factory-main,
  .factory-stack img,
  .culture-images img {
    min-height: 17rem;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid oklch(0.74 0.022 70 / 0.28);
  }

  .proof-band div:last-child {
    border-bottom: 0;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

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