/* ===== Tokens ===== */
:root {
  --bg: #0C0F1C;
  --bg-alt: #10142A;
  --surface: #161B30;
  --surface-2: #1C2340;
  --border: rgba(255,255,255,0.08);
  --text: #F4F6FC;
  --text-muted: #90999E;
  --text-muted-2: #7C86A6;
  --accent: #8FA0DA;
  --accent-soft: rgba(143,160,218,0.14);
  --accent-glow: #D7DEFA;

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--text-muted); }

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0C0F1C; }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-glow); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn-large { padding: 1rem 2rem; font-size: 1rem; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12,15,28,0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-color: var(--border); background: rgba(12,15,28,0.85); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.nav-links { display: flex; gap: 1.75rem; margin-right: auto; margin-left: 1rem; }
.nav-links a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-inner > .btn-small { margin-left: auto; }
.nav-toggle { display: none; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
  background: rgba(12,15,28,0.98);
}
.nav-mobile a { padding: 0.4rem 0; color: var(--text-muted); }
.nav-mobile.open { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
#heroCanvas {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem;
}
.hero-kicker {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.06;
  max-width: 15ch;
  color: var(--text);
}
.hero-title-accent { color: var(--accent); }
.hero-sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--text-muted);
}
.hero-ctas { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid var(--border);
  border-radius: 20px; z-index: 2;
}
.scroll-cue span {
  display: block; width: 4px; height: 8px; border-radius: 2px;
  background: var(--accent); margin: 6px auto 0;
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== Section shared ===== */
section { padding: 7rem 1.5rem; }
.section-head { max-width: var(--maxw); margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { max-width: 62ch; font-size: 1.05rem; }

/* ===== Work ===== */
.work { max-width: var(--maxw); margin: 0 auto; }

.project-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.project-card--featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-bottom: 2rem;
}
.project-card--featured .project-media { height: 100%; min-height: 320px; }
.project-card--featured .project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-card--featured .project-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-grid .project-media { aspect-ratio: 3/2; }
.project-grid .project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-grid .project-body { padding: 1.6rem; }

.project-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.project-badge--real { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.project-body h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.project-card--featured .project-body h3 { font-size: 1.7rem; }
.project-body p { font-size: 0.96rem; margin-bottom: 1.1rem; }

.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.project-tags span {
  font-size: 0.78rem; color: var(--text-muted-2);
  border: 1px solid var(--border); padding: 0.25rem 0.6rem; border-radius: 999px;
}

.project-link { font-size: 0.92rem; font-weight: 600; color: var(--accent); }

/* ===== About ===== */
.about { background: var(--bg-alt); }
.about-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.about-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.4rem; }
.about-text p { font-size: 1.03rem; margin-bottom: 1.2rem; }
.about-list { display: flex; flex-direction: column; }
.about-item { padding: 1.4rem 0; border-top: 1px solid var(--border); }
.about-item:last-child { border-bottom: 1px solid var(--border); }
.about-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.about-item p { font-size: 0.93rem; }

/* ===== Contact ===== */
.contact { text-align: left; }
.contact-inner { max-width: var(--maxw); margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; max-width: 16ch; }
.contact p { font-size: 1.08rem; max-width: 50ch; margin-bottom: 2.2rem; }
.contact-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.contact-instagram { font-size: 0.95rem; color: var(--text-muted-2); }
.contact-instagram:hover { color: var(--accent); }

/* ===== Footer ===== */
.footer { padding: 2.5rem 1.5rem; text-align: center; border-top: 1px solid var(--border); }
.footer p { font-size: 0.85rem; color: var(--text-muted-2); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px; justify-content: center;
    width: 32px; height: 32px; background: none; border: none; margin-left: auto; cursor: pointer;
  }
  .nav-toggle span { width: 100%; height: 2px; background: var(--text); border-radius: 2px; }
  .nav-inner > .btn-small { display: none; }

  .project-card--featured { grid-template-columns: 1fr; }
  .project-card--featured .project-media { min-height: 220px; }
  .project-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-cue span { animation: none; }
}

