/* ============ AVENTRA MEDIA — sharp monochrome design system v2 ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F4F1EA;
  --panel: #ECE8DF;
  --panel-2: #E5E1D6;
  --ink: #0B0B0A;
  --accent: #FE2C55;
  --accent-2: #25F4EE;
  --dim: #55534C;
  --faint: #6C685C;
  --line: rgba(11,11,10,0.16);
  --line-strong: rgba(11,11,10,0.38);
  --display: 'Archivo Black', sans-serif;
  --body: 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
a, button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* thin dark scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #C9C4B6; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #B2AC9C; }

/* film grain over everything, very faint */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,241,234,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* the logo mark asset is white — invert it to black on the cream theme */
.brand img, .footer-brand img, .hero-mark { filter: invert(1); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: 34px; display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.brand:hover img { transform: rotate(120deg); }
.brand-word { font-family: var(--display); font-size: 17px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); transition: color .15s; position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink); border: 1px solid var(--ink); color: var(--bg) !important;
  padding: 10px 20px; transition: background .2s, color .2s, border-color .2s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF !important; }

/* mobile menu */
.menu-btn {
  display: none; background: none; border: 1px solid var(--line-strong);
  width: 44px; height: 44px; position: relative; z-index: 210;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), top .3s cubic-bezier(.2,.7,.2,1);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 25px; }
body.menu-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 28px; visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s;
}
body.menu-open .mobile-menu { visibility: visible; opacity: 1; }
body.menu-open { overflow: hidden; }
.mobile-menu a {
  font-family: var(--display); font-size: clamp(34px, 10vw, 56px); text-transform: uppercase;
  line-height: 1.15; color: var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0;
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s;
}
.mobile-menu a small { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.2em; }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .06s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .12s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .18s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .24s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: .30s; }
@media (max-width: 760px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
}

/* ---------- type + shared ---------- */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: '▲'; font-size: 9px; color: var(--accent); }
.accent-text { color: var(--accent); text-shadow: -4px 3px 0 rgba(37,244,238,0.75); }
.h-display {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.section { padding: 110px 40px; max-width: 1240px; margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head .h-display { font-size: clamp(34px, 5vw, 60px); margin-top: 18px; max-width: 820px; }
.section-desc { font-size: 16px; color: var(--dim); max-width: 620px; margin-top: 20px; }
.hairline { border: 0; border-top: 1px solid var(--line); max-width: 1240px; margin: 0 auto; }
[id] { scroll-margin-top: 90px; }
@media (max-width: 640px) { .section { padding: 72px 20px; } }

.btn, .btn-ghost, .btn-invert {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.btn::after, .btn-ghost::after, .btn-invert::after {
  content: '→'; display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn:hover::after, .btn-ghost:hover::after, .btn-invert:hover::after { transform: translateX(5px); }
.btn { background: var(--ink); color: var(--bg); padding: 17px 30px; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 17px 30px; border: 1px solid var(--line-strong); transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(11,11,10,0.05); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 130px 40px 90px;
  border-bottom: 1px solid var(--line);
}
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, black 0%, transparent 70%);
}
.hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; }
.hero-mark {
  position: absolute; z-index: 1;
  right: -8%; top: 50%; transform: translateY(-50%) rotate(12deg);
  width: min(58vw, 720px); opacity: 0.055; pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translateY(-52%) rotate(10deg); } to { transform: translateY(-48%) rotate(14deg); } }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); margin: 26px 0 30px; }
.hero-sub { font-size: 17px; color: var(--dim); max-width: 560px; line-height: 1.75; margin-bottom: 44px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 54px; display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: '▲'; font-size: 7px; color: var(--line-strong); }
@media (max-width: 640px) { .hero { padding: 80px 20px 64px; } }

