/* ============================================
   JOSH AYOKHAI : PORTFOLIO DESIGN SYSTEM
   Light editorial · Crisp · Magazine-like
   ============================================ */

/* - Google Fonts - */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* - Design Tokens - */
:root {
  /* Palette */
  --bg:             #FAF9F6;
  --bg-alt:         #FFFFFF;
  --bg-warm:        #F4F1EC;
  --text:           #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-tertiary:  #9A9A9A;
  --accent:         #B8860B;
  --accent-soft:    rgba(184, 134, 11, 0.08);
  --accent-hover:   #9A7209;
  --border:         #E8E5DF;
  --border-light:   #F0EDEA;
  --live-green:     #10B981;
  --live-green-soft:rgba(16, 185, 129, 0.1);
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.08);

  /* Typography */
  --font-serif:     'Instrument Serif', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (8px base) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --sp-10: 128px; --sp-11: 160px;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 800px;

  /* Animation */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    0.3s;
  --dur-med:     0.6s;
  --dur-slow:    1s;
}

/* - Reset & Base - */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}

ul, ol { list-style: none; }

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

/* - Utilities - */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--sp-10) 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-7);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

/* - Scroll Reveal Animation - */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-out);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-smooth) !important;
}

.nav__cta:hover {
  background: var(--text);
  color: var(--bg) !important;
  border-color: var(--text) !important;
}

.nav__cta::after { display: none !important; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all var(--dur-fast) var(--ease-smooth);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-6) var(--sp-8);
  position: relative;
  overflow: hidden;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(54px, 10vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: heroSlideUp 1s var(--ease-out) forwards;
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.65;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.hero__pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 1.1s forwards;
}

.hero__scroll span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.hero__scroll-line {
  width: 1px; height: 42px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -42px; left: 0;
  width: 1px; height: 42px;
  background: var(--accent);
  animation: scrollLine 2s var(--ease-smooth) infinite;
}

@keyframes heroSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0%   { transform: translateY(0); }
  100% { transform: translateY(84px); }
}

/* Pulsing live dot */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-9);
  align-items: start;
}

.about__image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  border: 1px solid var(--border);
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.about__image-wrap:hover .about__image {
  transform: scale(1.03);
}

.about__image-caption {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.about__content {
  padding-top: var(--sp-2);
}

.about__heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.about__text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
}

.about__text strong {
  color: var(--text);
  font-weight: 600;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-7);
}

.about__tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.about__tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================
   SELECTED WORK
   ============================================ */
.work__header {
  margin-bottom: var(--sp-6);
}

.work__subhead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: -16px;
  margin-bottom: var(--sp-6);
}

.work__group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--text);
  margin-bottom: var(--sp-6);
}

.work__group-title--archive {
  margin-top: var(--sp-10);
  border-bottom-color: var(--border);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.archive-indicator {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.group-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.work-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all var(--dur-med) var(--ease-out);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 11, 0.3);
}

.work-card__visual {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-slow) var(--ease-out);
}

.work-card:hover .work-card__img {
  transform: scale(1.02);
}

.work-card__overlay {
  display: none !important;
}

.work-card__gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-slow) var(--ease-out);
}

.work-card:hover .work-card__gradient {
  transform: scale(1.02);
}

/* Gradients for non-screenshot cards */
.work-card__gradient--holrr {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
}
.work-card__gradient--berki {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0f766e 100%);
}
.work-card__gradient--seefy {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}
.work-card__gradient--reels {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #ea580c 100%);
}

/* Watermark/Emblem in gradient cards */
.work-card__emblem {
  font-family: var(--font-serif);
  font-size: 38px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  font-style: italic;
  user-select: none;
}

/* Meta row inside work-card__body (Unobtrusive & Clean) */
.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  flex-wrap: wrap;
}

.work-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
}

.work-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  display: inline-block;
}

.work-card__status--live {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
  color: #059669;
}

[data-theme="dark"] .work-card__status--live {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.work-card__status--live .work-card__status-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.work-card__status--oss {
  border-color: rgba(100, 116, 139, 0.25);
  background: rgba(100, 116, 139, 0.06);
  color: var(--text-secondary);
}

.work-card__status--oss .work-card__status-dot {
  background: #64748b;
}

.work-card__status--award {
  border-color: rgba(184, 134, 11, 0.25);
  background: rgba(184, 134, 11, 0.06);
  color: #b8860b;
}

.work-card__status--study {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.06);
  color: #6366f1;
}

