/* Zoya Technologies Ltd — site styles
   Palette derived from the logo mark: leaf green to ocean blue on navy ink. */

:root {
  --ink: #0f1e3a;
  --ink-soft: #46536d;
  --ink-faint: #7b8699;
  --paper: #ffffff;
  --mist: #eef3f7;
  --line: #dde5ec;
  --leaf: #2aa828;
  --leaf-bright: #66cc13;
  --current: #0061c0;
  --current-bright: #0fa3e8;
  --grad: linear-gradient(135deg, var(--leaf-bright) 0%, var(--leaf) 38%, var(--current) 78%, var(--current-bright) 100%);
  --wrap: 1120px;
  --step: clamp(88px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--current); text-decoration: none; }
a:hover { text-decoration: underline; }

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

:focus-visible {
  outline: 3px solid var(--current);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 99;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; }

.brand-name {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}
.nav .btn { flex-shrink: 0; }
.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--leaf);
}
/* the CTA in the nav is a button first, a nav link second */
.nav a.btn {
  padding: 11px 20px;
  border-bottom: 1px solid transparent;
}
.nav a.btn-primary,
.nav a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

.btn {
  display: inline-block;
  white-space: nowrap;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { filter: saturate(115%) brightness(1.04); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--ink-faint); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -90px;
  width: 620px;
  height: 620px;
  background: url("../img/zoya-mark.png") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 17ch;
}

.hero-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags { list-style: none; }
.hero-tags li {
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
  background: #fff;
}
.hero-tags { padding: 0; margin: 0; }

/* company record panel */

.record {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.record-bar { height: 4px; background: var(--grad); }
.record h2 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 20px 24px 0;
}
.record-note {
  font-size: 13.5px;
  color: var(--ink-faint);
  padding: 6px 24px 16px;
  margin: 0;
  line-height: 1.5;
}
.record dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.record-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
}
.record-row:last-child { border-bottom: 0; }
.record dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
  line-height: 1.5;
}
.record dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- sections ---------- */

.band { padding: var(--step) 0; }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: #fff; }
.band-line { border-top: 1px solid var(--line); }

.head-block { max-width: 680px; margin-bottom: 52px; }
.head-block h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.head-block p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 60ch;
}
.band-ink .head-block p { color: rgba(255, 255, 255, 0.72); }

/* hairline grid of capabilities */

.grid-hairline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.grid-hairline > article {
  background: #fff;
  padding: 34px 30px 36px;
}
.band-mist .grid-hairline > article { background: #fff; }

.rule {
  width: 38px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin-bottom: 20px;
}
.grid-hairline h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}
.grid-hairline p {
  font-size: 15.2px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* product rows */

.products { border-top: 1px solid var(--line); }
.legal ul, .checklist, .site-foot ul { list-style-position: outside; }
.product {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.product h3 { font-size: 1.35rem; margin-bottom: 10px; }
.product .meta { font-size: 14px; color: var(--ink-faint); }
.product p { font-size: 15.6px; color: var(--ink-soft); }

.pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
  margin-bottom: 12px;
}
.pill-live { color: #146c1f; border-color: #b9e0bb; background: #f1faf1; }
.pill-build { color: #0b4f92; border-color: #bcd8f4; background: #f0f6fd; }

/* process */

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
}
.steps > li {
  list-style: none;
  background: var(--ink);
  padding: 28px 24px 30px;
}
.step-n {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--leaf-bright);
  display: block;
  margin-bottom: 14px;
}
.steps h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.steps p {
  font-size: 14.4px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* split content */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.split-copy p { color: var(--ink-soft); }

.checklist { margin: 0; padding: 0; }
.checklist li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.6px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
}
.checklist strong { color: var(--ink); font-weight: 600; }

/* stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.stats > div { background: #fff; padding: 26px 24px; }
.stats .n {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  display: block;
}
.stats .l {
  font-size: 14px;
  color: var(--ink-faint);
  margin-top: 4px;
  display: block;
  line-height: 1.45;
}

/* CTA */

.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: clamp(38px, 5vw, 58px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  max-width: 20ch;
  margin-bottom: 14px;
}
.cta p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 56ch;
  margin-bottom: 26px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--current); outline: none; box-shadow: 0 0 0 3px rgba(0, 97, 192, 0.12); }

.form-note { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }

.detail-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.detail-card .record-bar { height: 4px; background: var(--grad); }
.detail-card .inner { padding: 26px 24px; }
.detail-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.detail-card dl { margin: 0; }
.detail-card dt {
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 500;
  margin-top: 16px;
}
.detail-card dt:first-child { margin-top: 0; }
.detail-card dd { margin: 3px 0 0; font-size: 15.2px; font-weight: 500; }

/* legal pages */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal .updated { color: var(--ink-faint); font-size: 14.5px; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.06rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; }

.page-head {
  padding: clamp(52px, 6vw, 80px) 0 clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 17ch;
  margin-bottom: 18px;
}
.page-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 58ch;
}

/* footer */

