/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Warm Editorial */
  --bg-cream: #FDFBF7;
  --bg-cream-2: #F7F1E8;
  --bg-cream-3: #EFE6D7;
  --bg-dark: #1A1714;
  --bg-dark-2: #221E1A;
  --bg-dark-3: #2D2823;

  --text-dark: #1A1714;
  --text-mid: #5C544A;
  --text-light: #8A8074;
  --text-cream: #FDFBF7;
  --text-cream-dim: #C4B8A8;

  --accent: #C67B5C;
  --accent-soft: #E8B894;
  --accent-dim: #A86547;
  --accent-2: #8B9D7A;
  --accent-3: #D4A574;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container: 1200px;
  --section-pad: 8rem 0;
  --gap: 2rem;

  /* Transitions */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: var(--bg-cream);
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-cream-dim);
  letter-spacing: 0.1em;
}

.loader-percent {
  color: var(--accent);
  font-weight: 500;
}

.loader-bracket {
  color: var(--text-cream-dim);
  opacity: 0.5;
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.cursor.hover {
  width: 56px;
  height: 56px;
  background: rgba(198, 123, 92, 0.1);
}

.cursor.view {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-color: var(--accent);
}

.cursor.view::after {
  content: 'VIEW';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--bg-cream);
  letter-spacing: 0.15em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cursor, .cursor-dot { display: none; }
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
  padding: 1rem 2.5rem;
}

.nav.scrolled .nav-link,
.nav.scrolled .nav-logo {
  color: var(--text-dark);
}

.nav.scrolled .nav-link-num {
  color: var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-cream);
  transition: color 0.4s var(--ease);
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  transition: transform 0.4s var(--ease);
}

.nav-logo:hover .nav-logo-mark {
  transform: scale(1.15) rotate(180deg);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-cream);
  transition: color 0.4s var(--ease), opacity 0.3s;
  font-weight: 400;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  opacity: 0.5;
  transition: color 0.4s var(--ease);
}

.nav.scrolled .nav-link-num {
  color: var(--accent);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-cream);
  transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-menu-btn span {
  background: var(--text-dark);
}

.nav-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.active span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-cream);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-link span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
}

.section {
  padding: var(--section-pad);
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
}

.section-header {
  margin-bottom: 4rem;
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-title span {
  display: inline-block;
}

.section-title-accent {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  overflow: hidden;
  background: var(--bg-dark);
}

@media (max-width: 768px) {
  .hero { padding: 0 1.5rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 123, 92, 0.8) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: glowFloat1 20s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 157, 122, 0.4) 0%, transparent 70%);
  bottom: -5%;
  left: -10%;
  animation: glowFloat2 25s ease-in-out infinite;
}

.hero-glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.3) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: glowFloat3 30s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 30px) scale(1.1); }
  66% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -30px) scale(1.15); }
}

@keyframes glowFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-40%, -60%) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(253, 251, 247, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-cream-dim);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6BCB77;
  box-shadow: 0 0 8px #6BCB77;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-cream);
  margin-bottom: 2rem;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
}

.hero-title-name {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-title-sub {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--text-cream-dim);
  font-weight: 300;
  margin-top: 0.5rem;
}

.hero-title-role {
  color: var(--accent-soft);
  font-style: italic;
}

.hero-title-role-2 {
  color: var(--accent-2);
  font-style: italic;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-cream-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-cream);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-cream);
  border: 1px solid rgba(253, 251, 247, 0.2);
}

.btn-ghost:hover {
  background: rgba(253, 251, 247, 0.05);
  border-color: rgba(253, 251, 247, 0.4);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  color: var(--text-cream-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-cream-dim), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.hero-meta {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  gap: 2rem;
  z-index: 1;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-cream-dim);
  opacity: 0.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-cream-dim);
}

@media (max-width: 768px) {
  .hero-meta { display: none; }
  .hero-scroll { display: none; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-cream-2);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(26, 23, 20, 0.05);
}

.about-card-header {
  margin-bottom: 1rem;
}

