/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:            #0A0A0A;
  --surface:       #111111;
  --surface-2:     #181818;
  --surface-3:     #222222;
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text:          #FFFFFF;
  --text-2:        #AAAAAA;
  --text-3:        #3a3a3a;
  --tag-bg:        rgba(255, 255, 255, 0.06);
  --tag-border:    rgba(255, 255, 255, 0.1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:         68px;
  --r:             12px;
  --r-lg:          20px;
  --ease:          cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   LIGHT MODE
═══════════════════════════════════════════ */
[data-theme="light"] {
  --bg:            #F5F5F5;
  --surface:       #FFFFFF;
  --surface-2:     #EFEFEF;
  --surface-3:     #E4E4E4;
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text:          #0A0A0A;
  --text-2:        #555555;
  --text-3:        #BBBBBB;
  --tag-bg:        rgba(0, 0, 0, 0.05);
  --tag-border:    rgba(0, 0, 0, 0.1);
}
[data-theme="light"] ::selection { background: rgba(0,0,0,0.15); color: #000; }
[data-theme="light"] .cursor       { background: #0A0A0A; }
[data-theme="light"] .cursor-trail { border-color: rgba(0,0,0,0.25); }
[data-theme="light"] .nav          { background: transparent; border-bottom-color: transparent; }
[data-theme="light"] .nav.scrolled { background: rgba(245,245,245,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom-color: transparent; }
[data-theme="light"] .nav-logo,
[data-theme="light"] .nav-link     { color: #0A0A0A; }
[data-theme="light"] .nav-cta      { background: #0A0A0A; color: #fff; border-color: #0A0A0A; }
[data-theme="light"] .nav-cta:hover { background: #333; }
[data-theme="light"] .btn-primary  { background: #0A0A0A; color: #fff; }
[data-theme="light"] .btn-ghost    { color: #0A0A0A; border-color: rgba(0,0,0,0.25); }
[data-theme="light"] .marquee-wrap { background: #EFEFEF; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .tag-dot      { background: #0A0A0A; }
[data-theme="light"] .home-hero-img {
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
  filter: none;
}
@media (max-width: 860px) {
  [data-theme="light"] .home-hero-img {
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  }
}

/* Theme toggle button */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: scale(1.1); background: var(--surface-2); }
.theme-toggle svg   { width: 16px; height: 16px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language toggle button */
.lang-toggle {
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  cursor: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.lang-toggle:hover { transform: scale(1.05); background: var(--surface-2); color: var(--text); }

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

::selection { background: rgba(255,255,255,0.25); color: #fff; }
::-moz-selection { background: rgba(255,255,255,0.25); color: #fff; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.svg-filters {
  position: absolute; width: 0; height: 0;
  overflow: hidden; pointer-events: none; visibility: hidden;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .15s, height .15s;
}
.cursor-trail {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, opacity .25s;
}
.cursor.is-hovering       { width: 14px; height: 14px; }
.cursor-trail.is-hovering { width: 52px; height: 52px; border-color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
.nav-logo {
  font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .6; }

.nav-links { display: flex; gap: 32px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-right  { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-link {
  font-size: 14px; color: var(--text-2);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--text);
  transition: width .3s var(--ease-out);
}
.nav-link:hover            { color: var(--text); }
.nav-link:hover::after     { width: 100%; }
.nav-link.active           { color: var(--text); }
.nav-link.active::after    { width: 100%; }

.nav-cta {
  font-size: 13px; font-weight: 500;
  background: var(--text); color: var(--bg);
  padding: 8px 20px; border-radius: 100px;
  transition: background .2s, color .2s, transform .2s;
}
.nav-cta:hover { background: rgba(255,255,255,.85); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: 100px;
  transition: all .25s var(--ease);
  white-space: nowrap; font-family: var(--font);
  border: none; cursor: none;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: rgba(255,255,255,.85); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,.08); }
.btn-ghost   { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: var(--nav-h) 48px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding-top: 48px;
}

/* Hero text */
.hero-text { display: flex; flex-direction: column; gap: 28px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-2);
  opacity: 0; animation: fadeIn .6s var(--ease-out) .05s both;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.7); } }

.hero-title {
  display: flex; flex-direction: column;
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 800; line-height: 1.0; letter-spacing: -.045em;
}
.title-line { display: block; overflow: hidden; }
.title-line-inner {
  display: block;
  transform: translateY(110%);
  animation: lineUp .85s var(--ease-out) var(--delay, 0s) both;
}
@keyframes lineUp { to { transform: translateY(0); } }

.hero-desc {
  font-size: 16px; line-height: 1.72; color: var(--text-2);
  max-width: 440px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .52s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .66s both;
}

@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ═══════════════════════════════════════════
   HERO VISUAL — MASK REVEAL
═══════════════════════════════════════════ */
.hero-visual {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 14px;
  opacity: 0; animation: fadeUp .9s var(--ease-out) .25s both;
}

.mask-reveal {
  position: relative;
  width: 420px; height: 520px;
  border-radius: var(--r-lg);
  overflow: hidden; cursor: none;
}

.mask-image {
  position: absolute; inset: 0;
  border-radius: var(--r-lg); overflow: hidden;
}

/* Photo fills the card */
.mask-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Front fallback card (shown if headshot not found) */
.card-front {
  width: 100%; height: 100%;
  background: linear-gradient(150deg, #141414 0%, #0d0d0d 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  position: relative; display: flex; align-items: flex-end; padding: 32px;
}
.card-grid-bg {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.card-monogram {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 120px; font-weight: 900; letter-spacing: -.06em;
  color: rgba(255,255,255,.05); user-select: none; pointer-events: none;
}
.card-front-info { position: relative; display: flex; flex-direction: column; gap: 5px; z-index: 1; }
.card-name  { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.card-role  { font-size: 13px; color: var(--text-2); }
.card-corner-badge {
  position: absolute; top: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-2);
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px;
}
.badge-dot-live { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }

/* Back card */
.mask-back {
  --mx: 50%; --my: 50%; --mr: 0%;
  clip-path: circle(var(--mr) at var(--mx) var(--my));
  filter: url(#organic-mask);
  will-change: clip-path; z-index: 2;
}
.mask-back .mask-photo { object-position: center center; }

.mask-back-label {
  position: absolute; bottom: 24px; left: 24px;
  font-size: 12px; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
}

.visual-hint {
  font-size: 11px; color: var(--text-3); letter-spacing: .03em;
}

/* ═══════════════════════════════════════════
   SCROLL HINT
═══════════════════════════════════════════ */
.scroll-hint {
  position: absolute; bottom: 36px; left: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn .8s var(--ease-out) 1.4s both;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-hint span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface); padding: 16px 0; overflow: hidden;
}
.marquee-inner {
  display: flex; align-items: center; white-space: nowrap;
  width: max-content; animation: marquee 32s linear infinite;
}
.marquee-inner span  { font-size: 13px; color: var(--text-2); padding: 0 16px; letter-spacing: .01em; }
.marquee-inner .dot  { color: var(--text-3); padding: 0 2px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }

/* ═══════════════════════════════════════════
   SECTION SHELL
═══════════════════════════════════════════ */
.section {
  padding: 96px 48px;
  max-width: 1200px; margin: 0 auto;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.section-num {
  display: block; font-size: 11px; color: var(--text-3);
  letter-spacing: .12em; font-weight: 500; text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
}
.section-more { font-size: 14px; color: var(--text-2); transition: color .2s; }
.section-more:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   WORK GRID
═══════════════════════════════════════════ */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.work-card {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
  transition: border-color .3s, box-shadow .4s;
  transform-style: preserve-3d; will-change: transform;
}
.work-card:hover { border-color: var(--border-strong); box-shadow: 0 16px 48px rgba(0,0,0,.5); }

.work-card-visual { position: relative; height: 216px; overflow: hidden; }
.work-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c1, #111), var(--c2, #222));
  display: flex; align-items: center; justify-content: center;
  transition: transform .6s var(--ease); position: relative;
}
.work-bg-google { background: none; }
.work-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.work-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%);
}
.work-card:hover .work-bg { transform: scale(1.06); }

.work-letter {
  font-size: 72px; font-weight: 900; letter-spacing: -.05em;
  color: rgba(255,255,255,.08); user-select: none; position: relative; z-index: 1;
}
.work-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.work-overlay span {
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.3); padding: 9px 20px; border-radius: 100px;
}
.work-card:hover .work-overlay { opacity: 1; }

.work-body { padding: 22px 24px 24px; }
.work-meta  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.work-tag   { font-size: 11px; font-weight: 500; color: var(--text-2); background: var(--tag-bg); border: 1px solid var(--tag-border); padding: 3px 10px; border-radius: 100px; letter-spacing: .02em; }
.work-year  { font-size: 12px; color: var(--text-2); }
.work-title { font-size: 17px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; line-height: 1.2; }
.work-desc  { font-size: 13px; line-height: 1.65; color: var(--text-2); }

/* ═══════════════════════════════════════════
   ABOUT SECTION (home snippet)
═══════════════════════════════════════════ */
.about-section { border-top: 1px solid var(--border); }
.about-grid    { display: grid; grid-template-columns: 280px 1fr; gap: 88px; align-items: start; }
.about-left    { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 96px; }
.about-heading { line-height: 1.08; }
.about-right   { display: flex; flex-direction: column; gap: 32px; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; background: var(--border); gap: 1px;
}
.stat-card  { display: flex; flex-direction: column; gap: 5px; padding: 24px; background: var(--surface); }
.stat-num   { font-size: 36px; font-weight: 800; letter-spacing: -.045em; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-2); }

.about-bio  { font-size: 16px; line-height: 1.78; color: var(--text-2); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span { font-size: 12px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-2); transition: border-color .2s, color .2s; }
.about-tags span:hover { border-color: var(--border-strong); color: var(--text); }

/* ═══════════════════════════════════════════
   BLOG SECTION
═══════════════════════════════════════════ */
.blog-section { border-top: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.blog-card {
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; background: var(--surface);
  transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .4s;
}
.blog-card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.blog-top    { display: flex; align-items: center; justify-content: space-between; }
.blog-tag    { font-size: 11px; font-weight: 500; color: var(--text-2); background: var(--tag-bg); border: 1px solid var(--tag-border); padding: 3px 10px; border-radius: 100px; letter-spacing: .02em; }
.blog-arrow  { font-size: 20px; color: var(--text-3); transition: color .2s, transform .2s; }
.blog-card:hover .blog-arrow { color: var(--text); transform: translate(3px,-3px); }
.blog-title   { font-size: 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.blog-excerpt { font-size: 14px; line-height: 1.7; color: var(--text-2); flex: 1; }
.blog-footer  { padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.blog-read    { font-size: 13px; color: var(--text-2); transition: color .2s; }
.blog-card:hover .blog-read { color: var(--text); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 88px 48px 44px;
  max-width: 1200px; margin: 0 auto;
}
.footer-cta  { display: flex; flex-direction: column; gap: 18px; margin-bottom: 88px; }
.footer-eyebrow {
  font-size: 13px; color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
}
.footer-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--text-3); display: inline-block; }
.footer-heading { font-size: clamp(52px, 7.5vw, 104px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.footer-email { font-size: clamp(16px, 2vw, 22px); color: var(--text-2); transition: color .2s; align-self: flex-start; }
.footer-email:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-copy   { font-size: 13px; color: var(--text-3); }
.footer-social { display: flex; gap: 28px; }
.footer-social a { font-size: 13px; color: var(--text-2); transition: color .2s; }
.footer-social a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   INNER PAGE HERO
═══════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 48px 64px;
  max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 20px;
}
.page-hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.045em; line-height: 1.0;
  margin-bottom: 20px;
}
.page-hero-desc {
  font-size: 18px; line-height: 1.7; color: var(--text-2);
  max-width: 560px;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-page { max-width: 1200px; margin: 0 auto; padding: 0 48px 96px; }

.about-photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 64px 0;
}
.about-photo {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/3;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-tall { aspect-ratio: 3/4; }

.about-bio-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.about-bio-text h2  { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 20px; }
.about-bio-text p   { font-size: 16px; line-height: 1.8; color: var(--text-2); margin-bottom: 16px; }
.about-bio-text p:last-child { margin-bottom: 0; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline-item:first-child { border-top: 1px solid var(--border); }
.timeline-year  { font-size: 12px; color: var(--text-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.timeline-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-content p  { font-size: 13px; color: var(--text-2); line-height: 1.6; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.skill-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.skill-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag  { font-size: 12px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-2); }

/* ═══════════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════════ */
.blog-page { max-width: 1200px; margin: 0 auto; padding: 0 48px 96px; }
.blog-list  { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.blog-list-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.blog-list-item:first-child { border-top: 1px solid var(--border); }
.blog-list-item:hover { opacity: .75; }
.blog-list-left  { display: flex; flex-direction: column; gap: 10px; }
.blog-list-tag   { font-size: 11px; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.blog-list-title { font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.blog-list-desc  { font-size: 14px; color: var(--text-2); line-height: 1.6; max-width: 600px; }
.blog-list-arrow { font-size: 28px; color: var(--text-3); transition: color .2s, transform .2s; flex-shrink: 0; }
.blog-list-item:hover .blog-list-arrow { color: var(--text); transform: translate(4px, -4px); }

/* Blog post page */
.post-page { max-width: 720px; margin: 0 auto; padding: 0 48px 96px; }
.post-header { padding: calc(var(--nav-h) + 48px) 0 48px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.post-tag    { font-size: 11px; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.post-title  { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 20px; }
.post-meta   { font-size: 13px; color: var(--text-2); }

.post-body h2  { font-size: 24px; font-weight: 700; letter-spacing: -.025em; margin: 48px 0 16px; }
.post-body h3  { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 32px 0 12px; }
.post-body p   { font-size: 16px; line-height: 1.8; color: var(--text-2); margin-bottom: 20px; }
.post-body ul  { padding-left: 20px; margin-bottom: 20px; }
.post-body li  { font-size: 16px; line-height: 1.8; color: var(--text-2); margin-bottom: 8px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-img { border-radius: var(--r); overflow: hidden; margin: 36px 0; }
.post-img img { width: 100%; display: block; }
.post-img-caption { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 10px; }
.post-callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--text-2);
  border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin: 28px 0;
}
.post-callout p { margin: 0; font-size: 15px; font-style: italic; }

.post-nav {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.post-nav a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.post-nav a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-page { max-width: 1200px; margin: 0 auto; padding: 0 48px 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; align-items: start; }

.contact-info h3 { font-size: 13px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.contact-link:first-of-type { border-top: 1px solid var(--border); }
.contact-link:hover { opacity: .65; }
.contact-link-label { font-size: 15px; font-weight: 500; }
.contact-link-sub   { font-size: 13px; color: var(--text-2); }
.contact-link-arrow { font-size: 20px; color: var(--text-3); transition: transform .2s; }
.contact-link:hover .contact-link-arrow { transform: translate(3px,-3px); }

.contact-form  { display: flex; flex-direction: column; gap: 20px; }
.form-group    { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; color: var(--text-2); letter-spacing: .04em; }
.form-group input,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px;
  font-family: var(--font); font-size: 14px; color: var(--text);
  outline: none; resize: none; cursor: text;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--border-strong); }
.form-group textarea { min-height: 140px; }
.form-submit { align-self: flex-start; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) { .work-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 860px) {
  .hero-inner   { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual  { align-items: center; }
  .mask-reveal  { width: 100%; max-width: 380px; height: 420px; }
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-left   { position: static; }
  .work-grid    { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .about-bio-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .skills-grid  { grid-template-columns: 1fr 1fr; }
  .about-photo-grid { grid-template-columns: 1fr; }
}

/* ── Hamburger button (mobile only, hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: none; padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 32px;
  flex-direction: column; gap: 0;
  z-index: 99;
  transform: translateY(-8px); opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-drawer.open {
  transform: translateY(0); opacity: 1;
  pointer-events: auto;
}
.nav-drawer .nav-link {
  font-size: 18px; font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.nav-drawer .nav-link:last-child { border-bottom: none; }
.nav-drawer .nav-link.active { color: var(--text); }
[data-theme="light"] .nav-drawer { background: var(--bg); }

@media (max-width: 600px) {
  .nav          { padding: 0 20px; }
  .nav-cta      { display: none; }
  .nav-links    { display: none; }          /* hide centered links — drawer takes over */
  .nav-hamburger { display: flex; }
  .nav-drawer   { display: flex; }
  .hero         { padding: var(--nav-h) 20px 72px; }
  .section      { padding: 64px 20px; }
  .footer       { padding: 64px 20px 36px; }
  .scroll-hint  { left: 20px; }
  .about-stats  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
  .page-hero    { padding: calc(var(--nav-h) + 40px) 20px 40px; }
  .about-page, .blog-page, .contact-page { padding: 0 20px 64px; }
  .post-page    { padding: 0 20px 64px; }
  .skills-grid  { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   HOME HERO — SPLIT LAYOUT
═══════════════════════════════════════════ */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.home-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: calc(var(--nav-h) + 60px) 56px 60px;
  position: relative;
  z-index: 1;
}

.home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  opacity: 0;
  animation: fadeIn .6s var(--ease-out) .05s both;
}

.home-hero-title {
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .95;
  display: flex;
  flex-direction: column;
}

.home-hero-desc {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 420px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .52s both;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .64s both;
}

.home-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .76s both;
}

.hs { display: flex; flex-direction: column; gap: 3px; }
.hs-num   { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.hs-label { font-size: 11px; color: var(--text-2); }
.hs-divider { width: 1px; height: 32px; background: var(--border); }

/* Social links below stats */
.home-hero-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .86s both;
}
.home-hero-link {
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: .02em;
  transition: color .2s;
}
.home-hero-link:hover { color: var(--text); }

/* Photo side */
.home-hero-photo {
  position: relative;
  overflow: hidden;
}

.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.home-hero-photo-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════
   BLOG PAGE — FRAMER STYLE
═══════════════════════════════════════════ */
.blog-page-header {
  text-align: center;
  padding: calc(var(--nav-h) + 64px) 48px 56px;
  border-bottom: 1px solid var(--border);
}

.blog-page-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  margin-bottom: 16px;
}

.blog-page-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}

/* Blog search + filter tabs */
.blog-search-wrap {
  position: relative;
  max-width: 400px;
  margin: 32px auto 0;
}
.blog-search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
.blog-search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 11px 18px 11px 42px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s;
}
.blog-search-input::placeholder { color: var(--text-3); }
.blog-search-input:focus { border-color: var(--border-strong); background: var(--surface-2); }

.blog-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.blog-filter-tab {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  cursor: none;
  transition: color .2s, background .2s, border-color .2s;
}
.blog-filter-tab:hover { color: var(--text); border-color: var(--border-strong); }
.blog-filter-tab.active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.blog-no-results {
  text-align: center;
  padding: 64px 0;
  color: var(--text-2);
  font-size: 15px;
}

/* Featured card — large full-width */
.blog-featured-card {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-bottom: 24px;
  transition: transform .4s var(--ease);
}
.blog-featured-card:hover { transform: scale(1.01); }

.blog-featured-img {
  position: absolute;
  inset: 0;
}
.blog-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform .6s var(--ease);
}
.blog-featured-card:hover .blog-featured-img img { transform: scale(1.04); }

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.15) 40%,
    rgba(0,0,0,.82) 100%
  );
}

.blog-featured-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.blog-featured-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-cat-pill {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-featured-title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
  max-width: 640px;
}

.blog-featured-right { flex-shrink: 0; }

.blog-readmore {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  transition: color .2s;
}
.blog-featured-card:hover .blog-readmore { color: #fff; }

/* Thumbnail grid */
.blog-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-thumb-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease);
}
.blog-thumb-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.blog-thumb-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.blog-thumb-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.blog-thumb-card:hover .blog-thumb-img-wrap img { transform: scale(1.05); }

.blog-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-3);
}

.blog-thumb-body { padding: 20px 22px 22px; }

.blog-thumb-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-thumb-meta {
  font-size: 12px;
  color: var(--text-2);
}

.blog-thumb-placeholder { cursor: default; pointer-events: none; opacity: .4; }

/* ═══════════════════════════════════════════
   WORK / RESUME PAGE
═══════════════════════════════════════════ */
.work-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.work-block-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.exp-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 16px;
  transition: border-color .3s;
}
.exp-card:hover { border-color: var(--border-strong); }
.exp-card:last-child { margin-bottom: 0; }

.exp-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.exp-card-visual {
  width: 52px; height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-bg-google-sm { background: none; }
.exp-card-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.exp-card-meta { flex: 1; }
.exp-role    { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.exp-company { font-size: 13px; color: var(--text-2); margin-bottom: 2px; }
.exp-date    { font-size: 12px; color: var(--text-3); }

.exp-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .2);
  padding: 4px 10px;
  border-radius: 100px;
}

.exp-card-body { padding: 22px 24px 24px; }
.exp-desc { font-size: 14px; line-height: 1.72; color: var(--text-2); margin-bottom: 16px; }

.exp-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.exp-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
}
.exp-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-3);
  font-size: 12px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.exp-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
}

.exp-card-photo {
  height: 220px;
  overflow: hidden;
}
.exp-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .3s;
}
.cert-card:hover { border-color: var(--border-strong); }

.cert-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  color: var(--text-2);
  flex-shrink: 0;
}

.cert-name   { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.cert-issuer { font-size: 11px; color: var(--text-2); }

/* ═══════════════════════════════════════════
   RESPONSIVE ADDITIONS
═══════════════════════════════════════════ */
@media (max-width: 860px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-photo { height: 90vw; min-height: 420px; max-height: 600px; }
  .home-hero-img { object-position: center 10%; }
  .home-hero-text { padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .blog-thumb-grid { grid-template-columns: 1fr; }
  .blog-featured-card { aspect-ratio: 4/3; }
  .blog-featured-content { flex-direction: column; align-items: flex-start; }
  .cert-grid { grid-template-columns: 1fr; }
  .work-page { padding: 0 20px 64px; }
  .blog-page-wrap { padding: 32px 20px 64px; }
  .blog-page-header { padding: calc(var(--nav-h) + 40px) 20px 40px; }
}

@media (max-width: 600px) {
  .home-hero-title { font-size: clamp(52px, 14vw, 80px); }
  .home-hero-stats { gap: 16px; }
  .blog-page-title { font-size: clamp(48px, 16vw, 80px); }
}

/* ═══════════════════════════════════════════
   BENTO GRID — HOME PAGE
═══════════════════════════════════════════ */
.bento-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 88px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
}

/* Base card */
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.bento-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

/* ① About — 2 cols */
.bento-about {
  grid-column: span 2;
  display: flex;
  gap: 28px;
  align-items: center;
  min-height: 240px;
}
.bento-about-img-wrap {
  width: 140px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  align-self: stretch;
}
.bento-about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}
.bento-about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bento-about-heading {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.bento-about-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
.bento-link {
  font-size: 13px;
  color: var(--text-2);
  transition: color .2s;
  margin-top: 4px;
}
.bento-link:hover { color: var(--text); }

/* ② Status — 1 col */
.bento-status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}
.bento-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: #4ade80;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.18);
  padding: 5px 12px;
  border-radius: 100px;
  align-self: flex-start;
}
.bento-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
.bento-status-city {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.bento-status-sub {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ③ Company — 1 col */
.bento-company {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bento-company-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.bento-company-role {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.bento-company-sub {
  font-size: 12px;
  color: var(--text-2);
}

/* ④ Featured — 2 cols */
.bento-featured {
  grid-column: span 2;
  padding: 0;
  min-height: 220px;
  cursor: pointer;
}
.bento-featured-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}
.bento-featured-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform .6s var(--ease);
}
.bento-featured:hover .bento-featured-img { transform: scale(1.05); }
.bento-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.bento-featured-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  gap: 8px;
}
.bento-featured-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
}
.bento-featured-cta {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  align-self: flex-start;
}
.bento-featured:hover .bento-featured-cta { color: #fff; }

/* ⑤ Stack — 1 col */
.bento-stack {
  display: flex;
  flex-direction: column;
}
.bento-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.bento-stack-tags span {
  font-size: 11px;
  padding: 5px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.bento-card:hover .bento-stack-tags span {
  border-color: var(--border-strong);
}

/* ⑥ Quote — 1 col */
.bento-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: var(--surface-2);
}
.bento-quote-mark {
  font-size: 56px;
  font-weight: 900;
  color: var(--text-3);
  line-height: .8;
  font-family: Georgia, serif;
}
.bento-quote-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  font-style: italic;
}
.bento-quote-author {
  font-size: 12px;
  color: var(--text-3);
}

