/* ==========================================================================
   Maya Sato — UX Designer Portfolio Stylesheet
   Swiss-Editorial Design System · 8pt Spacing Scale · WCAG 2.2 AA Contrast
   ========================================================================== */

:root {
  /* Color Tokens — Atelier Paper (Light Mode) */
  --bg: #f7f5f0;
  --bg-tinted: #f0ede5;
  --surface: #ffffff;
  --surface-subtle: #f4f1ea;
  --ink: #141413;
  --ink-secondary: #53514b;
  --ink-muted: #706d66;
  --border: rgba(20, 20, 19, 0.11);
  --border-strong: rgba(20, 20, 19, 0.22);
  --accent: #c8421e;
  --accent-hover: #a93516;
  --accent-soft: rgba(200, 66, 30, 0.1);
  --spec-blue: #1f4fd8;
  --spec-blue-soft: rgba(31, 79, 216, 0.08);
  --status-green: #16794c;
  --status-green-soft: rgba(22, 121, 76, 0.12);
  --header-bg: rgba(247, 245, 240, 0.84);
  --shadow-sm: 0 1px 2px rgba(20, 20, 19, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 20, 19, 0.08);
  --shadow-lg: 0 24px 64px rgba(20, 20, 19, 0.18);

  /* Typography */
  --font-serif: 'New York', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 520ms;
}

[data-theme="dark"] {
  --bg: #111110;
  --bg-tinted: #171715;
  --surface: #1b1b19;
  --surface-subtle: #232320;
  --ink: #f2efe9;
  --ink-secondary: #b5b1a7;
  --ink-muted: #8c887e;
  --border: rgba(242, 239, 233, 0.11);
  --border-strong: rgba(242, 239, 233, 0.24);
  --accent: #ec6b45;
  --accent-hover: #f58462;
  --accent-soft: rgba(236, 107, 69, 0.14);
  --spec-blue: #6e95ff;
  --spec-blue-soft: rgba(110, 149, 255, 0.11);
  --status-green: #38c181;
  --status-green-soft: rgba(56, 193, 129, 0.14);
  --header-bg: rgba(17, 17, 16, 0.84);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.56);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container-wide,
.grid-overlay-wide {
  width: min(100% - (var(--gutter) * 2), 1560px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
  position: relative;
}

.section-bordered {
  border-top: 1px solid var(--border);
}

.section-tinted {
  background-color: var(--bg-tinted);
}

/* SVG Icon Slot */
.icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-slot svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Interactive Swiss 12-Column UX Grid Inspector Overlay
   ========================================================================== */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

body.grid-inspect .grid-overlay {
  opacity: 1;
}

.grid-overlay-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.grid-col {
  background: var(--spec-blue-soft);
  border-inline: 1px dashed rgba(31, 79, 216, 0.2);
}

[data-theme="dark"] .grid-col {
  border-inline-color: rgba(110, 149, 255, 0.22);
}

.grid-hud {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--spec-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}

body.grid-inspect .section,
body.grid-inspect .case-card,
body.grid-inspect .spec-card,
body.grid-inspect .process-shell {
  outline: 1px dashed rgba(31, 79, 216, 0.32);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  background: var(--accent);
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) ease;
}

.brand:hover .brand-name {
  color: var(--accent);
}