.site-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 30px;
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-foot h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 10px; }
.site-foot a { color: rgba(255, 255, 255, 0.72); }
.site-foot a:hover { color: #fff; }
.foot-brand img { height: 42px; margin-bottom: 16px; }
.foot-brand p { font-size: 14.6px; max-width: 34ch; line-height: 1.6; }
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13.6px;
  color: rgba(255, 255, 255, 0.55);
}
.foot-addr { font-style: normal; font-size: 14.6px; line-height: 1.65; }

/* entrance: one orchestrated reveal on load, nothing else */

.reveal { opacity: 0; transform: translateY(14px); }
.loaded .reveal {
  animation: rise 0.62s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.loaded .reveal:nth-child(2) { animation-delay: 0.07s; }
.loaded .reveal:nth-child(3) { animation-delay: 0.14s; }
.loaded .reveal:nth-child(4) { animation-delay: 0.2s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .loaded .reveal { opacity: 1; transform: none; animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-hairline { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product { grid-template-columns: 1fr; gap: 14px; }
  .hero::after { width: 420px; right: -150px; }
}

@media (max-width: 720px) {
  body { font-size: 16.2px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--current); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .site-head { position: relative; }
  .grid-hairline, .steps, .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .record-row { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 18px; }
  .record h2, .record-note { padding-left: 18px; padding-right: 18px; }
  .hero::after { width: 300px; right: -120px; top: -40px; opacity: 0.04; }
}

/* ---------- product visuals ---------- */

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  font-size: 13.5px;
  color: var(--ink-faint);
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.section-shot { margin-top: 48px; }

@media (max-width: 980px) {
  .shots { grid-template-columns: 1fr; }
}

/* ==========================================================
   Motion, photography and interaction
   ========================================================== */

/* header condenses once the page scrolls */
.site-head { transition: box-shadow .25s ease, background .25s ease; }
.site-head.scrolled {
  box-shadow: 0 6px 24px rgba(15, 30, 58, 0.07);
  background: rgba(255, 255, 255, 0.97);
}
.site-head.scrolled .head-inner { min-height: 62px; }
.head-inner { transition: min-height .25s ease; }
.brand img { transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }

/* scroll-triggered entrances */
[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
[data-rise].in { opacity: 1; transform: none; }

/* photography */
.photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink) var(--grad);
  background-blend-mode: normal;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 7s ease-out;
}
.photo:hover img { transform: scale(1.05); }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,30,58,0) 45%, rgba(15,30,58,.66) 100%);
}
.photo-cap {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 18px;
  text-align: left;
  z-index: 2;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(15,30,58,.5);
}

