/* ============================================================
   Homepage v2 — one continuous, shaped scroll story.
   ============================================================ */

.v2 { overflow-x: clip; }

/* dark-surface overrides shared by hero, why and studio */
.v2-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.v2-dark h1, .v2-dark h2, .v2-dark h3 { color: #fff; }
.v2-dark .btn-outline-brand { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.v2-dark .btn-outline-brand:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- 1. hero ---------- */

.v2-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(9rem, 14vw, 12rem);
  background: #031418;
  color: #fff;
  overflow: hidden;
}
.v2-hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 80% at 85% 20%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(3, 20, 24, 0.82) 0%, rgba(3, 20, 24, 0.6) 45%, rgba(3, 20, 24, 0.92) 100%);
}
.v2-spotlight {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 40%), rgba(23, 184, 196, 0.24), transparent 65%);
}
.v2-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 1.1rem 0 1.2rem;
}
.v2-hero .hero-lede { color: rgba(255, 255, 255, 0.8); max-width: 540px; }

.v2-rotator {
  display: inline-block;
  position: relative;
  background: linear-gradient(120deg, #5fe0e8 0%, var(--brand-cyan) 40%, var(--brand-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.v2-rotator.is-out { opacity: 0; transform: translateY(-0.35em); }
.v2-rotator.is-in { opacity: 0; transform: translateY(0.35em); transition: none; }

/* floating parallax cards */
.v2-float-stage { position: relative; height: 470px; }
.v2-float {
  position: absolute;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.v2-float-photo {
  inset: 20px 40px 70px 30px;
  border-radius: 34px 34px 34px 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.v2-float-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px 20px 20px 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.v2-float-code {
  left: -10px;
  bottom: 10px;
  width: 250px;
  padding: 1rem 1.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
}
.v2-float-code .dots { display: flex; gap: 5px; margin-bottom: 0.6rem; }
.v2-float-code .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.v2-float-code .dots i:first-child { background: #ff6b6b; }
.v2-float-code .dots i:nth-child(2) { background: var(--brand-pink); }
.v2-float-code .dots i:nth-child(3) { background: #4ade80; }
.v2-float-code .k { color: #5fe0e8; }
.v2-float-code .s { color: #f3d27a; }
.v2-float-code .ok { color: #4ade80; }
.v2-float-badge {
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.v2-float-badge .material-symbols-outlined { color: var(--brand-pink); vertical-align: middle; }
.v2-float-rating {
  right: 10px;
  bottom: 40px;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
}
.v2-float-rating strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.v2-float-rating .stars { color: var(--brand-pink); letter-spacing: 2px; }

.v2-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  width: 100%;
  height: clamp(70px, 10vw, 150px);
  display: block;
}
.v2-hero-wave path { fill: var(--paper); }

/* glass stats panel riding on the wave */
.v2-stats-wrap { position: relative; z-index: 5; margin-top: clamp(-120px, -9vw, -70px); }
.v2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 30px 30px 30px 8px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.v2-stat { padding: 1.5rem 1.6rem; position: relative; }
.v2-stat + .v2-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--line-strong);
}
.v2-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v2-stat span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 767px) {
  .v2-stats { grid-template-columns: 1fr 1fr; }
  .v2-stat:nth-child(3)::before { display: none; }
  .v2-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- 2. horizontal services ---------- */

.v2-hs { position: relative; }
.v2-hs-sticky {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  overflow: hidden;
}
.v2-hs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.v2-hs-head h2 { margin: 0.8rem 0 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; max-width: 620px; }
.v2-hs-counter {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  min-width: 180px;
}
.v2-hs-counter b { font-size: 2.6rem; color: var(--ink); font-weight: 700; }
.v2-hs-bar { height: 3px; margin-top: 0.6rem; background: var(--line); border-radius: 3px; overflow: hidden; }
.v2-hs-bar i { display: block; height: 100%; width: 0; background: var(--gradient-brand); }

.v2-hs-track {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem max(16px, calc((100vw - 1320px) / 2 + 12px));
  will-change: transform;
}
.v2-svc {
  flex: 0 0 min(400px, 80vw);
  height: min(500px, 58vh);
  min-height: 360px;
}
.v2-svc .v2-svc-num {
  position: absolute;
  top: 0.6rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
}
.v2-svc-end {
  flex: 0 0 min(340px, 80vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  border-radius: 28px 28px 28px 6px;
  border: 2px dashed var(--line-strong);
}
.v2-svc-end h3 { font-size: 1.6rem; }

/* touch / narrow / reduced motion: plain swipeable row */
.v2-hs--native .v2-hs-sticky { position: static; height: auto; padding: 5rem 0 3rem; }
.v2-hs--native .v2-hs-counter { display: none; }
.v2-hs--native .v2-hs-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}
.v2-hs--native .v2-hs-track::-webkit-scrollbar { display: none; }
.v2-hs--native .v2-svc,
.v2-hs--native .v2-svc-end { scroll-snap-align: center; }
.v2-hs--native .v2-svc { height: 440px; }

/* ---------- 3. diagonal why section ---------- */

.v2-why {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(212, 175, 55, 0.22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(23, 184, 196, 0.25), transparent 60%),
    linear-gradient(160deg, #0c6b74 0%, #0b5e66 45%, #052a2e 100%);
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
  padding: calc(7vw + 4.5rem) 0 calc(7vw + 4.5rem);
}
.v2-why h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; margin: 0.9rem 0 1rem; }
.v2-why-item { display: flex; gap: 1rem; margin-top: 1.3rem; }
.v2-why-item .tile-chip { position: static; flex-shrink: 0; }
.v2-why-item strong { color: #fff; display: block; margin-bottom: 0.15rem; }
.v2-why-item p { margin: 0; font-size: 0.92rem; }

.v2-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 1rem;
}
.v2-why-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px 24px 24px 6px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.v2-why-stat:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-4px); }
.v2-why-stat strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: #fff; }
.v2-why-stat span { font-size: 0.85rem; }
.v2-why-stat--gold strong { color: var(--brand-pink); }
.v2-why-photo {
  grid-column: span 2;
  border-radius: 24px 24px 24px 6px;
  overflow: hidden;
  position: relative;
}
.v2-why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
.v2-why-photo:hover img { transform: scale(1.05); }

/* ---------- 4. drawn process path ---------- */

.v2-process { position: relative; }
.v2-path-wrap { position: relative; margin-top: 3rem; }
.v2-path { display: block; width: 100%; height: 220px; overflow: visible; }
.v2-path path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.v2-path .bg { stroke: var(--line-strong); stroke-dasharray: 2 8; }
.v2-path .draw { stroke: url(#v2PathGrad); stroke-dasharray: 1; stroke-dashoffset: 1; }
.v2-dot {
  position: absolute;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  border: 2px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out), box-shadow 0.4s;
}
.v2-step.is-lit .v2-dot,
.v2-dot.is-lit {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(11, 94, 102, 0.3);
}
.v2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }
.v2-step { text-align: center; padding: 0 0.5rem; opacity: 0.45; transition: opacity 0.5s; }
.v2-step.is-lit { opacity: 1; }
.v2-step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.v2-step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.v2-step .v2-dot { display: none; }

@media (max-width: 767px) {
  .v2-path, .v2-path-wrap > .v2-dot { display: none; }
  .v2-steps { grid-template-columns: 1fr; gap: 1.6rem; position: relative; padding-left: 4.2rem; }
  .v2-steps::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(var(--brand-violet), var(--brand-pink)) 0 0 / 100% calc(var(--p, 0) * 100%) no-repeat, var(--line);
  }
  .v2-step { text-align: left; position: relative; padding: 0; }
  .v2-step .v2-dot { display: flex; left: -4.2rem; top: 0; margin: 0; }
}

/* ---------- 5. studio panel ---------- */

.v2-studio {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 44px 44px 44px 10px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(23, 184, 196, 0.28), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(212, 175, 55, 0.2), transparent 60%),
    #031418;
  box-shadow: var(--shadow-deep);
}
.v2-studio h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.06; margin: 0.9rem 0 0.8rem; }
.v2-prompt {
  margin-top: 1.6rem;
  padding: 0.5rem;
  border-radius: 22px 22px 22px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.v2-prompt:focus-within { border-color: var(--brand-cyan); box-shadow: 0 0 0 5px rgba(23, 184, 196, 0.18); }
.v2-prompt textarea {
  width: 100%;
  min-height: 92px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
}
.v2-prompt textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.v2-prompt-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0 0.3rem 0.3rem 0.8rem; }
.v2-prompt-bar small { color: rgba(255, 255, 255, 0.5); }
.v2-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.v2-chip {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  transition: background 0.2s, border-color 0.2s;
}
.v2-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--brand-cyan); }

