/* ============================================================
   DERBY LIFESCIENCE — Home page
   Builds on the shared design system in css/style.css
   Primary #769382 · Background #F3EFE3 · Ink #2F3A35 · Muted #6B6B6B
   ============================================================ */

:root {
  --h-p:        #769382;
  --h-p-dark:   #5f7d6c;
  --h-p-deep:   #47624F;
  --h-p-soft:   #A8B8AD;
  --h-ink:      #2F3A35;
  --h-muted:    #6B6B6B;
  --h-line:     rgba(118, 147, 130, 0.18);
  --h-tint:     rgba(118, 147, 130, 0.10);
  --h-tint-2:   rgba(118, 147, 130, 0.20);
  --h-card:     #FFFFFF;

  --h-r:   16px;
  --h-r-l: 24px;
  --h-e:   cubic-bezier(0.22, 1, 0.36, 1);
  --h-sh:      0 15px 50px rgba(38, 50, 41, 0.08);
  --h-sh-lg:   0 34px 70px -30px rgba(38, 50, 41, 0.38);
  --h-sh-xl:   0 50px 100px -40px rgba(38, 50, 41, 0.5);
}

/* the hero image should fill the top, behind the floating capsule nav */
.header-wrap { 
  position: fixed;
  left: 0; 
  right: 0;
}

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

/* ============================================================
   SHARED
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section--tint { background: radial-gradient(120% 100% at 50% 0%, rgba(118,147,130,0.09), transparent 60%), var(--bg); }

.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--h-tint); color: var(--h-p-deep);
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.16; color: var(--h-ink); }
.lede { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: var(--h-muted); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; max-width: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-size: 15px; font-weight: 700; color: var(--h-p-deep);
  transition: gap 0.28s var(--h-e), color 0.22s var(--h-e);
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { gap: 13px; color: var(--h-p); }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 14px;
  font-family: inherit; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background 0.3s var(--h-e), color 0.3s var(--h-e), border-color 0.3s var(--h-e),
              box-shadow 0.3s var(--h-e), transform 0.3s var(--h-e);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--h-e); }
.btn--primary { background: var(--h-p-deep); color: #fff; box-shadow: 0 18px 34px -14px rgba(71,98,79,0.6); }
.btn--primary:hover { background: #3b5342; transform: translateY(-2px) scale(1.02); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--glass {
  background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.42);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px) scale(1.02); }
.btn--light { background: #fff; color: var(--h-p-deep); box-shadow: var(--h-sh-lg); }
.btn--light:hover { transform: translateY(-2px) scale(1.02); }
.btn--light:hover svg { transform: translateX(4px); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   1 · HERO — centred wordmark, letters drop in one by one
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 140px 0 110px; overflow: hidden; background: var(--pine); text-align: center;
}

.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background:
    url("https://images.unsplash.com/photo-1671493234884-b1611bcf3e69?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center / cover no-repeat,
    linear-gradient(150deg, #8aa697, #7ca689);
  animation: heroZoom 22s var(--h-e) infinite alternate;
}

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(20,28,22,0.35), rgba(20,28,22,0.78) 100%),
    linear-gradient(180deg, rgba(20,28,22,0.72) 0%, rgba(20,28,22,0.5) 45%, rgba(20,28,22,0.88) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }

.hero__eyebrow {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.24); color: #EDE7D8;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}

/* wordmark */
.hero__wordmark {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.3em;
  font-size: clamp(44px, 9vw, 118px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  color: #fff;
}
.wm { display: inline-flex; }
.wm--accent { color: var(--h-p-soft); }
.wm__l {
  display: inline-block;
  opacity: 0; transform: translateY(-0.7em) rotate(-6deg);
  text-shadow: 0 6px 40px rgba(0,0,0,0.35);
}
/* The hero intro is held until the loader finishes and adds html.is-ready,
   so visitors actually see "Derby Lifescience" drop in — not behind the loader. */
.is-ready .wm__l { animation: wmDrop 0.8s var(--h-e) forwards; animation-delay: calc(0.25s + var(--i) * 0.07s); }
.is-ready .hero__sub { animation: heroUp 0.9s var(--h-e) 1.4s forwards; }
.is-ready .hero__cta { animation: heroUp 0.9s var(--h-e) 1.6s forwards; }
.is-ready .hero__scroll { animation: heroUp 0.9s var(--h-e) 1.95s forwards; }
@keyframes wmDrop {
  0%   { opacity: 0; transform: translateY(-0.7em) rotate(-6deg); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

/* sub + cta come in once the letters have landed */
.hero__sub {
  margin: 26px auto 0; max-width: 620px;
  font-size: clamp(15.5px, 1.7vw, 18px); line-height: 1.7; color: rgba(237,231,216,0.86);
  opacity: 0;
}
.hero__cta {
  margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
  opacity: 0;
}
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(237,231,216,0.7);
  opacity: 0;
}
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(rgba(237,231,216,0), rgba(237,231,216,0.85)); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: #EDE7D8; animation: scrollLine 2s var(--h-e) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ============================================================
   2 · ABOUT PREVIEW
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--h-r-l); background-size: cover; background-position: center; box-shadow: var(--h-sh-lg); }
/* the panel follows the photo's own 3:2 shape, so `cover` fills it without
   cropping the subject away (a fixed height forced a tall crop of a wide photo) */
