header, section, .marquee-strip, .now-section, .coda, footer { position: relative; z-index: 1; overflow-x: clip; }

@keyframes fadeUp    { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Scroll progress ── */
.progress-line {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 1px; background: var(--text);
  transform-origin: left; transform: scaleX(0);
  transition: transform .05s linear; pointer-events: none;
}

/* ── Hero ── */
header {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 80px 24px 0;
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto; width: 100%;
  padding: 80px 0;
  position: relative; z-index: 2;
}

/* Hero sketch circle */
.sketch-hero-circle {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: clamp(200px, 28vw, 340px); height: clamp(200px, 28vw, 340px);
  pointer-events: none; z-index: 1; opacity: .06;
  animation: spinSlow 60s linear infinite;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
  opacity: 0; animation: fadeIn .6s 1.8s ease forwards;
  z-index: 2; pointer-events: none;
}
.hero-scroll-hint::after {
  content: ''; width: 1px; height: 32px; background: var(--border);
  animation: lineGrow .6s 2.1s var(--ease-out) both;
  transform-origin: top;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; animation: slideInLeft .5s .1s var(--ease-out) forwards;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: var(--text-3); flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(72px, 13vw, 156px);
  font-weight: 600; letter-spacing: -.025em;
  line-height: .98; color: var(--text); margin-bottom: 36px;
  font-optical-sizing: auto;
}
.hero-title .w {
  display: inline-block;
  opacity: 0; transform: translateY(28px); filter: blur(8px);
  animation: wordReveal 1.1s var(--ease-expo) forwards;
}
.hero-title .w:nth-child(1) { animation-delay: .2s; }
.hero-title .w:nth-child(2) { animation-delay: .32s; }
.hero-title .w:nth-child(3) { animation-delay: .44s; }
.hero-title .w:nth-child(4) { animation-delay: .54s; }
.hero-title .w:nth-child(5) { animation-delay: .62s; }

/* Thin animated rule under hero title */
.hero-rule {
  height: 1px; background: var(--border); max-width: 480px;
  margin-bottom: 28px;
  transform: scaleX(0); transform-origin: left;
  animation: lineGrow .7s .78s var(--ease-out) forwards;
}

.hero-sub {
  font-size: 15px; font-weight: 400;
  color: var(--text-2); line-height: 1.75;
  letter-spacing: .008em;
  max-width: 420px; margin-bottom: 44px;
  opacity: 0; animation: fadeUp .6s .72s var(--ease-out) forwards;
}

.hero-cta-row {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp .6s .86s var(--ease-out) forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 24px;
  background: var(--text); color: var(--bg);
  border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .5s cubic-bezier(.19,1,.22,1), background .15s ease;
  position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.22); background: #1a1a1a; }
.hero-cta:hover::before { opacity: 1; }
.hero-cta:active { transform: translateY(0); box-shadow: none; }
.arrow { transition: transform .45s cubic-bezier(.19,1,.22,1); display: inline-block; }
.hero-cta:hover .arrow { transform: translateX(7px); }
.hero-cta-ghost {
  display: inline-flex; align-items: center;
  height: 48px; padding: 0 20px;
  border: 1px solid var(--border-2); border-radius: var(--r-full);
  font-size: 14px; font-weight: 400; color: var(--text-2);
  text-decoration: none;
  transition: all .2s var(--ease-out);
}
.hero-cta-ghost:hover { border-color: var(--text); color: var(--text); background: var(--bg-2); }

/* ── Hero corner frames ── */
.hero-frame-tl, .hero-frame-br {
  position: absolute; width: 40px; height: 40px; pointer-events: none; z-index: 0;
}
.hero-frame-tl {
  top: 96px; left: 24px;
  border-top: 1.5px solid rgba(29,29,31,.18);
  border-left: 1.5px solid rgba(29,29,31,.18);
  clip-path: inset(0 100% 100% 0);
  animation: cornerDraw .9s .65s var(--ease-expo) forwards;
}
.hero-frame-br {
  bottom: 72px; right: 24px;
  border-bottom: 1.5px solid rgba(29,29,31,.18);
  border-right: 1.5px solid rgba(29,29,31,.18);
  clip-path: inset(100% 0 0 100%);
  animation: cornerDraw .9s .75s var(--ease-expo) forwards;
}
@keyframes cornerDraw { to { clip-path: inset(0 0 0 0); } }

/* ── Hero typography variants ── */
.hero-thin { font-weight: 400; font-style: italic; }
.hero-outline {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.2vw, 2.5px) var(--text);
}