.v2-gallery {
  height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.v2-col { display: flex; flex-direction: column; gap: 1rem; animation: v2-up 34s linear infinite; }
.v2-col--down { animation-name: v2-down; }
.v2-gallery:hover .v2-col { animation-play-state: paused; }
.v2-shot {
  position: relative;
  border-radius: 20px 20px 20px 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
}
.v2-shot:nth-child(3n + 2) { aspect-ratio: 1 / 1; }
.v2-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-shot span {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(3, 20, 24, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
}
@keyframes v2-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes v2-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* ---------- 6. marquees ---------- */

.v2-marquee {
  overflow: hidden;
  padding: 1.1rem 0;
  margin: 0 -3vw;
}
.v2-clip { overflow-x: clip; }
/* spacing via margin (not gap) so the two cloned halves are exactly equal
   and the -50% loop lands seamlessly */
.v2-marquee-track {
  display: flex;
  width: max-content;
  animation: v2-x 60s linear infinite;
}
.v2-marquee-track > * { margin-right: 1.25rem; }
.v2-marquee:hover .v2-marquee-track { animation-play-state: paused; }
.v2-marquee--reverse .v2-marquee-track { animation-direction: reverse; }
@keyframes v2-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.v2-quote {
  width: min(420px, 82vw);
  flex-shrink: 0;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 6px;
  box-shadow: var(--shadow-soft);
}
.v2-quote .stars { color: var(--brand-pink); letter-spacing: 2px; }
.v2-quote p { color: var(--ink-soft); margin: 0.6rem 0 1rem; }
.v2-quote .testimonial-person { display: flex; align-items: center; gap: 0.7rem; }
.v2-quote .testimonial-person img { width: 42px; height: 42px; border-radius: 50%; }
.v2-quote .testimonial-person span { display: block; font-size: 0.8rem; color: var(--muted); }

/* crossing ribbons */
.v2-ribbons { position: relative; height: 190px; margin: 2rem 0 1rem; overflow: hidden; }
.v2-ribbon {
  position: absolute;
  left: -5vw;
  right: -5vw;
  top: 50%;
  padding: 1rem 0;
  overflow: hidden;
}
.v2-ribbon--teal { background: var(--brand-violet); transform: translateY(-50%) rotate(-3deg); z-index: 2; box-shadow: var(--shadow-lift); }
.v2-ribbon--gold { background: var(--brand-pink); transform: translateY(-50%) rotate(2.5deg); z-index: 1; }
.v2-ribbon .v2-marquee-track { animation-duration: 40s; }
.v2-ribbon .v2-marquee-track > * { margin-right: 2rem; }
.v2-ribbon span {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.v2-ribbon--teal span { color: #fff; }
.v2-ribbon--gold span { color: #2a220a; }
.v2-ribbon i { font-style: normal; opacity: 0.55; }

/* ---------- 7. CTA overlapping footer ---------- */

.v2-cta {
  position: relative;
  z-index: 3;
  margin-bottom: -120px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 44px 44px 44px 10px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(212, 175, 55, 0.75), transparent 65%),
    linear-gradient(135deg, #17b8c4 0%, #0b5e66 60%, #073f45 100%);
  box-shadow: 0 40px 80px rgba(11, 94, 102, 0.35);
}
.v2-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.08);
}
.v2-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.v2-cta p { color: rgba(255, 255, 255, 0.85); }
.v2-cta .btn-light-pill {
  background: #fff;
  color: var(--brand-violet);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.9rem;
}
.site-footer.v2-footer { padding-top: calc(120px + 4rem); }

/* magnetic buttons */
.v2-magnetic { transition: transform 0.25s ease-out; will-change: transform; }

/* ---------- motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  .v2-col, .v2-marquee-track { animation: none; }
  .v2-float, .v2-magnetic { transition: none; }
  .v2-marquee, .v2-ribbon { overflow-x: auto; }
}
@media (max-width: 991px) {
  .v2-float-stage { height: 380px; margin-top: 1rem; }
  .v2-float-code { width: 220px; }
}
@media (max-width: 575px) {
  .v2-float-stage { height: 330px; }
  .v2-float-photo { inset: 20px 10px 60px 10px; }
  .v2-float-rating { display: none; }
  .v2-gallery { height: 380px; }
}

/* ============================================================
   Decorative layer: blobs, arches, rings, dots, photo overlays
   ============================================================ */

/* organic blob shapes in the hero */
.v2-blob { position: absolute; z-index: -2; left: -8%; top: -10%; width: 70%; height: 125%; }
.v2-blob-2 { position: absolute; z-index: -2; right: -12%; bottom: -35%; width: 50%; color: rgba(212, 175, 55, 0.16); }
.v2-hero::before {
  background:
    radial-gradient(70% 80% at 85% 20%, rgba(212, 175, 55, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(3, 20, 24, 0.55) 0%, rgba(3, 20, 24, 0.35) 50%, rgba(3, 20, 24, 0.75) 100%);
}
.v2-hero .container { position: relative; z-index: 1; }

/* hand-drawn gold underline that draws itself */
.v2-underline { position: relative; white-space: nowrap; }
.v2-underline svg {
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.32em;
  color: var(--brand-pink);
  overflow: visible;
}
.v2-underline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: v2-draw 1.2s 0.7s var(--ease-out) forwards; }
@keyframes v2-draw { to { stroke-dashoffset: 0; } }

/* arch frame around the hero photo */
.v2-arch-frame {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  bottom: 0;
  border-radius: 999px 999px 32px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.v2-arch-frame::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto 12px;
  height: 60%;
  border-radius: 999px 999px 0 0;
  border: 1.5px dashed rgba(212, 175, 55, 0.6);
  border-bottom: 0;
}
.v2-arch-photo {
  position: absolute;
  inset: 26px 26px 0 26px;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.v2-arch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* rings: a thin static ring and a dashed gold ring that spins with an orbiting dot */
.v2-ring {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.v2-ring--spin {
  border: 1.5px dashed rgba(212, 175, 55, 0.55);
  animation: v2-spin 50s linear infinite;
}
.v2-ring--spin::after {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2), 0 0 18px rgba(212, 175, 55, 0.8);
}
.v2-ring--light { border-color: rgba(11, 94, 102, 0.18); }
.v2-ring--teal-spin { border: 1.5px dashed rgba(23, 184, 196, 0.45); animation: v2-spin 70s linear infinite reverse; }
@keyframes v2-spin { to { transform: rotate(360deg); } }

/* gentle bobbing for floating cards (uses `translate`, so it stacks
   with the JS parallax that sets `transform`) */
.v2-bob { animation: v2-bob 6s ease-in-out infinite; }
.v2-bob--late { animation-delay: -3s; }
@keyframes v2-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* dotted-grid circle */
.v2-dots {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(var(--brand-cyan) 2px, transparent 2.5px) 0 0 / 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.v2-dots--gold { background-image: radial-gradient(var(--brand-pink) 2px, transparent 2.5px); }

/* faded photo laid behind a dark section */
.v2-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: grayscale(40%);
  pointer-events: none;
}
.v2-why > .container, .v2-studio > .row { position: relative; z-index: 1; }
.v2-why .v2-ring { z-index: 0; }

/* ---------- school split with arch media ---------- */

.v2-media { position: relative; max-width: 460px; margin: 0 auto; }
.v2-media .v2-dots { left: -34px; top: -34px; }
.v2-media .v2-ring { width: 118%; left: -9%; top: 4%; border-color: rgba(11, 94, 102, 0.16); }
.v2-media-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 30px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.v2-media-arch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
.v2-media:hover .v2-media-arch img { transform: scale(1.05); }
.v2-media-badge {
  position: absolute;
  right: -22px;
  bottom: 44px;
  max-width: 210px;
  padding: 1.3rem 1.5rem;
  border-radius: 22px 22px 22px 6px;
  background: linear-gradient(150deg, #e2c25a, var(--brand-pink) 50%, var(--brand-magenta));
  color: #fff;
  box-shadow: var(--shadow-deep);
}
.v2-media-badge .num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 700; }
.v2-media-badge p { margin: 0.35rem 0 0; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.95); }
.v2-school h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; margin: 0.9rem 0 1rem; }
.v2 h2 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v2-check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.v2-check-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); font-weight: 500; }
.v2-check-dot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 184, 196, 0.14);
  color: var(--brand-violet);
}
.v2-check-dot .material-symbols-outlined { font-size: 1rem; vertical-align: middle; }