.about__img--a {
  aspect-ratio: 3 / 2;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1587019705911-167800492489?q=80&w=1400&auto=format&fit=crop"), linear-gradient(150deg, #8aa697, #47624f);
}
.about__img--b {
  position: absolute; right: -30px; bottom: -38px; width: 210px; height: 165px;
  border: 5px solid var(--bg);
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=600&q=80"), linear-gradient(150deg, #769382, #1E2821);
}
.about__badge {
  position: absolute; left: -24px; top: 34px; z-index: 2; padding: 14px 18px; border-radius: var(--h-r);
  background: rgba(255,255,255,0.9); border: 1px solid var(--h-line); box-shadow: var(--h-sh);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.about__badge b { display: block; font-size: 15px; color: var(--h-ink); }
.about__badge span { font-size: 12px; color: var(--h-muted); }
.about__copy p { margin-top: 14px; font-size: 15.8px; line-height: 1.72; color: var(--h-muted); }
.about__copy p strong { color: var(--h-p-deep); font-weight: 700; }
.about__copy .link-arrow { margin-top: 24px; }

/* ============================================================
   3 · PRODUCTS / SERVICES
   ============================================================ */
.card {
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: var(--h-r-l);
  padding: 32px 28px; box-shadow: var(--h-sh);
  transition: transform 0.32s var(--h-e), box-shadow 0.32s var(--h-e), border-color 0.32s var(--h-e);
}
.card:hover { transform: translateY(-9px); box-shadow: var(--h-sh-lg); border-color: var(--h-tint-2); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; margin-bottom: 20px;
  background: linear-gradient(145deg, var(--h-tint-2), var(--h-tint)); color: var(--h-p-deep);
  transition: background 0.32s var(--h-e), color 0.32s var(--h-e), transform 0.32s var(--h-e);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { background: var(--h-p); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 19px; font-weight: 700; color: var(--h-ink); margin-bottom: 9px; letter-spacing: -0.01em; }
.card p { font-size: 14.6px; line-height: 1.62; color: var(--h-muted); }

/* ============================================================
   SHOWCASE · full-width quality banner
   ============================================================ */
.showcase { position: relative; overflow: hidden; padding: 120px 0; background: var(--pine); }
.showcase__media {
  position: absolute; inset: -10% 0; z-index: 0; will-change: transform;
  background:
    url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat,
    linear-gradient(150deg, #8aa697, #47624f);
}
.showcase__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20,28,22,0.92) 6%, rgba(20,28,22,0.66) 52%, rgba(20,28,22,0.5) 100%),
    linear-gradient(180deg, rgba(30,40,33,0.3), rgba(30,40,33,0.7));
}
.showcase__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: center;
}
.eyebrow--light { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.24); color: #EDE7D8; }
.showcase__copy { max-width: 640px; }
.showcase__title {
  font-size: clamp(25px, 3.1vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.22; color: #fff;
}
.showcase__copy p { margin-top: 18px; font-size: 16px; line-height: 1.72; color: rgba(237,231,216,0.8); }
.showcase__points { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.showcase__points li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #EDE7D8; }
.showcase__points li > span {
  flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--h-p); color: #fff;
}
.showcase__points svg { width: 12px; height: 12px; }

.showcase__card {
  text-align: center; padding: 34px 26px; border-radius: var(--h-r-l);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 60px -28px rgba(20,28,22,0.7);
}
.showcase__card-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px;
  background: rgba(255,255,255,0.16); color: #fff;
}
.showcase__card-icon svg { width: 24px; height: 24px; }
.showcase__card b { display: block; font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.showcase__card > span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: rgba(237,231,216,0.78); }

