/* =========================================================
   The Aexo Company — theaexocompany.com
   ========================================================= */

:root {
  --maroon: #a12a2e;
  --maroon-deep: #7d1f23;
  --maroon-shade: #6e191e;
  --pink: #cc3366;
  --pink-deep: #b02a55;
  --pink-soft: #ffd1dc;
  --pink-light: #ff7aa0;
  --blush: #f6dfe2;
  --cream: #ebe9e3;
  --cream-line: #d6d3cb;
  --card-line: #dcd9d1;
  --ink: #141414;
  --ink-2: #4a4642;
  --muted: #8a857d;
  --dark: #141112;
  --dark-card: #1d1819;
  --dark-text: #f3f1ec;
  --dark-muted: #b9b3aa;
  --white: #ffffff;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-lg: 28px;
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-deep); }
h1, h2, h3, p, ul { margin: 0; }

/* clip (not hidden) so .page doesn't become a scroll container, which
   would freeze the scroll-driven parallax animations. */
.page { width: 100%; overflow-x: hidden; overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }

/* ---------- Type ---------- */
.h { font-family: var(--font-display); letter-spacing: -0.03em; }
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-deep); color: var(--white); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--maroon); color: var(--white); }

.more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--maroon);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.more:hover { color: var(--pink); }
.more--light { color: var(--pink-light); }
.more--light:hover { color: var(--pink-soft); }
.more--white { color: var(--white); }
.more--white:hover { color: var(--pink-soft); }

/* ---------- Backgrounds ---------- */
.bg-grid-red {
  background-color: var(--maroon);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-grid-dark {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(243,241,236,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,241,236,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Image placeholders ----------
   Replace each .ph with <img class="ph-img" src="..." alt="...">
   or drop an <img> inside it (it will cover the box). */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.22);
  background-color: var(--maroon-deep);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--light {
  background-color: #dcd9d1;
  border-color: #c9c5bb;
  background-image: repeating-linear-gradient(135deg, rgba(20,20,20,.06) 0 2px, transparent 2px 14px);
}
.ph--dark {
  background-color: #221c1d;
  border-color: rgba(243,241,236,.14);
  background-image: repeating-linear-gradient(135deg, rgba(243,241,236,.05) 0 2px, transparent 2px 14px);
}
.ph--pink { background-color: var(--pink); }
.ph-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20,17,18,.78);
  color: var(--dark-text);
  border: 1px solid rgba(243,241,236,.2);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  pointer-events: none;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  position: relative;
  pointer-events: auto;
  box-shadow: 0 12px 32px rgba(20,17,18,.18), 0 2px 6px rgba(20,17,18,.08);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--maroon); }
.nav-links .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero { color: var(--white); }
.hero .wrap {
  padding-top: 176px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--pink-soft); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--pink-soft); }
.hero-title { font-weight: 900; font-size: clamp(48px, 6.4vw, 92px); line-height: .98; }
.hero-text { max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--blush); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual .ph-main { position: absolute; inset: 0 0 48px 48px; }
.hero-visual .ph-detail {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 42%;
  box-shadow: 0 24px 48px rgba(60,10,15,.35);
}

/* ---------- Brand marquee ---------- */
.marquee-strip { padding: 26px 0; background: var(--cream); border-bottom: 1px solid var(--cream-line); }
.marquee-strip .mono { color: #5c5853; padding-bottom: 16px; }
.marquee-viewport { overflow: hidden; }
/* Items use margin (not gap) so sliding by exactly -50% loops without a jump. */
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-item {
  width: 200px;
  margin-right: 16px;
  height: 84px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
}
.marquee-item img { max-width: 100%; max-height: 52px; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.section-head > div:first-child { max-width: 700px; display: flex; flex-direction: column; gap: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--card-line);
}
.service-card .mono { color: var(--muted); font-size: 11px; }
.service-card h3 { font-weight: 800; font-size: 26px; line-height: 1.1; }
.service-card p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.service-card ul { padding-left: 18px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.cta-bar {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--maroon);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.cta-bar p { font-family: var(--font-display); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- Parallax band ---------- */
.band { position: relative; height: 600px; overflow: hidden; }
.band .ph {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 140%;
  border-radius: 0;
  border: 0;
  align-items: flex-start;
}
.band .ph .ph-tag { margin-top: 22%; }
.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(110,25,30,.94) 0%, rgba(110,25,30,.6) 60%, rgba(110,25,30,.15) 100%);
}
.band .wrap {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: var(--white);
}
.band h2 { font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: .98; max-width: 900px; }
.band p { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--blush); }

