/* Aniff Global Ventures — site styles, following the brand identity guidelines.
   Brand colours: sky #00B0F1, red #F22F39, navy #363780, white. Typeface: Poppins.
   Brand devices used: the navy + red stationery stripe with its angled notch,
   and the swatch shape with one large rounded corner. */

:root {
  --navy: #363780;
  --navy-deep: #25265C;
  --sky: #00B0F1;
  --sky-pale: #E6F7FE;
  --red: #F22F39;
  --white: #FFFFFF;
  --text: #24254A;
  --muted: #5B5C7A;
  --line: #DCDEEC;
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
  --wrap: 74rem;
  --corner: 0 3rem 0 0;          /* brand swatch shape */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --step--1: 0.875rem;
  --step0: 1rem;
  --step1: 1.2rem;
  --step2: 1.45rem;
  --step3: clamp(1.7rem, 3.4vw, 2.3rem);
  --step4: clamp(2.3rem, 5.6vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step0);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { text-wrap: balance; color: var(--navy); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: var(--step4); }
h2 { font-size: var(--step3); }
h3 { font-size: var(--step1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: var(--step1); font-weight: 300; color: var(--text); line-height: 1.6; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: 0.5rem 1rem; z-index: 50; }

/* Brand stripe: navy over red, with the angled notch from the stationery */
.stripe { position: relative; height: 22px; overflow: hidden; }
.stripe::before, .stripe::after { content: ""; position: absolute; left: 0; right: 0; }
.stripe::before {
  top: 0; height: 14px; background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 63% 100%, 61.2% 58%, 0 58%);
}
.stripe::after { bottom: 0; height: 5px; background: var(--red); }
.stripe-thin { height: 9px; }
.stripe-thin::before { height: 5px; clip-path: none; }
.stripe-thin::after { height: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(37, 38, 92, 0.1); }
.header-inner { display: flex; align-items: center; gap: 0.75rem 2.25rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { margin-right: auto; display: block; }
.brand img { height: 60px; width: auto; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { position: relative; color: var(--navy); text-decoration: none; font-weight: 500; padding: 0.3rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  border: 2px solid var(--navy); background: var(--navy); color: var(--white);
  font: inherit; font-weight: 500; line-height: 1.3; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.925rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Hero */
.hero { position: relative; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: -8vw;
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; background: var(--sky-pale);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { max-width: 42ch; }
.hero-note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.hero-note a { font-weight: 500; }

.porthole { position: relative; width: min(100%, 480px); margin-left: auto; aspect-ratio: 1; }
.porthole-photo {
  position: absolute; inset: 5.5%; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 0 10px var(--white), 0 24px 60px rgba(37, 38, 92, 0.22);
}
.porthole-photo img { width: 100%; height: 100%; object-fit: cover; }
.porthole-inner, .porthole-badge-wrap { position: absolute; inset: 0; }
.porthole-rim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.porthole-rim circle { fill: none; stroke-linecap: round; }
.rim-sky { stroke: var(--sky); stroke-width: 2.6; }
.rim-red { stroke: var(--red); stroke-width: 2.6; }
.porthole-badge {
  position: absolute; left: -2%; bottom: 4%; width: 36%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 6px solid var(--white);
  box-shadow: 0 14px 34px rgba(37, 38, 92, 0.25);
}
.porthole-badge img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sky { background: var(--sky-pale); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 42rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-navy .section-head p { color: #C9CAEB; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product { display: flex; flex-direction: column; border-radius: var(--corner); }
.product-photo { border-radius: var(--corner); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky-pale); margin-bottom: 1.25rem; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product:hover .product-photo img { transform: scale(1.05); }
.product p { color: var(--muted); }
.more { margin-top: auto; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.more span { transition: transform 0.25s var(--ease); }
.more:hover span { transform: translateX(4px); }

/* Uses */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.uses li { padding: 1.5rem 1.25rem 1.25rem; border-radius: var(--corner); background: rgba(255, 255, 255, 0.07); border-top: 4px solid var(--sky); }
.uses h3 { margin-bottom: 0.35rem; }
.uses p { color: #D3D4EF; margin: 0; font-size: 0.95rem; }
.uses .icon { width: 40px; height: 40px; margin-bottom: 0.9rem; color: var(--sky); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-photo { border-radius: var(--corner); overflow: hidden; aspect-ratio: 3 / 2; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { margin: 2rem 0 0; padding: 1.5rem 1.75rem; background: var(--white); border-radius: var(--corner); border-left: 5px solid var(--red); }
.quote p { font-size: 1.08rem; font-style: italic; color: var(--navy); line-height: 1.6; }
.quote footer { color: var(--muted); font-size: var(--step--1); font-weight: 500; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; margin: 0; }
.values div { padding-top: 1.1rem; border-top: 3px solid var(--navy); }
.values div:nth-child(3n+2) { border-top-color: var(--sky); }
.values div:nth-child(3n) { border-top-color: var(--red); }
.values dt { font-weight: 700; color: var(--navy); font-size: var(--step1); margin-bottom: 0.35rem; }
.values dd { margin: 0; color: var(--muted); }

/* Call to action */
.cta { background: var(--sky-pale); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-card {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem;
  background: var(--navy); color: var(--white); border-radius: 0 4rem 0 0;
  padding: clamp(2rem, 5vw, 3.25rem);
}
.cta h2 { color: var(--white); margin-bottom: 0.3em; }
.cta p { color: #D3D4EF; margin: 0; }
.cta .actions { margin-top: 0; }
.cta .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.cta .btn:hover { background: var(--sky-pale); border-color: var(--sky-pale); color: var(--navy); }
.cta .btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.cta .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* Inner page header */
.page-head { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: var(--sky-pale); overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 36px solid rgba(0, 176, 241, 0.18);
}
.page-head h1 { max-width: 18ch; position: relative; z-index: 1; }
.page-head .lede { position: relative; z-index: 1; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem 3.5rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; align-items: start; }
.product-detail:last-child { border-bottom: 0; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.detail-cols h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.detail-cols ul { margin: 0; padding: 0; list-style: none; }
.detail-cols li { position: relative; padding-left: 1.3rem; margin-bottom: 0.35rem; }
.detail-cols li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--sky); }

/* Mission / vision */
.statements { display: grid; gap: 1.5rem; margin: 0; }
.statements div { padding: 1.5rem 1.75rem; background: var(--sky-pale); border-radius: var(--corner); }
.statements dt { font-weight: 700; color: var(--navy); font-size: var(--step1); margin-bottom: 0.35rem; }
.statements dd { margin: 0; color: var(--text); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem 4rem; align-items: start; }
.form-card { padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--corner); box-shadow: 0 16px 40px rgba(37, 38, 92, 0.07); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 0.35rem; }
.hint { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white);
  padding: 0.75rem 0.9rem; border: 1.5px solid #B9BBD6; border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 176, 241, 0.2); outline: none; }
textarea { min-height: 8.5rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #16713A; }
.form-status.err { color: #B3141D; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 500; }
.contact-list a { font-weight: 500; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9CAEB; font-size: 0.95rem; }
.footer-body { padding: 3rem 0 2rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sky); }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 0.6rem; letter-spacing: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; }
.legal p { margin: 0; max-width: none; }

/* Mobile action bar */
.action-bar { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .porthole { width: min(84%, 380px); margin: 0 auto; }
  .hero::before { width: 110vw; height: 110vw; right: -40vw; top: auto; bottom: -30vw; }
  .products { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .product-detail { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .header-inner > .btn { display: none; }
  .brand img { height: 42px; }
  .site-nav { gap: 1.1rem; font-size: 0.95rem; }
  .products, .detail-cols, .row-2, .footer-grid { grid-template-columns: 1fr; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--white); box-shadow: 0 -6px 24px rgba(37, 38, 92, 0.14);
  }
  .action-bar .btn { padding: 0.6rem 0.4rem; font-size: 0.85rem; white-space: nowrap; }
  .action-bar .btn:hover { transform: none; }
}
@media (max-width: 560px) {
  .uses, .values { grid-template-columns: 1fr; }
  .site-nav { gap: 0.9rem; }
  .wrap { padding: 0 1rem; }
}
@media (max-width: 400px) {
  .site-nav a[href="/"] { display: none; }
}


/* ------------------------------------------------------------------
   Motion. Everything below runs only when the visitor allows motion;
   with reduced motion on, the site shows every element in place.
   ------------------------------------------------------------------ */

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 40;
  background: linear-gradient(90deg, var(--sky), var(--red));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.ripples, .marquee-track { pointer-events: none; }
.ripples { position: absolute; inset: 0; z-index: -1; }
.ripples span { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }

/* Marquee band */
.marquee { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; }
.marquee-group span { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; color: var(--navy); white-space: nowrap; letter-spacing: -0.01em; }
.marquee-group span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee-group i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 6px solid var(--sky); }
.marquee-group i:nth-of-type(2n) { border-color: var(--red); }

/* Section heading accent bar */
.section-head h2::after {
  content: ""; display: block; width: 72px; height: 5px; margin-top: 0.9rem; border-radius: 3px;
  background: linear-gradient(90deg, var(--sky) 0 62%, var(--red) 62% 100%);
}
.values div { position: relative; border-top: 0; }
.values div::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy);
}
.values div:nth-child(3n+2)::before { background: var(--sky); }
.values div:nth-child(3n)::before { background: var(--red); }

/* CTA waves */
.cta-card > * { position: relative; z-index: 1; }
.cta-waves { position: absolute !important; z-index: 0 !important; left: 0; bottom: 0; width: 200%; height: 70px; }
.cta-waves path { fill: var(--sky); }
.cta-waves .w2 { fill: var(--white); opacity: 0.08; }
.cta-waves .w1 { opacity: 0.22; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.35s var(--ease) both page-out; }
  ::view-transition-new(root) { animation: 0.5s var(--ease) both page-in; }

  /* Hero entrance */
  .hero h1 .line > span { animation: line-up 0.9s var(--ease) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
  .hero-copy > :not(h1) { animation: rise 0.8s var(--ease) both; }
  .hero-copy > .lede { animation-delay: 0.45s; }
  .hero-copy > .actions { animation-delay: 0.6s; }
  .hero-copy > .hero-note { animation-delay: 0.75s; }
  .hero::before { animation: bubble 1.4s var(--ease) both; }
  .porthole-inner { animation: spin-in 1.3s var(--ease) 0.15s both; }
  .porthole-rim circle, .porthole-rim path { stroke-dasharray: 100 100; stroke-dashoffset: 100; animation: draw 1.4s var(--ease) 0.5s forwards; }
  .porthole-rim .rim-red { animation-delay: 1s; }
  .porthole-rim .spin { transform-origin: 50px 50px; animation: rotate 14s linear 2.3s infinite; }
  .porthole-badge { animation: pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both, bob 5s ease-in-out 2s infinite; }
  .ripples span { animation: ripple 4.5s ease-out infinite; }
  .ripples span:nth-child(2) { animation-delay: 1.5s; }
  .ripples span:nth-child(3) { animation-delay: 3s; }
  .porthole { transition: transform 0.4s var(--ease); transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px), 0); }
  .porthole-badge-wrap { position: absolute; inset: 0; transition: transform 0.4s var(--ease); transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -22px), 0); }

  /* Flowing water in the stripe */
  .stripe-flow::before {
    background-image: linear-gradient(90deg, transparent 0 55%, var(--sky) 55% 68%, transparent 68% 100%);
    background-size: 340px 100%; background-color: var(--navy);
    animation: flow 2.6s linear infinite;
  }
  .stripe-anim::before, .stripe-anim::after { animation: slide 1.1s var(--ease) 0.2s both, flow 2.6s linear 1.3s infinite; }
  .stripe-anim::after { animation: slide 1.1s var(--ease) 0.35s both; }

  /* Marquee */
  .marquee-track { animation: marquee 28s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  /* Scroll reveals */
  .js [data-reveal] { opacity: 0; transform: translateY(60px) scale(0.96); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
  .js [data-reveal="left"] { transform: translateX(-80px); }
  .js [data-reveal="right"] { transform: translateX(80px); }
  .js [data-reveal="pop"] { transform: scale(0.85); }
  .js [data-reveal].in { opacity: 1; transform: none; }

  /* Photo curtain wipe */
  .js [data-reveal] .product-photo, .js [data-reveal] .split-photo { position: relative; }
  .js [data-reveal] .product-photo::after, .js [data-reveal] .split-photo::after {
    content: ""; position: absolute; inset: 0; background: var(--sky);
    transform-origin: right; transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1); transition-delay: calc(var(--delay, 0s) + 0.15s);
  }
  .js [data-reveal].in .product-photo::after, .js [data-reveal].in .split-photo::after { transform: scaleX(0); }
  .js [data-reveal] .split-photo img, .js [data-reveal] .product-photo img { transform: scale(1.25); transition: transform 1.4s var(--ease); transition-delay: calc(var(--delay, 0s) + 0.15s); }
  .js [data-reveal].in .split-photo img, .js [data-reveal].in .product-photo img { transform: none; }

  /* Heading bars and value bars grow in */
  .js [data-reveal] h2::after { transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.35s; }
  .js [data-reveal].in h2::after { transform: none; }
  .js .values [data-reveal]::before { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); transition-delay: calc(var(--delay, 0s) + 0.25s); }
  .js .values [data-reveal].in::before { transform: none; }

  /* Icons draw themselves */
  .js .uses [data-reveal] .icon path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--delay, 0s) + 0.3s); }
  .js .uses [data-reveal].in .icon path { stroke-dashoffset: 0; }

  /* Hover */
  .product { transition: translate 0.4s var(--ease); }
  .product:hover { translate: 0 -10px; }
  .product:hover .product-photo { box-shadow: 0 22px 44px rgba(37, 38, 92, 0.22); }
  .product-photo { transition: box-shadow 0.4s var(--ease); }
  .product:hover .product-photo img { transform: scale(1.12) rotate(1deg); }
  .uses li { transition: translate 0.35s var(--ease), background-color 0.35s ease, opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: 0s, 0s, var(--delay, 0s), var(--delay, 0s); }
  .uses li:hover { translate: 0 -10px; background: rgba(0, 176, 241, 0.16); }
  .uses li:hover .icon { animation: wiggle 0.6s var(--ease); }
  .btn::after {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg); transition: left 0.6s var(--ease);
  }
  .btn:hover::after { left: 120%; }
  .hero .actions .btn:first-child { animation: rise 0.8s var(--ease) 0.6s both, pulse 2.4s ease-in-out 2.5s 3; }

  /* Inner page headers */
  .page-head h1, .page-head .lede, .page-head .actions { animation: rise 0.8s var(--ease) both; }
  .page-head .lede { animation-delay: 0.15s; }
  .page-head .actions { animation-delay: 0.3s; }
  .page-head::after { animation: spin-in 1.2s var(--ease) both, rotate 30s linear 1.2s infinite; border-top-color: rgba(242, 47, 57, 0.35); }

  /* CTA waves */
  .cta-waves { animation: waves 9s linear infinite; }
  .cta-waves .w2 { animation: waves 6s linear infinite reverse; }
}

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes bubble { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-120deg) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes ripple { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes flow { from { background-position-x: 0; } to { background-position-x: 340px; } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(8deg) scale(1.1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(54, 55, 128, 0.45); } 50% { box-shadow: 0 0 0 14px rgba(54, 55, 128, 0); } }
@keyframes waves { to { transform: translateX(-50%); } }
@keyframes page-out { to { opacity: 0; transform: translateY(-24px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(40px); } }

/* Contact map */
.map-wrap { position: relative; }
.map-frame { position: relative; border-radius: 0 4rem 0 0; overflow: hidden; aspect-ratio: 16 / 7; background: #D7F1FC; box-shadow: 0 20px 50px rgba(37, 38, 92, 0.14); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, 0.9) 47% 49.5%, transparent 49.5%),
    linear-gradient(20deg, transparent 58%, rgba(255, 255, 255, 0.8) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(54, 55, 128, 0.07) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(54, 55, 128, 0.07) 46px 47px),
    #D7F1FC;
}
.map-pin { color: var(--red); width: 64px; height: 64px; filter: drop-shadow(0 8px 10px rgba(37, 38, 92, 0.3)); }
.map-pin svg { width: 100%; height: 100%; fill: var(--white); }
.map-card {
  position: absolute; left: 2rem; bottom: 2rem; width: min(320px, 80%);
  background: var(--white); padding: 1.5rem; border-radius: var(--corner);
  box-shadow: 0 18px 40px rgba(37, 38, 92, 0.2);
}
.map-card h3 { margin-bottom: 0.2rem; }
.map-card p { margin: 0 0 0.5rem; color: var(--muted); }
.map-card .map-hours { font-size: var(--step--1); margin-bottom: 1.1rem; }
.map-card-pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-pale); color: var(--red); margin-bottom: 0.75rem; }
.map-card-pin svg { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .map-frame { aspect-ratio: 4 / 3; border-radius: 0 3rem 0 0; }
  .map-card { position: relative; left: auto; bottom: auto; width: auto; margin: -2.5rem 1rem 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .map-frame::after {
    content: ""; position: absolute; inset: 0; z-index: 2; background: var(--sky);
    transform-origin: right; transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1) 0.15s;
  }
  .js [data-reveal].in .map-frame::after { transform: scaleX(0); }
  .js [data-reveal] .map-card { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease) 0.8s, transform 0.7s var(--ease) 0.8s; }
  .js [data-reveal].in .map-card { opacity: 1; transform: none; }
  .js [data-reveal].in .map-pin, .js [data-reveal].in .map-card-pin svg { animation: pin-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both, pin-bob 2.2s ease-in-out 2s infinite; }
}
@keyframes pin-drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
