/* ============================================================
   Genekon Pharmaceuticals — core stylesheet
   Change the palette here and the whole site re-skins.
   ============================================================ */

:root {
  /* Brand — sampled directly from the logo */
  --green:  #7DBC30;
  --blue:   #406196;

  /* Extended bright range */
  --lime:   #A4D93C;
  --azure:  #2E9BE8;
  --navy:   #1B3A6B;

  /* Neutrals */
  --ink:    #10233D;
  --slate:  #5A6E88;
  --mist:   #F2F7FC;
  --paper:  #FFFFFF;
  --line:   rgba(64, 97, 150, .14);

  /* Gradients */
  --grad-brand: linear-gradient(100deg, var(--green) 0%, var(--azure) 55%, var(--blue) 100%);
  --grad-soft:  linear-gradient(135deg, #EAF6DC 0%, #E3F0FB 100%);

  /* Chrome */
  --topbar-h: 40px;
  --nav-h: 94px;
  --nav-h-sm: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 10px 40px -12px rgba(27, 58, 107, .28);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* clip rather than hidden: does not break position: sticky */
  overflow-x: clip;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1600px, 100% - 72px);
  margin-inline: auto;
}

/* ============================================================
   1. UTILITY STRIP
   ============================================================ */

.topbar {
  height: var(--topbar-h);
  background: var(--grad-brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  transition: height .45s var(--ease), opacity .3s ease;
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__group { display: flex; align-items: center; gap: 26px; }

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .95;
  transition: opacity .2s ease;
}
.topbar a:hover { opacity: 1; }
.topbar svg { width: 15px; height: 15px; flex: none; }

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .92;
}

/* Collapsed state after scroll */
.is-scrolled .topbar { height: 0; opacity: 0; }

/* ============================================================
   2. HEADER + NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--paper);
  transition: box-shadow .35s ease, background .35s ease;
}

.is-scrolled.site-header {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 6px 28px -14px rgba(27, 58, 107, .34);
}

/* hairline that only appears once you have scrolled */
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .35s ease;
}
.is-scrolled.site-header::after { opacity: .55; }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height .45s var(--ease);
}
.is-scrolled .nav { height: var(--nav-h-sm); }

/* ---------- brand ---------- */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  /* the wordmark sits slightly high in the artwork, so nudge it back down */
  margin-top: 2px;
}
.brand img {
  height: 68px;
  width: auto;
  transition: height .45s var(--ease);
}
.is-scrolled .brand img { height: 50px; }

/* ---------- links ---------- */
.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
  transition: color .25s ease, background .25s ease;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--blue); }

.nav__link .chev {
  width: 11px;
  height: 11px;
  transition: transform .3s var(--ease);
}
.has-dropdown[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* ---------- the helix indicator ---------- */
.helix {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 14px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .48s var(--ease), width .48s var(--ease), opacity .3s ease;
}
.helix.is-live { opacity: 1; }
.helix svg { width: 100%; height: 100%; overflow: visible; }
.helix path { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.helix .strand-a { stroke: var(--green); }
.helix .strand-b { stroke: var(--blue); }

/* ---------- dropdown ---------- */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(560px, calc(100vw - 48px));
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition: opacity .3s ease, transform .35s var(--ease), visibility .3s;
}
.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown__item {
  display: flex;
  gap: 13px;
  padding: 13px;
  border-radius: 13px;
  transition: background .22s ease;
}
.dropdown__item:hover { background: var(--mist); }

.dropdown__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  color: var(--blue);
}
.dropdown__icon svg { width: 20px; height: 20px; }

.dropdown__title { font-weight: 700; font-size: 15px; }
.dropdown__desc { font-size: 13.5px; color: var(--slate); line-height: 1.45; }

/* ---------- call to action ---------- */
.nav__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--grad-brand);
  background-size: 180% 100%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 22px -10px rgba(46, 155, 232, .85);
  transition: background-position .55s var(--ease), transform .25s var(--ease), box-shadow .25s ease;
}
.nav__cta:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(46, 155, 232, .95);
}
.nav__cta svg { width: 17px; height: 17px; }

/* ---------- scroll progress ---------- */
.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-brand);
  z-index: 2;
}

/* ============================================================
   3. MOBILE
   ============================================================ */

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .2s ease;
}
.burger span + span { margin-top: 6px; }

