/* =============================================================
   SHAM KAMBOJ — sham.css
   Warm parchment · Amber/copper · Teal pop · Cabinet Grotesk + Fraunces
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,300;1,9..144,700&display=swap');

/* =====================================================
   TOKENS
   ===================================================== */
:root {
  --bg:       #f5f0e8;
  --bg2:      #ede8de;
  --bg3:      #e5dfd4;
  --ink:      #1a1612;
  --muted:    #6b5f52;
  --faint:    #c4b8a8;

  --amber:    #c97c2e;
  --amber-l:  #e8961f;
  --amber-d:  #a0601e;
  --teal:     #1a8a7a;
  --teal-l:   #22b09d;
  --red:      #b83030;

  --sans:  'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --max:   1080px;
  --r:     14px;

  --t-fast:   .15s;
  --t-med:    .25s;
  --ease:     cubic-bezier(.2,.8,.2,1);
}

/* =====================================================
   BASE RESET
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* =====================================================
   BACKGROUND ATMOSPHERE
   ===================================================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 8% 8%, rgba(201,124,46,.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 92% 85%, rgba(26,138,122,.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* =====================================================
   LAYOUT
   ===================================================== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* =====================================================
   SOCIAL BAR
   ===================================================== */
.social-bar {
  background: var(--ink);
  padding: 7px 0;
  position: sticky;
  top: 0;
  z-index: 200;
}

.social-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.social-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.social-bar a:hover {
  color: var(--amber-l);
  transform: translateY(-1px);
}

.social-bar svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 33px; /* below social bar */
  z-index: 100;
  background: rgba(245,240,232,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,124,46,.15);
  padding: 13px 0;
  transition:
    background var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(245,240,232,.97);
  border-bottom-color: rgba(201,124,46,.28);
  box-shadow: 0 2px 24px rgba(26,22,18,.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand */
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-name span { color: var(--amber); }

/* Nav */
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(201,124,46,.1);
}

.nav a.active {
  color: #fff;
  background: var(--ink);
}

/* Journey nav link gets teal dot */
.nav a[href*="journey"]::before {
  content: "● ";
  color: var(--teal);
  font-size: 8px;
  vertical-align: middle;
  margin-right: 2px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

/* Decorative background letter */
.hero::before {
  content: "S";
  position: absolute;
  top: -60px;
  right: -10px;
  font-family: var(--serif);
  font-size: clamp(280px, 34vw, 480px);
  font-weight: 900;
  color: rgba(201,124,46,.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
  display: block;
}

h1, .hero-h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}

.hero-h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-rule {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.72;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Portrait */
.hero-portrait {
  position: relative;
}

.hero-portrait-card {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink);
  position: relative;
}

.hero-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
  mix-blend-mode: luminosity;
  opacity: .9;
}

.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(201,124,46,.22) 0%,
    transparent 45%,
    rgba(26,138,122,.18) 100%
  );
  pointer-events: none;
}

.hero-portrait-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(245,240,232,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245,240,232,.18);
  border-radius: 14px;
  padding: 11px 15px;
}

.hero-portrait-tag-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

.hero-portrait-tag-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 12px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,124,46,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid var(--faint);
  border-radius: 12px;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: rgba(26,138,122,.15);
  color: var(--teal-l);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(26,138,122,.3);
  border-radius: 10px;
  transition: background var(--t-fast), transform var(--t-fast);
}

.btn-teal:hover {
  background: rgba(26,138,122,.25);
  transform: translateX(3px);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: rgba(201,124,46,.15);
  color: var(--amber-l);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(201,124,46,.28);
  border-radius: 10px;
  transition: background var(--t-fast), transform var(--t-fast);
}

.btn-amber:hover {
  background: rgba(201,124,46,.25);
  transform: translateX(3px);
}

/* =====================================================
   STATS STRIP
   ===================================================== */
.stats-strip {
  background: var(--ink);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 26px 28px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}

.stat-item:last-child { border-right: none; }

.stat-item::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.stat-item:hover::before { transform: scaleX(1); }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
  color: var(--amber-l);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 72px 0;
}

.section-divider {
  background: var(--bg2);
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-eyebrow.amber { color: var(--amber); }
.section-eyebrow.amber::before { background: var(--amber); }
.section-eyebrow.teal  { color: var(--teal); }
.section-eyebrow.teal::before  { background: var(--teal); }

.section-eyebrow::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  color: var(--amber);
}

.section-title .teal {
  color: var(--teal);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 66ch;
  line-height: 1.7;
}

/* =====================================================
   JOURNEY CARDS
   ===================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.jcard {
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.jcard-ebc {
  background: linear-gradient(145deg, #261c0f, #181210);
  border: 1px solid rgba(201,124,46,.22);
}

.jcard-can {
  background: linear-gradient(145deg, #0e1e1d, #0a1614);
  border: 1px solid rgba(26,138,122,.28);
}

.jcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0;
}

.jcard-ebc::before {
  background: linear-gradient(90deg, var(--amber), rgba(201,124,46,.2), transparent);
}

.jcard-can::before {
  background: linear-gradient(90deg, var(--teal), rgba(26,138,122,.2), transparent);
}

.jcard-year {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jcard-ebc .jcard-year { color: var(--amber-l); }
.jcard-can .jcard-year { color: var(--teal-l); }

.jcard-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
}

.jcard-body {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 40ch;
  margin-bottom: 22px;
}

/* Countdown */
.jcard-countdown {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.jcard-days {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: var(--teal-l);
  letter-spacing: -.03em;
}

.jcard-days-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  line-height: 1.4;
}