.brand-role {
  font-size: 13px;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: var(--surface-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.icon-pill:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.icon-pill[aria-pressed="true"] {
  border-color: var(--spec-blue);
  background: var(--spec-blue-soft);
  color: var(--spec-blue);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px var(--gutter) 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-link {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.mobile-nav-link:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-title-group {
  max-width: 680px;
}

.section-index,
.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mono-muted {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.section-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  padding-inline: 12px;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14.5px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.work-hero-section {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.work-meta-row {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.work-top-header {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 4px var(--status-green-soft);
}

.studio-clock {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.editorial-em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-secondary);
  line-height: 1.65;
}

.hero-cta-group {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.spec-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.spec-row {
  display: grid;
  gap: 2px;
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.spec-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.metrics-strip {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
  max-width: 24ch;
}

/* ==========================================================================
   01. Case Study Gallery & Filters
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill,
.chip-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.filter-pill:hover,
.chip-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.filter-pill[aria-pressed="true"],
.chip-btn.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.case-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.case-card:focus-within {
  outline: 2px solid var(--spec-blue);
  outline-offset: 4px;
}

.case-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.case-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-subtle);
  aspect-ratio: 16 / 10;
}

.case-card.is-featured .case-media {
  aspect-ratio: auto;
  min-height: 360px;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.case-card:hover .case-media img {
  transform: scale(1.03);
}

.case-impact-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(20, 20, 19, 0.86);
  color: #f7f5f0;
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.case-body {
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}

.case-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-title {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.case-card.is-featured .case-title {
  font-size: clamp(26px, 2.8vw, 36px);
}

.case-subtitle {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-secondary);
}

.case-actions {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.case-role-text {
  font-size: 13.5px;
  color: var(--ink-muted);
  min-width: 0;
  flex: 1 1 160px;
  line-height: 1.4;
}

.case-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.case-read-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.case-read-btn:hover,
.case-card:hover .case-read-btn {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ==========================================================================
   02. UX Methodology Interactive Tabs
   ========================================================================== */
.process-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
}

.process-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 22px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur-fast) ease;
}

.process-tab:last-child {
  border-right: 0;
}

.process-tab:hover {
  background: var(--surface);
}

.process-tab[aria-selected="true"] {
  background: var(--surface);
}

.process-tab[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.process-tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.process-tab[aria-selected="true"] .process-tab-num {
  color: var(--accent);
}

.process-tab-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.process-panel {
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.process-question {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 28px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
}

.process-desc {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.process-artifact {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.artifact-rows {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.artifact-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  font-size: 13.5px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.artifact-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.artifact-val {
  color: var(--ink);
  font-weight: 500;
}

.process-lists {
  display: grid;
  gap: 24px;
  align-content: start;
}

.process-subcard {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}

.process-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.process-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.process-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   03. Interactive UX Before / After Comparison Teardown
   ========================================================================== */
.teardown-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teardown-stage {
  display: grid;
  gap: 28px;
}

.compare-viewport {
  --split: 46%;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  min-height: 460px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  user-select: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
}

.compare-after {
  background: #f5f2eb;
  color: #161614;
}

.compare-before {
  background: #d9dde2;
  color: #1e2329;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare-label {
  position: absolute;
  top: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 5;
}

.compare-label-before {
  left: 16px;
  background: #2f3640;
  color: #f1f2f6;
}

.compare-label-after {
  right: 16px;
  background: #141413;
  color: #f7f5f0;
}

/* Mock UI Windows inside Teardown */
.mock-window {
  margin-top: 32px;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-after-window {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 19, 0.12);
  box-shadow: 0 8px 24px rgba(20, 20, 19, 0.06);
}

.mock-topbar {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.mock-brand-pill {
  font-weight: 600;
  color: #141413;
}

.mock-meta-pills {
  display: flex;
  gap: 8px;
}

.mock-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1eee7;
  color: #53514b;
  font-family: var(--font-mono);
  font-size: 11px;
}

.mock-badge-ok {
  background: rgba(22, 121, 76, 0.12);
  color: #146941;
  font-weight: 600;
}

.mock-after-body {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 20px;
  flex: 1;
}

.mock-patient-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mock-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #6b675e;
}

.mock-h3 {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: #141413;
}

.mock-severity-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(200, 66, 30, 0.12);
  color: #b13615;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mock-vitals-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock-vital-card {
  padding: 12px;
  border-radius: 10px;
  background: #f8f6f1;
  border: 1px solid rgba(20, 20, 19, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-vital-alert {
  background: #fff5f2;
  border-color: rgba(200, 66, 30, 0.35);
}

.mock-vital-label {
  font-size: 11px;
  color: #615e57;
}

.mock-vital-value {
  font-size: 18px;
  color: #141413;
}

.mock-vital-alert .mock-vital-value {
  color: #b13615;
}

.mock-vital-delta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #615e57;
}

.mock-summary-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f6f1;
  font-size: 13px;
  color: #3a3834;
}

.mock-summary-box p {
  margin: 5px 0 0;
}

.mock-after-actions {
  padding-left: 18px;
  border-left: 1px solid rgba(20, 20, 19, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-action-primary {
  padding: 11px 14px;
  border-radius: 10px;
  background: #141413;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.mock-action-secondary {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(20, 20, 19, 0.18);
  color: #141413;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.mock-callout {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: rgba(22, 121, 76, 0.09);
  color: #135d3b;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Legacy Before Mockup */
.mock-before-window {
  background: #eceff2;
  border: 2px solid #8c96a4;
  font-family: var(--font-mono);
}

.mock-before-topbar {
  background: #2c3e50;
  color: #ecf0f1;
  font-size: 11px;
  padding: 9px 14px;
}

.mock-before-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mock-before-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.legacy-tab {
  padding: 4px 8px;
  font-size: 11px;
  background: #cfd6de;
  border: 1px solid #9aa4b2;
  color: #2c3440;
}

.legacy-tab-active {
  background: #ffffff;
  font-weight: 700;
}

.mock-before-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legacy-box {
  background: #ffffff;
  border: 1px solid #9aa4b2;
  padding: 10px;
  display: grid;
  gap: 6px;
  font-size: 11.5px;
}

.legacy-field {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dotted #d3d9e0;
  padding-bottom: 3px;
}

.legacy-warn {
  background: #fff0b3;
  border: 1px solid #d4a106;
  color: #6b4e00;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
}

.legacy-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.legacy-btn {
  padding: 4px 8px;
  background: #dce1e7;
  border: 1px solid #7f8a99;
  font-size: 11px;
}

.legacy-pain-callout {
  margin-top: auto;
  padding: 10px 12px;
  background: #fde8e8;
  border: 1px solid #e09f9f;
  color: #7c1f1f;
  font-family: var(--font-sans);
  font-size: 12.5px;
}

/* Divider & Interactive Range */
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: var(--accent);
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 8;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 3px solid #ffffff;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.teardown-annotations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.annotation-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.annotation-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.annotation-card h3 {
  margin: 8px 0 6px;
  font-size: 16.5px;
  font-weight: 600;
}

.annotation-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   04. About, Principles, Timeline & Testimonials
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

.about-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.about-topbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-hero-centered {
  max-width: 820px;
  margin: 0 auto clamp(44px, 5.5vw, 68px);
  text-align: center;
}

.about-hero-lead {
  margin: 16px auto 0;
  max-width: 64ch;
  font-size: clamp(16.5px, 1.45vw, 18.5px);
  color: var(--ink-secondary);
  line-height: 1.68;
}

.about-layout-three {
  grid-template-columns: minmax(400px, 1.24fr) minmax(300px, 0.88fr) minmax(380px, 1.18fr);
  column-gap: clamp(24px, 2.8vw, 40px);
  row-gap: 32px;
  align-items: start;
}

.about-contact-col {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: sticky;
  top: 96px;
  scroll-margin-top: 96px;
  padding-right: 24px;
}

.about-portrait-col {
  grid-column: 2;
  grid-row: 1;
}

.about-content-col {
  grid-column: 3;
  grid-row: 1;
}

.credentials-span-wide {
  grid-column: 2 / 4;
  grid-row: 2;
  margin-top: 8px;
}

.about-contact-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 96px;
}

.about-contact-title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.about-contact-copy {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.direct-contact-compact {
  margin-top: 16px;
  padding: 16px 18px;
}

.direct-email-compact {
  font-size: clamp(15px, 1.35vw, 18px);
  white-space: nowrap;
}

.contact-form-compact {
  margin-top: 16px;
  padding: 20px;
}

.portrait-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 24%;
}

.portrait-caption {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}

.toolkit-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.toolkit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.toolkit-col-divider {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.tag-cloud {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-secondary);
}

.tag-cloud-stack li {
  background: var(--accent-soft);
  border-color: rgba(200, 66, 30, 0.22);
  color: var(--ink);
  font-weight: 500;
}

.editorial-bio {
  display: grid;
  gap: 16px;
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.72;
}

.about-display-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.bio-greeting {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.editorial-bio p {
  margin: 0;
}

.mission-statement {
  margin: 6px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.42;
  color: var(--ink);
}

.principles-block,
.experience-block,
.credentials-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.credentials-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credential-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.credential-type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.credential-title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.credential-issuer {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.credential-partner {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.credential-detail {
  margin: 6px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.principles-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
}

.principle-title {
  margin: 6px 0;
  font-size: 16px;
  font-weight: 600;
}

.principle-body {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.block-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  padding-top: 3px;
}

.timeline-role {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.timeline-company {
  color: var(--accent);
  font-weight: 500;
}

.timeline-summary {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.testimonials-block {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.testimonial-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--ink);
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.testimonial-role {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   05. Contact Section & Form
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.direct-contact-card {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.email-copy-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.direct-email {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
}

.response-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.social-links {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.social-link-card {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  transition: border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}

.social-link-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.contact-form-wrap {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.char-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.form-input:focus {
  border-color: var(--spec-blue);
  background: var(--surface);
  outline: none;
  box-shadow: 0 0 0 3px var(--spec-blue-soft);
}

.form-input[aria-invalid="true"] {
  border-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 124px;
}

.field-error {
  font-size: 12.5px;
  color: var(--accent);
  min-height: 16px;
}

.form-footnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

.form-success {
  padding: 20px 8px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.form-success[hidden] {
  display: none;
}

.success-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--status-green-soft);
  color: var(--status-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
}

.form-success p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  max-width: 42ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 28px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-brand {
  color: var(--ink);
  font-weight: 600;
}

kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
}

.back-top-link {
  color: var(--ink);
  font-weight: 500;
}

.back-top-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   Case Study Deep-Dive Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 17, 16, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-sheet {
  width: min(860px, 100%);
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: sheetIn 260ms var(--ease-out);
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-topbar {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
}

.modal-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--surface-subtle);
}

.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  margin: 12px 0 0;
  font-size: 17.5px;
  color: var(--ink-secondary);
}

.modal-meta-grid {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.modal-meta-item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.modal-meta-item dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.modal-outcomes {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.outcome-tile {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 66, 30, 0.22);
}

.outcome-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.outcome-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink);
}

.modal-section {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.modal-section h3 {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
}

.modal-section p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.72;
}

.modal-cards-stack {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.modal-insight-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.insight-stat {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.decision-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.decision-card h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
}

.reflection-callout {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--spec-blue);
  background: var(--surface);
}

/* Competitive Audit Matrix Table inside Case Study Modal */
.audit-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 580px;
}

.audit-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

.audit-table th,
.audit-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.audit-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--surface-subtle);
}

.audit-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}

.audit-table tbody tr:last-child th,
.audit-table tbody tr:last-child td {
  border-bottom: 0;
}

.audit-table tbody tr.is-focus-row {
  background: var(--accent-soft);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding-inline: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.score-os {
  background: #1f4fd8;
}

.score-g {
  background: #1b998b;
}

.score-o {
  background: #c98f27;
}

.score-nw {
  background: #c8421e;
}

/* Native Persona Cards inside Case Study Modal */
.personas-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.persona-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.persona-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
}

.persona-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.persona-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
}

.persona-problem {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.persona-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

/* Native Solution Architecture Highlight Tiles */
.spec-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spec-highlight-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-highlight-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spec-blue);
  font-weight: 600;
}

.spec-highlight-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.spec-highlight-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* Short-Term vs Long-Term Roadmap Grid */
.roadmap-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.roadmap-short {
  border-top: 3px solid var(--accent);
}

.roadmap-long {
  border-top: 3px solid var(--spec-blue);
}

/* Case Study Visual Artifacts Gallery */
.modal-artifacts-wrap {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.modal-artifacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.artifact-figure {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.artifact-figure.is-wide {
  grid-column: 1 / -1;
}

.artifact-img-frame {
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.artifact-img-frame img {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.artifact-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Google Keep Teardown Visual Enhancements */
.keep-compare-stage {
  background: #141517;
  color: #f2f3f5;
}

.keep-compare-before {
  background: #1b1d20;
  color: #e6e8eb;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.keep-compare-after {
  background: #101214;
  color: #f2f3f5;
}

.keep-mock-window {
  margin-top: 34px;
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #181a1d;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.keep-mock-after {
  background: #121518;
  border-color: rgba(27, 153, 139, 0.42);
}

.keep-mock-search {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #b7bdc6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.keep-cards-before {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}

.keep-card-cluttered {
  padding: 12px;
  border-radius: 10px;
  background: #23272c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  line-height: 1.48;
  color: #cfd4dc;
}

.keep-card-cluttered strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 6px;
}

.keep-card-cluttered-teal {
  background: #1f393b;
}

.keep-card-cluttered-brown {
  background: #3d2420;
}

.keep-after-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  flex: 1;
}

.keep-cards-capped {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.keep-card-clean {
  padding: 12px;
  border-radius: 12px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11.5px;
  line-height: 1.42;
}

.keep-card-clean strong {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.keep-card-clean-cyan {
  background: #2ab7b0;
  color: #0b1e1f;
}

.keep-card-clean-dark {
  background: #26292e;
  color: #f0f2f5;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.keep-card-clean-sage {
  background: #53a99c;
  color: #0b1e1f;
}

.keep-card-clean-rust {
  background: #8a3622;
  color: #fff4f0;
}

.keep-card-dots {
  text-align: right;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.78;
}

.keep-format-panel {
  padding: 14px;
  border-radius: 12px;
  background: #1c2024;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keep-selection-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
}

.keep-selection-bar span {
  padding: 4px 8px;
  border-radius: 6px;
  background: #2a2f36;
  color: #e4e7ec;
}

.keep-highlight-line {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(110, 149, 255, 0.32);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.keep-popover-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  font-size: 11.5px;
}

.keep-popover-item {
  padding: 6px 8px;
  border-radius: 7px;
  background: #252a30;
  color: #e8ecf1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.keep-popover-key {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #8ab4ff;
  min-width: 16px;
}

.keep-bottom-bar {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #aeb6c2;
}

.keep-bottom-labels {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.keep-fab {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2b5759;
  color: #f6e05e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.teardown-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.teardown-project-switch {
  display: inline-flex;
  gap: 6px;
}

.filter-pill[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.teardown-stage[hidden] {
  display: none;
}

/* Finance Hub Teardown Visual Styles */
.fin-compare-stage {
  background: #f4f6f3;
  color: #161c18;
}

.fin-compare-after {
  background: #edf3ee;
  color: #161c18;
}

.fin-compare-before {
  background: #e2e4e6;
  color: #2c2f33;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.fin-mock-window {
  margin-top: 34px;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 19, 0.14);
  display: flex;
}

.fin-mock-after {
  background: #ffffff;
  border-color: rgba(27, 153, 139, 0.35);
}

.fin-mock-before {
  background: #f1f2f4;
  border: 1px dashed #8a9099;
}

.fin-shell {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  width: 100%;
}

.fin-rail {
  padding: 16px 12px;
  background: #f4f8f4;
  border-right: 1px solid rgba(20, 20, 19, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.fin-rail-lofi {
  background: #e5e7eb;
}

.fin-rail-item {
  padding: 8px 10px;
  border-radius: 9px;
  color: #4f5852;
  font-weight: 500;
}

.fin-rail-item.is-on {
  background: #dcebe0;
  color: #17492e;
  font-weight: 700;
}

.fin-rail-item.is-bug {
  background: #fde2dd;
  color: #8f2414;
  font-weight: 700;
}

.fin-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fin-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.fin-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #2f6c4f;
}

.fin-eyebrow-muted {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #8f2414;
}

.fin-h3 {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  color: #141a16;
}

.fin-h3-lofi {
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-size: 17px;
  color: #5b616a;
}

.fin-cta-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fin-btn-primary {
  padding: 6px 12px;
  border-radius: 8px;
  background: #1f5ee8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
}

.fin-btn-secondary {
  padding: 6px 12px;
  border-radius: 8px;
  background: #e9f2ec;
  color: #17492e;
  font-size: 11.5px;
  font-weight: 600;
}

.fin-lofi-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: #d2d6dc;
  color: #3f454f;
  font-family: var(--font-mono);
  font-size: 11px;
}

.fin-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}

.fin-card {
  padding: 13px;
  border-radius: 12px;
  background: #e8f1ea;
  border: 1px solid #cce0d1;
  font-size: 12px;
  color: #2f3b33;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fin-card-white {
  background: #f9fbf9;
  border-color: rgba(20, 20, 19, 0.11);
}

.fin-card strong {
  font-size: 13px;
  color: #142219;
}

.fin-card-lofi {
  padding: 12px;
  border-radius: 8px;
  background: #dcdfe4;
  border: 1px solid #aeb4bd;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #3a4048;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fin-card-lofi strong {
  color: #1e2329;
  font-size: 12px;
}

.fin-win-strip {
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: #def0e4;
  border: 1px solid #a9d5b8;
  color: #144d2e;
  font-size: 12px;
}

.fin-pain-strip {
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fae2df;
  border: 1px solid #e4a59d;
  color: #7c2218;
  font-size: 12px;
}

.keep-pain-strip {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(217, 91, 67, 0.18);
  border: 1px solid rgba(217, 91, 67, 0.42);
  color: #ffb8aa;
  font-size: 12px;
}

.keep-win-strip {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(27, 153, 139, 0.18);
  border: 1px solid rgba(27, 153, 139, 0.45);
  color: #96f0e4;
  font-size: 12px;
}

.modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   Dedicated Multi-Page Views (About Page & Full Case Study Pages)
   ========================================================================== */
.page-hero {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.breadcrumb-link:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.case-article {
  max-width: 960px;
  margin-inline: auto;
}

.case-article-header {
  margin-top: 24px;
}

.case-article-title {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.case-article-subtitle {
  margin: 16px 0 0;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-secondary);
  line-height: 1.62;
  max-width: 66ch;
}

.case-article-cover {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--surface-subtle);
  box-shadow: var(--shadow-md);
}

.case-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-teardown-embed {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.case-teardown-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.case-teardown-head h3 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.case-teardown-head p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--ink-secondary);
  max-width: 58ch;
}

.case-page-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.about-cta-band {
  margin-top: clamp(44px, 6vw, 68px);
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.about-cta-band h3 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.toast[hidden] {
  display: none;
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .about-layout-three {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .about-portrait-col {
    grid-column: 1;
    grid-row: auto;
  }

  .about-content-col {
    grid-column: 2;
    grid-row: auto;
  }

  .credentials-span-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-contact-col {
    position: static;
    grid-column: 1 / -1;
    grid-row: auto;
    order: 4;
    padding-right: 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .about-layout-three,
  .contact-layout,
  .process-panel,
  .case-card.is-featured {
    grid-template-columns: 1fr;
  }

  .about-portrait-col,
  .about-content-col,
  .credentials-span-wide,
  .about-contact-col {
    grid-column: 1;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid,
  .testimonials-grid,
  .teardown-annotations {
    grid-template-columns: 1fr;
  }

  .process-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-after-body {
    grid-template-columns: 1fr;
  }

  .mock-after-actions {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(20, 20, 19, 0.09);
  }

  .compare-viewport {
    min-height: 540px;
  }
}

@media (max-width: 720px) {
  .site-nav,
  .brand-role,
  .pill-label,
  .shortcut-hint {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .metrics-strip,
  .principles-grid,
  .credentials-grid,
  .toolkit-columns,
  .social-links,
  .modal-meta-grid,
  .modal-outcomes,
  .personas-grid,
  .persona-lists,
  .spec-highlights-grid,
  .roadmap-grid,
  .modal-artifacts-grid,
  .keep-after-split,
  .keep-cards-before,
  .keep-cards-capped,
  .fin-shell,
  .fin-cards-grid,
  .mock-vitals-grid,
  .mock-before-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .artifact-row,
  .modal-insight-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .toolkit-col-divider {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .direct-email-compact {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .compare-viewport {
    min-height: 620px;
  }

  .modal-backdrop {
    padding: 0;
  }

  .modal-sheet {
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
