/* ============================================================
   Robin Marquez — Portfolio
   Design system: warm off-white + midnight blue + forest green accent
   Type: classic serif (Lora) + modern sans (DM Sans)
   ============================================================ */

:root {
  /* Type */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Surface */
  --bg: #FAF9F6;
  --bg-alt: #F2F0EA;
  --bg-card: #FFFFFF;
  --border: rgba(26, 36, 51, 0.08);
  --border-strong: rgba(26, 36, 51, 0.18);

  /* Text */
  --ink: #1A2433;
  --ink-2: #2D3A4F;
  --ink-3: #5A6677;
  --ink-4: #8D95A3;

  /* Accent — forest green */
  --accent: #3F5C46;
  --accent-soft: #E6ECDF;
  --accent-deep: #2C4232;

  /* Gradient stops for hero key-word */
  --grad-1: #3F5C46;
  --grad-2: #6B8B72;
  --grad-3: #1A2433;

  /* Misc */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(26,36,51,0.04), 0 2px 8px rgba(26,36,51,0.04);
  --shadow: 0 4px 12px rgba(26,36,51,0.06), 0 24px 48px -16px rgba(26,36,51,0.08);
  --shadow-lg: 0 8px 30px rgba(26,36,51,0.08), 0 40px 80px -20px rgba(26,36,51,0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
  overflow-x: hidden;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--bg);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand img { display: block; height: 24px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.35s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav a { display: none; }
}

/* ============================================================
   SKEUOMORPHIC BUTTONS
   ============================================================ */
.sk-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #FCFBF7 0%, #E8E3D8 100%);
  border: 1px solid rgba(26,36,51,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(26,36,51,0.08),
    0 1px 2px rgba(26,36,51,0.06),
    0 6px 14px -4px rgba(26,36,51,0.18),
    0 14px 26px -10px rgba(26,36,51,0.14);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s cubic-bezier(.2,.8,.2,1), filter 0.3s ease;
}
.sk-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(26,36,51,0.08),
    0 2px 4px rgba(26,36,51,0.08),
    0 10px 22px -4px rgba(26,36,51,0.22),
    0 22px 40px -12px rgba(26,36,51,0.18);
  filter: brightness(1.02);
}
.sk-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(26,36,51,0.2),
    inset 0 -1px 0 rgba(255,255,255,0.55),
    0 1px 1px rgba(26,36,51,0.08);
}
.sk-btn .sk-ic {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.sk-btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--grad-2) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  border-color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    0 1px 2px rgba(26,36,51,0.1),
    0 8px 18px -4px color-mix(in oklab, var(--accent) 60%, transparent),
    0 18px 36px -12px color-mix(in oklab, var(--accent) 40%, transparent);
}
.sk-btn-primary .sk-ic { color: #fff; }
.sk-btn-primary:hover { filter: brightness(1.06); }
.sk-lg { padding: 14px 24px; font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 60px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 30px 60px -20px rgba(26,36,51,0.25),
    0 12px 24px -8px rgba(26,36,51,0.12),
    inset 0 0 0 1px var(--border);
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--grad-2), var(--accent-deep), var(--accent));
  filter: blur(14px);
  opacity: 0.3;
  z-index: -1;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter 0.6s ease;
}
.hero-portrait:hover img { transform: scale(1.1); }
.hero-portrait::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25));
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: #fff;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-wrap: pretty;
  background: linear-gradient(110deg, var(--ink) 0%, var(--ink-2) 55%, var(--accent-deep) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-headline .grad {
  background: linear-gradient(110deg, var(--grad-1) 0%, var(--grad-2) 50%, var(--grad-1) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 8px;
}

/* ============================================================
   SECTION / PILLARS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* Alternating section backgrounds */
.section-tint {
  background: var(--bg-alt);
  position: relative;
}

.section-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px; margin-bottom: 48px;
}
.section-head .section-lede { margin-top: 4px; }

/* Eyebrow is kept in markup for accessibility/structure but visually hidden,
   per the prototype's design pass. */
.section-eyebrow { display: none; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 720px;
  background: linear-gradient(110deg, var(--ink) 0%, var(--ink-2) 50%, var(--accent) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title em { color: var(--accent); font-style: italic; }
.section-lede {
  max-width: 620px;
  color: var(--ink-3);
  font-size: 16.5px;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1), box-shadow 0.55s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  display: block;
}
.pillar .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
  position: relative; z-index: 1;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
  position: relative; z-index: 1;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.case {
  grid-column: span 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), box-shadow 0.6s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.case.feature { grid-column: span 6; }
@media (max-width: 880px) {
  .case, .case.feature { grid-column: span 6; }
}

.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

a.case-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
a.case-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
a.case-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.case-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--accent);
  margin-left: 10px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1), transform 0.35s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  -webkit-text-fill-color: var(--accent);
  background: none;
}
a.case-link:hover .case-readmore {
  opacity: 1;
  transform: translateX(0);
}
.case-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
}
.case.feature .case-media { aspect-ratio: 21/9; }