/* ⑦ Connect — 1 col */
.bento-connect { display: flex; flex-direction: column; gap: 14px; }
.bento-connect-links { display: flex; flex-direction: column; gap: 2px; }
.bento-connect-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s;
}
.bento-connect-link:last-child { border-bottom: none; }
.bento-connect-link:hover { color: var(--text); }
.bento-connect-icon {
  width: 28px; height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-2);
}
.bento-connect-arrow { margin-left: auto; font-size: 16px; color: var(--text-3); }
.bento-connect-link:hover .bento-connect-arrow { color: var(--text); }

/* Responsive bento */
@media (max-width: 860px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-about { grid-column: span 2; flex-direction: column; }
  .bento-about-img-wrap { width: 100%; height: 180px; align-self: auto; }
  .bento-featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento-section { padding: 48px 20px 64px; }
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .bento-about, .bento-featured { grid-column: span 1; }
}

/* ═══════════════════════════════════════════
   BRITTANY CHIANG-STYLE ABOUT PAGE
═══════════════════════════════════════════ */
.bc-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Sidebar ── */
.bc-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 52px) 32px 52px 0;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.bc-sidebar-top { display: flex; flex-direction: column; gap: 36px; }

/* Photo */
.bc-photo-wrap {
  width: 160px; height: 200px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.bc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  /* Blend dark-navy background into site background */
  mask-image: linear-gradient(
    to bottom,
    black 55%,
    transparent 100%
  ),
  linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 55%,
    transparent 100%
  ),
  linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-composite: source-in;
}

