/* ============================================================
   CAMPERA — marketing site
   Warm, analog, tactile. Milled olive · cream · hot orange.
   ============================================================ */

/* Wordmark = Computer Modern math italic (cmmi10), self-hosted */
@font-face {
  font-family: "Campera Word";
  src: url("assets/campera-wordmark.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --accent:      #F5511B;
  --accent-2:    #FF7A3D;
  --yellow:      #F2C314;
  --cream:       #E6D9C9;
  --warm-gray:   #6E6663;
  --olive:       #2b2f26;
  --leather:     #2e2016;
  --teal:        #6AB8C3;
  --green:       #39F468;

  --bg:          #0c0e0b;
  --panel:       #171a12;
  --panel-2:     #1e2318;
  --line:        rgba(230,217,201,0.12);
  --line-soft:   rgba(230,217,201,0.07);

  --text:        #ece3d6;
  --text-dim:    #b3aa9c;
  --text-mute:   #857c6f;

  --display:  "Newsreader", Georgia, "Times New Roman", serif;
  --wordmark: "Campera Word", "Newsreader", Georgia, serif;
  --sans:     "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 26px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }

body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--bg);   /* flat — no directional color washes that seam at section edges */
}

/* grain */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 9999; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 6s steps(6) infinite; mix-blend-mode: overlay;
}
@keyframes grainshift {
  0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)}
  40%{transform:translate(3%,-4%)} 60%{transform:translate(-3%,2%)}
  80%{transform:translate(4%,-2%)} 100%{transform:translate(0,0)}
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s; white-space: nowrap;
}
.btn--pill { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(245,81,27,0.5), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn--pill:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(245,81,27,0.6), inset 0 1px 0 rgba(255,255,255,0.3); }

.appstore { display: inline-flex; line-height: 0; transition: transform .35s var(--ease), filter .35s; border-radius: 12px; cursor: pointer; }
.appstore img { height: 52px; width: auto; }
.appstore:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5)); }