/* ── Marquee strip ── */
.marquee-strip {
  background: var(--text); overflow: hidden;
  height: 60px; display: flex; align-items: center;
}
.marquee-inner {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee-inner span {
  font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  padding: 0 28px;
}
.marquee-dot { color: rgba(255,255,255,.18) !important; padding: 0 2px !important; }

/* ── Section dividers ── */
.geo-divider {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
}
.geo-divider::before,
.geo-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(29,29,31,.06);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-expo);
}
.geo-divider::after { transform-origin: right; }
.geo-divider.visible::before,
.geo-divider.visible::after { transform: scaleX(1); }
.geo-divider-mark {
  width: 5px; height: 5px;
  border: 1px solid rgba(29,29,31,.18);
  transform: rotate(45deg); flex-shrink: 0;
  opacity: 0; transition: opacity .6s ease .4s;
}
.geo-divider.visible .geo-divider-mark { opacity: 1; }

/* ── Sections ── */
section {
  padding: 140px 24px;
  max-width: 1080px; margin: 0 auto;
  position: relative;
}

.ghost-num {
  position: absolute; top: -10px; right: -12px;
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 800; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 1px rgba(29,29,31,.09);
  line-height: 1; user-select: none; pointer-events: none; z-index: 0;
}

.section-head { position: relative; z-index: 1; margin-bottom: 80px; }
.section-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--text-3); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 500; letter-spacing: -.02em;
  line-height: 1.04; color: var(--text);
  font-optical-sizing: auto;
}
/* Cascade: title enters slightly after its parent reveal */
.section-head.reveal .section-title {
  transform: translateY(20px);
  transition: transform 1.1s cubic-bezier(.19,1,.22,1) .1s;
}
.section-head.reveal.visible .section-title { transform: translateY(0); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text p { font-size: 16px; line-height: 1.8; color: var(--text-2); margin-bottom: 18px; letter-spacing: .008em; }
.about-text p:last-of-type { margin-bottom: 0; }

.skill-list { list-style: none; }
.skill-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid rgba(29,29,31,.07);
  gap: 16px; position: relative;
}
.skill-list li:first-child { border-top: 1px solid rgba(29,29,31,.07); }
.skill-name { font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -.03em; position: relative; z-index: 1; }
.skill-tag { font-size: 10px; color: var(--text-3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }
.skill-group { margin-bottom: 30px; }
.skill-group:last-child { margin-bottom: 0; }
.skill-group-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; display: flex; align-items: center; gap: 8px; }
.skill-group-label::before { content: ''; width: 14px; height: 1px; background: var(--text-3); }

/* ── Principles ── */
.principles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; background: transparent;
  border: 1px solid rgba(29,29,31,.08); border-radius: var(--r-lg); overflow: hidden;
}
.principle-card {
  background: var(--bg); padding: 36px 28px 32px;
  position: relative; overflow: hidden;
  box-shadow: inset -1px -1px 0 rgba(29,29,31,.07);
}
.principle-index {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 22px;
}
.principle-heading {
  font-size: clamp(20px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.04em;
  color: var(--text); margin-bottom: 16px; line-height: 1.08;
}
.principle-body { font-size: 14px; line-height: 1.75; color: var(--text-2); }
.principle-body code {
  font-size: 13px; font-family: 'SFMono-Regular', 'Consolas', monospace;
  color: var(--text); background: var(--bg-2); padding: 1px 5px; border-radius: 3px;
}
.principle-ghost {
  position: absolute; bottom: -10px; right: 8px;
  font-size: 100px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1px var(--border-2);
  line-height: 1; pointer-events: none; user-select: none;
  font-style: italic;
}

/* ── Projects ── */
.filter-row {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin-bottom: -24px; position: relative; z-index: 2;
}
.filter-label { font-size: 12px; color: var(--text-3); font-weight: 500; }

.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; background: transparent;
  border: 1px solid rgba(29,29,31,.08); border-radius: var(--r-lg); overflow: hidden;
  margin-top: 40px; position: relative; z-index: 1;
}
.projects-grid:empty { border-color: transparent; min-height: 0; }

.project-card {
  background-color: var(--bg); padding: 24px;
  background-image: radial-gradient(circle, rgba(0,0,0,.028) 1px, transparent 1px);
  background-size: 18px 18px;
  cursor: pointer; text-decoration: none;
  color: var(--text); position: relative; overflow: hidden;
  box-shadow: inset -1px -1px 0 rgba(29,29,31,.07);
  transition: background-color .2s ease;
  opacity: 0; animation: fadeUp .45s var(--ease-out) forwards;
}
.project-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--text); transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s var(--ease-out);
}
.project-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 14px; height: 14px;
  border-top: 1px solid var(--text); border-right: 1px solid var(--text);
  opacity: 0; transition: opacity .25s ease;
}
.project-card:hover { background-color: var(--bg-2); }
.project-card:hover::before { transform: scaleY(1); }
.project-card:hover::after { opacity: 1; }
/* ── Subtle card decorations ── */
.principle-card::before {
  content: ''; position: absolute;
  bottom: 18px; left: 18px;
  width: 22px; height: 22px;
  border-left: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  pointer-events: none;
}
.now-item::before {
  content: ''; position: absolute;
  top: -22px; right: -22px;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  pointer-events: none;
}

