:root {
  --cocoa: #a78251;
  --orange: #f69742;
  --gold: #f1c34f;
  --ink: #221f1a;
  --muted: #6f675c;
  --paper: #f7f3ea;
  --white: #ffffff;
  --header-h: 82px;
  --wrap: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  background: transparent;
  transition: background 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(34, 31, 26, 0.92);
  box-shadow: 0 12px 34px rgba(34, 31, 26, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 40px));
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font: 700 14px/1 "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

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

.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

.section-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  scroll-margin-top: var(--header-h);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(34, 31, 26, 0.82), rgba(34, 31, 26, 0.28) 58%, rgba(34, 31, 26, 0.18)),
    linear-gradient(0deg, rgba(34, 31, 26, 0.72), transparent 45%);
}

.hero-content {
  padding: 0 0 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font: 800 14px/1 "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 108px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 24px);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 22px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cocoa);
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

.intro {
  background: var(--white);
}

.intro-grid,
.product-layout,
.sustain-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.intro-copy {
  font-size: 20px;
  color: var(--muted);
}

.intro-grid {
  grid-template-areas:
    "heading ."
    "photo copy";
  column-gap: clamp(34px, 6vw, 86px);
  row-gap: 24px;
}

.intro-grid .texture-panel {
  display: contents;
}

.intro-grid .texture-copy {
  grid-area: heading;
}

.intro-grid .texture-photo {
  grid-area: photo;
}

.intro-grid .intro-copy {
  grid-area: copy;
  align-self: start;
}

.section-logo {
  width: 240px;
  margin-bottom: 28px;
}

.texture-panel {
  display: grid;
  gap: 24px;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.texture-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 18px;
}

.texture-copy {
  position: static;
  padding: 0;
  background: transparent;
}

.value-chain {
  background: var(--paper);
}

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

.chain-grid article {
  min-height: 330px;
  padding: 34px 30px 44px;
  background: var(--white);
  border: 1px solid rgba(167, 130, 81, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(34, 31, 26, 0.06);
}

.chain-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--cocoa);
  font: 900 34px/1 "Montserrat", Arial, sans-serif;
}

.chain-grid p,
.products p,
.sustainability p,
.contact p,
.site-footer p {
  color: var(--muted);
}

@media (min-width: 901px) {
  .value-chain.is-scroll-sequence {
    height: 360vh;
    padding: 0;
  }

  .value-chain.is-scroll-sequence > .section-wrap {
    position: sticky;
    top: var(--header-h);
    display: flex;
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    justify-content: center;
    padding: 36px 0;
  }

  .value-chain.is-scroll-sequence .chain-grid {
    position: relative;
    display: block;
    width: 100%;
    height: 330px;
  }

  .value-chain.is-scroll-sequence .chain-grid article {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 330px;
    opacity: 0;
    transform: none;
    transition: none;
    will-change: left, width, opacity;
  }
}

.image-band {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink) url("Assets/IMG_6095.jpg") center / cover fixed no-repeat;
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(241, 195, 79, 0.22), transparent 28%),
    linear-gradient(0deg, rgba(34, 31, 26, 0.78), rgba(34, 31, 26, 0.04) 70%);
}

.image-band-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 54px;
}

.image-band h2 {
  max-width: 820px;
  margin: 0;
}

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

.product-layout p {
  max-width: 560px;
  font-size: 18px;
}

.logo-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(167, 130, 81, 0.28);
}

.logo-panel img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  padding: 34px;
  background: #fffaf1;
}

.stats,
.site-stats {
  padding: 46px 0;
}

.site-stats {
  background: var(--paper);
}

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

.stats article {
  padding: 28px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.stats strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font: 900 48px/1 "Montserrat", Arial, sans-serif;
}

.stats span {
  font-weight: 600;
}

.site-stats article {
  padding: 12px 34px;
  border-left: 1px solid rgba(167, 130, 81, 0.28);
}

.site-stats article:first-child {
  padding-left: 0;
  border-left: 0;
}