/* ============================================================
   NAV — floating pill (icon only)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 16px clamp(14px, 3vw, 22px); pointer-events: none;
}
.nav__pill {
  pointer-events: auto; display: flex; align-items: center; gap: clamp(14px, 3vw, 30px);
  width: min(100%, 1080px); padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(16,19,13,0.5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line-soft); box-shadow: 0 12px 34px -16px rgba(0,0,0,0.7);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.is-stuck .nav__pill { background: rgba(16,19,13,0.78); border-color: var(--line); box-shadow: 0 16px 40px -18px rgba(0,0,0,0.85); }
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__icon { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; font-weight: 600; color: var(--text-dim); position: relative; transition: color .25s; }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:-5px; height:2px; background: var(--accent); border-radius:2px; transition: right .3s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }
.nav__cta { font-size: 14px; padding: 9px 20px; }
@media (max-width: 640px) { .nav__links { display: none; } .nav__pill { padding-left: 14px; } }

/* ---- variant: two split pills (logo left corner, links/cta right corner) ---- */
.nav--split { justify-content: space-between; align-items: flex-start; gap: 12px; }
.nav--split .nav__pill { width: auto; gap: 18px; }
.nav__pill--brand { padding: 7px; }
.nav--split .nav__pill--brand .nav__brand { margin-right: 0; }
.nav__pill--links { padding: 7px 7px 7px 20px; transition: padding .4s var(--ease), gap .4s var(--ease), background .4s, border-color .4s, box-shadow .4s; }
.nav--split .nav__links { display: flex; align-items: center; gap: 0; }
.nav--split .nav__links a {
  max-width: 120px; min-width: 0; opacity: 1; white-space: nowrap; overflow: hidden; margin-right: 24px;
  transition: max-width .42s var(--ease), opacity .3s ease, margin-right .42s var(--ease);
}
.nav--split .nav__links a::after { bottom: 2px; }          /* keep hover underline inside the clipped box */
.nav--split .nav__links a:last-child { margin-right: 0; }
/* each link collapses when you reach ITS section — Features first, Reviews later */
.nav--split.hide-features .nav__links a[href="#features"],
.nav--split.hide-reviews  .nav__links a[href="#reviews"] {
  max-width: 0; opacity: 0; margin-right: 0; pointer-events: none;
}
/* once both are gone, Download is alone — even out the pill padding */
.nav--split.hide-features.hide-reviews .nav__pill--links { padding-left: 7px; gap: 0; }
@media (max-width: 640px) { .nav--split .nav__links { display: none; } .nav__pill--links { padding: 7px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 90svh; display: flex; align-items: center;
  padding: 130px clamp(18px, 4vw, 44px) 64px; overflow: hidden;
}
.hero__shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.shader-fallback {
  background:
    radial-gradient(closest-side at 70% 45%, rgba(245,90,30,0.7), rgba(245,81,27,0.25) 62%, transparent 72%),
    #0c0e0b;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,14,11,0.5) 0%, transparent 22%, transparent 58%, var(--bg) 100%),
    radial-gradient(90% 90% at 50% 50%, transparent 42%, rgba(12,14,11,0.45) 100%);
}
.hero__inner {
  position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 400px) auto minmax(0, 40px); justify-content: center; align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
}
.hero__copy { text-align: center; }
.hero__lockup { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.hero__icon { width: 96px; height: 96px; border-radius: 23px; box-shadow: 0 16px 40px -14px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.08); }
.hero__wordmark {
  font-family: var(--wordmark); font-style: normal; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 40px); line-height: 1; letter-spacing: -3.5px;
  color: var(--cream); padding-top: 3px;
}
.hero__proof { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.stars { display: inline-flex; gap: 0px; }
.star { width: 18px; height: 18px; fill: var(--yellow); }
.hero__proof-text { font-size: 14px; color: var(--text-dim); }
.hero__proof-text strong { color: var(--cream); font-weight: 800; }
.hero__blurb { font-size: clamp(15px, 1.5vw, 16.5px); color: var(--text-dim); max-width: 40ch; margin: 0 auto 26px; line-height: 1.55; }
.hero__blurb em { color: var(--cream); font-style: italic; }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero__meta { margin-top: 22px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }

/* device */
.hero__device { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.device-parallax { position: relative; will-change: transform; }
.device { position: relative; z-index: 1; width: min(330px, 80vw); animation: floaty 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes floaty { 0%,100%{transform:translateY(0) rotateZ(4deg) rotateX(2deg) rotateY(-6deg)} 50%{transform:translateY(-14px) rotateZ(4deg) rotateX(2deg) rotateY(-3deg)} }
.device__shell { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); pointer-events: none; }

/* a fanned deck of real shots BEHIND the phone — its own layer, so it never inherits the
   phone's 3D float. Photos share a pivot near the phone's lower-middle and splay up & out;
   the phone (z-index 1) sits in front, covering their base, tops/corners peeking around it. */
.hero-deck { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-shot {
  position: absolute; left: 50%; top: 50%; width: 55%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 15px; box-shadow: 0 30px 55px -20px rgba(0,0,0,0.92);
  transform-origin: 6% 50%;                       /* pivot at the left edge → left corners stay tucked under the phone */
  transform: translate(30%, -24%) scale(.86);   /* tucked behind the phone, slides out on load */
  opacity: 0; will-change: transform, opacity;
  transition: transform 1.05s var(--ease-out), opacity .7s ease;
}
.hero-shot--1 { z-index: 1; }
.hero-shot--2 { z-index: 3; }
.hero-shot--3 { z-index: 2; }
.hero-shot.pop { opacity: 1; }
/* a clear vertical column on the phone's right — one above, one middle, one below */
.hero-shot--1.pop { transform: translate(78%, -116%) rotate(7deg)  scale(1); transition-delay: .06s; }
.hero-shot--2.pop { transform: translate(78%, -22%)  rotate(11deg) scale(1); transition-delay: .18s; }
.hero-shot--3.pop { transform: translate(126%, -70%) rotate(13deg) scale(1); transition-delay: .30s; }
@media (max-width: 900px) { .hero-deck { display: none; } }
/* 17 Pro shell has a transparent screen cutout — photo sits BEHIND the shell, sized a touch
   larger than the cutout so its edges tuck under the frame (no gap possible) */
.device__screen { position: absolute; z-index: 1; top: 1.8%; left: 4.4%; right: 4.4%; bottom: 1.8%; border-radius: 52px; overflow: hidden; background: #0e0f0c; }
.device__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.device__glow { position: absolute; z-index: 0; inset: 8% 10%; background: radial-gradient(circle at 50% 45%, rgba(245,81,27,0.32), transparent 65%); filter: blur(50px); opacity: .4; }
.video-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: repeating-linear-gradient(135deg, rgba(230,217,201,0.03) 0 12px, transparent 12px 24px), linear-gradient(160deg, #22261c, #14160f 70%);
  color: var(--text-dim);
}
.video-ph::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 42%, rgba(245,81,27,0.1), transparent 60%); }
.video-ph__play {
  position: relative; z-index: 2; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(230,217,201,0.25); background: rgba(245,81,27,0.9); color: #fff; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(245,81,27,0.5), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform .3s var(--ease);
}
.video-ph__play::before { content:""; position:absolute; inset:-10px; border-radius:50%; border: 1px solid rgba(245,81,27,0.35); animation: ripple 2.6s ease-out infinite; }
@keyframes ripple { 0%{transform:scale(.9);opacity:.8} 100%{transform:scale(1.6);opacity:0} }
.video-ph__play svg { margin-left: 3px; }
.video-ph__play:hover { transform: scale(1.08); }
.video-ph__label { position: relative; z-index: 2; font-size: 14px; font-weight: 600; }
.video-ph__tag { position: relative; z-index: 2; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--text-mute); border: 1px dashed rgba(230,217,201,0.2); padding: 3px 9px; border-radius: 999px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lockup, .hero__actions, .hero__proof { justify-content: center; }
  .hero__blurb { margin-left: auto; margin-right: auto; }
  .hero__device { margin-top: 20px; order: 2; }
  .hero { min-height: auto; padding-bottom: 30px; }
}

/* ============================================================
   Section shared
   ============================================================ */
.section-title {
  font-family: var(--display); font-weight: 500; font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.06; letter-spacing: -0.4px; color: var(--cream); margin: 0 0 18px; max-width: 18ch; text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-dim); max-width: 46ch; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { position: relative; padding: clamp(54px, 8vh, 96px) clamp(18px, 4vw, 44px) 60px; }
.features__head { max-width: var(--maxw); margin: clamp(56px, 9vh, 120px) auto 40px; }

.stack { max-width: 980px; margin: 0 auto; padding-bottom: clamp(40px, 8vh, 110px); perspective: 1600px; }
.fcard {
  position: sticky; top: 108px; display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; margin-bottom: 42px;
  border-radius: var(--radius); overflow: hidden; background: linear-gradient(155deg, var(--panel-2), var(--panel) 70%);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(230,217,201,0.05);
  transform-origin: center top; will-change: transform; transition: transform .18s var(--ease-out), filter .18s var(--ease-out);
}
.fcard::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04; mix-blend-mode: overlay;
}
.fcard__media { position: relative; z-index: 1; background: #0c0d0a; overflow: hidden; }
/* absolute-fill so the source image can NEVER dictate the card's height (kept all cards equal) */
.fcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.fcard:hover .fcard__media img { transform: scale(1.06); }
.fcard__body { position: relative; z-index: 1; padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.fcard__body h3 { font-family: var(--display); font-weight: 500; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.14; color: var(--cream); letter-spacing: -0.3px; }
.fcard__body p { color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 40ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); background: transparent; }
.chip--espresso { border-color: rgba(243,175,37,0.5); color: #f3af25; }
.chip--anchoa   { border-color: rgba(37,109,243,0.5); color: #6b9bff; }
.chip--olivo    { border-color: rgba(7,121,81,0.6); color: #4fce9e; }
.chip--burro    { border-color: rgba(216,95,14,0.5); color: #e88a3c; }
.chips--dots { gap: 10px; }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255,255,255,0.15); box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), 0 2px 6px rgba(0,0,0,0.4); }
.chips--swatches { gap: 11px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 7px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.08); transition: transform .25s var(--ease-out); }
.swatch:hover { transform: translateY(-2px) scale(1.06); }

/* community feedback — alpha-white pill */
.fb {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .2px; color: var(--cream);
  padding: 5px 13px 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
}
.fb svg { fill: rgba(255,255,255,0.72); }
.fb--sm { font-size: 11px; padding: 4px 11px 4px 9px; gap: 6px; margin-top: 12px; }

/* Fan the stack with a TRANSFORM offset (not sticky-top) so every card still pins at the
   same 108px and therefore unsticks at the same instant — the whole stack then scrolls away
   as one group instead of the last card peeling off alone. JS overrides this to add scale. */
.stack .fcard:nth-child(1) { --i: 0; }
.stack .fcard:nth-child(2) { --i: 1; }
.stack .fcard:nth-child(3) { --i: 2; }
.stack .fcard:nth-child(4) { --i: 3; }
@media (min-width: 821px) {
  .stack .fcard:nth-child(2) { transform: translateY(14px); }
  .stack .fcard:nth-child(3) { transform: translateY(28px); }
  .stack .fcard:nth-child(4) { transform: translateY(42px); }
}

@media (max-width: 820px) { .fcard { grid-template-columns: 1fr; min-height: 0; top: 88px; } .fcard__media { aspect-ratio: 4/3; } }

/* ---- feature-card visualizations (used inside .fcard__media) ---- */
/* small category tag inside a feature card */
.ftag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.ftag--accent { color: var(--accent); background: rgba(245,81,27,0.1); border: 1px solid rgba(245,81,27,0.28); }
.ftag--teal { color: var(--teal); background: rgba(106,184,195,0.1); border: 1px solid rgba(106,184,195,0.3); }

/* motion streaks */
.viz--motion { background: radial-gradient(circle at 32% 50%, rgba(245,81,27,0.16), transparent 62%), #0d0f0b; }
.viz--motion span { position: absolute; left: -30%; height: 2px; width: 55%; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(245,138,60,0.95), transparent); filter: blur(.4px); animation: streak 3.4s linear infinite; }
.viz--motion span:nth-child(1){ top: 22%; animation-delay: 0s; }
.viz--motion span:nth-child(2){ top: 38%; animation-delay: .9s; opacity:.7; background: linear-gradient(90deg, transparent, rgba(106,184,195,0.9), transparent); }
.viz--motion span:nth-child(3){ top: 54%; animation-delay: 1.7s; }
.viz--motion span:nth-child(4){ top: 68%; animation-delay: 2.5s; opacity:.8; }
.viz--motion span:nth-child(5){ top: 82%; animation-delay: 1.2s; background: linear-gradient(90deg, transparent, rgba(230,217,201,0.5), transparent); }
@keyframes streak { 0%{transform:translateX(-40%);opacity:0} 15%{opacity:1} 80%{opacity:1} 100%{transform:translateX(190%);opacity:0} }

/* prompt card */
.viz--prompt { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 60% 40%, rgba(106,184,195,0.1), transparent 62%), #0d0f0b; }
.promptcard { width: min(100%, 300px); background: linear-gradient(160deg, #23271d, #171a12); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-2.5deg); }
.promptcard__day { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }
.promptcard__text { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--cream); line-height: 1.25; }
.promptcard__foot { font-size: 11px; color: var(--text-mute); }

/* mini grid */
.minigrid { max-width: var(--maxw); margin: clamp(30px, 4vh, 48px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { padding: 16px 16px 24px; border-radius: 20px; background: linear-gradient(160deg, var(--panel), rgba(23,26,18,0.6)); border: 1px solid var(--line-soft); display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini__thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: 13px; overflow: hidden; margin-bottom: 20px; background: #0b0c09; }
.mini__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.15s var(--ease-out); }
.mini.in .mini__thumb img { transform: scale(1); }
.mini__thumb--ph { display: grid; place-items: center; background: linear-gradient(150deg, #242820, #14160f); border: 1px solid var(--line-soft); }
.mini__ico { width: 34px; height: 34px; color: var(--text-mute); }
.mini h4 { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.05vw, 25px); line-height: 1.2; letter-spacing: -0.3px; color: var(--cream); margin: 0 6px; text-wrap: balance; }
/* captions kept in the DOM for answer-engine / SEO context, but not shown */
.mini p { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.minigrid__note { max-width: 62ch; margin: clamp(24px, 3.4vh, 36px) auto 0; text-align: center; font-size: 17px; line-height: 1.65; color: var(--text-mute); }
@media (max-width: 860px) { .minigrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .minigrid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS WALL
   ============================================================ */
.loved { position: relative; padding: clamp(80px, 12vh, 140px) clamp(18px, 4vw, 44px) clamp(60px,10vh,120px); overflow: hidden; }
.loved__head { max-width: var(--maxw); margin: 0 auto 46px; text-align: center; }
.loved__head .section-title { margin-left: auto; margin-right: auto; max-width: 20ch; }
.loved__head .section-sub { margin: 0 auto; }

.wall {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: var(--maxw); margin: 0 auto; height: 736px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.wall__col { display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.wall__inner { display: flex; flex-direction: column; gap: 18px; }
/* frosted glass cards */
.tcard {
  background: linear-gradient(150deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 20px 20px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px -24px rgba(0,0,0,0.9);
  backdrop-filter: blur(13px) saturate(1.15); -webkit-backdrop-filter: blur(13px) saturate(1.15);
}
.tcard__stars { display: flex; gap: 2px; margin-bottom: 11px; }
.tcard__stars svg { width: 14px; height: 14px; fill: var(--yellow); }
.tcard p { font-size: 15px; line-height: 1.55; color: var(--text); }
.tcard__meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; }
.tcard__by { color: var(--cream); font-weight: 700; }
.tcard__src { color: var(--text-mute); }
.tcard__src::before { content: "· "; }
.tcard--photo { padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); aspect-ratio: 4/5; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tcard--photo img { width: 100%; height: 100%; object-fit: cover; }
.tcard--accent { background: linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); border-color: rgba(255,255,255,0.16); }
.tcard--accent p { color: var(--cream); font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.35; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(2,1fr); height: 640px; } .wall__col--hide-sm{ display:none; } }
@media (max-width: 560px) { .wall { grid-template-columns: 1fr; height: 580px; } .wall__col:nth-child(n+3){ display:none; } }

/* ============================================================
   INSTAGRAM STRIP
   ============================================================ */
.ig { position: relative; padding: clamp(48px, 8vh, 96px) 0 16px; overflow: hidden; }   /* bottom = photo gutter (16px) */
.ig__head {
  max-width: var(--maxw); margin: 0 auto clamp(24px, 3.4vh, 38px); padding: 0 clamp(18px, 4vw, 44px);
  display: flex; align-items: baseline; justify-content: center; gap: 8px 16px; flex-wrap: wrap; text-align: center;
}
.ig__handle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.5vw, 30px); color: var(--cream); transition: opacity .2s ease; }
.ig__handle:hover { opacity: .82; }
.ig__glyph { width: 26px; height: 26px; }
.ig__sub { font-size: 14px; color: var(--text-mute); }
.ig__strip {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ig__track { display: flex; gap: 16px; width: max-content; animation: ig-scroll 70s linear infinite; }
.ig__tile {
  flex: 0 0 auto; width: clamp(190px, 19vw, 272px); aspect-ratio: 4 / 5; border-radius: 16px;
  overflow: hidden; position: relative; box-shadow: 0 16px 32px -20px rgba(0,0,0,0.85);
}
.ig__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.ig__tile:hover img { transform: scale(1.06); }
.ig__tile::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
@keyframes ig-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ig__track { animation: none; } }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(96px, 17vh, 190px) clamp(18px, 4vw, 44px) clamp(70px, 12vh, 130px);
  background: transparent;   /* share the flat body bg with the footer -> no seam */
}
/* subtle orange half-orb glow bleeding in from the top edge, cut in half */
.cta__shader {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 68%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 68%);
}
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta__icon { width: 78px; height: 78px; border-radius: 19px; margin: 0 auto 26px; box-shadow: 0 18px 44px -14px rgba(0,0,0,0.7); }
.cta__title { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.5px; color: var(--cream); text-wrap: balance; margin-bottom: 16px; }
.cta__title em { font-style: normal; color: var(--accent); }
.cta__cap { font-size: clamp(15px, 1.7vw, 18px); color: var(--text-dim); margin: 0 0 32px; }
.cta__actions { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 8px clamp(18px, 4vw, 44px) 48px; max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.footer__social { display: flex; gap: 14px; margin-bottom: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.footer__social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer__social img { width: 19px; height: 19px; opacity: .85; }
.footer__fine { font-size: 12.5px; color: var(--text-mute); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

*:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .device { animation: none; }
  .hero-shot { transition: none; }
}
