/* =========================================================
   UAPL — Design tokens
   ========================================================= */
:root {
  --ink: #12161f;
  --ink-2: #1b2130;
  --ink-3: #262d3f;
  --paper: #fbf8f3;
  --cream: #f3ede3;
  --sand: #e8cdb0;
  --clay: #c7765a;
  --green: #4f7d3b; /* brand green from logo */
  --green-2: #6f9d58;
  --gold: #c9a96e;
  --text: #1d2230;
  --muted: #6c707b;
  --muted-light: #a9adb7;
  --line: rgba(18, 22, 31, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Image frames: gradient shows if a photo fails to load */
.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3), var(--green) 140%);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame img.img-fail {
  opacity: 0;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.eyebrow.light {
  color: var(--sand);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}
h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}
h2 em,
h1 em {
  font-style: italic;
  color: var(--green);
}
.section {
  padding: clamp(64px, 11vw, 140px) 0;
}
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-head.split {
  grid-template-columns: 1fr;
}
.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
}
@media (min-width: 900px) {
  .section-head.split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    letter-spacing: -0.005em;
  }
  h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  h3 {
    font-size: 1.3rem;
  }
  body {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 26px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 36px;
  height: 36px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 50%;
  flex: 0 0 auto;
  transition:
    background 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.btn:hover svg {
  transform: rotate(-40deg);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-2), var(--green) 70%);
  color: #fff;
  box-shadow:
    0 16px 32px -12px rgba(79, 125, 59, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary svg {
  background: rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  box-shadow:
    0 20px 40px -12px rgba(79, 125, 59, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
  padding: 15px 28px;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 32px -14px rgba(18, 22, 31, 0.6);
}
.btn-dark svg {
  background: rgba(255, 255, 255, 0.14);
}
.btn-dark:hover {
  background: var(--green);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    padding 0.4s;
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  /* background: #fff; */
  border-radius: 12px;
  padding: 6px 12px;
  /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15); */
}
.logo img {
  height: 40px;
  width: auto;
}
.logo .logo-text {
  display: none;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}
.logo.fallback img {
  display: none;
}
.logo.fallback .logo-text {
  display: block;
}
.nav {
  display: none;
  gap: 34px;
  align-items: center;
}
.nav a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav a:hover::after {
  width: 100%;
}
.header.scrolled .nav a {
  color: var(--text);
}
.header-cta {
  display: none;
}
.burger {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(18, 22, 31, 0.25);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  position: relative;
  transition: 0.3s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: 0.3s;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.header.scrolled .burger {
  border-color: var(--line);
  background: transparent;
}
.header.scrolled .burger span,
.header.scrolled .burger span::before,
.header.scrolled .burger span::after {
  background: var(--ink);
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
  .logo img {
    height: 46px;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
}
.drawer.open {
  transform: none;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: none;
  color: #fff;
  font-size: 1.4rem;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}
.drawer nav a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer nav a small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted-light);
  letter-spacing: 0.1em;
}
.drawer-foot {
  margin-top: 32px;
  color: var(--muted-light);
  font-size: 0.85rem;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 31, 0.55) 0%,
      rgba(18, 22, 31, 0.15) 35%,
      rgba(18, 22, 31, 0.85) 100%
    ),
    linear-gradient(90deg, rgba(18, 22, 31, 0.7) 0%, rgba(18, 22, 31, 0) 65%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(44px, 7vw, 76px);
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.9rem);
  font-weight: 600;
  max-width: 14ch;
  margin: 16px 0 18px;
  line-height: 1.14;
}
.hero h1 em {
  color: var(--sand);
}
.hero-lead {
  max-width: 460px;
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-light);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 56px;
  color: rgba(255, 255, 255, 0.88);
}
.marquee span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Intro + stats
   ========================================================= */
.intro-grid {
  display: grid;
  gap: clamp(44px, 6vw, 100px);
  grid-template-columns: 1fr;
}
.intro-text h2 {
  margin: 22px 0 26px;
}
.intro-text p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 560px;
}

/* Stats: clean inline row, no boxes */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--sand);
}
.stat b {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.stat span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
  display: block;
}

/* Visual: one tall editorial frame + a small inset photo */
.intro-visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.intro-main {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  box-shadow: 0 40px 70px -36px rgba(18, 22, 31, 0.4);
}
.intro-main::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(12, 15, 22, 0.85), transparent);
  pointer-events: none;
}
.intro-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(18, 22, 31, 0.5);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.intro-tag b {
  font-family: var(--serif);
  color: var(--sand);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.intro-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}