.work-card__status--research {
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.06);
  color: #0284c7;
}

/* Deprecated absolute status badge kept as safe fallback */
.status-badge {
  display: none !important;
}

.work-card__arrow {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 2;
}

.work-card:hover .work-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.work-card__arrow svg {
  width: 14px; height: 14px;
  color: var(--text);
}

.work-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-card__type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.work-card__title {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.work-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  flex: 1;
}

.work-card__desc strong {
  color: var(--text);
}

.work-card__links-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.work-card__link-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.work-card__link-btn:hover {
  background: var(--accent);
  color: white !important;
}

.work-card__link-btn--secondary {
  background: var(--bg);
  color: var(--text-secondary) !important;
  border: 1px solid var(--border);
}

.work-card__link-btn--secondary:hover {
  background: var(--text);
  color: var(--bg) !important;
  border-color: var(--text);
}

.work-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: auto;
}

.work-card__tech span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 3px 10px;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

/* ============================================
   EXPERIENCE & EDUCATION
   ============================================ */
.exp-edu__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-9);
}

.exp-col__title {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.exp-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.timeline {
  position: relative;
  padding-left: var(--sp-6);
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-7);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-6) - 5px);
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-alt);
  box-shadow: 0 0 0 2px var(--border);
}

.timeline-item__period {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-1);
}

.timeline-item__role {
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: var(--sp-1);
}

.timeline-item__company {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}

.timeline-item__company a {
  color: var(--text);
  border-bottom: 1px dotted var(--text-tertiary);
}

.timeline-item__company a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.timeline-item__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Education Cards */
.edu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.edu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.edu-card--highlight {
  background: rgba(184, 134, 11, 0.04);
  border-color: rgba(184, 134, 11, 0.3);
}

.edu-card__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: inline-block;
  margin-bottom: var(--sp-2);
}

.edu-card__badge--gold {
  color: var(--accent);
}

.edu-card__degree {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0;
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.edu-card__institution {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.edu-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
   PRESS & RECOGNITION
   ============================================ */
.press__list {
  border-top: 1px solid var(--border);
}

.press-item {
  display: grid;
  grid-template-columns: 220px 1fr 60px 40px;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
}

.press-item:hover {
  padding-left: var(--sp-4);
  background: var(--accent-soft);
  margin: 0 calc(-1 * var(--sp-4));
  padding-right: var(--sp-4);
  border-radius: 8px;
}

.press-item__source {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.press-item__title {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.press-item__year {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-align: right;
}

.press-item__arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--dur-fast) var(--ease-out);
  color: var(--accent);
  font-size: 18px;
  text-align: right;
}

.press-item:hover .press-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   WRITING & TALKS (CATEGORIZED)
   ============================================ */
.writing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.writing__header {
  margin-bottom: var(--sp-7);
}

.writing__intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-top: -16px;
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

/* Writing Controls & Search */
.writing__controls {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.writing__search-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.writing-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 14px 0 40px;
  height: 44px;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.writing-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
  background: var(--bg-alt);
}

.writing-search__icon {
  position: absolute;
  left: 15px;
  width: 16px;
  height: 16px;
  stroke: var(--text-tertiary);
  pointer-events: none;
  transition: stroke var(--dur-fast) var(--ease-smooth);
}

.writing-search:focus-within .writing-search__icon {
  stroke: var(--accent);
}

.writing-search__input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  padding-right: 30px;
}

.writing-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.writing-search__input::placeholder {
  color: var(--text-tertiary);
}

/* Clear button inside search */
.writing-search__clear {
  position: absolute;
  right: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.writing-search__clear svg {
  width: 12px;
  height: 12px;
}

.writing-search__clear:hover {
  background: var(--text);
  color: var(--bg);
}

.writing-search.has-value .writing-search__clear {
  display: flex;
}

/* Keyboard shortcut hint */
.writing-search__shortcut {
  position: absolute;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  pointer-events: none;
  line-height: 1;
}

.writing-search.has-value .writing-search__shortcut {
  display: none;
}

/* Status count & reset button */
.writing__status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.writing__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.writing__reset-btn {
  display: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 100px;
  padding: 3px 10px;
  cursor: pointer;
  margin-left: 6px;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.writing__reset-btn:hover {
  background: var(--accent);
  color: var(--bg-alt);
}

/* Topic Filters */
.writing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.writing__articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.article-card--featured {
  background: rgba(184, 134, 11, 0.04);
  border-color: rgba(184, 134, 11, 0.3);
}

.article-card__media {
  margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-4) calc(var(--sp-6) * -1);
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 16 / 9;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.article-card:hover .article-card__media img {
  transform: scale(1.02);
}

.article-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
}

.article-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-card__date {
  font-size: 12px;
  color: var(--text-tertiary);
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: var(--sp-3);
}

.article-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
  flex: 1;
}

.article-card__read {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast) var(--ease-smooth);
}