/* =====================================================================
   Case study pages (work/*.html)
   ===================================================================== */
.work-index-link { font-size: 0.92rem; font-weight: 600; color: var(--accent); }
.nav-mark-back { font-size: 0.9rem; color: var(--text-muted); }
.nav-mark-back:hover { color: var(--text); }

.case-hero { max-width: var(--maxw); margin: 0 auto; padding: 9rem 1.5rem 3.5rem; }
.case-kicker { font-size: 0.9rem; color: var(--accent); font-weight: 500; margin-bottom: 1rem; }
.case-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; max-width: 22ch; margin-bottom: 1.3rem; }
.case-hero .lead { font-size: 1.12rem; max-width: 62ch; }
.case-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 2.6rem;
}
.case-meta > div { border-top: 1px solid var(--border); padding-top: 1rem; }
.case-meta dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted-2); margin-bottom: 0.4rem; }
.case-meta dd { margin: 0; color: var(--text); font-size: 0.95rem; }

.case-block { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.5rem; }
.case-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 1.2rem; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; }
.case-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--text); }
.case-card p { font-size: 0.94rem; }
.case-note { font-size: 0.82rem; color: var(--text-muted-2); margin-top: 1.5rem; max-width: 70ch; }

.case-divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

.shot {
  border-radius: 22px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border);
}
.shot img { width: 100%; height: auto; }
.shot-caption { font-size: 0.85rem; color: var(--text-muted-2); padding: 0.9rem 1.1rem; }

