/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0E0E10;
  color: #E8E4DC;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ============ TOKENS ============ */
:root {
  --ink: #0E0E10;
  --coal: #16161A;
  --bone: #E8E4DC;
  --dust: #9A968D;
  --ember: #C8A06B;
}

/* ============ SHARED ============ */
.italic { font-style: italic; }
.ember  { color: var(--ember); }

/* ============ FILM GRAIN ============ */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.5;
}

/* ============ PAGE WRAPPER ============ */
.page {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,160,107,0.10), transparent 60%);
}

/* ============ HEADER ============ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}
.brand-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(232,228,220,0.2);
  transform-origin: left center;
  transition: border-color .35s ease, transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .35s ease;
  position: relative;
}
.brand:hover .brand-avatar {
  border-color: var(--ember);
  transform: scale(2.6);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  z-index: 2;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}
.brand-available {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-link {
  color: var(--dust);
  transition: color .2s ease;
}
.lang-link:hover { color: var(--bone); }
.lang-link.active {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.lang-others {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

/* ============ INTRO ============ */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 56px;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 32px;
}
.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 0.95;
  font-size: 18vw;
  letter-spacing: -0.01em;
}
.intro p {
  margin-top: 40px;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(232,228,220,0.7);
  font-weight: 300;
}

/* ============ INTERESTS ============ */
.interests {
  display: flex;
  flex-direction: column;
  padding: 0 24px 80px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dust);
}
.section-label .right { display: none; }

/* Cards: flex wrap */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  min-width: 0;
}

/* Image frame */
.card-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--coal);
  border: 1px solid rgba(232,228,220,0.08);
  transition: border-color .4s ease;
}
.card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(35%) contrast(1.05) brightness(0.9);
  transition: filter .6s ease, transform .8s ease;
}
.card:hover .card-img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.03);
}
.card:hover .card-frame {
  border-color: rgba(200,160,107,0.35);
}
.card-number {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,228,220,0.8);
}

.img-translation { background-image: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?w=900&q=85&auto=format&fit=crop'); }
.img-travel      { background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=900&q=85&auto=format&fit=crop'); }
.img-hiking      { background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=900&q=85&auto=format&fit=crop'); }
.img-ai          { background-image: url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=900&q=85&auto=format&fit=crop'); }

/* Caption */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 20px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card-desc {
  font-size: 13px;
  color: var(--dust);
  margin-top: 8px;
  line-height: 1.6;
}
.card-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(232,228,220,0.6);
}
.social-icon {
  display: inline-flex;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}
.social-icon:hover {
  color: var(--ember);
  transform: translateY(-1px);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon.youtube svg { width: 20px; height: 20px; }
.social-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #BB9761;
  color: #000;
  padding: 3px 9px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}
.social-icon:hover::after { opacity: 1; }

/* ============ FOOTER ============ */
.site-footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(232,228,220,0.1);
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ulink { position: relative; transition: color .2s ease; }
.ulink:hover { color: var(--bone); }
.ulink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ulink:hover::after { transform: scaleX(1); }

/* ============ 404 ============ */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 40px 24px 80px;
}
.not-found p {
  margin-top: 40px;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(232,228,220,0.7);
  font-weight: 300;
}
.back-link {
  display: inline-block;
  margin-top: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dust);
  transition: color .2s ease;
}
.back-link:hover { color: var(--bone); }

/* ============ RESPONSIVE ============ */
@media (min-width: 640px) {
  .site-header { padding: 28px 40px 0; }
  .intro       { padding: 40px 40px 56px; }
  .interests   { padding: 0 40px 80px; }
  .site-footer { padding: 20px 40px 32px; }

  .title       { font-size: 14vw; }
  .intro p     { font-size: 17px; }
  .section-label .right { display: inline; }

  .card        { flex-basis: calc(50% - 12px); }
  .card-title  { font-size: 26px; }

  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .title { font-size: 11vw; }
}

@media (min-width: 1024px) {
  .site-header { padding: 40px 64px 0; }
  .intro       { padding: 56px 64px 80px; }
  .interests   { padding: 0 64px 112px; }
  .site-footer { padding: 20px 64px 32px; }

  .cards          { gap: 32px; }
  .card           { flex-basis: calc(25% - 24px); }
  .section-label  { margin-bottom: 56px; }
  .title          { font-size: 9rem; }
}

@media (min-width: 1280px) {
  .title { font-size: 11rem; }
}
