/* OnceDivided Studios — homepage sections */

/* ============ HERO ============ */
.hero { position: relative; background: var(--brand-charcoal); color: var(--ink-on-dark); overflow: clip; }
.hero-stick { width: 100%; padding: calc(var(--nav-height) + 96px) var(--space-8) var(--space-28); }
.hero-grid { max-width: var(--container-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16); }
.hero-text { flex: 1 1 560px; min-width: 0; position: relative; z-index: 1; }
.hero-text .eyebrow { margin-bottom: var(--space-8); color: var(--ink-on-dark-muted); }
.hero-text .eyebrow::before { background: var(--brand-gold); }
.hero-text .eyebrow::before { width: 28px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(46px, 5.5vw, 72px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; margin-bottom: 28px; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; color: var(--brand-gold-light); }
.hero-sub { max-width: 560px; margin-bottom: var(--space-10); font-size: 20px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-14); }
.proof { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--hairline-dark); }
.proof-num { font-family: var(--font-display); font-size: 25.6px; line-height: 1; font-weight: 500; color: var(--brand-gold); margin-bottom: 6px; }
.proof-label { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-on-dark-muted); }
.hero-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: flex-end; }
.hero-cell { width: 125%; max-width: 680px; margin-right: -18%; color: var(--brand-gold); transform-origin: 50% 60%; }

/* ============ STATEMENT ============ */
.statement { background: var(--brand-charcoal); color: var(--ink-on-dark); padding: var(--space-16) var(--space-8) 176px; }
.statement p { max-width: 1100px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 64px); line-height: 1.18; font-weight: 500; letter-spacing: -.02em; }
.statement em { font-style: italic; color: var(--brand-gold); }

/* ============ HOW IT WORKS ============ */
.how-grid { display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: flex-start; }
.how-head { flex: 1 1 400px; min-width: 0; }
.how-head .lead { max-width: 480px; margin-bottom: var(--space-8); }
.steps { flex: 999 1 560px; min-width: 0; }
.step { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 1fr); gap: var(--space-6); padding: 36px 0; border-top: 1px solid var(--hairline); }
.step:last-of-type { border-bottom: 1px solid var(--hairline); }
.step-num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); line-height: 1; color: var(--brand-gold-text); }
.cells { display: flex; gap: 4px; margin-top: var(--space-4); }
.cell { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.cell.is-open { background: transparent; border: 1.5px solid var(--ink); }
.dark .cell.is-open { border-color: var(--brand-gold); }
.step h3 { font-family: var(--font-accent); font-size: 24px; line-height: 1.2; font-weight: 400; margin-bottom: var(--space-3); }
.step p { max-width: 620px; font-size: 17.6px; line-height: 1.5; color: var(--ink-muted); }
.how-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-top: 36px; }
.capacity { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .03em; color: var(--ink-muted); }
.capacity::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green-dark); flex: none; }
@media (min-width: 980px) { .how-head { position: sticky; top: calc(var(--nav-height) + 40px); } }