/* ---------- Products ---------- */
.products { color: var(--dark-text); }
.products .h2 { max-width: 880px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.product {
  background: var(--dark-card);
  border: 1px solid rgba(243,241,236,.12);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; gap: 8px; }
.product--featured .product-body { padding: 20px 20px 14px; }
/* Every product image is 16:9 (e.g. 1600x900), whatever the card's layout
   or position, so reordering or hiding products never crops a picture differently. */
.product .ph { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
.product-body { padding: 20px 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.product-body h3 { font-weight: 800; font-size: 24px; }
.product--featured .product-body h3 { font-size: 28px; }
.product-body p { font-size: 15px; line-height: 1.6; color: var(--dark-muted); }
.product-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.product-foot > div { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.chip {
  align-self: flex-start;
  font-size: 11px;
  color: var(--pink-light);
  border: 1px solid rgba(255,122,160,.5);
  border-radius: 999px;
  padding: 5px 10px;
}
.align-end { display: flex; justify-content: flex-end; }
.product--next {
  background: transparent;
  border: 1px dashed rgba(243,241,236,.3);
  padding: 32px;
  justify-content: space-between;
  gap: 20px;
  min-height: 300px;
}
.product--next .mono { color: #8f897f; }
.product--next h3 { font-weight: 800; font-size: 26px; line-height: 1.15; }
.product--next p { font-size: 15px; line-height: 1.6; color: var(--dark-muted); margin-top: 10px; }

/* ---------- Brands ---------- */
.brands-head { align-items: flex-end; margin-bottom: 40px; }
.brands-head .h2 { max-width: 640px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1px solid #b9b3aa;
  transition: background .2s, color .2s, border-color .2s;
}
.tab[hidden] { display: none; }
.tab:hover { border-color: var(--maroon); }
.tab[aria-selected="true"] { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.flip { perspective: 1200px; height: 300px; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.flip:hover .flip-inner,
.flip:focus-within .flip-inner,
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.face-front { background: var(--white); border: 1px solid var(--card-line); padding: 22px; }
.face-front .meta { display: flex; justify-content: space-between; }
.face-front .meta span { font-size: 11px; }
.face-front .meta span:first-child { color: var(--muted); }
.face-front .meta span:last-child { color: var(--maroon); }
.face-front .logo { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 18px 10px; }
.face-front .logo img { max-width: 100%; max-height: 96px; object-fit: contain; }
.face-front h3 { font-weight: 700; font-size: 18px; text-align: center; }
.face-back { background: var(--maroon); color: var(--white); padding: 26px; transform: rotateY(180deg); }
.face-back .top { display: flex; flex-direction: column; gap: 12px; }
.face-back .mono { font-size: 11px; color: var(--pink-soft); }
.face-back h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; font-weight: 800; font-size: 26px; line-height: 1.1; }
.face-back p { font-size: 15px; line-height: 1.55; color: var(--blush); }
.brand-next {
  height: 300px;
  border-radius: var(--radius);
  border: 1px dashed #b9b3aa;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-next .mono { color: var(--muted); }
.brand-next p { font-weight: 800; font-size: 24px; line-height: 1.15; }

/* ---------- Values ---------- */
.values { background: var(--white); }
.values .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 64px;
  align-items: center;
}
.values-visual { position: relative; min-height: 560px; }
.values-visual .ph-a { position: absolute; left: 0; top: 0; width: 66%; height: 72%; }
.values-visual .ph-b { position: absolute; right: 0; bottom: 0; width: 56%; height: 58%; }
.values-copy { display: flex; flex-direction: column; gap: 26px; }
.values-copy .h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.values-copy > p { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.values-copy strong { color: var(--maroon); }
.value-list { list-style: none; padding: 0; border-top: 1px solid var(--card-line); }
.value-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-line);
}
.value-list .mono { color: var(--maroon); padding-top: 4px; }
.value-list h3 { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.value-list p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Impact ---------- */
.impact { background: var(--maroon); color: var(--white); }
.impact .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.impact-copy { display: flex; flex-direction: column; gap: 22px; }
.impact-copy .h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.impact-copy p { font-size: 17px; line-height: 1.65; color: var(--blush); }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.app { display: flex; flex-direction: column; gap: 12px; }
.app:nth-child(even) { padding-top: 56px; }
/* App screens are 4:5 (e.g. 1080x1350) and shown whole, never cropped. */
.app .ph { aspect-ratio: 4 / 5; }
.app h3 { font-weight: 700; font-size: 20px; }
.app h3 a { color: inherit; text-decoration: none; }
.app h3 a:hover { text-decoration: underline; }
/* Hover / focus / tap cover with the app description and link */
.app-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(110,25,30,.55) 0%, rgba(110,25,30,.94) 55%);
  color: var(--white);
  opacity: 0;
  transition: opacity .3s ease;
}
.app-cover p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--blush);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  translate: 0 12px;
  transition: translate .35s cubic-bezier(.2,.7,.2,1);
}
.app-cover .app-cta { min-height: 42px; padding: 0 18px; font-size: 14px; translate: 0 12px; transition: translate .35s cubic-bezier(.2,.7,.2,1), background .2s; }
.app .ph:hover .app-cover,
.app .ph:focus-within .app-cover,
.app .ph.is-open .app-cover { opacity: 1; }
.app .ph:hover .app-cover > *,
.app .ph:focus-within .app-cover > *,
.app .ph.is-open .app-cover > * { translate: 0 0; }

/* ---------- Contact ---------- */
.contact .wrap { padding-top: 8px; }
.contact-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-bottom: 48px; }
.contact-head h2 { font-weight: 900; font-size: clamp(44px, 7vw, 100px); line-height: .96; max-width: 1000px; }
.contact-head p { max-width: 600px; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.path { border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 18px; color: var(--white); }
.path h3 { font-weight: 800; font-size: 34px; line-height: 1.08; }
.path p { font-size: 16px; line-height: 1.6; }
.path .btn { align-self: flex-start; margin-top: 8px; }
.path--business { background: var(--maroon); }
.path--business .mono { color: var(--pink-soft); }
.path--business p { color: var(--blush); }
.path--partner { background: var(--ink); }
.path--partner .mono { color: var(--pink-light); }
.path--partner p { color: #c9c3ba; }

/* ---------- Contact page ---------- */
.contact-hero { color: var(--white); }
.contact-hero .wrap { padding-top: 176px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.contact-hero h1 { font-weight: 900; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; max-width: 900px; }
.contact-hero p { max-width: 600px; font-size: 19px; line-height: 1.6; color: var(--blush); }
.contact-page .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 36px; }
.contact-aside .mono { color: var(--maroon); font-size: 12px; margin-bottom: 10px; }
.contact-aside h2 { font-weight: 800; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.contact-aside p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.contact-aside-meta { border-top: 1px solid var(--cream-line); padding-top: 24px; }
.contact-aside-meta a { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-decoration: none; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span,
.field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--maroon); outline-offset: 1px; border-color: var(--maroon); background: var(--white); }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #b9b3aa;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.choice:hover span { border-color: var(--maroon); }
.choice input:checked + span { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.choice input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-status { border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.form-status--ok { background: #e3f1e6; color: #1d5a2c; }
.form-status--err { background: var(--blush); color: var(--maroon-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon); color: var(--blush); border-top: 1px solid rgba(255,255,255,.15); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col .mono { color: var(--pink-soft); font-size: 12px; }
.footer-col a { color: var(--white); font-size: 15px; }
.footer-col a.plain { text-decoration: none; }
.footer-col p { font-size: 15px; line-height: 1.6; }
.footer-logo { background: var(--cream); border-radius: 12px; padding: 10px 14px; margin-bottom: 4px; }
.footer-logo img { height: 30px; width: auto; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 22px;
  font-size: 13px;
}
.split-bar { display: flex; height: 10px; }
.split-bar span:first-child,
.split-bar span:last-child { flex-grow: 1; }
.split-bar span:first-child { background: #000; }
.split-bar span:nth-child(2) { width: 30px; background: linear-gradient(115deg, #000 50%, var(--pink) 50%); }
.split-bar span:last-child { background: var(--pink); }

/* ---------- Parallax (CSS scroll-driven; JS fallback in main.js) ---------- */
@supports (animation-timeline: view()) {
  .px-1 { animation: px1 linear both; animation-timeline: view(); animation-range: cover; }
  .px-2 { animation: px2 linear both; animation-timeline: view(); animation-range: cover; }
  .px-3 { animation: px3 linear both; animation-timeline: view(); animation-range: cover; }
  .px-bg { animation: pxbg linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes px1 { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
  @keyframes px2 { from { transform: translateY(110px); } to { transform: translateY(-110px); } }
  @keyframes px3 { from { transform: translateY(-60px); } to { transform: translateY(60px); } }
  @keyframes pxbg { from { transform: translateY(-18%); } to { transform: translateY(18%); } }

  /* Hero copy drifts up and fades as you scroll past it */
  .hero-copy { animation: hero-out linear both; animation-timeline: view(); animation-range: exit -10% exit 90%; }
  @keyframes hero-out { to { translate: 0 -80px; opacity: .25; } }

  /* Images and placeholder stripes slide inside their card frames */
  .product .ph, .app .ph { animation: px-stripes linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes px-stripes { from { background-position: 0 -60px; } to { background-position: 0 60px; } }
}

/* ---------- Interactive motion (classes added by main.js) ---------- */
/* Fade up as elements enter the viewport. Uses `translate` so it never
   fights the `transform` used by the parallax and tilt effects. */
.reveal {
  opacity: 0;
  translate: 0 36px;
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), translate .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in { opacity: 1; translate: 0 0; }

/* Hero layers follow the cursor */
.hero-visual .ph { transition: translate .5s cubic-bezier(.2,.7,.2,1); }

/* Cards tilt toward the cursor */
.tilt { transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.tilt.is-tilting { transition-duration: .12s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.18);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .nav-links a:not(.btn):hover { background: #e0ddd5; }
  .nav-links .btn { margin-top: 6px; }
  .product--featured { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .product--featured .product-body { padding: 20px 14px 10px; }
  .contact-page .wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero .wrap { padding-top: 144px; padding-bottom: 80px; grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-title br { display: none; }
  .band { height: 520px; }
  .values .wrap, .impact .wrap { grid-template-columns: 1fr; }
  .values-visual { min-height: 400px; }
  .path { padding: 28px; }
  .contact-hero .wrap { padding-top: 136px; padding-bottom: 64px; }
  .contact-form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .apps .app:nth-child(even) { padding-top: 32px; }
  .app-cover { padding: 12px; gap: 10px; }
  .app-cover p { font-size: 12.5px; -webkit-line-clamp: 4; }
  .app-cover .app-cta { min-height: 36px; padding: 0 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee, .px-1, .px-2, .px-3, .px-bg,
  .hero-copy, .product .ph, .app .ph, .product .ph > img, .app .ph > img { animation: none !important; transform: none !important; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .app-cover, .app-cover > * { transition: none; translate: none; }
  .flip-inner { transition: none; }
}