.creatives { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.creatives .shot img { aspect-ratio: auto; }

/* Project-card covers (index) */
.cover {
  width: 100%; height: 100%; min-height: 240px; aspect-ratio: 3/2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem;
  padding: 1.4rem; position: relative; overflow: hidden;
}
.cover-label { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #fff; }
.cover-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.35); }
.cover-line.s { width: 45%; }
.cover-line.m { width: 70%; }
.cover-nura { background: linear-gradient(160deg, #F5F0E8 0%, #E3D6C2 100%); }
.cover-nura .cover-label { color: #1F3A34; font-family: Georgia, serif; font-size: 1.4rem; letter-spacing: 0.04em; }
.cover-nura .cover-line { background: rgba(31,58,52,0.2); }
.cover-saas { background: linear-gradient(150deg, #1d2a5c 0%, #0C0F1C 80%); }
.cover-email { background: linear-gradient(160deg, #1F3A34 0%, #132622 100%); }
.cover-flow { background: linear-gradient(150deg, #5a2a17 0%, #2a1610 100%); }
.cover-chip { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.72rem; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.12); padding: 0.25rem 0.6rem; border-radius: 999px; }

/* Responsive for work grid (2 columns on index) */
.project-grid--four { grid-template-columns: repeat(2, 1fr); }
.project-grid--four .project-media { aspect-ratio: 4/3; }
.project-grid--four .project-media img { height: 100%; object-fit: cover; }
.project-grid--four .cover { aspect-ratio: auto; min-height: 0; height: 100%; }

/* =====================================================================
   Landing page base (shared by all landing pages)
   ===================================================================== */
.lp { background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-body, var(--font-body)); }
.lp img { width: 100%; height: auto; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.lp-section { padding: 5.5rem 0; }
.lp-section--alt { background: var(--lp-surface); }
.lp-eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-accent); font-weight: 600; margin-bottom: 1rem; }
.lp h1, .lp h2, .lp h3 { font-family: var(--lp-display, var(--font-display)); color: var(--lp-ink); }
.lp h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 500; }
.lp h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 500; margin-bottom: 1rem; }
.lp h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.lp p { color: var(--lp-muted); }
.lp-lead { font-size: 1.1rem; max-width: 52ch; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.8rem; border-radius: var(--lp-radius, 999px);
  background: var(--lp-accent); color: var(--lp-on-accent, #fff);
  font-weight: 600; font-size: 0.97rem; transition: transform 0.18s ease, opacity 0.18s ease;
}
.lp-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.lp-btn--ghost { background: transparent; color: var(--lp-ink); border: 1px solid var(--lp-line); }
.lp-grid-2, .lp-grid-3, .lp-grid-4 { display: grid; gap: 1.5rem; }
.lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card { background: var(--lp-surface); border-radius: var(--lp-card-radius, 18px); padding: 1.8rem; border: 1px solid var(--lp-line); }
.lp-card p { font-size: 0.95rem; }
.lp-proof { border-top: 1px solid var(--lp-line); padding-top: 1.4rem; }
.lp-proof blockquote { margin: 0 0 0.9rem; font-size: 1rem; color: var(--lp-ink); }
.lp-proof cite { font-style: normal; font-size: 0.85rem; color: var(--lp-muted); }
.lp-placeholder { display: inline-block; font-size: 0.78rem; border: 1px dashed var(--lp-line); border-radius: 6px; padding: 0.15rem 0.5rem; color: var(--lp-muted); margin-bottom: 0.6rem; }
.lp-faq details { border-top: 1px solid var(--lp-line); padding: 1.15rem 0; }
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { cursor: pointer; font-weight: 600; color: var(--lp-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--lp-accent); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin-top: 0.8rem; font-size: 0.97rem; }
.lp-price { display: flex; flex-direction: column; gap: 1rem; }
.lp-price .amount { font-family: var(--lp-display, var(--font-display)); font-size: 2.6rem; color: var(--lp-ink); }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; color: var(--lp-muted); }
.lp-price ul li::before { content: "✓  "; color: var(--lp-accent); font-weight: 700; }
.lp-price--featured { border-color: var(--lp-accent); box-shadow: 0 0 0 1px var(--lp-accent) inset; }
.lp-steps { counter-reset: step; display: grid; gap: 1.2rem; }
.lp-step { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--lp-line); }
.lp-step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-accent); color: var(--lp-on-accent, #fff); font-weight: 700; }

.lp-form { display: flex; gap: 0.6rem; max-width: 480px; flex-wrap: wrap; }
.lp-form input {
  flex: 1 1 220px; padding: 0.95rem 1.1rem; border-radius: var(--lp-radius, 999px);
  border: 1px solid var(--lp-line); background: #fff; color: var(--lp-ink); font: inherit;
}
.lp-form input:focus { outline: 2px solid var(--lp-accent); outline-offset: 2px; }

/* ----- NŪRA theme ----- */
.theme-nura {
  --lp-bg: #F5F0E8; --lp-surface: #EDE5D7; --lp-ink: #2B2A26; --lp-muted: #6E675D;
  --lp-accent: #1F3A34; --lp-on-accent: #F5F0E8; --lp-line: rgba(43,42,38,0.14);
  --lp-display: Georgia, 'Cormorant Garamond', serif;
  --lp-body: 'Inter', -apple-system, sans-serif;
  --lp-radius: 999px; --lp-card-radius: 6px;
}
.theme-nura h1 { font-weight: 400; }
.theme-nura .lp-card { background: #FBF8F2; }

/* ----- SaaS theme (dark, derived from site tokens) ----- */
.theme-saas {
  --lp-bg: #0C0F1C; --lp-surface: #161B30; --lp-ink: #F4F6FC; --lp-muted: #9AA3BF;
  --lp-accent: #8FA0DA; --lp-on-accent: #0C0F1C; --lp-line: rgba(255,255,255,0.09);
  --lp-display: 'Space Grotesk', sans-serif; --lp-radius: 12px; --lp-card-radius: 16px;
}
.theme-saas .lp-card { background: #161B30; }
.theme-saas .lp-section--alt { background: #10142A; }

/* ----- Brewline theme (light, warm) ----- */
.theme-brew {
  --lp-bg: #FBF7F2; --lp-surface: #F3ECE2; --lp-ink: #221D18; --lp-muted: #6B6158;
  --lp-accent: #C2552B; --lp-on-accent: #FFF8F2; --lp-line: rgba(34,29,24,0.12);
  --lp-display: 'Space Grotesk', sans-serif; --lp-radius: 12px; --lp-card-radius: 16px;
}
.theme-brew .lp-card { background: #FFFFFF; }

/* SaaS workflow visualization */
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; position: relative; }
.workflow-node { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 14px; padding: 1.2rem; }
.workflow-node .tag { font-size: 0.72rem; color: var(--lp-accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.workflow-node h3 { margin: 0.4rem 0 0.35rem; font-size: 1rem; }
.workflow-node p { font-size: 0.85rem; }
.workflow-node + .workflow-node { position: relative; }
.workflow-node + .workflow-node::before {
  content: ""; position: absolute; left: -0.6rem; top: 50%; width: 0.6rem; height: 1px; background: var(--lp-accent);
}
.ui-mock {
  background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; padding: 1.2rem;
  display: grid; gap: 0.7rem;
}
.ui-row { display: grid; grid-template-columns: 24px 1fr auto; gap: 0.8rem; align-items: center; background: var(--lp-bg); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--lp-ink); }
.ui-dot { width: 12px; height: 12px; border-radius: 50%; }
.ui-pill { font-size: 0.72rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--lp-accent); color: var(--lp-on-accent); }

/* Lifecycle flow (Brewline) */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.journey-step { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 1.4rem; position: relative; }
.journey-step .when { font-size: 0.75rem; font-weight: 600; color: var(--lp-accent); letter-spacing: 0.08em; text-transform: uppercase; }
.journey-step h3 { margin: 0.5rem 0 0.5rem; font-size: 1.05rem; }
.journey-step dl { margin: 0.9rem 0 0; font-size: 0.85rem; }
.journey-step dt { font-weight: 600; color: var(--lp-ink); margin-top: 0.6rem; }
.journey-step dd { margin: 0.15rem 0 0; color: var(--lp-muted); }
.journey-step h3, .journey-step dt { color: var(--lp-ink); }
.journey-step dd { color: var(--lp-muted); }
.journey-step--conv { background: var(--lp-accent); border-color: var(--lp-accent); }
.journey-step--conv, .journey-step--conv h3, .journey-step--conv dt, .journey-step--conv dd, .journey-step--conv .when { color: var(--lp-on-accent); }
.journey-step--conv dd { opacity: 0.85; }

.impl-list { counter-reset: impl; display: grid; gap: 0.9rem; max-width: 80ch; }
.impl-list li { list-style: none; position: relative; padding-left: 2.2rem; color: var(--text-muted); font-size: 0.97rem; }
.impl-list li::before {
  counter-increment: impl; content: counter(impl);
  position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 600; display: grid; place-items: center;
}
.impl-list strong { color: var(--text); font-weight: 600; }

/* Email preview frame */
.email-frame { width: 100%; height: 1180px; border: 0; border-radius: 16px; background: #fff; display: block; }
.email-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.email-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.email-card .meta { font-size: 0.78rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.email-card h3 { font-size: 1.05rem; color: var(--text); }
.email-card .subj { font-size: 0.92rem; color: var(--text); }
.email-card .pre { font-size: 0.87rem; color: var(--text-muted-2); }
.email-card .obj { font-size: 0.88rem; }
.email-card a { margin-top: auto; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.subject-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.subject-table th, .subject-table td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.subject-table th { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .case-meta, .case-cols, .creatives, .lp-grid-3, .lp-grid-4, .workflow, .journey, .email-grid { grid-template-columns: 1fr; }
  .lp-grid-2 { grid-template-columns: 1fr; }
  .project-grid--four { grid-template-columns: 1fr; }
  .lp-section { padding: 4rem 0; }
  .case-hero { padding-top: 7.5rem; }
  .email-frame { height: 1500px; }
  .workflow-node + .workflow-node::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn, .btn { transition: none; }
}