/* Identity */
.bc-identity { display: flex; flex-direction: column; gap: 8px; }
.bc-name { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bc-role { font-size: 14px; color: var(--text-2); font-weight: 500; }
.bc-tagline { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 260px; }

/* In-page nav */
.bc-nav { display: flex; flex-direction: column; gap: 4px; }
.bc-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  padding: 8px 0;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s, gap .3s;
  position: relative;
}
.bc-nav-link::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--text-3);
  transition: width .3s var(--ease-out), background .2s;
  flex-shrink: 0;
}
.bc-nav-link:hover {
  color: var(--text);
  gap: 16px;
}
.bc-nav-link:hover::before {
  width: 40px;
  background: var(--text);
}
.bc-nav-link.active {
  color: var(--text);
  gap: 16px;
  font-weight: 600;
  letter-spacing: .06em;
}
.bc-nav-link.active::before {
  width: 48px;
  background: var(--text);
}

/* Company links inside experience cards */
.bc-company-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.bc-company-link:hover {
  color: var(--text);
  text-decoration-color: rgba(255,255,255,.6);
}

/* Social */
.bc-social { display: flex; flex-direction: column; gap: 16px; }
.bc-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
.bc-social-link:hover { color: var(--text); }

/* ── Main content ── */
.bc-main {
  padding: calc(var(--nav-h) + 72px) 0 120px 56px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.bc-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* About text */
.bc-about-body { display: flex; flex-direction: column; gap: 16px; }
.bc-about-body p { font-size: 15px; line-height: 1.82; color: var(--text-2); }
.bc-about-body strong { color: var(--text); font-weight: 600; }

/* Experience cards */
.bc-exp-list { display: flex; flex-direction: column; gap: 0; }

.bc-exp-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: 12px;
  transition: background .25s, border-color .25s;
  position: relative;
}
.bc-exp-card:first-child { border-top: 1px solid var(--border); }

