:root {
  --neply-ink: #19233d;
  --neply-indigo: #37426f;
  --neply-cream: #f7f3e9;
  --neply-paper: #fffdf8;
  --neply-gold: #b48655;
  --neply-wood: #6f452c;
  --neply-line: rgba(25, 35, 61, .16);
}

html { scroll-behavior: smooth; }
body { background: var(--neply-paper); color: var(--neply-ink); }
.home-page { overflow: hidden; background: var(--neply-cream); font-family: Georgia, 'Times New Roman', serif; }
.home-page p, .home-page a, .home-page li { font-family: Arial, Helvetica, sans-serif; }
.home-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.home-section { padding: clamp(48px, 6vw, 82px) 0; }
.home-eyebrow { margin: 0 0 14px; color: var(--neply-gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.home-eyebrow--light { color: #ead2b3; }
.home-page h1, .home-page h2, .home-page h3 { margin-top: 0; text-wrap: balance; }
.home-page h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.home-page p { line-height: 1.7; }

.home-hero { position: relative; display: flex; align-items: center; min-height: max(680px, 100svh); color: #fff; isolation: isolate; }
.home-hero__image, .home-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero__image { object-position: center; }
.home-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 26, .82) 0%, rgba(12, 16, 26, .52) 45%, rgba(12, 16, 26, .12) 78%), linear-gradient(0deg, rgba(12, 16, 26, .25), transparent 40%); }
.home-hero__content { padding-top: 92px; }
.home-hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(48px, 7.5vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.home-hero__intro { max-width: 610px; margin: 0 0 34px; color: rgba(255,255,255,.88); font-size: clamp(17px, 2vw, 21px); }
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 2px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.home-button:hover { transform: translateY(-2px); }
.home-button--primary { background: var(--neply-gold); color: #fff; }
.home-button--primary:hover { background: #9c7044; }
.home-button--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.home-button--ghost:hover { background: #fff; color: var(--neply-ink); }

.home-trust { background: var(--neply-cream); color: var(--neply-ink); border-bottom: 1px solid var(--neply-line); }
.home-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-trust__grid > div { padding: 29px 24px; border-right: 1px solid var(--neply-line); }
.home-trust__grid > div:last-child { border-right: 0; }
.home-trust strong, .home-trust span { display: block; }
.home-trust strong { margin-bottom: 4px; font-size: 16px; }
.home-trust span { color: #686d78; font-family: Arial, sans-serif; font-size: 12px; }

.home-section__heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 44px; align-items: end; margin-bottom: 36px; }
.home-section__heading h2 { max-width: 760px; margin-bottom: 0; }
.home-section__heading > p { margin: 0 0 8px; color: #5c6170; }
.home-section__heading--center { display: block; max-width: 820px; margin-inline: auto; text-align: center; }

.home-products { background: var(--neply-cream); }
.home-products__list { display: grid; gap: clamp(38px, 5vw, 62px); }
.home-product-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 94px); align-items: center; }
.home-product-row--reverse .home-product-row__content { order: 2; }
.home-product-row--reverse .home-product-row__media { order: 1; }
.home-product-row__content { padding: clamp(8px, 3vw, 42px); }
.home-product-row__content h3 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 54px); font-weight: 400; line-height: 1.05; }
.home-product-row__content > p:not(.home-eyebrow) { max-width: 530px; margin: 0 0 22px; color: #5c6170; }
.home-product-row__content ul { display: flex; flex-wrap: wrap; gap: 9px 20px; padding: 0; margin: 0 0 28px; list-style: none; }
.home-product-row__content li { display: flex; align-items: center; gap: 7px; color: var(--neply-wood); font-size: 13px; font-weight: 700; }
.home-product-row__content li span { color: var(--neply-gold); font-size: 18px; }
.home-button--outline { border-color: var(--neply-indigo); color: var(--neply-ink); }
.home-button--outline:hover { background: var(--neply-indigo); color: #fff; }
.home-product-row__media { position: relative; height: clamp(390px, 42vw, 540px); overflow: hidden; }
.home-product-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-product-row:hover .home-product-row__media img { transform: scale(1.035); }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--neply-gold); color: var(--neply-ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.home-text-link span { transition: transform .2s; }
.home-text-link:hover span { transform: translateX(4px); }

.home-story { background: var(--neply-cream); }
.home-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 66px); align-items: center; }
.home-story__image-wrap { position: relative; min-height: 680px; }
.home-story__image-wrap > img { width: 100%; height: 680px; object-fit: cover; }
.home-story__content h2 { margin-bottom: 28px; }
.home-story__lead { margin: 0 0 34px; color: #535966; font-size: 17px; }
.home-values { margin-bottom: 30px; border-top: 1px solid var(--neply-line); }
.home-values > div { padding: 20px 0; border-bottom: 1px solid var(--neply-line); }
.home-values h3 { margin-bottom: 5px; font-size: 20px; font-weight: 400; }
.home-values p { margin: 0; color: #686d78; font-size: 13px; }

.home-applications { background: var(--neply-cream); }
.home-applications__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.home-applications article { position: relative; min-height: 510px; overflow: hidden; color: #fff; }
.home-applications img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-applications article::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,15,25,.82), transparent 65%); }
.home-applications article:hover img { transform: scale(1.04); }
.home-applications article > div { position: absolute; z-index: 1; right: 28px; bottom: 28px; left: 28px; }
.home-applications h3 { margin: 0 0 8px; font-size: 34px; font-weight: 400; }
.home-applications p { margin: 0; color: rgba(255,255,255,.76); font-size: 13px; }

.home-process { background: var(--neply-cream); }
.home-process__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 5vw, 70px); max-width: 1000px; margin-inline: auto; }
.home-process__steps::before { content: ''; position: absolute; top: 53px; right: 16%; left: 16%; border-top: 1px dashed var(--neply-gold); }
.home-process__step { position: relative; text-align: center; }
.home-process__mark { position: relative; z-index: 1; display: grid; width: 106px; height: 106px; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #d6b17d; color: var(--neply-ink); }
.home-process__mark svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-process__step h3 { margin-bottom: 8px; font-size: 28px; font-weight: 400; }
.home-process__step p { max-width: 260px; margin: 0 auto; color: #686d78; font-size: 13px; }

.home-craftsmanship { background: var(--neply-cream); }
.home-craftsmanship__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-craftsmanship__item { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #e7dfd1; }
.home-craftsmanship__image { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-craftsmanship__item:hover .home-craftsmanship__image { transform: scale(1.04); }

.home-assurance { background: var(--neply-cream); color: var(--neply-ink); }
.home-assurance .home-eyebrow--light { color: var(--neply-gold); }
.home-assurance__grid { text-align: center; }
.home-assurance h2 { max-width: 820px; margin: 0 auto 24px; }
.home-assurance p:not(.home-eyebrow) { max-width: 700px; margin: 0 auto; color: #5c6170; }
.home-assurance__marks { display: flex; align-items: center; justify-content: space-around; gap: clamp(20px, 3vw, 40px); margin-top: 30px; padding: 20px; background: transparent; }
.home-certification { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.home-certification img { width: auto; max-width: 190px; max-height: 165px; object-fit: contain; }

.home-reach { position: relative; background: var(--neply-cream); }
.home-reach::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 52px; background: var(--neply-gold); }
.home-reach .home-section__heading { margin-bottom: 30px; }
.home-reach__intro { max-width: 690px; margin: 24px auto 0; color: #5c6170; }
.home-reach__countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.home-country { width: min(100%, 360px); padding: 38px 30px 34px; background: var(--neply-cream); border: 1px solid var(--neply-line); text-align: center; }
.home-country img { width: auto; height: 92px; max-width: 150px; margin: 0 auto 22px; object-fit: contain; }
.home-country h3 { margin-bottom: 10px; font-size: 30px; font-weight: 400; }
.home-country p { margin: 0; color: #686d78; font-size: 13px; }

.home-cta { position: relative; min-height: 590px; display: flex; align-items: center; color: #fff; isolation: isolate; text-align: center; }
.home-cta > img { object-position: center 55%; }
.home-cta__shade { position: absolute; inset: 0; z-index: -1; background: rgba(12,17,28,.68); }
.home-cta__content { max-width: 760px; }
.home-cta h2 { margin-bottom: 20px; }
.home-cta p:not(.home-eyebrow) { max-width: 600px; margin: 0 auto 30px; color: rgba(255,255,255,.8); }

.home-page :focus-visible, header :focus-visible, footer :focus-visible { outline: 3px solid #d59a58; outline-offset: 4px; }

@media (max-width: 900px) {
  .home-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .home-trust__grid > div:nth-child(2) { border-right: 0; }
  .home-product-row { gap: 34px; }
  .home-story__grid { grid-template-columns: 1fr; }
  .home-story__image-wrap, .home-story__image-wrap > img { min-height: 520px; height: 520px; }
  .home-applications__grid { grid-template-columns: 1fr 1fr; }
  .home-applications article:first-child { grid-column: 1 / -1; }
  .home-process__steps { gap: 30px; }
  .home-craftsmanship__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-shell { width: min(100% - 28px, 1180px); }
  .home-hero { min-height: 700px; align-items: flex-end; }
  .home-hero__image { object-position: 58% center; }
  .home-hero__shade { background: linear-gradient(0deg, rgba(10,14,24,.9), rgba(10,14,24,.34) 78%); }
  .home-hero__content { padding: 120px 0 90px; }
  .home-hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .home-actions { display: grid; }
  .home-button { width: 100%; }
  .home-trust__grid > div { padding: 22px 14px; }
  .home-section { padding: 46px 0; }
  .home-section__heading { display: block; margin-bottom: 34px; }
  .home-section__heading > p { margin-top: 20px; }
  .home-page h2 { font-size: 40px; }
  .home-product-row { display: flex; flex-direction: column-reverse; gap: 24px; }
  .home-product-row--reverse .home-product-row__content,
  .home-product-row--reverse .home-product-row__media { order: initial; }
  .home-product-row--reverse { flex-direction: column-reverse; }
  .home-product-row__content { width: 100%; padding: 8px 4px; }
  .home-product-row__media { width: 100%; height: 330px; }
  .home-story__image-wrap, .home-story__image-wrap > img { min-height: 430px; height: 430px; }
  .home-applications__grid { grid-template-columns: 1fr; }
  .home-applications article:first-child { grid-column: auto; }
  .home-applications article { min-height: 390px; }
  .home-process__steps { grid-template-columns: 1fr; gap: 30px; }
  .home-process__steps::before { display: none; }
  .home-process__mark { width: 92px; height: 92px; margin-bottom: 14px; }
  .home-craftsmanship__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-craftsmanship__item { aspect-ratio: 4 / 5; }
  .home-assurance__grid { gap: 36px; }
  .home-assurance__marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; overflow: visible; padding: 24px 12px; }
  .home-certification { min-width: 0; }
  .home-certification img { max-width: 140px; max-height: 125px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