/* Progress */
.jcard-progress { margin-top: 18px; }

.jcard-progress-track {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.jcard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), rgba(26,200,180,.8));
  border-radius: 2px;
  position: relative;
  transition: width 1.2s var(--ease);
}

.jcard-progress-fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-l);
  box-shadow: 0 0 10px rgba(26,138,122,.9);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.jcard-progress-label {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 10px;
  letter-spacing: .05em;
}

/* =====================================================
   VIDEO GRID
   ===================================================== */
.video-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.video-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.video-thumb {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg3);
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: block;
  text-decoration: none;
}

.video-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0,0,0,.15);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
}

.video-thumb-placeholder svg {
  width: 28px;
  height: 28px;
  fill: var(--faint);
}

.video-day-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
}

.video-day-badge.amber { background: var(--amber); }
.video-day-badge.teal  { background: var(--teal); }

.video-thumb-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  padding: 22px 10px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
}

/* API not configured fallback */
.video-api-notice {
  grid-column: 1 / -1;
  background: var(--bg2);
  border: 1px dashed var(--faint);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.video-api-notice strong { color: var(--ink); }
.video-api-notice code {
  background: var(--bg3);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13px;
}

/* =====================================================
   NOW / CURRENTLY SECTION
   ===================================================== */
.now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.now-card {
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 22px;
  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}

.now-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.now-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,124,46,.3);
  box-shadow: 0 10px 30px rgba(201,124,46,.1);
}

.now-card:hover::after { transform: scaleX(1); }

.now-card-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 12px;
}

.now-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}

.now-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 7px;
}

.now-card-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* =====================================================
   WORK LIST
   ===================================================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.work-card {
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 24px;
}

.work-card-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.work-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-card li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.work-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 12px;
}

.work-card a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid rgba(201,124,46,.3);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.work-card a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* =====================================================
   WRITING / BLOG LIST
   ===================================================== */
.post-list { margin-top: 28px; }

.post-row {
  display: grid;
  grid-template-columns: 80px 1fr 28px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast) var(--ease);
}

.post-row:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.post-row:hover { transform: translateX(4px); }

.post-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 3px;
  white-space: nowrap;
}

.post-body-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
}

.post-body-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(201,124,46,.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.post-arrow {
  color: var(--amber);
  font-size: 18px;
  padding-top: 2px;
  transition: transform var(--t-fast) var(--ease);
}

.post-row:hover .post-arrow { transform: translate(3px,-2px); }

/* Blog index header */
.blog-head {
  padding: 64px 0 16px;
}

.blog-head h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.blog-head .sub {
  font-size: 17px;
  color: var(--muted);
}

/* Blog post */
.post-main { padding: 56px 0 64px; }
.post-main h1 { margin-bottom: 12px; }

.post-meta-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.post-content {
  max-width: 72ch;
}

.post-content p { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.78; }
.post-content h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--ink);
}
.post-content a {
  color: var(--amber-d);
  border-bottom: 1px solid rgba(201,124,46,.35);
}
.post-content a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  padding: 28px;
}

.contact-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.contact-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a {
  color: var(--amber-d);
  font-weight: 700;
  border-bottom: 1px solid rgba(201,124,46,.3);
}

.contact-card a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--ink);
  padding: 52px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.footer-brand span { color: var(--amber-l); }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  max-width: 32ch;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.footer-social a:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  transform: translateY(-2px);
}

.footer-social svg { width: 14px; height: 14px; fill: currentColor; display: block; }

.footer-col-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--amber-l); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 0 0 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.22);
}

.footer-bottom em {
  font-style: italic;
  color: rgba(255,255,255,.18);
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .22s; }
.reveal.d4 { transition-delay: .30s; }

/* Safety net: never stay invisible */
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal:not(.in) { animation: reveal-fallback 0s 2s forwards; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .jcard-progress-fill::after { animation: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .hero-grid       { grid-template-columns: 1fr; }
  .hero::before    { display: none; }
  .hero-portrait   { max-width: 340px; }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .journey-grid    { grid-template-columns: 1fr; }
  .video-grid      { grid-template-columns: repeat(2, 1fr); }
  .now-grid        { grid-template-columns: repeat(2, 1fr); }
  .work-grid       { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .wrap            { padding: 0 16px; }
  .section         { padding: 52px 0; }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .video-grid      { grid-template-columns: repeat(2, 1fr); }
  .now-grid        { grid-template-columns: 1fr 1fr; }
  .post-row        { grid-template-columns: 1fr 24px; }
  .post-date       { display: none; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav             { width: 100%; }
  .nav a           { flex: 1; text-align: center; font-size: 11px; padding: 8px 6px; }
  .hero            { padding: 48px 0 44px; }
  .hero-actions    { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .now-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   YOUTUBE EMBED (blog posts)
   ===================================================== */
.yt-embed {
  margin: 32px 0;
  max-width: 72ch;
}

.yt-embed-ratio {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.yt-embed-ratio iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 14px;
}

.yt-embed-caption {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding-left: 4px;
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}