.is-menu-open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 890;
  padding: calc(var(--nav-h) + 34px) 28px 44px;
  background: var(--paper);
  overflow-y: auto;
  clip-path: circle(0% at var(--menu-x, calc(100% - 46px)) var(--menu-y, 46px));
  transition: clip-path .6s var(--ease);
}
.is-menu-open .mobile-panel { clip-path: circle(150% at var(--menu-x, calc(100% - 46px)) var(--menu-y, 46px)); }

.mobile-panel__links { display: grid; gap: 4px; }

.mobile-panel a.m-link {
  display: block;
  padding: 16px 4px;
  font-family: 'Archivo', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .5s var(--ease);
}
.is-menu-open .mobile-panel a.m-link { opacity: 1; transform: none; }

.mobile-panel__foot {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}
.mobile-panel__foot .nav__cta { justify-content: center; }
.mobile-panel__foot .m-phone {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--blue);
}

@media (max-width: 1020px) {
  .nav__links, .nav > .nav__cta { display: none; }
  .burger { display: grid; }
  .topbar__note { display: none; }
  .wrap { width: min(1600px, 100% - 36px); }
}

@media (max-width: 560px) {
  .topbar { font-size: 12.5px; }
  .topbar__group { gap: 16px; }
  .topbar__group a:nth-child(2) span.label { display: none; }
}

/* ============================================================
   4. SHARED SECTION FURNITURE
   ============================================================ */

section { position: relative; }

.section { padding: clamp(54px, 6vw, 92px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; }

.section__head { max-width: 64ch; margin-bottom: 38px; }
.section__head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 16px;
}
.section__head p { color: var(--slate); font-size: 1.06rem; }
.section--navy .section__head p { color: rgba(255,255,255,.72); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .25s var(--ease), box-shadow .25s ease, background-position .55s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--solid {
  background: var(--grad-brand);
  background-size: 180% 100%;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(46,155,232,.9);
}
.btn--solid:hover { background-position: 100% 0; transform: translateY(-3px); }
.btn--ghost {
  border: 2px solid var(--line);
  background: rgba(255,255,255,.7);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--green); transform: translateY(-3px); }

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

.js .reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.js .reveal-clip.in { clip-path: inset(0 0 0 0); }

/* ============================================================
   5. HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--grad-soft);
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
  /* fills the rest of the screen once the bars above are accounted for */
  min-height: calc(100vh - var(--nav-h) - var(--topbar-h));
  min-height: calc(100svh - var(--nav-h) - var(--topbar-h));
}

/* drifting colour blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .5;
  pointer-events: none;
  will-change: transform;
  contain: strict;
}
.hero__blob--a { width: 440px; height: 440px; background: var(--lime);  top: -130px; left: -100px; animation: drift 21s ease-in-out infinite; }
.hero__blob--b { width: 500px; height: 500px; background: var(--azure); bottom: -200px; right: -110px; animation: drift 26s ease-in-out infinite reverse; }

@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(46px, 38px, 0) scale(1.12); }
}

.hero__grid {
  position: relative;
  z-index: 3;
}

/* cap the text, not the container, so it aligns left instead of centring */
.hero__copy { max-width: 780px; }

/* the helix now spans the whole hero and sits behind the words */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .92;
  /* fades out under the copy so the headline stays readable */
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.62) 58%, #000 72%);
          mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.62) 58%, #000 72%);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px 8px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 26px;
}
.hero__tag b {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.hero__tag svg { width: 13px; height: 13px; }

.hero h1 {
  font-size: clamp(2.15rem, 5.9vw, 5.1rem);
  line-height: 1.02;
}
/* headline reveals line by line on load */
.line { display: block; overflow: hidden; }
.line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp .95s var(--ease) forwards;
}
.line:nth-child(1) > span { animation-delay: .12s; }
.line:nth-child(2) > span { animation-delay: .24s; }
.line:nth-child(3) > span { animation-delay: .36s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead {
  margin: 26px 0 34px;
  font-size: 1.14rem;
  color: var(--slate);
  max-width: 46ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__chips {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.hero__chip svg { width: 19px; height: 19px; color: var(--green); flex: none; }



/* ============================================================
   6. TICKER
   ============================================================ */

.ticker {
  background: var(--grad-brand);
  color: #fff;
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 46px;
  padding-right: 46px;
  animation: slide 34s linear infinite;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 46px; }
.ticker__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.65); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   7. CARD GRIDS
   ============================================================ */

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

.card {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--blue);
  margin-bottom: 15px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { font-size: .96rem; color: var(--slate); line-height: 1.6; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--blue);
}
.card__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* why-us list on navy */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__item { padding-top: 24px; border-top: 2px solid rgba(255,255,255,.16); }
.why__item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why__item p { color: rgba(255,255,255,.68); font-size: .95rem; }
.why__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  margin-bottom: 18px;
  color: var(--lime);
}
.why__mark svg { width: 21px; height: 21px; }