/* load-in stagger */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.rise { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.rise-1 { animation-delay: .05s; } .rise-2 { animation-delay: .16s; }
.rise-3 { animation-delay: .27s; } .rise-4 { animation-delay: .38s; }

/* scroll reveal (js adds .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- stats ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); max-width: 1240px; margin: 0 auto;
  position: relative;
}
.stat { padding: 34px 28px; border-right: 1px solid var(--line); transition: background .3s; }
.stat:hover { background: var(--panel); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1; margin-bottom: 10px;
  color: var(--ink);
}
.stat:hover .stat-num { color: var(--accent); transition: color .2s; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 820px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display); font-size: 17px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--dim); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
  transition: color .2s;
}
.marquee-item:hover { color: var(--ink); }
.marquee-item::after { content: '▲'; font-size: 9px; color: var(--accent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 54s; }
.marquee-item.watch { color: var(--faint); font-size: 15px; }

/* ---------- cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: var(--bg); padding: 40px 30px; transition: background .25s; position: relative; overflow: hidden; }
.tile::before {
  content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0; z-index: 1;
  border-style: solid; border-width: 0 0 0 0; border-color: transparent var(--accent) transparent transparent;
  transition: border-width .25s cubic-bezier(.2,.7,.2,1);
}
.tile:hover::before { border-width: 0 22px 22px 0; }
.tile:hover { background: var(--panel); }
.tile-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 26px; }
.tile-title { font-family: var(--display); font-size: 17px; text-transform: uppercase; line-height: 1.25; margin-bottom: 12px; }
.tile-desc { font-size: 14px; color: var(--dim); line-height: 1.7; }
.tile-arrow { position: absolute; top: 36px; right: 28px; color: var(--faint); font-size: 14px; transition: transform .25s, color .25s; }
.tile:hover .tile-arrow { transform: translate(4px, -4px); color: var(--ink); }

/* ---------- case / video cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.case-card { border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, transform .25s, box-shadow .25s; position: relative; }
.case-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(30,28,20,0.16); }
.case-embed { width: 100%; aspect-ratio: 9/16; border: 0; display: block; background: #000; }
.case-body { padding: 22px 24px; border-top: 1px solid var(--line); }
.case-brand { font-family: var(--display); font-size: 16px; text-transform: uppercase; margin-bottom: 4px; }
.case-vertical { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.case-metrics { display: flex; gap: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-metric-num { font-family: var(--display); font-size: 20px; line-height: 1; margin-bottom: 5px; }
.case-metric-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.video-card { border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, transform .25s, box-shadow .25s; }
.video-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30,28,20,0.14); }
.video-wrap { position: relative; }
.views-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--accent); color: #FFFFFF;
  font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 4px 10px; letter-spacing: 0.04em;
}
.video-embed { width: 100%; aspect-ratio: 9/16; border: 0; display: block; background: #000; }
.video-footer { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.video-brand { font-size: 12px; font-weight: 600; }
.video-views { font-family: var(--mono); font-size: 11px; color: var(--faint); }

.work-category {
  font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 64px 0 24px; display: flex; align-items: center; gap: 16px;
}
.work-category:first-of-type { margin-top: 0; }
.work-category .divider { flex: 1; height: 1px; background: var(--line); min-width: 20px; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.process-step { background: var(--bg); padding: 36px 28px; transition: background .25s; }
.process-step:hover { background: var(--panel); }
.process-num { font-family: var(--display); font-size: 46px; line-height: 1; margin-bottom: 18px; color: var(--accent); }
.process-title { font-family: var(--display); font-size: 15px; text-transform: uppercase; margin-bottom: 8px; }
.process-desc { font-size: 13px; color: var(--dim); line-height: 1.65; }

/* ---------- inverted CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--bg);
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
  padding: 130px 40px 100px; margin-top: 40px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; left: -6%; bottom: -30%; width: 420px; height: 420px;
  background: url('/logo-mark.png') no-repeat center / contain;
  opacity: 0.07; transform: rotate(-14deg); pointer-events: none;
}
.cta-inner { max-width: 1240px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-inner .kicker { color: #A6A296; }
.cta-inner .kicker::before { color: var(--accent-2); }
.cta-inner h2 { font-family: var(--display); font-size: clamp(36px, 6vw, 78px); text-transform: uppercase; line-height: 0.98; margin: 22px 0 20px; }
.cta-inner p { font-size: 16px; color: #B3AFA3; max-width: 520px; margin: 0 auto 40px; }
.btn-invert { background: var(--bg); color: var(--ink); padding: 18px 36px; border: 1px solid var(--bg); transition: background .2s, color .2s, border-color .2s; }
.btn-invert:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.cta-email { display: block; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: #A6A296; }
.cta-email a { border-bottom: 1px solid rgba(244,241,234,0.5); color: #F4F1EA; }
@media (max-width: 640px) { .cta-band { padding: 90px 20px 70px; } }

/* ---------- footer ---------- */
footer { padding: 0 40px 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-word {
  max-width: 1240px; margin: 0 auto; padding: 44px 0 8px;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(38px, 7.6vw, 104px); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(11,11,10,0.25);
  user-select: none;
}
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; padding-top: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--faint); max-width: 300px; line-height: 1.7; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: var(--dim); margin-bottom: 10px; transition: color .15s; width: fit-content; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 460px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 90px 40px; }
.legal h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 48px); text-transform: uppercase; line-height: 1.02; margin-bottom: 14px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 52px; }
.legal h2 { font-family: var(--display); font-size: 17px; text-transform: uppercase; margin: 42px 0 14px; }
.legal p, .legal li { font-size: 15px; color: var(--dim); margin-bottom: 13px; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
@media (max-width: 640px) { .legal { padding: 60px 20px; } }

/* ---------- misc ---------- */
.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lang-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--dim); padding: 9px 16px;
  display: inline-flex; align-items: center; gap: 9px;
  transition: border-color .2s, color .2s;
}
.lang-chip::before { content: '▲'; font-size: 7px; color: var(--line-strong); }
.lang-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.lang-chip.more { border-style: dashed; color: var(--faint); }