.article-card:hover .article-card__read {
  color: var(--accent);
  gap: 8px;
}

/* Filter hide transition */
.article-card.hidden {
  display: none !important;
}

/* Empty Search & Filter State */
.writing__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin: var(--sp-2) 0;
}

.writing__empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.writing__empty-icon svg {
  width: 24px;
  height: 24px;
}

.writing__empty-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.writing__empty-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--sp-5);
  line-height: 1.5;
}

.writing__empty-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.writing__empty-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================
   MENTORSHIP
   ============================================ */
.mentorship__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}

.mentorship__text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.mentorship__text p + p {
  margin-top: var(--sp-5);
}

.mentorship__text a {
  color: var(--text);
  border-bottom: 1px dotted var(--text-tertiary);
}

.mentorship__text a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.mentorship__highlight {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.mentorship__platform {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.mentorship__stat {
  font-family: var(--font-serif);
  font-size: 58px;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.mentorship__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-3);
}

.mentorship__rating .stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
}

.mentorship__rating .rating-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.mentorship__rating .review-count {
  font-size: 13px;
  color: var(--text-tertiary);
}

.mentorship__quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
  background: var(--bg);
  border-left: 2px solid var(--accent);
  padding: var(--sp-4) var(--sp-5);
  border-radius: 0 8px 8px 0;
  margin: var(--sp-5) 0 var(--sp-6);
  text-align: left;
}

.mentorship__quote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: var(--sp-2);
}

.mentorship__stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.mentorship__substat {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-3);
}

.mentorship__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--text);
  padding: 12px 28px;
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.mentorship__cta:hover {
  background: var(--accent);
  color: white;
  gap: var(--sp-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   EXPEDITIONS & TRAVEL COLLAGES
   ============================================ */
.travel__header {
  margin-bottom: var(--sp-6);
}

.travel__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
}

.travel__heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 650px;
}

.travel__subhead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

/* Controls & Filter Tabs */
.travel__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.travel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
}

.travel-filter-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.travel-filter-btn:hover {
  color: var(--text);
}

.travel-filter-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.travel-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  line-height: 1;
}

.travel-filter-btn:not(.active) .travel-filter-count {
  background: var(--border);
  color: var(--text-secondary);
}

.travel__hint {
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Collages Grid */
.travel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.travel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast) var(--ease-smooth);
}

.travel-card.hidden {
  display: none;
}

.travel-card:hover,
.travel-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.travel-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg);
}

.travel-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--bg-warm);
}

.travel-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.travel-card:hover .travel-card__img {
  transform: scale(1.035);
}

.travel-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAF9F6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}

.travel-card__expand-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-fast) var(--ease-smooth);
  z-index: 2;
  cursor: pointer;
}

.travel-card__expand-btn svg {
  width: 13px;
  height: 13px;
}

.travel-card:hover .travel-card__expand-btn {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.travel-card__body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.travel-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
}

.travel-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.travel-card__date {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.travel-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: var(--sp-3);
  color: var(--text);
}

.travel-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  flex: 1;
}

.travel-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-light);
}

.travel-card__highlights span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-warm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.travel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.travel-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.travel-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.travel-lightbox__container {
  position: relative;
  z-index: 2;
  width: 92vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}

.travel-lightbox.active .travel-lightbox__container {
  transform: scale(1);
}

.travel-lightbox__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #131313;
}

.travel-lightbox__counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.travel-lightbox__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #FAF9F6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.travel-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.travel-lightbox__close svg {
  width: 18px;
  height: 18px;
}

.travel-lightbox__stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background: #111111;
}

.travel-lightbox__image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.travel-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: opacity 0.25s ease;
}

.travel-lightbox__img.fade-out {
  opacity: 0;
}