.bc-exp-clickable {
  cursor: pointer;
}
.bc-exp-clickable:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}

/* "Visit site ↗" label — hidden by default, shown on hover */
.bc-exp-visit {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s, color .2s;
  pointer-events: none;
}
.bc-exp-clickable:hover .bc-exp-visit {
  opacity: 1;
  transform: translateX(0);
  color: rgba(255,255,255,.65);
}

.bc-exp-date {
  font-size: 11px;
  color: #888;
  padding-top: 4px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.bc-exp-body { display: flex; flex-direction: column; gap: 12px; }

.bc-exp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.bc-exp-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 30%;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.bc-exp-logo-placeholder {
  width: 42px; height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  border: 1px solid var(--border);
}

.bc-exp-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 2px;
}
.bc-exp-company { font-size: 13px; color: var(--text-2); }

.bc-exp-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.bc-exp-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

.bc-exp-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-exp-bullets li {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}
.bc-exp-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-3);
  font-size: 11px;
}

.bc-exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bc-exp-tags span {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.bc-exp-tags span:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* Skills grid */
.bc-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bc-skill-group { display: flex; flex-direction: column; gap: 10px; }
.bc-skill-group h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bc-skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-skill-tags span {
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
}

/* Certifications grid */
.bc-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bc-cert-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .2s;
}
.bc-cert-card:hover { border-color: var(--border-strong); }
.bc-cert-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}
.bc-cert-icon img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.bc-cert-info { display: flex; flex-direction: column; gap: 3px; }
.bc-cert-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.bc-cert-issuer { font-size: 12px; color: var(--text-2); }
.bc-cert-date { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* Headshot on home page — blend with dark bg */
.home-hero-img {
  mask-image: linear-gradient(
    to left,
    black 50%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    black 50%,
    transparent 100%
  );
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bc-layout { grid-template-columns: 1fr; }
  .bc-sidebar {
    position: static;
    height: auto;
    padding: calc(var(--nav-h) + 48px) 32px 48px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .bc-main { padding: 56px 32px 96px; }
  .bc-exp-card { grid-template-columns: 80px 1fr; }
  .bc-skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .bc-sidebar { padding: calc(var(--nav-h) + 32px) 20px 40px; }
  .bc-main { padding: 48px 20px 80px; gap: 64px; }
  .bc-exp-card { grid-template-columns: 1fr; gap: 12px; }
  .bc-exp-date { padding-top: 0; }
  .bc-skills-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SP-STYLE SECTIONS (home page, below hero)
═══════════════════════════════════════════ */

/* ── Eyebrow label ── */
.sp-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* ── About / Story ── */
.sp-about {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.sp-about-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}
.sp-about-text { flex: 1; min-width: 0; }
.sp-about-h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.sp-about-p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 14px;
}
.sp-about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
  transition: border-color .25s, opacity .25s;
  margin-top: 20px;
}
.sp-about-link:hover { border-color: var(--text); opacity: .75; }

/* Stacked photos */
.sp-photos-wrap {
  position: relative;
  width: 320px;
  height: 380px;
  flex-shrink: 0;
}
.sp-photo {
  position: absolute;
  width: 220px;
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.12);
  transition: transform .55s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow .55s;
  box-shadow: 0 20px 60px rgba(0,0,0,.65);
  top: 0; left: 0;
}
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-photo-1 { transform: rotate(-9deg) translate(0px, 0px); z-index: 1; }
.sp-photo-2 { transform: rotate(-3deg) translate(36px, 34px); z-index: 2; }
.sp-photo-3 { transform: rotate(5deg) translate(72px, 68px); z-index: 3; }
.sp-photos-wrap:hover .sp-photo-1 { transform: rotate(-15deg) translate(-24px, -12px); box-shadow: 0 32px 80px rgba(0,0,0,.75); }
.sp-photos-wrap:hover .sp-photo-2 { transform: rotate(0deg) translate(36px, 44px); }
.sp-photos-wrap:hover .sp-photo-3 { transform: rotate(12deg) translate(100px, 88px); }