.page-hero { padding: 110px 40px 70px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(44px, 7.5vw, 96px); margin-top: 22px; }
.page-hero .section-desc { margin-top: 26px; }
@media (max-width: 640px) { .page-hero { padding: 70px 20px 52px; } }

/* ---------- announcement bar ---------- */
.notice-bar {
  display: block; background: var(--ink); color: var(--bg);
  text-align: center; padding: 11px 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: opacity .2s;
}
.notice-bar:hover { opacity: 0.92; }
.notice-bar span { color: var(--accent-2); border-bottom: 1px solid rgba(37,244,238,0.5); margin-left: 10px; font-weight: 500; }

/* ---------- hero credibility pill ---------- */
.hero-pill {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--dim);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); padding: 10px 20px;
}
.hero-pill::before { content: '▲'; font-size: 9px; color: var(--accent); }

/* ---------- hero CTA microcopy ---------- */
.cta-note { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- typewriter caret ---------- */
.typeline-caret::after { content: '_'; -webkit-text-stroke: 0; color: var(--accent); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- phone bezel for featured case videos ---------- */
.case-screen { padding: 12px 12px 0; background: #181818; border-radius: 30px 30px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.case-screen .case-embed { border-radius: 20px 20px 0 0; }
.case-card { background: var(--bg); }
.case-card .case-body { background: var(--panel); }

/* ---------- pain cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pain { background: var(--bg); padding: 38px 30px; transition: background .25s; }
.pain:hover { background: var(--panel); }
.pain-x { font-family: var(--mono); font-size: 18px; color: var(--accent); margin-bottom: 22px; }
.pain-title { font-family: var(--display); font-size: 16px; text-transform: uppercase; margin-bottom: 10px; }
.pain-desc { font-size: 14px; color: var(--dim); line-height: 1.7; }

/* ---------- compare panel ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 44px; }
.compare-col { padding: 40px 34px; background: var(--bg); }
.compare-col.good { background: var(--panel); }
.compare-col h3 { font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.compare-col.bad h3 { color: var(--faint); }
.compare-col li { list-style: none; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.compare-col li:last-child { border-bottom: 0; }
.compare-col.bad li { color: var(--faint); }
.compare-col.bad li::before { content: '✕'; font-family: var(--mono); font-size: 11px; flex-shrink: 0; }
.compare-col.good li { color: var(--dim); }
.compare-col.good li::before { content: '▲'; font-size: 8px; color: var(--accent); flex-shrink: 0; }
.compare-col.good li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---------- process phase label ---------- */
.process-phase { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 16px; font-weight: 600; color: var(--ink);
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--dim); }
.faq summary::after {
  content: '+'; font-family: var(--mono); font-size: 20px; color: var(--faint); flex-shrink: 0;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .faq-a { padding: 0 0 26px; font-size: 15px; color: var(--dim); line-height: 1.75; max-width: 680px; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: var(--bg); text-align: center;
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px 20px;
}
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 50px; }
}

/* ---------- fineprint ---------- */
.fineprint {
  max-width: 1240px; margin: 0 auto; padding-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--faint); line-height: 1.8;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  .hero-mark { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
