/* Homepage styles — authoritative current rules. */

:root {
  --home-max: 1120px;
  --home-ink: #18384e;
  --home-body: #435766;
  --home-muted: #6b7d89;
  --home-blue: #267cc0;
  --home-line: #d8e2e8;
}

.section-kicker {
  margin: 0 0 11px;
  color: var(--home-blue);
  font: 600 11px/1.2 Inter, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Hero */

.home-hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #081a2a;
  color: #fff;
}

.home-hero .hero-bg,
.home-hero .hero-shade {
  position: absolute;
  inset: 0;
}

.home-hero .hero-bg {
  background-position: center;
  background-size: cover;
  filter: saturate(.78);
}

.home-hero .hero-shade {
  background: linear-gradient(90deg, rgba(5,18,30,.84) 0%, rgba(5,18,30,.70) 44%, rgba(5,18,30,.31) 76%, rgba(5,18,30,.15) 100%);
}

.home-hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1040px);
  margin-inline: auto;
}

.hero-kicker {
  margin: 0 0 13px;
  color: rgba(255,255,255,.72);
  font: 600 11px/1.2 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font: 550 clamp(40px,4.5vw,61px)/1.02 Inter, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.home-hero h1 span {
  color: #fff;
}

.hero-support {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 16px;
  line-height: 1.6;
}

.home-hero .actions {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}

.hero-proof {
  position: absolute;
  right: 0;
  bottom: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.46);
}

.hero-proof strong {
  display: block;
  color: #fff;
  font: 500 34px/1 Inter, sans-serif;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.70);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-scroll-indicator {
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.08));
}

/* Proof strip */

.home-proof-strip {
  background: #102b3d;
  color: #fff;
}