.project-num { font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; margin-bottom: 10px; }
.project-title { font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.project-desc {
  font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* ── Gallery preview ── */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: transparent;
  border: 1px solid rgba(29,29,31,.08); border-radius: var(--r-lg); overflow: hidden;
}
.gallery-tile {
  aspect-ratio: 1; background: var(--bg);
  position: relative; overflow: hidden; cursor: pointer;
  box-shadow: inset -1px -1px 0 rgba(29,29,31,.07);
  transition: transform .3s var(--ease-out);
}
.gallery-tile:hover { z-index: 2; transform: scale(1.03); }
.gallery-tile:not([data-gidx]) { cursor: default; }
.gallery-tile-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.idx-gal-img {
  display: block; width: 100%; max-height: 60vh; object-fit: contain;
  border-radius: var(--r-md, 10px); background: var(--bg-2);
  margin-bottom: 18px;
}
.gallery-tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.38) 0%, transparent 100%);
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  transform: translateY(6px); opacity: 0;
  transition: all .22s ease;
}
.gallery-tile:hover .gallery-tile-label { transform: none; opacity: 1; }
/* CSS-only tile patterns */
.gt-1 {
  background-image: radial-gradient(circle, rgba(0,0,0,.15) 1px, transparent 1px);
  background-size: 18px 18px; background-color: var(--bg);
}
.gt-2 {
  background: repeating-linear-gradient(-45deg, transparent, transparent 9px, rgba(0,0,0,.06) 9px, rgba(0,0,0,.06) 10px);
  background-color: var(--bg);
}
.gt-3 {
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,0,0,.04) 60deg, transparent 120deg, rgba(0,0,0,.04) 180deg, transparent 240deg, rgba(0,0,0,.04) 300deg, transparent 360deg);
  background-color: var(--bg-2);
}
.gt-4 { background: var(--bg); }
.gt-4::before {
  content: ''; position: absolute; inset: 22%;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(0,0,0,.02), 0 0 0 28px rgba(0,0,0,.02);
}

/* ── Posts ── */
.posts-list { border-top: 1px solid rgba(29,29,31,.07); position: relative; z-index: 1; }
.post-item {
  display: grid; grid-template-columns: 88px 1fr 24px;
  align-items: start; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(29,29,31,.07);
  text-decoration: none; color: var(--text); cursor: pointer;
  border-radius: var(--r-sm);
  transition: background .15s ease, padding .15s ease, margin .15s ease;
  position: relative;
  opacity: 0; animation: fadeUp .45s var(--ease-out) forwards;
}
.post-item::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--text); transition: width .3s var(--ease-out);
}
.post-item:hover::before { width: 100%; }
.post-item:hover { background: var(--bg-2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.post-date { font-size: 10px; font-weight: 600; color: var(--text-3); padding-top: 5px; letter-spacing: .08em; text-transform: uppercase; }
.post-title { font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--text); margin-bottom: 5px; line-height: 1.25; }
.post-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-arrow { color: var(--text-3); font-size: 14px; padding-top: 3px; transition: transform .2s var(--ease-out), color .2s ease; }
.post-item:hover .post-arrow { transform: translateX(5px); color: var(--text); }

/* ── Now / Currently ── */
.now-section { padding: 140px 24px; max-width: 1080px; margin: 0 auto; position: relative; }
.now-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: transparent;
  border: 1px solid rgba(29,29,31,.08); border-radius: var(--r-lg); overflow: hidden;
}
.now-item {
  background: var(--bg); padding: 28px 24px;
  position: relative; overflow: hidden;
  box-shadow: inset -1px -1px 0 rgba(29,29,31,.07);
}
.now-label {
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.now-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--border);
  flex-shrink: 0; animation: dotPulse 2.4s ease infinite;
}
.now-label.live .now-dot { background: var(--text-2); }
.now-value { font-size: 19px; font-weight: 600; letter-spacing: -.03em; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
.now-meta { font-size: 12px; color: var(--text-3); line-height: 1.6; }

/* ── View more ── */
.view-more-wrap { margin-top: 32px; display: flex; }
.view-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-2);
  text-decoration: none;
  transition: color .25s ease, gap .5s var(--ease-expo);
  position: relative;
}
.view-more-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  height: 1px; width: 0; background: var(--text);
  transition: width .55s var(--ease-expo);
}
.view-more-link:hover { color: var(--text); gap: 18px; }
.view-more-link:hover::after { width: 100%; }