.travel-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.travel-lightbox__nav:hover {
  background: #FAF9F6;
  color: #1A1A1A;
  transform: translateY(-50%) scale(1.08);
}

.travel-lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.travel-lightbox__nav--prev {
  left: 20px;
}

.travel-lightbox__nav--next {
  right: 20px;
}

.travel-lightbox__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #131313;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 20px;
}

.travel-lightbox__info {
  flex: 1;
}

.travel-lightbox__badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.travel-lightbox__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: #FAF9F6;
  margin-bottom: 4px;
}

.travel-lightbox__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 800px;
  line-height: 1.45;
}

.travel-lightbox__actions {
  flex-shrink: 0;
}

.travel-lightbox__open-btn {
  font-size: 12px;
  font-weight: 600;
  color: #FAF9F6;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.travel-lightbox__open-btn:hover {
  background: #FAF9F6;
  color: #1A1A1A;
}

/* ============================================
   CONTACT / FOOTER
   ============================================ */
.contact {
  background: var(--text);
  color: var(--bg);
  padding: var(--sp-10) 0 var(--sp-8);
}

.contact .section-label {
  color: rgba(255,255,255,0.3);
}

.contact .section-label::after {
  background: rgba(255,255,255,0.1);
}

.contact__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
  max-width: 700px;
}

.contact__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin-bottom: var(--sp-6);
  line-height: 1.65;
}

.contact__email-wrap {
  margin-bottom: var(--sp-7);
}

.contact__email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: white;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.contact__email-link:hover {
  background: white;
  color: var(--text);
  border-color: white;
}

.email-icon {
  width: 18px; height: 18px;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.contact__link:hover {
  color: white;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

.contact__link svg {
  width: 16px; height: 16px;
}

.contact__support {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-smooth);
}

.contact__support:hover {
  background: var(--accent);
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer__back-top {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  transition: color var(--dur-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.footer__back-top:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-7);
  }

  .work__grid {
    gap: var(--sp-5);
  }

  .work-card__visual {
    height: 240px;
  }

  .exp-edu__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .writing__articles-grid {
    grid-template-columns: 1fr;
  }

  .press-item {
    grid-template-columns: 180px 1fr 60px 30px;
    gap: var(--sp-4);
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-5) var(--sp-6);
    gap: var(--sp-2);
    box-shadow: var(--shadow-md);
  }

  .nav__links.open a {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav__links.open a:last-child {
    border-bottom: none;
    margin-top: var(--sp-2);
  }

  .section { padding: var(--sp-9) 0; }

  .hero__title {
    font-size: clamp(42px, 12vw, 72px);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }

  .about__image-wrap {
    aspect-ratio: 16/9;
    max-height: 340px;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .press-item {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  .press-item__source {
    order: 2;
  }

  .press-item__year {
    order: 3;
    text-align: left;
  }

  .press-item__arrow {
    display: none;
  }

  .writing-search {
    max-width: 100%;
  }

  .writing-search__shortcut {
    display: none;
  }

  .writing__search-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }

  .writing__status {
    padding-left: var(--sp-1);
  }

  .writing-filters {
    border-radius: 12px;
    width: 100%;
  }

  .filter-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
  }

  .mentorship__content {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }

  .mentorship__highlight {
    order: -1;
  }

  .travel__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .travel__controls {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .travel-filters {
    width: 100%;
    border-radius: 12px;
  }

  .travel-filter-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
    justify-content: center;
  }

  .travel__grid {
    grid-template-columns: 1fr;
  }

  .travel-lightbox__container {
    width: 96vw;
    height: 92vh;
  }

  .travel-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .travel-lightbox__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .travel-lightbox__actions {
    width: 100%;
  }

  .travel-lightbox__open-btn {
    width: 100%;
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --sp-6: 20px;
  }

  .hero { min-height: 90vh; }

  .work-card__visual { height: 200px; }

  .contact__links {
    flex-direction: column;
  }

  .contact__link {
    justify-content: center;
  }

  .hero__pills {
    flex-direction: column;
    width: 100%;
  }

  .hero__pill {
    justify-content: center;
  }

  .travel-lightbox__container {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
  }

  .travel-lightbox__header {
    padding: 12px 16px;
  }

  .travel-lightbox__footer {
    padding: 14px 16px;
  }

  .travel-lightbox__nav {
    display: none;
  }
}
