/* =========================================================
   Caliber Ink and Resin — Premium Corporate Stylesheet
   ========================================================= */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071428;
  --navy-mid: #123056;
  --navy-soft: #1b3d6b;
  --orange: #e8781a;
  --orange-hot: #ff8a2b;
  --orange-dark: #c45e0d;
  --purple: #4b1d6e;
  --purple-soft: #6b3a92;
  --gold: #c4a35a;
  --white: #ffffff;
  --off: #f5f7fb;
  --mist: #e8edf5;
  --line: #d5dce8;
  --text: #1c2a3a;
  --muted: #5b6b80;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
  --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.08);
  --radius: 18px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Outfit", "Lato", sans-serif;
  --font-body: "Lato", "Roboto", sans-serif;
  --font-num: "Roboto", "Lato", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--navy-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100%;
  margin: 0;
}

::selection {
  background: var(--orange);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.num {
  font-family: var(--font-num);
  letter-spacing: 0.02em;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.container-wide {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 120, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(232, 120, 26, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  height: var(--header-h);
  overflow: visible;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header .header-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1220;
  min-width: 0;
  flex: 1;
}

.brand img {
  height: 62px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  max-width: 12.5em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange-hot);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  text-shadow: none !important;
  margin-left: 6px;
}

.nav-cta:hover {
  background: var(--orange-hot) !important;
  color: #fff !important;
}

.has-dropdown {
  position: relative;
}

.drop-wrap {
  display: flex;
  align-items: center;
}

.drop-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s var(--ease);
  border: 1px solid var(--line);
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--navy) !important;
  text-shadow: none !important;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.dropdown a:hover {
  background: var(--off) !important;
  color: var(--orange) !important;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 1230;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: 0.3s;
  border-radius: 2px;
}

.site-header.scrolled,
.site-header.solid {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.1);
}

.site-header.scrolled .brand-name,
.site-header.solid .brand-name {
  color: var(--navy);
  text-shadow: none;
}