.home-proof-grid {
  width: min(calc(100% - 64px), var(--home-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-proof-item {
  padding: 20px 22px;
}

.home-proof-item + .home-proof-item {
  border-left: 1px solid rgba(255,255,255,.16);
}

.home-proof-item strong {
  display: block;
  color: #fff;
  font: 500 20px/1.2 Inter, sans-serif;
}

.home-proof-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Company profile */

.home-company-section {
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  background:
    linear-gradient(rgba(249,250,251,.94), rgba(247,249,250,.96)),
    url('../assets/quality-pattern.svg') center / cover no-repeat;
}

.home-company-grid {
  width: min(calc(100% - 64px), 1020px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 48px;
  align-items: center;
}

.home-company-image {
  position: relative;
  overflow: hidden;
  background: #e9eef1;
}

.home-company-image img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.home-company-image-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 10px;
  background: rgba(8,29,48,.86);
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-company-copy {
  max-width: 500px;
  padding: 18px 0 18px 28px;
  border-left: 1px solid rgba(40,82,111,.18);
  background: linear-gradient(90deg, rgba(239,244,247,.62) 0%, rgba(239,244,247,0) 78%);
}

.home-company-copy h2,
.home-products-section h2,
.home-quality-section h2,
.home-processing-copy h2,
.home-story-copy h2 {
  margin: 0;
  color: var(--home-ink);
  font: 500 36px/1.1 Inter, sans-serif;
  letter-spacing: -.025em;
}

.home-company-copy h2 {
  font-size: 40px;
  font-weight: 600;
}

.home-company-copy > p:not(.section-kicker),
.home-processing-copy > p:not(.section-kicker),
.home-story-copy > p:not(.section-kicker) {
  margin: 15px 0 0;
  color: var(--home-body);
  font-size: 16px;
  line-height: 1.68;
}


.home-company-secondary {
  margin-top: 10px !important;
}

.home-company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 10px;
}

.home-company-links .text-link {
  font-weight: 600;
}

/* Products */

.home-products-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0 62px;
  background: #fff;
}

.home-products-shell {
  width: min(calc(100% - 64px), 1080px);
  margin-inline: auto;
}

.home-section-head {
  max-width: 700px;
}

.home-section-head > p:not(.section-kicker) {
  max-width: 640px;
  margin: 15px 0 0;
  color: var(--home-body);
  font-size: 16px;
  line-height: 1.65;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin-top: 30px;
}

.home-product-card {
  display: block;
  min-width: 0;
  padding: 10px 10px 14px;
  border: 1px solid #e2e8ec;
  background: #fafbfb;
  color: inherit;
  text-decoration: none;
}

.home-product-media {
  position: relative;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.home-product-media img {
  display: block;
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .28s ease;
}

.home-product-hover {
  position: absolute;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  color: #fff;
  background: rgba(12,38,57,.88);
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 600;
  transition: opacity .2s ease;
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.025);
}

.home-product-card:hover .home-product-hover {
  opacity: 1;
}

.home-product-copy {
  padding: 12px 2px 0;
}

.home-product-copy h3 {
  margin: 0;
  color: #244f6d;
  font: 600 17px/1.3 Inter, sans-serif;
}

.home-product-copy p {
  margin: 6px 0 0;
  color: #657785;
  font-size: 13px;
  line-height: 1.5;
}

.home-products-footer {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.home-products-footer p {
  margin: 0;
  color: #617381;
  font-size: 14px;
  line-height: 1.55;
}

/* Quality */

.home-quality-section {
  position: relative;
  overflow: hidden;
  padding: 44px 0 48px;
  background:
    linear-gradient(rgba(249,250,251,.90), rgba(246,248,249,.94)),
    url('../assets/quality-pattern.svg') center / cover no-repeat;
  border-top: 1px solid rgba(39,79,108,.08);
  border-bottom: 1px solid rgba(39,79,108,.08);
}

.home-quality-shell {
  width: min(calc(100% - 64px), 1020px);
  margin-inline: auto;
}

.home-quality-head {
  margin-bottom: 20px;
}

.home-quality-grid {
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(370px,1.06fr);
  gap: 50px;
  align-items: start;
}

.home-quality-left {
  max-width: 500px;
}

.home-quality-intro {
  margin: 0;
  color: var(--home-body);
  font-size: 16px;
  line-height: 1.68;
}

.home-quality-intro-secondary {
  margin-top: 12px;
}

.home-quality-action {
  margin-top: 14px;
}

.home-quality-cert-list {
  display: grid;
}

.home-quality-cert-item {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 14px;
  align-items: start;
  padding: 11px 0;
}

.home-quality-cert-item + .home-quality-cert-item {
  border-top: 1px solid rgba(48,88,116,.14);
}

.home-quality-cert-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid #315f7f;
  border-radius: 50%;
  color: #315f7f;
}

.home-quality-cert-mark span {
  font: 700 13px/1 Inter, sans-serif;
}

.home-quality-cert-item strong {
  display: block;
  color: #234e6f;
  font: 600 16px/1.32 Inter, sans-serif;
}

.home-quality-cert-item > div:last-child span {
  display: block;
  margin-top: 4px;
  color: #667986;
  font-size: 13px;
  line-height: 1.45;
}

/* Processing */

.home-processing-section {
  padding: 70px 0;
  background: #0a2033;
  color: #fff;
}

.home-processing-shell {
  width: min(calc(100% - 64px), 1100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(340px,.55fr);
  gap: 50px;
  align-items: center;
}

.home-processing-image {
  min-width: 0;
}

.home-processing-main-image {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.home-processing-support-images {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}

.home-processing-support-images img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.home-processing-copy {
  max-width: 470px;
}

.home-processing-copy .section-kicker {
  color: #75b7e5;
}

.home-processing-copy h2 {
  color: #fff;
  font-size: 34px;
}

.home-processing-copy > p:not(.section-kicker) {
  color: rgba(255,255,255,.80);
}

.home-processing-links {
  display: grid;
  gap: 9px;
  margin: 22px 0 27px;
}

.home-processing-links a {
  color: #9fd0ef;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-processing-links a:hover {
  color: #fff;
}

/* Story */

.home-story-section {
  position: relative;
  overflow: hidden;
  padding: 62px 0 66px;
  background: #fff;
}

.home-story-shell {
  width: min(calc(100% - 64px), 980px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 58px;
  align-items: center;
}

.home-story-copy {
  max-width: 610px;
}


.home-story-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin-top: 18px;
}

.home-story-copy .text-link {
  display: inline-block;
  margin-top: 7px;
  font-weight: 600;
}

.home-story-photo {
  overflow: hidden;
}

.home-story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
}

/* Final CTA */

.home-final-cta {
  padding: 34px 0;
  background: #0b2235;
  color: #fff;
}

.home-final-cta-inner {
  width: min(calc(100% - 64px), 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.home-final-cta h2 {
  margin: 0;
  color: #fff;
  font: 500 27px/1.15 Inter, sans-serif;
  letter-spacing: -.02em;
}

.home-final-cta p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.55;
}

.home-final-cta-actions {
  display: flex;
  gap: 10px;
}

/* Lightweight reveal animation */

.reveal-item {
  opacity: 0;
  transform: translate3d(0,16px,0);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

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

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

.reveal-up {
  transform: translate3d(0,16px,0);
}

.reveal-section.is-visible .reveal-item {
  opacity: 1;
  transform: translate3d(0,0,0);
}

.reveal-section.is-visible .reveal-item:nth-child(2) {
  transition-delay: .05s;
}

.reveal-section.is-visible .reveal-item:nth-child(3) {
  transition-delay: .10s;
}

.reveal-section.is-visible .reveal-item:nth-child(4) {
  transition-delay: .15s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}





/* Tablet */

@media (max-width: 900px) {
  .home-hero .hero-content,
  .home-proof-grid,
  .home-company-grid,
  .home-products-shell,
  .home-quality-shell,
  .home-processing-shell,
  .home-story-shell,
  .home-final-cta-inner {
    width: min(calc(100% - 40px), 720px);
  }

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

  .home-proof-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .home-proof-item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .home-company-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-company-copy {
    max-width: 620px;
    padding-left: 0;
    border-left: 0;
  }

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

  .home-quality-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-quality-left {
    max-width: 620px;
  }

  .home-processing-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-processing-copy {
    max-width: 620px;
  }

  .home-processing-main-image {
    height: 320px;
  }

  .home-processing-support-images img {
    height: 115px;
  }


  .home-process-footage {
    margin-top: 28px;
  }

  .home-story-shell {
    grid-template-columns: minmax(0,1fr) 240px;
    gap: 40px;
  }
}

/* Mobile */

@media (max-width: 640px) {
  .home-hero {
    min-height: 520px;
  }

  .home-hero .hero-content,
  .home-proof-grid,
  .home-company-grid,
  .home-products-shell,
  .home-quality-shell,
  .home-processing-shell,
  .home-story-shell,
  .home-final-cta-inner {
    width: calc(100% - 32px);
  }

  .home-hero h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.03;
  }

  .hero-kicker {
    font-size: 9px;
  }

  .hero-support {
    max-width: 330px;
    font-size: 14px;
  }

  .home-hero .actions {
    display: grid;
    gap: 8px;
  }

  .home-hero .actions .btn {
    width: 100%;
  }

  .hero-proof {
    position: static;
    width: max-content;
    margin-top: 22px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.38);
  }

  .hero-proof strong {
    font-size: 24px;
  }

  .hero-scroll-indicator {
    display: none;
  }

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

  .home-proof-item {
    padding: 15px 12px;
  }

  .home-proof-item strong {
    font-size: 17px;
  }

  .home-company-section,
  .home-products-section,
  .home-quality-section {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .home-company-image img {
    height: 235px;
  }

  .home-company-copy {
    padding: 0;
    border-left: 0;
    background: transparent;
  }

  .home-company-copy h2 {
    font-size: 30px;
    font-weight: 600;
  }

  .home-company-copy h2,
  .home-products-section h2,
  .home-quality-section h2,
  .home-processing-copy h2,
  .home-story-copy h2 {
    font-size: 29px;
  }

  .home-company-copy > p:not(.section-kicker),
  .home-processing-copy > p:not(.section-kicker),
  .home-story-copy > p:not(.section-kicker),
  .home-quality-intro,
  .home-section-head > p:not(.section-kicker) {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-company-links {
    display: grid;
    gap: 8px;
  }

  .home-products-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-product-card {
    padding: 9px 9px 13px;
  }

  .home-product-media {
    height: 270px;
  }

  .home-product-hover {
    display: none;
  }

  .home-product-copy h3 {
    font-size: 18px;
  }

  .home-product-copy p {
    font-size: 14px;
  }

  .home-products-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-products-footer .btn {
    width: 100%;
  }

  .home-quality-head {
    margin-bottom: 24px;
  }

  .home-quality-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .home-quality-cert-list {
    order: 1;
  }

  .home-quality-left {
    display: contents;
  }

  .home-quality-intro {
    order: 2;
    margin-top: 22px;
  }

  .home-quality-intro-secondary {
    order: 3;
    margin-top: 14px;
  }

  .home-quality-action {
    order: 4;
    width: 100%;
    margin-top: 22px;
  }

  .home-quality-action.btn {
    width: 100%;
  }

  .home-quality-cert-item {
    grid-template-columns: 34px minmax(0,1fr);
    gap: 11px;
    padding: 12px 0;
  }

  .home-quality-cert-mark {
    width: 29px;
    height: 29px;
  }

  .home-quality-cert-item strong {
    font-size: 14px;
  }

  .home-quality-cert-item > div:last-child span {
    font-size: 12.5px;
  }

  .home-processing-section {
    padding: 66px 0;
  }

  .home-processing-image img {
    height: 270px;
  }

  .home-processing-copy .btn {
    width: 100%;
  }

  .home-processing-main-image {
    height: 240px;
  }

  .home-processing-support-images {
    display: none;
  }


  .home-process-gallery {
    width: 100%;
    margin-top: 24px;
  }

  .home-process-gallery-main img {
    height: 235px;
  }

  .home-process-gallery-side {
    display: none;
  }

  .home-process-footage {
    margin-top: 26px;
    padding-top: 22px;
  }

  .home-process-footage-head {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .home-process-video-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-story-section {
    padding: 62px 0 68px;
  }

  .home-story-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-story-timeline {
    grid-template-columns: 1fr;
  }

  .home-story-timeline > div,
  .home-story-timeline > div + div {
    padding: 10px 0;
    border-left: 0;
  }

  .home-story-timeline > div + div {
    border-top: 1px solid var(--home-line);
  }

  .home-story-photo {
    max-width: 240px;
  }

  .home-final-cta-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-final-cta-actions {
    display: grid;
  }

  .home-final-cta-actions .btn {
    width: 100%;
  }
}