/* ── Work / Projects ── */
.sp-work {
  padding: 0 48px 120px;
  max-width: 1200px;
  margin: 0 auto;
}
.sp-work-header {
  text-align: center;
  margin-bottom: 56px;
}
.sp-work-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.sp-work-sub { font-size: 16px; color: var(--text-2); }
.sp-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sp-wcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.sp-wcard:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.sp-wcard-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.sp-wcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sp-wcard:hover .sp-wcard-img img { transform: scale(1.05); }
.sp-wcard-img-dark  { background: #12122a; display: flex; align-items: center; justify-content: center; }
.sp-wcard-img-blog  { background: #0d1b0d; display: flex; align-items: center; justify-content: center; }
.sp-wcard-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(255,255,255,.25);
}
.sp-wcard-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sp-wcard-title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sp-wcard-desc { font-size: 14px; line-height: 1.65; color: var(--text-2); flex: 1; }
.sp-wcard-link { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.4); transition: color .2s; }
.sp-wcard:hover .sp-wcard-link { color: var(--text); }

/* ── Journey — fanned deck ── */
.sp-journey {
  padding: 60px 48px 180px;
  text-align: center;
  overflow: hidden;
}
.sp-journey-header { margin-bottom: 80px; }
.sp-journey-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.sp-journey-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}
.sp-deck {
  position: relative;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.sp-jcard {
  position: absolute;
  width: 264px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  transition: transform .55s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow .55s;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  bottom: 0;
}
.sp-jcard-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.sp-jcard-company {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.sp-jcard-dates { font-size: 10px; color: var(--text-2); }
.sp-jcard-role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.sp-jcard-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 16px;
}
.sp-jcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-jcard-tags span {
  font-size: 10px;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
  color: var(--text-2);
}

/* Default stacked fan */
.sp-jc-1 { transform: rotate(-11deg) translateX(-225px); z-index: 1; }
.sp-jc-2 { transform: rotate(-4deg)  translateX(-72px);  z-index: 2; }
.sp-jc-3 { transform: rotate(3deg)   translateX(72px);   z-index: 3; }
.sp-jc-4 { transform: rotate(10deg)  translateX(215px);  z-index: 2; }

/* Hover — spread */
.sp-deck:hover .sp-jc-1 { transform: rotate(-18deg) translateX(-350px) translateY(24px); box-shadow: 0 32px 80px rgba(0,0,0,.7); }
.sp-deck:hover .sp-jc-2 { transform: rotate(-6deg)  translateX(-112px)  translateY(-8px); }
.sp-deck:hover .sp-jc-3 { transform: rotate(6deg)   translateX(112px)   translateY(-8px); }
.sp-deck:hover .sp-jc-4 { transform: rotate(18deg)  translateX(350px)   translateY(24px); box-shadow: 0 32px 80px rgba(0,0,0,.7); }

.sp-deck-hint {
  margin-top: 36px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-2);
  opacity: .45;
  transition: opacity .3s;
}
.sp-deck:hover + .sp-deck-hint { opacity: 0; }