/* ============================================================
   GALLERY · inside Derby (image mosaic)
   ============================================================ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 215px; gap: 16px; }
.gshot {
  position: relative; overflow: hidden; border-radius: var(--h-r-l);
  box-shadow: var(--h-sh); border: 1px solid var(--h-line); margin: 0;
  transition: transform 0.4s var(--h-e), box-shadow 0.4s var(--h-e);
}
.gshot--lg { grid-column: span 2; grid-row: span 2; }
.gshot:hover { transform: translateY(-6px); box-shadow: var(--h-sh-lg); }
.gshot__img {
  position: absolute; inset: 0; display: block; background-size: cover; background-position: center;
  transition: transform 0.8s var(--h-e);
}
.gshot:hover .gshot__img { transform: scale(1.08); }
.gshot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,40,33,0) 38%, rgba(30,40,33,0.82) 100%);
  transition: background 0.4s var(--h-e);
}
.gshot:hover::after { background: linear-gradient(180deg, rgba(71,98,79,0.2) 20%, rgba(30,40,33,0.9) 100%); }
.gshot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px;
  transform: translateY(6px); transition: transform 0.4s var(--h-e);
}
.gshot:hover figcaption { transform: translateY(0); }
.gshot figcaption b { display: block; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.gshot figcaption span { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(237,231,216,0.78); }
.gshot--lg figcaption { padding: 26px 26px; }
.gshot--lg figcaption b { font-size: 21px; }
.gshot--lg figcaption span { font-size: 13.5px; }

.gshot__img--1 { background-image: url("https://images.unsplash.com/photo-1566688040325-dce7f9f64578?q=80&w=735&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.gshot__img--2 { background-image: url("https://images.unsplash.com/photo-1607398027609-fbd1a06fb5d4?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.gshot__img--3 { background-image: url("https://images.unsplash.com/photo-1581594549595-35f6edc7b762?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.gshot__img--4 { background-image: url("https://plus.unsplash.com/premium_photo-1683120796013-f2f18451a907?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.gshot__img--5 { background-image: url("https://images.unsplash.com/photo-1579208575657-c595a05383b7?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }

/* ============================================================
   4 · WHY CHOOSE US
   ============================================================ */