/* ============================================================
   8. STATS, STEPS, QUOTE, CTA, FOOTER
   ============================================================ */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat__num {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { margin-top: 10px; color: var(--slate); font-weight: 600; font-size: .95rem; }

.quote {
  max-width: 44ch;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.quote__by { margin-top: 22px; font-family: 'Manrope', sans-serif; font-size: .95rem; font-weight: 600; color: var(--slate); }
.quote__stars { display: flex; gap: 4px; margin-bottom: 20px; color: #F5A623; }
.quote__stars svg { width: 20px; height: 20px; }

.cta-band {
  background: var(--grad-brand);
  color: #fff;
  padding: clamp(46px, 5.5vw, 74px) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 32px; }
.cta-band .btn--solid { background: #fff; color: var(--blue); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.cta-band .btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
}

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 54px 0 26px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--lime); }
.footer li { margin-bottom: 9px; }
.footer__logo { background: #fff; padding: 12px 16px; border-radius: 14px; display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 46px; width: auto; }
.footer__bar {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .87rem;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { min-height: 0; }
  .hero__canvas {
    -webkit-mask-image: linear-gradient(180deg, transparent 6%, rgba(0,0,0,.2) 40%, #000 78%);
            mask-image: linear-gradient(180deg, transparent 6%, rgba(0,0,0,.2) 40%, #000 78%);
    opacity: .5;
  }
  .grid-4, .why, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-4, .why, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__chips { gap: 12px 20px; }
}

/* ============================================================
   9. MOTION PREFERENCES
   ============================================================ */

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

/* ============================================================
   10. DEPTH SECTIONS — audiences, therapies, compliance, FAQ
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.split h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); margin-bottom: 18px; }
.split p.lead { color: var(--slate); font-size: 1.05rem; margin-bottom: 26px; }
.section--navy .split p.lead { color: rgba(255,255,255,.72); }

/* ---------- audience cards ---------- */
.serve {
  position: relative;
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.serve:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.serve__num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  color: rgba(64,97,150,.09);
  position: absolute;
  right: 16px; top: 8px;
}
.serve h3 { font-size: 1.14rem; margin-bottom: 9px; position: relative; }
.serve p { font-size: .95rem; color: var(--slate); position: relative; }

/* ---------- therapeutic area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 11px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 21px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: .97rem;
  transition: border-color .3s ease, transform .3s var(--ease), background .3s ease;
}
.chip::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}
.chip:hover { border-color: var(--green); transform: translateY(-3px); background: var(--mist); }

/* ---------- compliance badges ---------- */
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.badge {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}
.badge svg { width: 24px; height: 24px; color: var(--lime); flex: none; }
.badge b { display: block; font-family: 'Archivo', sans-serif; font-size: 1rem; margin-bottom: 3px; }
.badge span { font-size: .88rem; color: rgba(255,255,255,.64); line-height: 1.45; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; }
.acc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.acc.is-open { border-color: rgba(125,188,48,.55); box-shadow: var(--shadow); }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
}
.acc__sign { position: relative; width: 20px; height: 20px; flex: none; }
.acc__sign::before, .acc__sign::after {
  content: '';
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s ease;
}
.acc__sign::before { inset: 9px 0 auto 0; height: 2.5px; }
.acc__sign::after  { inset: 0 9px auto auto; width: 2.5px; height: 20px; }
.acc.is-open .acc__sign::after { transform: rotate(90deg); opacity: 0; }

.acc__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.acc__a p { padding: 0 24px 24px; color: var(--slate); font-size: 1rem; max-width: 72ch; }

@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }
}

/* ---------- scroll cue for the full-screen hero ---------- */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  opacity: .78;
  transition: opacity .3s ease;
}
.hero__cue:hover { opacity: 1; }
.hero__cue i {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(64,97,150,.42);
  border-radius: 14px;
  position: relative;
}
.hero__cue i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--blue);
  animation: wheel 1.9s var(--ease) infinite;
}
@keyframes wheel {
  0%   { transform: translateY(0);    opacity: 0; }
  20%  { opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}
@media (max-width: 1020px) { .hero__cue { display: none; } }

/* ============================================================
   11. PHOTOGRAPHY, PARALLAX AND PREMIUM FINISH
   ============================================================ */

/* very fine grain over the whole page — reads as print, not pixels */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- parallax photo bands ---------- */
.section--photo {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.section--photo .wrap { position: relative; z-index: 3; }
.section--photo .section__head p,
.section--photo .split p.lead { color: rgba(255,255,255,.76); }
.section--photo .checklist li { border-color: rgba(255,255,255,.16); }
.section--photo .checklist li span { color: rgba(255,255,255,.68); }

.pbg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.pbg img {
  position: absolute;
  left: 0; top: -14%;
  width: 100%; height: 128%;
  object-fit: cover;
  will-change: transform;
}
.pbg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(15,32,58,.94) 0%, rgba(15,32,58,.80) 46%, rgba(27,58,107,.58) 100%);
}
.pbg--soft::after {
  background: linear-gradient(100deg, rgba(125,188,48,.92) 0%, rgba(46,155,232,.84) 52%, rgba(64,97,150,.88) 100%);
}