/* ============ RESULTS ============ */
.results { background: var(--brand-cream-dark); }
.results .h2 { margin-bottom: var(--space-16); }
.results .h2 em { color: var(--ink); }
.results .eyebrow::before { background: var(--ink); }
.results-grid { display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: flex-start; }
.case { flex: 999 1 560px; min-width: 0; border-top: 3px solid var(--ink); padding-top: var(--space-8); }
.case-sector { font-size: 11.2px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.case-figure { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-4) var(--space-10); margin: var(--space-6) 0 var(--space-10); }
.case-num { font-family: var(--font-display); font-size: clamp(88px, 11vw, 160px); line-height: .85; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.case-figure p { flex: 1 1 220px; padding-bottom: var(--space-2); font-family: var(--font-accent); font-size: 24px; line-height: 1.3; }
.case-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6) var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--hairline); }
.case-label { font-size: 12.8px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.results-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.panel { padding: var(--space-8); background: var(--brand-cream); border-radius: var(--radius-hairline); }
.panel .case-label { letter-spacing: .2em; font-size: 11.2px; margin-bottom: var(--space-4); }
.facts li { display: flex; gap: var(--space-4); align-items: baseline; padding: var(--space-3) 0; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 1.5; }
.facts li:last-child { border-bottom: 0; }
.facts b { font-family: var(--font-display); font-size: 25.6px; font-weight: 500; min-width: 64px; }
.quote { margin: 0; padding: var(--space-8); border-left: 2px solid var(--ink); background: var(--brand-cream); }
.quote p { font-family: var(--font-accent); font-style: italic; font-size: 22.4px; line-height: 1.4; margin-bottom: var(--space-4); }
.quote cite { font-style: normal; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }

/* Sample work */
.work-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin: var(--space-16) 0 var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--hairline); }
.work-head h3 { font-family: var(--font-accent); font-size: 24px; line-height: 1.2; font-weight: 400; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--space-10) var(--space-8); }
.work { min-width: 0; display: flex; flex-direction: column; }
.work-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-hairline); background: var(--brand-charcoal); color: var(--brand-cream); text-decoration: none; isolation: isolate; }
.work-img { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .9s var(--ease-out); }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-ph { flex-direction: column; gap: var(--space-3); }
.work-ph svg { width: 34%; color: var(--brand-gold); opacity: .9; transition: transform 1s var(--ease-out); }
.work-ph span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-on-dark-muted); }
.work-hover { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: var(--space-5) var(--space-6); background: var(--brand-gold); color: var(--ink); font-family: var(--font-accent); font-size: 20px; clip-path: inset(100% 0 0 0); transition: clip-path .55s var(--ease-out); }
.work-hover i { font-style: normal; transition: transform .55s var(--ease-out); }
.work-media:hover .work-img, .work:focus-within .work-img { transform: scale(1.06); }
.work-media:hover .work-ph svg, .work:focus-within .work-ph svg { transform: rotate(-14deg) scale(1.12); }
.work-media:hover .work-hover, .work:focus-within .work-hover { clip-path: inset(0 0 0 0); }
.work-media:hover .work-hover i, .work:focus-within .work-hover i { transform: translateX(6px); }
.work-body { padding-top: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.work-body h4 { margin: var(--space-2) 0 var(--space-3); font-family: var(--font-display); font-size: 26px; line-height: 1.25; font-weight: 500; }
.work-body > p:not(.case-sector) { max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.work-actions { margin-top: auto; padding-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.work-actions .link-arrow { font-size: 18px; }
.motion .work.reveal .work-media { clip-path: inset(12% 6% 12% 6% round var(--radius-organic)); transition: clip-path 1.1s var(--ease-out); }
.motion .work.reveal.is-in .work-media { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .work-img, .work-ph svg, .work-hover, .work-hover i { transition: none; }
  .work-media:hover .work-img, .work:focus-within .work-img, .work-media:hover .work-ph svg, .work:focus-within .work-ph svg { transform: none; }
}

/* ============ PLANS ============ */
.plans { transform-origin: 50% 0; }
.plans .lead { margin-bottom: var(--space-16); }
.plan-row { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: stretch; }
.plan { min-width: 0; border-radius: var(--radius-hairline); display: flex; flex-direction: column; }
.plan-trial { flex: 1 1 340px; padding: 48px 40px; border: 1.5px solid var(--control-border-dark); }
.plan-partner { flex: 1.6 1 520px; padding: 48px 44px; background: var(--brand-cream); color: var(--ink); }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); }
.plan-top .cells { margin-top: 0; }
.plan-trial > .cells { margin: 0 0 var(--space-6); }
.plan h3 { font-family: var(--font-display); font-size: 22.4px; font-weight: 500; margin-bottom: var(--space-2); }
.plan-desc { font-size: 16px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.plan-partner .plan-desc, .plan-partner .plan-fine { color: var(--ink-muted); }
.price { margin: var(--space-6) 0 var(--space-2); font-family: var(--font-display); font-size: 44.8px; line-height: 1; font-weight: 500; }
.price sup { font-size: 19.2px; vertical-align: top; position: relative; top: 6px; }
.price small { font-family: var(--font-sans); font-size: 16px; font-weight: 400; color: var(--ink-muted); }
.plan-fine { margin-bottom: var(--space-8); font-size: 14px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.pick-label { font-size: 11.2px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-on-dark-muted); }
.picks { margin-bottom: var(--space-8); }
.picks li { padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline-dark); }
.picks li:last-child { border-bottom: 0; }
.picks strong { display: block; margin-bottom: 4px; font-family: var(--font-accent); font-size: 19.2px; font-weight: 400; color: var(--ink-on-dark); }
.picks span { font-size: 15px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.plan-end { margin-top: auto; }
.plan-end p { margin-top: var(--space-4); font-size: 14px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.toggle { display: flex; gap: 4px; padding: 4px; border: 1.5px solid var(--ink); border-radius: var(--radius-button); }
.toggle button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); font-family: var(--font-sans); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--brand-cream); }
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px var(--space-8); margin-bottom: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--hairline); }
.includes li { display: flex; gap: var(--space-3); padding: var(--space-2) 0; font-size: 15px; line-height: 1.5; }
.plan-partner .plan-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.plan-partner .btn-primary { border-color: var(--ink); }
.plan-partner .check { stroke: var(--brand-green-dark); }
.cell-new { animation: split .6s var(--ease-out) both; }
@keyframes split { from { opacity: 0; transform: translateX(-18px) scale(.4); } to { opacity: 1; transform: none; } }
.addons { margin-top: var(--space-16); display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-16); }
.addons-head { flex: 1 1 240px; min-width: 0; }
.addons-head p:last-child { font-family: var(--font-accent); font-size: 24px; line-height: 1.3; }
.addon-list { flex: 999 1 560px; min-width: 0; }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-8); padding: 28px 0; border-top: 1px solid var(--hairline-dark); }
.addon:last-child { border-bottom: 1px solid var(--hairline-dark); }
.addon h3 { font-family: var(--font-accent); font-size: 24px; font-weight: 400; margin-bottom: var(--space-2); }
.addon p { max-width: 560px; font-size: 16px; line-height: 1.5; color: var(--ink-on-dark-muted); }
.addon p + p { margin-top: var(--space-2); font-size: 14px; }
.addon-price { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--brand-gold); white-space: nowrap; }
.addon-price small { font-family: var(--font-sans); font-size: 14px; color: var(--ink-on-dark-muted); }