.feat {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: var(--h-r-l);
  padding: 28px 26px; box-shadow: var(--h-sh);
  transition: transform 0.32s var(--h-e), box-shadow 0.32s var(--h-e), border-color 0.32s var(--h-e);
}
.feat:hover { transform: translateY(-7px); box-shadow: var(--h-sh-lg); border-color: var(--h-tint-2); }
.feat__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: var(--h-tint); color: var(--h-p-deep);
  transition: background 0.32s var(--h-e), color 0.32s var(--h-e), transform 0.32s var(--h-e);
}
.feat__icon svg { width: 22px; height: 22px; }
.feat:hover .feat__icon { background: var(--h-p); color: #fff; transform: scale(1.06); }
.feat h3 { font-size: 17px; font-weight: 700; color: var(--h-ink); margin-bottom: 6px; }
.feat p { font-size: 14.2px; line-height: 1.6; color: var(--h-muted); }

/* ============================================================
   5 · MISSION & VISION
   ============================================================ */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card {
  position: relative; overflow: hidden;
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: var(--h-r-l);
  padding: 44px; box-shadow: var(--h-sh);
  transition: transform 0.32s var(--h-e), box-shadow 0.32s var(--h-e);
}
.mv__card:hover { transform: translateY(-7px); box-shadow: var(--h-sh-lg); }
.mv__card--dark { background: linear-gradient(165deg, var(--pine), #16201a); border-color: transparent; }
.mv__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--h-tint-2), var(--h-tint)); color: var(--h-p-deep);
}
.mv__card--dark .mv__icon { background: rgba(168,192,175,0.16); color: var(--h-p-soft); }
.mv__icon svg { width: 26px; height: 26px; }
.mv__card h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--h-ink); margin-bottom: 12px; }
.mv__card--dark h3 { color: #fff; }
.mv__lead { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--h-p-deep); margin-bottom: 12px; }
.mv__card--dark .mv__lead { color: var(--h-p-soft); }
.mv__card p { font-size: 15.4px; line-height: 1.7; color: var(--h-muted); }
.mv__card--dark p { color: rgba(237,231,216,0.72); }

/* ============================================================
   6 · CORE VALUES
   ============================================================ */