.intro-caption em {
  font-style: italic;
  color: var(--sand);
}
.intro-float {
  position: absolute;
  right: -32px;
  top: -32px;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 14px;
  border: 6px solid var(--paper);
  box-shadow: 0 24px 50px -20px rgba(18, 22, 31, 0.4);
  transition: transform 0.5s var(--ease);
}
.intro-float:hover {
  transform: translateY(-6px) rotate(3deg);
}
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .intro-visual {
    max-width: none;
    margin: 0;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* =========================================================
   Chain (9 steps)
   ========================================================= */
.chain {
  background: var(--cream);
}
.chain-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all 0.4s var(--ease);
}
.step-extra {
  display: none;
}
.chain-list.show-all .step-extra {
  display: flex;
}
.step-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.step-no {
  min-width: 30px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--clay);
  transition: color 0.35s var(--ease);
}
.step-no::before {
  counter-increment: step;
  content: "0" counter(step);
}
.step .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--green);
  transition: all 0.35s var(--ease);
}
.step .ico svg {
  width: 19px;
  height: 19px;
}
.step-text h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.step-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.step:hover {
  border-color: var(--green);
  transform: translateY(-6px);
  box-shadow: 0 30px 56px -34px rgba(18, 22, 31, 0.32);
}
.step:hover .step-no {
  color: var(--green);
}
.step:hover .ico {
  background: var(--green);
  color: #fff;
}
.chain-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
#chainMoreBtn svg {
  transition: transform 0.4s var(--ease);
}
#chainMoreBtn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
@media (min-width: 640px) {
  .chain-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .chain-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   Services tabs
   ========================================================= */
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 40px;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
  background: var(--cream);
  border-radius: 100px;
  border: 1px solid var(--line);
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 12px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.tab-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.tab-ico svg {
  width: 15px;
  height: 15px;
}
.tab:hover {
  color: var(--ink);
}
.tab.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(18, 22, 31, 0.5);
}
.tab.active .tab-ico {
  background: var(--green);
  color: #fff;
}
.panel {
  display: none;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.panel.active {
  display: grid;
  animation: fadeUp 0.7s var(--ease);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.panel .frame {
  border-radius: var(--radius);
  aspect-ratio: 5/4;
  box-shadow: 0 40px 70px -36px rgba(18, 22, 31, 0.4);
}
.panel-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(18, 22, 31, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.panel h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  margin-bottom: 16px;
  line-height: 1.1;
}
.panel p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.6;
}
.route {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}
.route span {
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.route svg {
  width: 14px;
  height: 14px;
  color: var(--clay);
  flex: 0 0 auto;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.97rem;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease);
}
.ticks li:hover {
  padding-left: 10px;
}
.ticks li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center/11px no-repeat;
}
@media (min-width: 900px) {
  .panel.active {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Express delivery band
   ========================================================= */
.express {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.express-bg {
  position: absolute;
  inset: 0;
}
.express-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.express::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(18, 22, 31, 0.95) 30%,
    rgba(79, 125, 59, 0.55)
  );
}
.express .container {
  position: relative;
  z-index: 2;
}
.express h2 em {
  color: var(--sand);
}
.express .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.flow-card {
  position: relative;
}
.flow {
  z-index: 1;
}
.flow-line .parcel {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  opacity: 0;
}
.flow.run .parcel {
  animation: travelV 5.6s linear 2.6s infinite;
}
@keyframes travelV {
  0% {
    top: -6px;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 6px);
    opacity: 0;
  }
}
.flow.run .flow-item {
  animation: itemIn 0.9s var(--ease) both;
}
.flow-item:hover .flow-dot {
  border-color: var(--sand);
  color: #fff;
}
.flow.run .flow-item:nth-child(2) {
  animation-delay: 0.12s;
}
.flow.run .flow-item:nth-child(3) {
  animation-delay: 0.24s;
}
.flow.run .flow-item:nth-child(4) {
  animation-delay: 0.36s;
}
.flow.run .flow-item:nth-child(5) {
  animation-delay: 0.48s;
}
.flow.run .flow-item:nth-child(6) {
  animation-delay: 0.6s;
}
.flow.run .flow-item:nth-child(7) {
  animation-delay: 0.72s;
}
@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}
.flow-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  position: relative;
}
.flow-no {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  flex: 0 0 22px;
}
.flow-dot {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  transition: all 0.6s var(--ease);
  position: relative;
  z-index: 2;
}
.flow-dot svg {
  width: 18px;
  height: 18px;
}
.flow-item.lit .flow-dot {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}
.flow-item.lit .flow-no {
  color: var(--sand);
}
.flow-label {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.flow-line {
  position: absolute;
  left: 61px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: var(--line-light);
}
.flow-line i {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: var(--green-2);
  transition: height 2.6s var(--ease);
}
.flow.run .flow-line i {
  height: 100%;
}
.express-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .flow.run .parcel {
    animation: travelH 5.6s linear 2.6s infinite;
  }
  @keyframes travelH {
    0% {
      left: 0;
      opacity: 0;
    }
    8% {
      opacity: 1;
    }
    92% {
      opacity: 1;
    }
    100% {
      left: calc(100% - 12px);
      opacity: 0;
    }
  }
}
@media (min-width: 1024px) {
  .flow {
    grid-template-columns: repeat(6, 1fr);
  }
  .flow-item {
    flex-direction: column;
    text-align: center;
    padding: 0 10px;
    gap: 14px;
  }
  .flow-no {
    order: -1;
  }
  .flow-line {
    left: 9%;
    right: 9%;
    top: 48px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .flow-line i {
    inset: 0 auto 0 0;
    height: 100%;
    width: 0;
    transition: width 2.6s var(--ease);
  }
  .flow.run .flow-line i {
    width: 100%;
  }
}

/* =========================================================
   Service window calendar
   ========================================================= */
.window-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.day {
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease);
}
.day:hover {
  transform: translateY(-4px);
}
.day b {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}
.day small {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.day.pre {
  background: #f6ead9;
}
.day.fair {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day.fair small {
  color: rgba(255, 255, 255, 0.8);
}
.day.post {
  background: #f3ddd3;
}
.legend {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.legend div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.legend i {
  flex: 0 0 14px;
  height: 14px;
  border-radius: 4px;
  margin-top: 5px;
}
.note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 22px;
  padding-left: 16px;
  border-left: 2px solid var(--sand);
}
@media (min-width: 640px) {
  .cal {
    grid-template-columns: repeat(9, 1fr);
  }
  .day {
    padding: 20px 6px;
  }
}
@media (min-width: 1024px) {
  .window-wrap {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}

/* =========================================================
   Team
   ========================================================= */
.team {
  background: var(--ink);
  color: #fff;
}
.team h2 em {
  color: var(--sand);
}
.team-grid {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
}
.team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.team-photos .frame {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
}
.team-photos .frame:nth-child(2) {
  margin-top: 48px;
}
.team-photos figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(18, 22, 31, 0.6);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.4;
}
.roles {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.roles li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 1.02rem;
  transition:
    padding 0.4s var(--ease),
    color 0.3s;
}
.roles li:hover {
  padding-left: 10px;
  color: var(--sand);
}
.roles li em {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
  min-width: 24px;
}
@media (min-width: 640px) {
  .roles {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* =========================================================
   Network map
   ========================================================= */
.network-grid {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: 1fr;
  align-items: center;
}
.map-card {
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 22% 52%,
    rgba(79, 125, 59, 0.45),
    transparent 55%
  );
}
.map-card svg {
  position: relative;
  width: 100%;
  height: auto;
}
.map-card .route-line {
  stroke: var(--sand);
  stroke-width: 1.3;
  fill: none;
  stroke-dasharray: 4 6;
  opacity: 0.75;
  animation: dash 1.6s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
.map-card .city circle {
  fill: #fff;
}
.map-card .city text {
  fill: rgba(255, 255, 255, 0.85);
  font: 600 11px var(--sans);
  letter-spacing: 0.04em;
}
.map-card .hub circle.core {
  fill: var(--green-2);
}
.map-card .hub circle.ring {
  fill: none;
  stroke: var(--green-2);
  animation: ring 2.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.map-card .hub text {
  fill: #fff;
  font: 700 14px var(--sans);
  letter-spacing: 0.06em;
}
@keyframes ring {
  from {
    r: 6;
    opacity: 1;
  }
  to {
    r: 30;
    opacity: 0;
  }
}
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 30px;
}
.cities span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  transition: 0.3s;
}
.cities span:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
@media (min-width: 1024px) {
  .network-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* =========================================================
   Who we serve
   ========================================================= */
.serve {
  background: var(--cream);
}
.serve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.serve-card {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  overflow: hidden;
  color: #fff;
}
.serve-card .frame {
  position: absolute;
  inset: 0;
}
.serve-card img {
  transition: transform 1.2s var(--ease);
}
.serve-card:hover img {
  transform: scale(1.08);
}
.serve-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 22, 31, 0.88));
}
.serve-card h3 {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}
.serve-card small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
@media (min-width: 900px) {
  .serve-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   Enquire
   ========================================================= */
.enquire {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.enquire-bg {
  position: absolute;
  inset: 0;
}
.enquire-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.enquire::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 22, 31, 0.75),
    rgba(18, 22, 31, 0.97)
  );
}
.enquire .container {
  position: relative;
  z-index: 2;
}
.enquire-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr;
}
.enquire h2 {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  margin: 22px 0 22px;
  line-height: 1.08;
}
.enquire h2 em {
  color: var(--sand);
}
.enquire-copy p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}
.form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 40px);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 16px;
}
.form .row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  background: rgba(18, 22, 31, 0.5);
  color: #fff;
  font: inherit;
  font-size: 16px;
  transition: border 0.3s;
}
.field select option {
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-2);
}
.form .btn {
  justify-content: center;
  margin-top: 6px;
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
@media (min-width: 640px) {
  .form .row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .enquire-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #0c0f16;
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(56px, 8vw, 88px) 0 34px;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
}
.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 360px;
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  font-size: 0.92rem;
}
.footer-email {
  color: var(--sand);
  font-weight: 600;
  font-size: 0.92rem;
  width: fit-content;
  position: relative;
}
.footer-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.footer-email:hover::after {
  opacity: 1;
}
.footer h4 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 18px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.footer ul li {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}
.footer a {
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--sand);
}
.footer-bottom {
  border-top: 1px solid var(--line-light);
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 142px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.to-top.show {
  opacity: 1;
  transform: none;
}
.to-top svg {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Home: explore cards
   ========================================================= */
.explore {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.explore::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 125, 59, 0.14), transparent 65%);
  pointer-events: none;
}
.explore .container {
  position: relative;
}
.explore-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  transition: all 0.4s var(--ease);
}
.explore-card small {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.explore-card small::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.explore-card h3 {
  font-size: 1.5rem;
}
.explore-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.explore-arrow {
  margin-top: auto;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.4s var(--ease);
}
.explore-card:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(18, 22, 31, 0.5);
}
.explore-card {
  overflow: hidden;
}
.explore-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.6s var(--ease);
}
.explore-card:hover::after {
  opacity: 0.25;
  transform: scale(1);
}
.explore-card > * {
  position: relative;
  z-index: 1;
}
.explore-card:hover p {
  color: var(--muted-light);
}
.explore-card:hover small {
  color: var(--sand);
}
.explore-card:hover .explore-arrow {
  transform: translateX(6px);
  color: var(--sand);
}
@media (min-width: 640px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .explore-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =========================================================
   Inner pages: shared
   ========================================================= */
.page-top {
  padding: clamp(140px, 18vw, 190px) 0 clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 20%,
    rgba(79, 125, 59, 0.35),
    transparent 50%
  );
  pointer-events: none;
}
.page-top .container {
  position: relative;
  z-index: 1;
}
.page-top h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 18ch;
  margin: 18px 0 20px;
}
.page-top h1 em {
  color: var(--sand);
}
.page-top p.lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}
.crumb {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.crumb a:hover {
  color: var(--sand);
}

/* Home closing CTA */
.home-cta {
  background: var(--paper);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.home-cta-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.home-cta-box::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 125, 59, 0.2), transparent 70%);
}
.home-cta-box h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--ink);
  max-width: 18ch;
}
.home-cta-box h2 em {
  color: var(--green);
}
.home-cta-box p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.6;
}
.home-cta-box .btn {
  position: relative;
  z-index: 1;
}