/* ============ FAQS ============ */
.faq-grid { display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: flex-start; }
.faq-head { flex: 1 1 360px; min-width: 0; }
.faq-head .lead { max-width: 420px; margin-bottom: var(--space-8); }
.faq-list { flex: 999 1 560px; min-width: 0; }
.faq-group { margin: var(--space-10) 0 4px; font-size: 11.2px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.faq-group:first-child { margin-top: 0; }
.faq { border-top: 1px solid var(--hairline); }
.faq.is-last { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; font-family: var(--font-accent); font-size: 19.2px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--brand-gold-text); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 640px; padding-bottom: var(--space-5); font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

/* ============ FINAL CTA ============ */
.cta { position: relative; overflow: hidden; background: var(--brand-gold); color: var(--ink); transform-origin: 50% 0; }
.cta .eyebrow, .cta .lead { color: var(--ink); }
.cta .eyebrow::before { background: var(--ink); }
.cta .h2 em { color: var(--ink); }
.cta .lead { margin-bottom: var(--space-10); }
.cta-cell { position: absolute; right: -60px; top: 50%; width: 420px; color: var(--ink); opacity: .12; transform: translateY(-50%) rotate(-90deg); pointer-events: none; }
.cta-inner { position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-12); }
.reassure { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-10); margin-bottom: var(--space-8); font-size: 15px; }
.reassure li { display: flex; gap: 10px; align-items: center; }
.reassure .check { margin-top: 0; stroke: var(--ink); }
.seats { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(53,46,48,.4); border-radius: var(--radius-hairline); font-size: 14px; letter-spacing: .03em; }
.seats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

/* ============ RESPONSIVE (home) ============ */
@media (max-width: 640px) {
  .hero-stick { padding: calc(var(--nav-height) + 56px) var(--space-5) 80px; }
  .statement { padding: var(--space-10) var(--space-5) 112px; }
  .plan-trial, .plan-partner { padding: 36px 24px; }
  .hero-art { justify-content: center; }
  .hero-cell { width: 80%; margin-right: 0; }
  .addon { grid-template-columns: 1fr; }
}

/* ============ MOTION (only when JS runs and motion is allowed) ============ */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .reveal.delay { transition-delay: .15s; }
.motion .load { opacity: 0; transform: translateY(28px); }
.motion.is-loaded .load { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.2s var(--ease-out); }
.motion.is-loaded .load-1 { transition-delay: .1s; }
.motion.is-loaded .load-2 { transition-delay: .22s; }
.motion.is-loaded .load-3 { transition-delay: .36s; }
.motion.is-loaded .load-4 { transition-delay: .5s; }
.motion.is-loaded .load-5 { transition-delay: .64s; }
.motion .load.load-cell { transform: scale(.82) rotate(8deg); }
.motion.is-loaded .load.load-cell { transform: none; transition: opacity 1.2s ease .2s, transform 1.6s var(--ease-out) .2s; }
.motion .reveal .cell-late { opacity: 0; transform: translateX(-18px) scale(.4); transition: opacity .5s ease .45s, transform .7s var(--ease-out) .45s; }
.motion .reveal.is-in .cell-late { opacity: 1; transform: none; }
.motion .hero-stick { position: sticky; display: flex; align-items: center; }
.hero-text, .plans, .cta, .cta-cell { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .cell-new { animation: none; }
}