.case-mock {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.case-tag {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.case-tag .swatch { display: none; }
.case-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transform: rotate(-45deg);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}
.case:hover .case-arrow {
  transform: rotate(0deg);
  background: var(--ink);
  color: var(--bg);
}

.case-body {
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.case-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  background: linear-gradient(110deg, var(--ink) 0%, var(--accent) 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case.feature .case-title { font-size: 34px; }
.case-outcome {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
}
.case-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
}
.case-tags .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  background: var(--bg-alt);
  color: var(--ink-2);
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Case mock image fill */
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.case:hover .case-img { transform: scale(1.03); }

/* ============================================================
   CAPABILITIES — dark green gradient treatment
   ============================================================ */
.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .caps { grid-template-columns: 1fr; } }

.cap {
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  position: relative;
  transition: background 0.5s cubic-bezier(.2,.8,.2,1), transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease;
  cursor: default;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cap:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.cap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.cap:hover::after { transform: scaleX(1); }
.cap .icon {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}
.cap h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.cap p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

#capabilities {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent-deep) 100%);
  overflow: hidden;
  isolation: isolate;
}
#capabilities::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--accent) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(107,139,114,0.35) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
#capabilities > .container { position: relative; z-index: 1; }
#capabilities .section-title {
  background: linear-gradient(110deg, #FFFFFF 0%, #F5F2EC 45%, var(--grad-2) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#capabilities .section-title em {
  background: linear-gradient(110deg, var(--grad-2) 0%, #C7D8C9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#capabilities .section-lede {
  color: rgba(255,255,255,0.72);
}

/* Translucent glass cards on dark bg */
#capabilities .cap {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#capabilities .cap:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.4);
}
#capabilities .cap .icon { color: var(--grad-2); }
#capabilities .cap h4 { color: #FFFFFF; }
#capabilities .cap p { color: rgba(255,255,255,0.66); }
#capabilities .cap::after {
  background: linear-gradient(90deg, var(--grad-2) 0%, #C7D8C9 100%);
}

/* ============================================================
   MENTORSHIP / IRCC
   ============================================================ */
.mentorship {
  padding: 100px 0;
  position: relative;
}
.mentorship-card {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent-deep) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 60px;
  color: #FAF9F6;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.mentorship-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--accent) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(107,139,114,0.4) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 880px) {
  .mentorship-card { grid-template-columns: 1fr; padding: 36px; }
}
.mentorship-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.mentorship-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}
.mentorship-card h3 em { font-style: italic; color: var(--grad-2); }
.mentorship-card p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
}

.mentorship-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  position: relative; z-index: 1;
}
.mentorship-stats .stat {
  background: rgba(255,255,255,0.04);
  padding: 28px 24px;
}
.mentorship-stats .stat:nth-child(1) { border-top-left-radius: calc(var(--radius-lg) - 1px); }
.mentorship-stats .stat:nth-child(2) { border-top-right-radius: calc(var(--radius-lg) - 1px); }
.mentorship-stats .stat:nth-child(3) { border-bottom-left-radius: calc(var(--radius-lg) - 1px); }
.mentorship-stats .stat:nth-child(4) { border-bottom-right-radius: calc(var(--radius-lg) - 1px); }
.mentorship-stats .stat .v {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}
.mentorship-stats .stat .l {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mentorship-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .35s cubic-bezier(.2,.8,.2,1),
              transform .35s cubic-bezier(.2,.8,.2,1),
              border-color .35s cubic-bezier(.2,.8,.2,1);
}
.mentorship-cta:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
}
.mentorship-cta svg {
  width: 16px; height: 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.mentorship-cta:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   BEYOND THE DESK
   ============================================================ */
.beyond {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .beyond-grid { grid-template-columns: 1fr; gap: 32px; } }

.beyond-intro p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.beyond-list {
  display: flex; flex-direction: column;
  gap: 14px;
}
.beyond-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1), box-shadow 0.55s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease;
  cursor: default;
}
.beyond-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.beyond-item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  padding-top: 4px;
}
.beyond-item h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.beyond-item h4 .ic {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  vertical-align: -3px;
}
.beyond-item p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA & FOOTER
   ============================================================ */
.cta-final {
  padding: 60px 0;
  text-align: center;
}
.cta-final h2 {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 56px;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .cta-final h2 { font-size: clamp(48px, 12vw, 80px); }
}
.cta-final h2 .grad {
  background: linear-gradient(110deg, var(--grad-1) 0%, var(--grad-2) 50%, var(--ink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding: 0 0 40px;
}
.cta-final .actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.site-footer {
  padding: 32px 0;
}
.site-footer .row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: var(--ink-4);
}
.site-footer .links { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-3); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--ink); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* Reduced motion: keep content visible, drop transforms */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-headline .grad,
  .cta-final h2 .grad { animation: none; }
}

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}