/* Home closing photo band */
.home-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(90px, 12vw, 140px) 0;
  text-align: center;
  isolation: isolate;
}
.home-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
  animation: bandZoom 18s ease-in-out infinite alternate;
}
.home-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(18, 22, 31, 0.7),
    rgba(18, 22, 31, 0.88)
  );
}
@keyframes bandZoom {
  to {
    transform: scale(1.12);
  }
}
.home-band-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.home-band h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  max-width: 18ch;
  margin: 6px 0 10px;
  color: #fff;
}
.home-band h2 em {
  color: var(--sand);
}

/* Footer logo image */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
}
.footer-logo-img {
  height: 57px;
  width: auto;
  border-radius: 8px;
  /* background: #fff; */
  padding: 4px 8px;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.footer-social svg {
  width: 17px;
  height: 17px;
}

/* WhatsApp sticky button */
.to-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease);
}
.to-whatsapp:hover {
  transform: scale(1.08);
}
.to-whatsapp svg {
  width: 26px;
  height: 26px;
}

/* Call sticky button */
.to-call {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease);
}
.to-call:hover {
  transform: scale(1.08);
}
.to-call svg {
  width: 21px;
  height: 21px;
}

/* Footer contact icons */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sand);
}
.footer-contact li > span,
.footer-contact li > a {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