.site-header.scrolled .main-nav a,
.site-header.solid .main-nav a {
  color: var(--navy);
  text-shadow: none;
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active,
.site-header.solid .main-nav a:hover,
.site-header.solid .main-nav a.active {
  color: var(--orange);
  background: rgba(232, 120, 26, 0.08);
}

.site-header.scrolled .nav-cta,
.site-header.solid .nav-cta {
  color: #fff !important;
}

.site-header.scrolled .nav-toggle,
.site-header.solid .nav-toggle {
  background: var(--off);
}

.site-header.scrolled .nav-toggle span,
.site-header.solid .nav-toggle span {
  background: var(--navy);
}

.nav-overlay {
  display: none;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.active .hero-bg {
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(7, 20, 40, 0.82) 0%, rgba(11, 31, 58, 0.55) 48%, rgba(75, 29, 110, 0.45) 100%),
    radial-gradient(circle at 80% 20%, rgba(232, 120, 26, 0.28), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 920px;
  margin-bottom: 18px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero .num {
  color: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-nav {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
}

.hero-dot.active {
  width: 28px;
  border-radius: 8px;
  background: var(--orange);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

#sparkCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.page-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding: 140px 20px 80px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 20, 40, 0.84), rgba(18, 48, 86, 0.7));
}

.page-hero .inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 720px;
  margin: 12px auto 0;
}

.crumbs {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.crumbs a:hover {
  color: var(--orange-hot);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.split-media.contain img {
  object-fit: contain;
  background: linear-gradient(180deg, #eef2f8, #dfe6f1);
  max-height: 560px;
}

.split-media .float-card {
  position: absolute;
  bottom: -22px;
  left: -18px;
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
}

.hex-badge {
  width: 48px;
  height: 54px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--navy), var(--orange));
}

/* ---------- Cards / Grid ---------- */
.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 24px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.card-media {
  height: 210px;
  background: linear-gradient(180deg, #eef2f8, #dfe6f1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.link-more {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.9rem;
}

.link-more:hover {
  color: var(--navy);
}

.bg-off {
  background: var(--off);
}

.bg-navy {
  background:
    radial-gradient(circle at 10% 20%, rgba(232, 120, 26, 0.16), transparent 32%),
    radial-gradient(circle at 90% 80%, rgba(107, 58, 146, 0.22), transparent 34%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
}

.bg-navy h2,
.bg-navy h3,
.bg-navy p {
  color: #fff;
}

.bg-navy p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Why INKYFY ---------- */
.acronym {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.acronym-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

.acronym-item:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.acronym-item .letter {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
}

.acronym-item h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.acronym-item p {
  font-size: 0.8rem;
}

/* ---------- Values ---------- */
.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(232, 120, 26, 0.15), rgba(11, 31, 58, 0.1));
  font-size: 1.5rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.grid-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 1.8rem;
  color: var(--orange);
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Team ---------- */
.team-card {
  text-align: center;
  padding-bottom: 28px;
}

.team-photo {
  height: 320px;
  background: #eceff5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  cursor: pointer;
}

.team-card h3 {
  margin: 18px 16px 4px;
}

.role {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.88rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  padding: 0 16px;
}

.chip {
  background: var(--off);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ---------- Contact blocks ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-card a:hover {
  color: var(--orange);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------- Product detail ---------- */
.feature-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.product-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: linear-gradient(180deg, #eef2f8, #dfe6f1);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 24px;
  margin: 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.site-footer a:hover {
  color: var(--orange-hot);
}

.site-footer p,
.site-footer li {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.footer-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  padding-bottom: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Floating buttons ---------- */
.float-stack {
  position: fixed;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-stack.left {
  left: 18px;
  bottom: 22px;
}

.float-stack.right {
  right: 18px;
  bottom: 22px;
}

.float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn.wa {
  background: #25d366;
  animation: pulse 2.4s infinite;
}

.float-btn.call {
  background: var(--navy);
  animation: pulse-navy 2.6s infinite;
}

.float-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.float-btn span.tip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-num);
  padding: 6px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.float-stack.right .tip {
  right: 52px;
}

.float-stack.left .tip {
  left: 52px;
}

.float-btn:hover span.tip {
  opacity: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 40, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close:hover {
  background: var(--orange);
  color: #fff;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.ink-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  animation: floaty 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.spark-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: spark 2.8s linear infinite;
  pointer-events: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, var(--navy), var(--purple));
  color: #fff;
  padding: 42px;
  border-radius: 24px;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

/* ---------- Brand strip ---------- */
.brand-panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.brand-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

/* ---------- Keyframes ---------- */
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-navy {
  0% { box-shadow: 0 0 0 0 rgba(11, 31, 58, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(11, 31, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 31, 58, 0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes spark {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-80px) scale(0.2); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .acronym { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .split.reverse,
  .contact-grid,
  .brand-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: block; }

  .brand-name {
    font-size: 0.92rem;
  }

  .header-inner {
    position: relative;
    z-index: 1230;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 40, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1100;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 360px);
    background: #fff;
    padding: 90px 22px 30px;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
    z-index: 1210;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow);
    pointer-events: auto;
  }

  .main-nav.open {
    transform: none;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a,
  .site-header.scrolled .main-nav a,
  .site-header.solid .main-nav a,
  .site-header .main-nav a {
    color: var(--navy);
    text-shadow: none;
    width: 100%;
    padding: 12px 10px;
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-left: 0 !important;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 12px;
    border: 0;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .drop-toggle {
    display: inline-flex;
    color: var(--navy);
  }

  .drop-wrap {
    justify-content: space-between;
    width: 100%;
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .stats,
  .acronym {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .hero-arrow { display: none; }

  .split-media .float-card {
    left: 10px;
    right: 10px;
    bottom: -16px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .float-btn {
    width: 38px;
    height: 38px;
  }

  .float-btn svg {
    width: 18px;
    height: 18px;
  }

  .section { padding: 68px 0; }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-footer {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .float-stack.left,
  .float-stack.right {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .drop-toggle {
    min-width: 42px;
    min-height: 42px;
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .brand img { height: 46px; padding: 3px 6px; }
  .brand-name { font-size: 0.82rem; max-width: 8.6em; }
  .hero { min-height: 92vh; }
  .hero-content { min-height: 92vh; padding-top: 110px; }
  .float-stack.left { left: 10px; }
  .float-stack.right { right: 10px; }
}