.site-stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cocoa);
  font: 900 clamp(34px, 4vw, 48px)/1 "Montserrat", Arial, sans-serif;
}

.site-stats span {
  color: var(--muted);
  font-weight: 700;
}

.sustainability {
  background: #fdfaf4;
}

.sustain-cards {
  display: grid;
  gap: 16px;
}

.sustain-cards article {
  padding: 0;
  background: var(--orange);
  border-left: 0;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(34, 31, 26, 0.08);
  overflow: hidden;
}

.sustain-card-photo {
  display: grid;
  grid-template-columns: minmax(126px, 0.34fr) 1fr;
  min-height: 150px;
}

.sustain-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.sustain-card-photo > div {
  padding: 26px 28px;
}

.sustain-cards span {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font: 800 13px/1 "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
}

.sustain-cards h3,
.sustain-cards p {
  color: var(--ink);
}

.gallery {
  padding: 0;
  background: var(--ink);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  width: max-content;
  animation: gallery-scroll 28s linear infinite;
}

.gallery-grid img {
  flex: 0 0 25vw;
  width: 25vw;
  height: clamp(280px, 30vw, 400px);
  object-fit: cover;
}

@keyframes gallery-scroll {
  to { transform: translateX(-50%); }
}

.contact {
  background: var(--white);
}

.contact-link {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.locations {
  display: grid;
  gap: 14px;
}

.locations-title {
  margin: 0 0 2px;
  color: var(--cocoa);
}

.locations article {
  position: relative;
  padding: 26px;
  padding-left: 76px;
  background: var(--paper);
  border-radius: 16px;
}

.locations h3 {
  margin-bottom: 6px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-pin {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(246, 151, 66, 0.32);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--white);
}

.family-chain {
  padding: clamp(54px, 7vw, 92px) 0;
  background: #147b94;
}

.family-chain-inner {
  width: min(calc(100% - 40px), 1164px);
  margin: 0 auto;
  padding: 0;
  color: var(--white);
  background: transparent;
}

.family-chain-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
  padding: 0 clamp(28px, 5vw, 64px);
}

.crest-chain-graphic {
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.creston-logo {
  width: min(100%, 250px);
  height: auto;
  margin-bottom: 28px;
}

.family-chain-copy h2 {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  text-transform: none;
}

.family-chain-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.family-button {
  display: inline-flex;
  margin-top: 14px;
  min-height: 48px;
  align-items: center;
  padding: 12px 22px;
  color: #153a32;
  background: var(--white);
  border-radius: 999px;
  font-weight: 900;
}

.aju-chain {
  margin-top: clamp(34px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 70px) clamp(26px, 4vw, 42px) clamp(300px, 31vw, 390px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  color: var(--ink);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(34, 31, 26, 0.12);
}

.aju-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(clamp(34px, 4vw, 54px));
  z-index: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.aju-chain > :not(.aju-wave) {
  position: relative;
  z-index: 1;
}

.aju-eyebrow {
  color: #147b94;
  margin-bottom: 20px;
}

.aju-chain h3 {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: none;
}

.aju-chain h3 strong {
  color: #147b94;
}

.aju-chain p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.aju-chain p:last-child {
  margin-bottom: 0;
}

.aju-chain strong {
  color: var(--ink);
  font-weight: 900;
}

.aju-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
  margin: 40px 0;
}

.aju-points article {
  padding: 20px 22px;
  background: rgba(20, 123, 148, 0.09);
  border-left: 4px solid #147b94;
  border-radius: 8px;
}

.aju-points span,
.aju-points strong {
  display: block;
}

.aju-points span {
  margin-bottom: 7px;
  color: #147b94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aju-points strong {
  font-size: clamp(20px, 3vw, 28px);
  text-transform: uppercase;
}

.aju-chain .aju-closing {
  margin-top: 18px;
  font-size: clamp(19px, 2.5vw, 24px);
}

.aju-logo {
  width: min(160px, 18vw);
  min-width: 116px;
}

.aju-visual {
  display: flex;
  width: min(260px, 24vw);
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
}

.aju-map {
  width: min(230px, 22vw);
  max-height: 350px;
  object-fit: contain;
}

.info-card.icon-card {
  position: relative;
  padding-top: 82px;
}

.info-icon {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(246, 151, 66, 0.22);
}

.info-icon::after {
  content: "";
  position: absolute;
}

.icon-pin::after {
  left: 13px;
  top: 9px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.icon-advice::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 20px;
  height: 15px;
  border: 4px solid var(--white);
  border-radius: 6px;
}

.icon-advice::after {
  left: 18px;
  top: 25px;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-right: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  transform: rotate(45deg);
}

.icon-storage::before,
.icon-storage::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  border: 4px solid var(--white);
  border-radius: 50%;
}

