:root {
  --accent: #1a1a1a;
  --muted: #999999;
  --bg: #ffffff;
  --surface: #f5f5f5;
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* ─── GLOBAL ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 60px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #1a1a1a;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Reveals: visible by default, JS adds .js-ready to enable animation */
.js-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 80px, 0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .reveal-left {
  opacity: 0;
  transform: translate3d(-60px, 0, 0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal-left.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .reveal-right {
  opacity: 0;
  transform: translate3d(60px, 0, 0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal-right.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.js-ready .stagger-children .reveal:nth-child(1) { transition-delay: 0ms; }
.js-ready .stagger-children .reveal:nth-child(2) { transition-delay: 80ms; }
.js-ready .stagger-children .reveal:nth-child(3) { transition-delay: 160ms; }
.js-ready .stagger-children .reveal:nth-child(4) { transition-delay: 220ms; }
.js-ready .stagger-children .reveal:nth-child(5) { transition-delay: 280ms; }
.js-ready .stagger-children .reveal:nth-child(6) { transition-delay: 320ms; }
.js-ready .stagger-children .reveal:nth-child(7) { transition-delay: 360ms; }
.js-ready .stagger-children .reveal:nth-child(8) { transition-delay: 400ms; }
.js-ready .stagger-children .reveal:nth-child(9) { transition-delay: 430ms; }
.js-ready .stagger-children .reveal:nth-child(10) { transition-delay: 460ms; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

nav.scrolled {
  padding: 16px 40px;
  background: rgba(255,255,255,0.96);
}

nav .logo {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 18px;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.3s;
  display: inline-block;
}

nav .logo:hover { opacity: 0.7; }

nav .nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav .nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: opacity 0.3s;
}

nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav .nav-links a:hover::after { width: 100%; }

.exp-toggle {
  border: 1px solid rgba(26,26,26,0.2) !important;
  padding: 6px 16px !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  transition: all 0.3s !important;
}
.exp-toggle:hover {
  border-color: #1a1a1a !important;
}
.exp-toggle::after { display: none !important; }

.nav-linkedin {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s !important;
}
.nav-linkedin:hover { opacity: 1 !important; }
.nav-linkedin::after { display: none !important; }

/* ─── HERO ─── */
/* ─── HERO — EDITORIAL TWO-COLUMN ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: max(100px, 16vh) 40px 0;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
}

.hero-left {
  padding-bottom: 56px;
}

.hero-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -3px;
  color: #1a1a1a;
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-name em {
  font-style: italic;
}

.hero-right {
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-subtitle {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.35);
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-description {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(26,26,26,0.65);
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.hero-description strong {
  color: #1a1a1a;
  font-weight: 600;
}

.hero-currently {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(26,26,26,0.5);
  margin: 8px 0 0;
  min-height: 3.2em;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-rule {
  margin-top: 0;
  height: 1px;
  background: #1a1a1a;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

#xero-prefix {
  display: inline;
}

/* ─── PITCH GENERATOR ─── */
.pitch-gen {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 480px;
}

.pitch-gen-label {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.pitch-gen-input-wrap {
  display: flex;
  gap: 0;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(26,26,26,0.15);
  transition: border-color 0.3s ease;
}

.pitch-gen-input-wrap:focus-within {
  border-color: rgba(26,26,26,0.4);
}

.pitch-gen-input {
  flex: 1;
  background: rgba(26,26,26,0.03);
  border: none;
  padding: 16px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  outline: none;
}

.pitch-gen-input::placeholder {
  color: rgba(26,26,26,0.3);
}

.pitch-gen-btn {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pitch-gen-btn:hover {
  background: #444;
}

.pitch-gen-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.pitch-gen-result {
  margin-top: 24px;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #1a1a1a;
  min-height: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(8px);
  text-align: center;
}

.pitch-gen-result.visible {
  opacity: 1;
  transform: translateY(0);
}

.pitch-gen-result .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #1a1a1a;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.6s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── SECTION WRAPPER ─── */
section {
  padding: 80px 40px;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: #1a1a1a;
}

/* ─── BRAND MARQUEE ─── */
.xero-highlight {
  color: #1a1a1a;
  font-weight: 700;
}

/* ─── WORK — EDITORIAL LIST ─── */
.work-section {
  background: #ffffff;
  padding: 80px 0 0;
}

.work-section .section-inner {
  padding: 0 40px;
}

.work-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid #1a1a1a;
}

.work-list-label {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

.work-list {
  border-bottom: 1px solid #e0e0e0;
}

.work-list-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: #1a1a1a;
  transition: gap 0.3s ease;
}

@media (hover: hover) {
  .work-list-item { cursor: none; }
}

.work-list-item:last-child {
  border-bottom: none;
}

.work-list-item:hover {
  gap: 32px;
}

.work-list-item:hover .work-item-name {
  font-style: italic;
}

.work-list-item:hover .work-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

.work-num {
  font-family: 'Fragment Mono', monospace;
  font-size: 12px;
  color: #bbb;
  user-select: none;
}

.work-item-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.work-item-name {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  transition: font-style 0.2s;
}

.work-item-meta {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.06em;
}

.work-item-arrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: #1a1a1a;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s;
}

/* Cursor-following preview image */
.work-cursor-preview {
  position: fixed;
  width: 300px;
  height: 190px;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.work-cursor-preview.visible {
  opacity: 1;
}

.work-cursor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── ABOUT / BIO SECTION ─── */
.about-section {
  background: var(--surface);
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.about-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-text .section-title,
.about-inner > .section-title {
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 40px;
}


.about-text p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26,26,26,0.5);
  margin-bottom: 16px;
  text-align: center;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.about-portrait-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.about-portrait {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.about-portrait img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border: 3px solid rgba(26,26,26,0.08);
}

.about-portrait:hover img {
  border-color: rgba(26,26,26,0.2);
  cursor: pointer;
}

@media (max-width: 400px) {
  .about-portrait,
  .about-portrait img { width: 260px; height: 260px; }
}

.portrait-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  opacity: 0.5;
}

.portrait-hint-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 0.02em;
}

.portrait-hint-arrow {
  font-size: 18px;
  color: #1a1a1a;
  animation: nudge 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ─── FOOTER ─── */
footer {
  background: #ffffff;
  color: #1a1a1a;
  padding: 80px 40px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(26,26,26,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(26,26,26,0.08);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span {
  font-family: 'Fragment Mono', monospace;
  font-size: 12px;
  color: rgba(26,26,26,0.35);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  section { padding: 80px 20px; }
  nav { padding: 16px 20px; }
  .about-inner { gap: 48px; }
  .about-visual { order: 0; }
  .footer-top { flex-direction: column; gap: 32px; }
  .project-hero { padding: 0 20px 32px; }
  .project-media { padding: 0 20px 48px; }
  .project-video { margin-bottom: 24px; }
  .project-nav-top { padding: 0 20px 16px; }
}

/* ─── PROJECT PAGE ─── */
.project-page {
  padding-top: 120px;
}

.project-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 48px;
}

.project-role {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.project-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 16px;
}

.project-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.project-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(26,26,26,0.5);
  max-width: 640px;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 640px;
}

.project-metric {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(26,26,26,0.4);
  border: 1px solid rgba(26,26,26,0.12);
  padding: 6px 12px;
  border-radius: 100px;
}

.project-page-cta {
  display: inline-block;
  margin-top: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.02em;
}

.project-page-cta:hover { opacity: 0.6; }

/* ─── PROJECT MEDIA ─── */
.project-media {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.project-video {
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26,26,26,0.08);
}

.project-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-images.single-col {
  grid-template-columns: 1fr;
}

.project-images img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(26,26,26,0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-images img:hover {
  transform: scale(1.02);
}

/* ─── PROJECT NAV (TOP) ─── */
.project-nav-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 24px;
}

.project-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-nav-top a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color 0.3s ease;
}

.project-nav-top a:hover { color: var(--accent); }

.project-nav-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-nav-title {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 16px;
  color: #1a1a1a;
}

.project-nav-top a:hover .project-nav-title { color: var(--accent); }

.project-nav-top .next { text-align: right; }

.project-nav-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 40px 0;
}

.project-nav-bottom a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color 0.3s ease;
}

.project-nav-bottom a:hover { color: var(--accent); }
.project-nav-bottom a:hover .project-nav-title { color: var(--accent); }
.project-nav-bottom .next { text-align: right; }
.project-nav-bottom .prev { text-align: left; }

/* ═══════════════════════════════════════════
   UX/UI IMPROVEMENTS
   ═══════════════════════════════════════════ */

/* ─── ACCESSIBILITY ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  z-index: 10001;
  transition: top 0.3s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ─── MOBILE NAV HAMBURGER ─── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  position: relative;
  flex-direction: column;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }


.breath-ring-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 48px;
}

.breath-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transform: scale(1);
  transition: transform 0s linear, background 0.5s ease;
}

.breath-ring-inner {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transform: scale(1);
  transition: transform 0s linear;
}

.breath-dot {
  position: absolute;
  inset: 72px;
  border-radius: 50%;
  background: #ffffff;
  transform: scale(1);
  transition: transform 0s linear;
}

.breath-phase {
  font-family: 'Fragment Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  min-height: 18px;
  transition: opacity 0.4s ease;
}

.breath-count {
  font-family: 'Libre Baskerville', serif;
  font-size: 48px;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 40px;
  min-height: 58px;
}


/* ─── CTA SECTION ─── */
.cta-section {
  padding: 80px 40px;
  text-align: center;
  background: #ffffff;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 48px;
  letter-spacing: -1px;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-btn:hover {
  background: #444;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.12);
}

/* ─── RESPONSIVE: 860px ─── */
.about-title { white-space: nowrap; }

/* Collapse nav to hamburger at 860px */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 20px; letter-spacing: 0.15em; }
  .nav-links .exp-toggle {
    font-size: 14px !important;
    padding: 12px 24px !important;
    letter-spacing: 0.12em !important;
  }
  .nav-links .nav-linkedin svg { width: 24px; height: 24px; }

  /* Hero: stack on tablet/mobile */
  .hero { padding: max(90px, 14vh) 24px 0; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-left { padding-bottom: 0; }
  .hero-right { padding-bottom: 48px; }
  .hero-name { font-size: clamp(60px, 13vw, 100px); letter-spacing: -2px; }

  /* Work list on tablet */
  .work-section .section-inner { padding: 0 24px; }
  .work-list-item { gap: 16px; padding: 22px 0; }
  .work-item-arrow { opacity: 1; transform: none; }
  .work-cursor-preview { display: none; }
}

@media (max-width: 600px) {
  /* Layout */
  .footer-links { flex-direction: column; gap: 16px; }
  .about-title { white-space: normal; font-size: clamp(28px, 4vw, 48px); }
  .cta-section { padding: 80px 24px; }

  /* Hero on mobile */
  .hero { padding: max(80px, 12vh) 20px 0; }
  .hero-name { font-size: clamp(52px, 14vw, 80px); letter-spacing: -1px; }
  .hero-description, .hero-currently { font-size: 16px; }

  /* Work list on mobile */
  .work-num { display: none; }
  .work-list-item { grid-template-columns: 1fr auto; }
  .work-item-name { font-size: clamp(18px, 5.5vw, 24px); }

  /* Project pages */
  .project-hero { padding: 0 20px 40px; }
  .project-media { padding: 0 20px 48px; }
  .project-images { grid-template-columns: 1fr; }
  .project-nav-top { padding: 0 20px 16px; }
  .project-nav-inner { flex-direction: row; gap: 16px; }
  .project-nav-title { font-size: 13px; }
}

/* ─── BREATHE TRIGGER BUTTON ─── */
.breathe-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.breathe-trigger:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  transform: translateY(-1px);
}

/* ─── BREATHE OVERLAY ─── */
.breathe-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.breathe-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.breathe-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
}

.breathe-close:hover { color: #fff; }

.breathe-content {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.breathe-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.breathe-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.breathe-overlay .breath-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathe-overlay .breath-ring-outer {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.breathe-overlay .breath-ring-inner {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.breathe-overlay .breath-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
}

.breathe-overlay .breath-phase {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  min-height: 32px;
}

.breathe-overlay .breath-count {
  font-family: 'Fragment Mono', monospace;
  font-size: 48px;
  color: rgba(255,255,255,0.7);
  min-height: 60px;
  line-height: 1;
}


/* ─── HERO VISITOR LINE ─── */
.hero-visitor {
  font-family: 'Fragment Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(26,26,26,0.4);
  margin-top: 4px;
}

.name-prompt-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.name-prompt-divider {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(26,26,26,0.2);
}