.val {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: var(--h-r);
  padding: 26px 24px; box-shadow: var(--h-sh);
  transition: transform 0.32s var(--h-e), box-shadow 0.32s var(--h-e);
}
.val:hover { transform: translateY(-7px); box-shadow: var(--h-sh-lg); }
.val > span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 12px;
  background: var(--h-tint); color: var(--h-p-deep);
  transition: background 0.32s var(--h-e), color 0.32s var(--h-e);
}
.val:hover > span { background: var(--h-p); color: #fff; }
.val > span svg { width: 22px; height: 22px; }
.val b { font-size: 17px; font-weight: 700; color: var(--h-ink); }
.val i { font-style: normal; font-size: 13.8px; line-height: 1.55; color: var(--h-muted); }

/* ============================================================
   7 · INDUSTRIES WE SERVE
   ============================================================ */
.ind__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; list-style: none; }
.ind__item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 16px 18px; border-radius: 999px;
  background: var(--h-card); border: 1px solid var(--h-line); box-shadow: var(--h-sh);
  font-size: 15.5px; font-weight: 600; color: var(--h-ink);
  transition: transform 0.3s var(--h-e), box-shadow 0.3s var(--h-e), border-color 0.3s var(--h-e);
}
.ind__item:hover { transform: translateY(-5px); box-shadow: var(--h-sh-lg); border-color: var(--h-tint-2); }
.ind__item > span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--h-tint); color: var(--h-p-deep);
  transition: background 0.3s var(--h-e), color 0.3s var(--h-e);
}
.ind__item:hover > span { background: var(--h-p); color: #fff; }
.ind__item > span svg { width: 20px; height: 20px; }

/* ============================================================
   8 · STATISTICS
   ============================================================ */
.stats { padding: 84px 0; background: linear-gradient(135deg, var(--h-p) 0%, var(--h-p-dark) 55%, var(--h-p-deep) 100%); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; color: #fff; }
.stat b {
  display: flex; align-items: baseline; justify-content: center; gap: 1px;
  font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.stat .counter { font: inherit; letter-spacing: inherit; }
/* direct child only — must not match the .counter span inside <b> */
.stat > span { display: block; margin-top: 9px; font-size: 14px; color: rgba(255,255,255,0.8); }

/* ============================================================
   9 · LATEST BLOG
   ============================================================ */
.post {
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: var(--h-r-l); overflow: hidden;
  box-shadow: var(--h-sh);
  transition: transform 0.32s var(--h-e), box-shadow 0.32s var(--h-e), border-color 0.32s var(--h-e);
}
.post:hover { transform: translateY(-9px); box-shadow: var(--h-sh-lg); border-color: var(--h-tint-2); }
.post__img { display: block; height: 200px; background-size: cover; background-position: center; transition: transform 0.7s var(--h-e); }
.post:hover .post__img { transform: scale(1.06); }
.post__img--1 { background-image: url("https://plus.unsplash.com/premium_photo-1661769219534-b1957e610cd3?q=80&w=1172&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.post__img--2 { background-image: url("https://images.unsplash.com/photo-1614935151651-0bea6508db6b?q=80&w=1225&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"), linear-gradient(135deg, #769382, #A8B8AD); }
.post__img--3 { background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=700&q=80"), linear-gradient(135deg, #769382, #A8B8AD); }
.post__body { padding: 24px 24px 26px; }
.post__cat {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  background: var(--h-tint); color: var(--h-p-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.post h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; color: var(--h-ink); }
.post h3 a { transition: color 0.22s var(--h-e); }
.post:hover h3 a { color: var(--h-p-deep); }
.post p { margin-top: 9px; font-size: 14.2px; line-height: 1.62; color: var(--h-muted); }
.post__more {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--h-p-deep);
}
.post__more svg { width: 16px; height: 16px; transition: transform 0.28s var(--h-e); }
.post:hover .post__more svg { transform: translateX(4px); }

/* ============================================================
   10 · CONTACT CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; text-align: center; background: linear-gradient(140deg, var(--pine) 0%, #24332a 60%, var(--h-p-deep) 100%); }
.cta__decor span {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(118,147,130,0.35), transparent 70%);
  animation: ctaFloat 16s var(--h-e) infinite;
}
.cta__decor span:first-child { width: 460px; height: 460px; top: -170px; left: -110px; }
.cta__decor span:last-child { width: 520px; height: 520px; bottom: -250px; right: -130px; animation-direction: reverse; }
@keyframes ctaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
.cta__inner { position: relative; z-index: 2; padding: 100px 0; max-width: 760px; }
.cta__title { font-size: clamp(27px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.16; color: #fff; }
.cta__text { margin-top: 16px; font-size: 17px; line-height: 1.6; color: rgba(237,231,216,0.8); }
.cta__actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   REVEAL
   ============================================================ */
[data-animate] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--h-e), transform 0.8s var(--h-e); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
.grid [data-animate]:nth-child(3n+2), .stats__grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.grid [data-animate]:nth-child(3n+3), .stats__grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.stats__grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.ind__list [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.ind__list [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.ind__list [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.ind__list [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.mv__grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 46px; }
  .about__media { max-width: 620px; margin: 0 auto; }   /* keep it from over-stretching once stacked */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .showcase__inner { grid-template-columns: 1fr; gap: 38px; }
  .showcase__card { max-width: 340px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gshot--lg { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 860px) {
  .mv__grid { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 768px) {
  .section { padding: 74px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 120px 0 96px; }
  .hero__wordmark { font-size: clamp(38px, 13vw, 64px); }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero__cta .btn { width: 100%; }
  .mv__card { padding: 30px 24px; }
  .about__img--b { right: 10px; bottom: -26px; width: 150px; height: 118px; }
  .about__badge { left: 10px; }
  .cta__actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .ind__list { flex-direction: column; }
  .ind__item { justify-content: flex-start; }
  .showcase { padding: 74px 0; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .gshot--lg { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; }
  .wm__l, .hero__sub, .hero__cta, .hero__scroll { opacity: 1 !important; animation: none !important; transform: none !important; }
  .hero__media, .hero__scroll-line::after, .cta__decor span { animation: none !important; }
  .showcase__media { transform: none !important; }
}