/* ---------- pillars with corner ring (why section feature cards) ---------- */

.v2-why-stat { position: relative; overflow: hidden; }
.v2-why-stat::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04);
}

/* ---------- quote bubbles ---------- */

.v2-quote { position: relative; }
.v2-quote-mark {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 2.8rem !important;
  color: rgba(23, 184, 196, 0.22);
}
.v2-quote--teal { background: linear-gradient(160deg, #0c6b74, #0b5e66); border-color: transparent; }
.v2-quote--teal p { color: rgba(255, 255, 255, 0.92); }
.v2-quote--teal strong { color: #fff; }
.v2-quote--teal .testimonial-person span { color: rgba(255, 255, 255, 0.7); }
.v2-quote--teal .v2-quote-mark { color: rgba(255, 255, 255, 0.25); }

/* ---------- CTA with photo + overlay ---------- */

.v2-cta { isolation: isolate; background: none; }
.v2-cta > img.v2-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v2-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(212, 175, 55, 0.6), transparent 65%),
    linear-gradient(100deg, rgba(11, 94, 102, 0.96) 0%, rgba(23, 184, 196, 0.85) 55%, rgba(7, 63, 69, 0.7) 100%);
}
.v2-cta::after { z-index: -1; }
.v2-cta .v2-ring { z-index: 0; }

@media (max-width: 991px) {
  .v2-media-badge { right: 0; }
  .v2-blob { width: 110%; left: -20%; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-ring--spin, .v2-ring--teal-spin, .v2-bob { animation: none; }
  .v2-underline path { animation: none; stroke-dashoffset: 0; }
}

/* photo container becomes a plain holder for the arch frame */
.v2-float-photo { inset: 0 0 24px 0; border-radius: 0; overflow: visible; box-shadow: none; border: 0; }

/* Arch radii as %/% pairs: huge px radii get scaled down together, which
   flattens the small bottom corners into squares. */
.v2-arch-frame { border-radius: 50% 50% 32px 32px / 52% 52% 32px 32px; }
.v2-arch-frame::before { border-radius: 50% 50% 0 0 / 82% 82% 0 0; }
.v2-arch-photo { border-radius: 50% 50% 26px 26px / 49% 49% 26px 26px; }
.v2-media-arch { border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px; }

/* decorative rings must never widen the page */
.v2-why { overflow: hidden; }
.v2-school { overflow-x: clip; }