/* ── Coda / Contact ── */
.coda {
  padding: 140px 24px;
  max-width: 1080px; margin: 0 auto;
  text-align: center; position: relative; overflow: hidden;
}
.sketch-mark {
  position: absolute;
  display: inline-block; width: 24px; height: 24px;
  pointer-events: none;
}
.sketch-mark::before {
  content: ''; position: absolute;
  width: 1px; height: 100%; background: var(--border);
  left: 50%; top: 0; transform: translateX(-50%) rotate(5deg);
}
.sketch-mark::after {
  content: ''; position: absolute;
  height: 1px; width: 100%; background: var(--border);
  top: 50%; left: 0; transform: translateY(-50%) rotate(-4deg);
}
.sketch-mark.tl { top: 48px; left: 48px; }
.sketch-mark.tr { top: 48px; right: 48px; }
.coda-verse {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -.04em;
  line-height: 1.1; color: var(--text); max-width: 760px; margin: 0 auto 18px;
  position: relative; z-index: 1; font-style: italic;
}
.coda-attribution {
  font-family: var(--font-serif, Georgia, serif); font-size: 16px; font-style: normal;
  color: var(--text-2); margin: 0 auto 14px; letter-spacing: .01em;
  position: relative; z-index: 1;
}
.coda-sub {
  font-size: 11px; color: var(--text-3); font-weight: 600; margin-bottom: 48px;
  letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1;
}
.contact-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.contact-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--r-full);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  text-decoration: none; letter-spacing: -.01em; transition: all .2s var(--ease-out);
}
.contact-link:hover { background: var(--text); border-color: var(--text); color: var(--bg); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── Profile overlay ── */
.profile-overlay {
  display: flex; align-items: center; justify-content: center; padding: 24px;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88); z-index: 600;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-expo), visibility 0s .35s;
}
.profile-overlay.open {
  visibility: visible; opacity: 1; pointer-events: auto;
  transition: opacity .35s var(--ease-expo), visibility 0s;
}
.profile-card {
  background: var(--bg); border: 1px solid var(--border-2);
  border-radius: var(--r-2xl); padding: 28px 24px 24px;
  width: min(360px, 100%); text-align: center;
  position: relative; box-shadow: var(--shadow-xl);
  animation: modalIn .3s var(--ease-out);
}
.profile-close {
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--bg-2); border: none; border-radius: var(--r-full);
  color: var(--text-2); font-size: 14px; cursor: pointer; line-height: 1;
  transition: background .15s, color .15s, transform .2s var(--ease-spring);
}
.profile-close:hover { background: var(--text); color: var(--bg); transform: rotate(90deg); }
.profile-platform { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; position: relative; }
.profile-avatar-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--border); animation: profileRingSpin 12s linear infinite; }
@keyframes profileRingSpin { to { transform: rotate(360deg); } }
.profile-avatar-initials { font-size: 22px; font-weight: 700; color: #fff; position: relative; z-index: 1; letter-spacing: -.02em; }
.profile-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; z-index: 2; }
.profile-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin-bottom: 4px; }
.profile-handle { font-size: 13px; color: var(--text-3); letter-spacing: .01em; margin-bottom: 12px; }
.profile-bio { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; padding: 0 4px; }
.profile-stats { display: flex; justify-content: center; gap: 24px; padding: 16px 0; border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); margin-bottom: 20px; }
.profile-stat-num { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--text); line-height: 1; }
.profile-stat-label { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.profile-cta { width: 100%; height: 38px; padding: 0 20px; background: var(--text); color: var(--bg); border: none; border-radius: var(--r-full); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; letter-spacing: -.01em; transition: background .15s, transform .2s var(--ease-spring); }
.profile-cta:hover { background: #333; transform: translateY(-1px); }

/* ── Mobile ── */
@media (max-width: 860px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .now-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  header { padding: 48px 26px 0; }
  .hero-inner { padding: 60px 0; }
  section { padding: 84px 26px; }
  .now-section { padding: 84px 26px; }
  .coda { padding: 84px 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; gap: 6px; }
  .post-arrow { display: none; }
  .ghost-num { font-size: 100px; }
  .hero-scroll-hint { display: none; }
  /* clamp min (72px) crowds the edges on a phone — scale it down */
  .hero-title { font-size: clamp(46px, 14vw, 76px); margin-bottom: 28px; }
  .hero-sub { font-size: 16px; }
}
@media (max-width: 440px) {
  header { padding: 44px 20px 0; }
  section, .now-section, .coda { padding: 72px 20px; }
  .hero-title { font-size: 42px; }
  .coda-verse { font-size: clamp(26px, 8vw, 34px); }
}
  