/* ---------- the ordering flow, pinned while it scrolls ---------- */
.flow { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(30px, 3.5vw, 58px); align-items: start; }
.flow__aside { position: sticky; top: calc(var(--nav-h-sm) + 34px); }
.flow__aside h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.flow__aside p { color: var(--slate); margin-bottom: 26px; }

.flow__track { counter-reset: fl; }
.flow__item {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.flow__item:first-child { border-top: 0; padding-top: 0; }
.flow__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow__body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.flow__body p { color: var(--slate); font-size: 1rem; }
.flow__step {
  counter-increment: fl;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--blue);
}
.flow__step::before {
  content: counter(fl, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: .88rem;
}
.flow__shot {
  border-radius: 18px;
  overflow: hidden;
  min-height: 216px;
  box-shadow: var(--shadow);
}
.flow__shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reveal variants, so not everything rises the same way ---------- */
.js .reveal--left  { transform: translateX(-34px); }
.js .reveal--right { transform: translateX(34px); }
.js .reveal--zoom  { transform: scale(.94); }
.js .reveal--left.in, .js .reveal--right.in, .js .reveal--zoom.in { transform: none; }

/* image wipes in rather than fading */
.js .reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease);
}
.js .reveal-img.in { clip-path: inset(0 0 0 0); }

/* ---------- premium detailing ---------- */
.section--photo .stat__num {
  background: linear-gradient(100deg, var(--lime), #BFE9FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--photo .stat__label { color: rgba(255,255,255,.72); }

.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band .wrap { position: relative; z-index: 3; }

@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr; }
  .flow__aside { position: static; }
  .flow__item { grid-template-columns: 1fr; }
  .mock { order: -1; }
}

/* ---------- footer credit ---------- */
.footer__credit a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.32);
  padding-bottom: 1px;
}
.footer__credit a:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- floating WhatsApp ---------- */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 940;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7), 0 4px 10px rgba(0,0,0,.16);
  transition: transform .3s var(--ease), box-shadow .3s ease, opacity .3s ease;
}
.wa svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.wa:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 34px -8px rgba(37,211,102,.85); }

.wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .5; }
  70%  { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* stay out of the way when the mobile menu is open */
.is-menu-open .wa { opacity: 0; pointer-events: none; }

@media (max-width: 620px) {
  .wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa svg { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) { .wa__pulse { display: none; } }

/* ---------- closing band with the quick enquiry form ---------- */
.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;
}

.cta-band { text-align: left; }
.cta-band__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 46ch; margin: 0 0 22px; }
.cta-band__phone { margin-top: 4px; }