.about-card-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--bg-cream);
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-mid);
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.skill-tag:hover {
  background: var(--accent);
  color: var(--bg-cream);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.principles-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.principles-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.experience {
  background: var(--bg-cream-2);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(26, 23, 20, 0.1);
}

.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.1s linear;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-cream-2);
  border: 2px solid var(--accent);
  transform: translateX(-50%);
  transition: all 0.3s var(--ease);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(198, 123, 92, 0.15);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-card {
  background: var(--bg-cream);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(26, 23, 20, 0.05);
  transition: all 0.4s var(--ease);
}

.timeline-card:hover {
  border-color: rgba(198, 123, 92, 0.2);
  box-shadow: 0 8px 30px rgba(26, 23, 20, 0.06);
  transform: translateY(-2px);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.25rem 0.625rem;
  background: var(--bg-cream-2);
  border-radius: 100px;
  color: var(--text-mid);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  background: var(--bg-cream);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  display: block;
  transition: transform 0.4s var(--ease);
}

.project-card-inner {
  background: var(--bg-cream-2);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(26, 23, 20, 0.05);
  transition: all 0.4s var(--ease);
}

.project-card:hover .project-card-inner {
  border-color: rgba(198, 123, 92, 0.2);
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.08);
  transform: translateY(-4px);
}

.project-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-visual-1 {
  background: linear-gradient(135deg, #2D2823 0%, #3D3027 100%);
}

.project-visual-2 {
  background: linear-gradient(135deg, #8B9D7A 0%, #6B7D5A 100%);
}

.project-visual-3 {
  background: linear-gradient(135deg, #C67B5C 0%, #A86547 100%);
}

.project-card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  filter: blur(20px);
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card-glow {
  transform: scale(1.5);
}

.project-card-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease);
}

.project-card:hover .project-card-icon {
  transform: scale(1.2) rotate(10deg);
}

.project-card-body {
  padding: 1.75rem;
}

.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.project-card-type {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-year {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-light);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.project-card-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-card-tech {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.project-card-tech span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  background: var(--bg-cream);
  border-radius: 4px;
  color: var(--text-mid);
}

/* ============================================
   NOTES
   ============================================ */
.notes {
  background: var(--bg-cream-2);
}

.notes-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
  transition: gap 0.3s var(--ease);
}

.notes-all-link:hover {
  gap: 0.625rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }
}

.note-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-cream);
  border-radius: 1rem;
  border: 1px solid rgba(26, 23, 20, 0.05);
  transition: all 0.4s var(--ease);
}

.note-card:hover {
  border-color: rgba(198, 123, 92, 0.2);
  box-shadow: 0 8px 30px rgba(26, 23, 20, 0.06);
  transform: translateY(-2px);
}

.note-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding-top: 0.125rem;
}

.note-card-day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1;
}

.note-card-month {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.note-card-body {
  flex: 1;
}

.note-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.note-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.note-card-excerpt {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-dark);
  color: var(--text-cream);
  padding-top: 8rem;
  padding-bottom: 0;
}

.contact .section-num {
  color: var(--accent);
}

.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-cream);
  margin-bottom: 1.5rem;
}

.contact-title-accent {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--text-cream-dim);
  margin-bottom: 2.5rem;
}

.contact-actions {
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(253, 251, 247, 0.15);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-cream-dim);
  transition: all 0.3s var(--ease);
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 123, 92, 0.05);
}

.contact-link-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease);
}

.contact-link:hover .contact-link-arrow {
  transform: translate(2px, -2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid rgba(253, 251, 247, 0.08);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-cream-dim);
  opacity: 0.5;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================
   ANIMATION HELPERS
   ============================================ */
[data-fade-up] {
  opacity: 0;
  transform: translateY(30px);
}

[data-reveal] {
  display: block;
  overflow: hidden;
}

[data-reveal] .hero-title-word {
  display: inline-block;
  transform: translateY(100%);
}

[data-reveal-delay] {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal-delay-2] {
  opacity: 0;
  transform: translateY(20px);
}