/* hero collage */
.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 4 / 3.1; }
.float-card {
  position: absolute;
  left: -28px;
  bottom: -34px;
  width: 264px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(15, 30, 58, 0.14);
  padding: 16px 18px;
  z-index: 3;
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card .fc-label { font-size: 12px; color: var(--ink-faint); }
.float-card .fc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 500;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot-safe { background: #2AA828; }
.dot-warn { background: #E08A00; }
.dot-exp { background: #C8322B; }
.fc-bar { height: 6px; border-radius: 3px; background: #EEF3F7; margin-top: 14px; overflow: hidden; }
.fc-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad); transition: width 1.4s cubic-bezier(.2,.7,.3,1); }

/* company facts strip under the hero */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}
.facts-grid > div { background: var(--mist); padding: 20px 22px; }
.facts dt { font-size: 12px; color: var(--ink-faint); margin-bottom: 5px; }
.facts dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; }

/* page-head banner */
.page-head.banner {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  color: #fff;
  background: var(--ink);
}
.page-head.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 460px at 78% -10%, rgba(102,204,19,.30), transparent 60%),
              radial-gradient(900px 480px at 100% 110%, rgba(15,163,232,.32), transparent 62%);
}
.page-head.banner .bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: grayscale(30%);
}
.page-head.banner .wrap { position: relative; z-index: 2; }
.page-head.banner h1 { color: #fff; }
.page-head.banner p { color: rgba(255,255,255,.78); }
.page-head.banner .mark-ghost {
  position: absolute;
  right: -70px;
  top: -60px;
  width: 380px;
  opacity: .10;
  z-index: 1;
  animation: bob 9s ease-in-out infinite;
}

/* service icons */
.ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(102,204,19,.14), rgba(15,163,232,.16));
  margin-bottom: 18px;
}
.ico svg { width: 23px; height: 23px; stroke: var(--current); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* card interaction */
.grid-hairline > article {
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
.grid-hairline > article:hover { transform: translateY(-5px); background: #fdfefe; }
.grid-hairline > article:hover .ico { background: linear-gradient(135deg, rgba(102,204,19,.24), rgba(15,163,232,.26)); }
.product { transition: background .3s ease; }
.product:hover { background: rgba(238, 243, 247, .45); }
.shot { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15,30,58,.10); }
.btn { transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(0, 97, 192, .28); }

/* animated counters */
.stats .n { font-variant-numeric: tabular-nums; }

/* interactive expiry demo */
.demo {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 28px 30px 32px;
  margin-top: 48px;
}
.demo h3 { font-size: 1.15rem; margin-bottom: 6px; }
.demo > p { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; max-width: 62ch; }
.demo-state {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.state-chip {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.state-safe { background: #F1FAF1; color: #146C1F; border-color: #B9E0BB; }
.state-warn { background: #FEF6E7; color: #8A5400; border-color: #F0D9A8; }
.state-exp  { background: #FDF1F0; color: #97231D; border-color: #EFC0BC; }
.state-msg { font-size: 15px; color: var(--ink-soft); }
.demo-slider { display: block; width: 100%; margin: 6px 0 10px; accent-color: var(--current); height: 26px; cursor: grab; }
.demo-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-faint); }
.demo-days { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 44px 22px 0;
  font-family: Archivo, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.acc-btn::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}
.acc-item.open .acc-btn::after { transform: translateY(-20%) rotate(-135deg); }
.acc-panel { overflow: hidden; height: 0; transition: height .34s cubic-bezier(.2,.7,.3,1); }
.acc-panel p { font-size: 15.6px; color: var(--ink-soft); padding: 0 40px 22px 0; margin: 0; }

@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { left: 12px; bottom: -26px; width: 240px; }
  .hero-media { margin-bottom: 46px; }
}
@media (max-width: 720px) {
  .facts-grid { grid-template-columns: 1fr; }
  .page-head.banner .mark-ghost { width: 220px; right: -60px; }
  .demo { padding: 22px 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-rise] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-card, .page-head.banner .mark-ghost { animation: none; }
  .photo img, .btn, .grid-hairline > article, .shot { transition: none; }
  .photo:hover img, .btn:hover, .grid-hairline > article:hover, .shot:hover { transform: none; }
}

/* ==========================================================
   Image-led layout: flanked hero, bento grid, people strip
   ========================================================== */

/* hero with a photo panel either side of the copy */
.hero-flank {
  display: grid;
  grid-template-columns: .9fr 1.95fr .9fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(48px, 6vw, 86px) 0 clamp(40px, 5vw, 70px);
}
.hero-flank .panel {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
  background: var(--grad);
  position: relative;
}
.hero-flank .panel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 9s ease-out;
}
.hero-flank .panel:hover img { transform: scale(1.06); }
.hero-centre { text-align: center; padding: 0 clamp(0px, 1.5vw, 24px); }
.hero-centre h1 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: 0 auto 20px;
  max-width: 21ch;
}
.hero-centre .hero-lede {
  margin: 0 auto 30px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}
.hero-centre .hero-actions { justify-content: center; }
.hero-centre .hero-tags { justify-content: center; }

/* bento grid of photo tiles and colour cards */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 28px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15,30,58,.13); }
.tile h3 { font-size: 1.42rem; line-height: 1.12; margin-bottom: 14px; }
.tile p { font-size: 15.4px; line-height: 1.55; margin: 0; }

.tile-photo { padding: 0; background: var(--grad); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 9s ease-out; }
.tile-photo:hover img { transform: scale(1.07); }

.tile-ink { background: var(--ink); color: #fff; }
.tile-ink h3 { color: #fff; }
.tile-ink p { color: rgba(255,255,255,.76); }

.tile-grad { background: var(--grad); color: #fff; }
.tile-grad h3 { color: #fff; }
.tile-grad p { color: rgba(255,255,255,.88); }

.tile-outline { background: #fff; border: 1.5px solid var(--leaf); }
.tile-outline h3 { color: var(--leaf); }
.tile-outline p { color: var(--ink-soft); }

.tile-outline-blue { background: #fff; border: 1.5px solid var(--current); }
.tile-outline-blue h3 { color: var(--current); }
.tile-outline-blue p { color: var(--ink-soft); }

.tile .tile-ico {
  width: 42px; height: 42px;
  margin-bottom: 20px;
  display: grid; place-items: center;
}
.tile .tile-ico svg { width: 34px; height: 34px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile-ink .tile-ico svg, .tile-grad .tile-ico svg { stroke: #fff; }
.tile-outline .tile-ico svg { stroke: var(--leaf); }
.tile-outline-blue .tile-ico svg { stroke: var(--current); }

.tile-tall { grid-row: span 2; min-height: 618px; }

/* people strip */
.strip { overflow: hidden; padding: 8px 0 4px; }
.strip-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: slide 58s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip figure {
  margin: 0;
  width: 210px;
  height: 272px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--mist);
}
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip-mask {
  position: relative;
}
.strip-mask::before, .strip-mask::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.strip-mask::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.strip-mask::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }


@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-tall { grid-row: span 1; min-height: 300px; }
}
@media (max-width: 900px) {
  .hero-flank { grid-template-columns: 1fr; gap: 30px; }
  .hero-flank .panel { aspect-ratio: 16 / 10; }
  .hero-flank .panel-b { display: none; }
  .hero-centre { order: -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 250px; }
  .strip figure { width: 150px; height: 200px; }
  .strip-mask::before, .strip-mask::after { width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .tile:hover { transform: none; box-shadow: none; }
  .tile-photo:hover img, .hero-flank .panel:hover img { transform: none; }
}