.icon-storage::before {
  top: 9px;
  height: 9px;
}

.icon-storage::after {
  top: 19px;
  height: 13px;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.page-hero {
  min-height: 56vh;
  display: grid;
  align-items: end;
  padding: 150px 0 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(34, 31, 26, 0.82), rgba(34, 31, 26, 0.32)),
    var(--page-image, url("Assets/DJI_0814.jpg")) center/cover;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(42px, 7vw, 86px);
}

.page-hero p {
  max-width: 720px;
  font-size: 20px;
}

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

.info-card {
  padding: 28px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(34, 31, 26, 0.06);
}

.info-card h3 {
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.split-section img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 64px, 0);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-96px, 0, 0);
}

.reveal-right {
  transform: translate3d(96px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* On large screens the copy pauses while the sustainability cards progress. */
@media (min-width: 901px) {
  .sustainability .sustain-layout > :first-child {
    position: sticky;
    top: 150px;
  }
}

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

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

  .gallery-grid {
    animation: none;
  }
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
}

.site-footer .footer-barracon-logo {
  width: 190px;
  margin-bottom: 18px;
}

.site-footer .footer-creston-logo {
  display: block;
  width: 132px;
  margin-top: 18px;
}

.site-footer p {
  max-width: 430px;
}

.site-footer nav {
  display: grid;
  gap: 12px;
  align-content: start;
  font-weight: 700;
  text-transform: uppercase;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 158px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 14px;
    right: 14px;
    display: none;
    padding: 18px;
    background: rgba(34, 31, 26, 0.97);
    border-radius: 16px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 760px;
  }

  .intro-grid,
  .product-layout,
  .sustain-layout,
  .contact-grid,
  .stats-grid,
  .content-grid,
  .detail-grid,
  .split-section,
  .family-chain-top,
  .aju-chain {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-areas:
      "heading"
      "photo"
      "copy";
  }

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

  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .split-section img {
    height: 360px;
  }

  .crest-chain-graphic {
    max-width: 280px;
  }

  .aju-visual {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .aju-map {
    width: min(230px, 46vw);
    max-height: 320px;
  }

  .site-stats article,
  .site-stats article:first-child {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(167, 130, 81, 0.28);
  }

  .site-stats article:first-child {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .section-wrap,
  .image-band-content,
  .footer-wrap {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero-copy,
  .intro-copy {
    font-size: 17px;
  }

  .chain-grid,
  .logo-panel {
    grid-template-columns: 1fr;
  }

  .chain-grid article {
    min-height: auto;
  }

  .chain-grid span {
    margin-bottom: 26px;
  }

  .image-band {
    min-height: 430px;
  }

  .aju-points {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    flex-basis: 72vw;
    width: 72vw;
    height: 280px;
  }

  .stats article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
  }

  .contact-link {
    font-size: 18px;
  }

  .family-chain-inner {
    width: calc(100% - 28px);
    border-radius: 18px;
  }

  .crest-chain-graphic {
    max-width: 230px;
  }

  .creston-logo {
    width: 220px;
  }

  .sustain-card-photo {
    grid-template-columns: 1fr;
  }

  .sustain-card-photo img {
    aspect-ratio: 1 / 1;
  }

  .aju-logo {
    width: 130px;
    min-width: 0;
  }
}