.quickform {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
          backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 22px 50px -22px rgba(10,26,48,.55);
}
.quickform h3 { font-size: 1.15rem; margin-bottom: 16px; color: #fff; }
.quickform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

.quickform input,
.quickform textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.92);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.quickform textarea { resize: vertical; min-height: 84px; margin-bottom: 14px; }
.quickform input::placeholder,
.quickform textarea::placeholder { color: #7C8CA3; }
.quickform input:focus,
.quickform textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(125,188,48,.28);
}
.quickform .is-empty { border-color: #E2574C; box-shadow: 0 0 0 4px rgba(226,87,76,.22); }

.quickform__send {
  width: 100%;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(37,211,102,.9);
}
.quickform__send:hover { background: #1FBE5B; transform: translateY(-2px); }
.quickform__send svg { width: 19px; height: 19px; }
.quickform__note { font-size: .82rem; color: rgba(255,255,255,.74); margin: 12px 0 0; max-width: none; }

@media (max-width: 1020px) {
  .cta-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .quickform__row { grid-template-columns: 1fr; }
}

/* ============================================================
   12. STOCK TILES, CUSTODY CHAIN, FLOW MOCKS
   ============================================================ */

/* ---------- what we stock ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 26px 26px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease;
}
.tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }

/* a soft colour wash that grows on hover */
.tile__glow {
  position: absolute;
  top: -70px; right: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: var(--grad-brand);
  opacity: .12;
  filter: blur(6px);
  transition: transform .6s var(--ease), opacity .4s ease;
}
.tile:hover .tile__glow { transform: scale(1.35); opacity: .2; }

.tile__media {
  position: relative;
  z-index: 2;
  margin: 0 -26px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  /* brand wash behind the photo, so a slow load is never a blank white box */
  background: var(--grad-soft);
}
.tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.1s var(--ease);
}
.tile:hover .tile__media img { transform: scale(1.13); }
.tile__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,32,58,.04) 0%, rgba(15,32,58,.3) 100%);
}

.tile__icon {
  position: relative;
  z-index: 3;
  margin-top: -38px;
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px -12px rgba(15,32,58,.5);
  transition: transform .45s var(--ease);
}
.tile__icon svg { width: 34px; height: 34px; }
.tile:hover .tile__icon { transform: translateY(-3px) rotate(-4deg); }

.tile h3 { position: relative; font-size: 1.24rem; margin-bottom: 10px; }
.tile > p { position: relative; font-size: .95rem; color: var(--slate); line-height: 1.6; }

.tile__tags {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: 18px 0 0;
}
.tile__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
}
.tile .card__link { position: relative; margin-top: auto; padding-top: 20px; }

/* ---------- chain of custody ---------- */
.chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
/* the line the markers sit on */
.chain::before {
  content: '';
  position: absolute;
  left: 34px; right: 34px; top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--azure), var(--blue));
  opacity: .34;
}
.chain__step { position: relative; padding-right: 12px; }
.chain__mark {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--blue);
  margin-bottom: 20px;
  transition: border-color .4s ease, transform .4s var(--ease), box-shadow .4s ease;
}
.chain__mark svg { width: 28px; height: 28px; }
.chain__step:hover .chain__mark {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -12px rgba(46,155,232,.7);
  background: var(--grad-brand);
  color: #fff;
}
.chain__step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.chain__step p { font-size: .94rem; color: var(--slate); line-height: 1.6; }

/* ---------- mock panels beside the ordering steps ---------- */
.mock {
  position: relative;
  height: 100%;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(27,58,107,.4);
  overflow: hidden;
}
.mock::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
}

/* chat bubbles */
.bubble {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.5;
}
.bubble--them {
  align-self: flex-start;
  background: var(--mist);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.bubble--us {
  align-self: flex-end;
  background: #DCF8C6;
  border: 1px solid rgba(37,211,102,.34);
  border-bottom-right-radius: 5px;
}
.bubble b { display: block; font-weight: 700; margin-bottom: 3px; }

/* confirmation checklist */
.mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  font-weight: 600;
}
.mock__row:last-of-type { border-bottom: 0; }
.mock__row i {
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
}
.mock__row i svg { width: 13px; height: 13px; }
.mock__row span { margin-left: auto; font-weight: 600; color: var(--green); font-size: .84rem; }

/* dispatch */
.mock__parcel {
  display: grid;
  place-items: center;
  padding: 8px 0 14px;
  color: var(--blue);
}
.mock__parcel svg { width: 72px; height: 72px; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mock__chips span {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- pattern layer for the photo-free parallax bands ---------- */
.pbg__pattern {
  position: absolute;
  z-index: 3;            /* above the colour overlay, below the text */
  left: 0; top: -16%;
  width: 100%; height: 132%;
  opacity: .16;
  will-change: transform;
  background-repeat: repeat;
  background-size: 190px 190px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.1' opacity='.55'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Ccircle cx='125' cy='68' r='5'/%3E%3Ccircle cx='62' cy='140' r='5'/%3E%3Ccircle cx='158' cy='158' r='5'/%3E%3Cpath d='M35 30h85M128 74l-62 62M67 140h86M30 35v100'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.3'%3E%3Crect x='96' y='24' width='26' height='12' rx='6'/%3E%3Crect x='20' y='160' width='26' height='12' rx='6'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 1020px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .chain::before { display: none; }
}
@media (max-width: 620px) {
  .tiles { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
}