/* ── Connect ── */
.sp-connect {
  padding: 100px 48px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.sp-connect-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}
.sp-connect-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.sp-connect-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sp-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s, border-color .25s;
}
.sp-btn-outline:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.sp-btn-filled {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .25s, transform .25s;
}
.sp-btn-filled:hover { opacity: .85; transform: translateY(-2px); }

/* ── Responsive sp-sections ── */
@media (max-width: 900px) {
  /* Text first, photos below — prevents photos overflowing into "My Story" heading */
  .sp-about-inner { flex-direction: column; gap: 48px; }
  .sp-photos-wrap { width: 100%; height: 340px; }
  .sp-work-grid { grid-template-columns: 1fr 1fr; }
  .sp-deck { overflow: visible; }
}
@media (max-width: 600px) {
  .sp-about { padding-top: 72px; }
  .sp-about, .sp-work { padding-left: 24px; padding-right: 24px; }
  .sp-work-grid { grid-template-columns: 1fr; }

  /* Journey section — remove side padding so deck scrolls edge-to-edge */
  .sp-journey { padding-left: 0; padding-right: 0; padding-bottom: 64px; overflow: visible; }
  .sp-journey-header { padding-left: 24px; padding-right: 24px; }
  .sp-connect { padding-left: 24px; padding-right: 24px; }

  /* Journey deck → horizontal scroll carousel */
  .sp-deck {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 24px 48px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sp-deck::-webkit-scrollbar { display: none; }
  .sp-jcard {
    position: relative;
    bottom: auto;
    flex-shrink: 0;
    width: 78vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  /* Reset all transforms so cards sit flat in the row */
  .sp-jc-1, .sp-jc-2, .sp-jc-3, .sp-jc-4 { transform: none; }
  .sp-deck:hover .sp-jc-1,
  .sp-deck:hover .sp-jc-2,
  .sp-deck:hover .sp-jc-3,
  .sp-deck:hover .sp-jc-4 { transform: none; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
  .sp-deck-hint { display: none; }
}
