:root {
  --bg: #121317;
  --ink: #F4F1E9;
  --ink-soft: #B6B2A6;
  --ink-faint: #767264;
  --blue: #5271FF;
  --coral: #FF6A48;
  --yellow: #FFC53D;
  --line: rgba(244, 241, 233, 0.14);
  --chip-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

.section-dark {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(82, 113, 255, 0.20), transparent 45%),
    var(--bg);
}
.section-light {
  --bg: #F4F1E9;
  --ink: #14151A;
  --ink-soft: #55524A;
  --ink-faint: #8A8578;
  --line: rgba(20, 21, 26, 0.12);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 0%, rgba(82, 113, 255, 0.24), transparent 48%),
    var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 3px;
}
.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-option:hover { color: var(--ink); }
.lang-option.active { background: var(--ink); color: var(--bg); }
.lang-flag { font-size: 14px; line-height: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); margin-top: 28px; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Intro */
.intro {
  padding: 64px 0 90px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.intro-content { order: 1; }
.intro-photo-wrap {
  order: 2;
  position: relative;
  display: flex;
  justify-content: center;
}
.intro-photo-panel {
  position: absolute;
  z-index: 0;
  top: 26px;
  left: 26px;
  right: -14px;
  bottom: -14px;
  max-width: 380px;
  background: var(--blue);
  border-radius: 20px;
}
.intro-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

.role-line {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 20px;
}

.intro-content h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -0.01em;
  max-width: 640px;
}
.intro-content h1 .highlight { color: var(--blue); }

.intro-subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 22px 0 32px;
}

.intro-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.badge-row { margin-top: 22px; }
.badge-row-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.badge-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.badge-chip {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--chip-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.badge-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.badge-chip-word {
  width: auto;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-word,
.ticker-dot {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-shrink: 0;
  margin-right: 16px;
}
.ticker-dot { opacity: 0.5; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Details */
.details {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}
.details-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 40px;
  color: var(--blue);
  margin-bottom: 28px;
}
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.timeline li { display: flex; flex-direction: column; gap: 3px; }
.timeline .t-role { font-weight: 600; color: var(--ink); font-size: 17px; }
.timeline .t-org { color: var(--ink-soft); font-size: 15px; }
.timeline .t-period { color: var(--ink-faint); font-size: 13.5px; margin-top: 2px; }
.languages-block { margin-top: 28px; }
.languages-block p { margin: 0; font-size: 15px; color: var(--ink); }
.cv-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cv-btn-row .btn { font-size: 14px; padding: 13px 24px; }

/* Pillars / index */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.pillars { padding: 90px 0; border-top: 1px solid var(--line); }
.pillars-heading {
  font-size: clamp(44px, 6.4vw, 76px);
  letter-spacing: -0.01em;
}
.index-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}
.index-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.index-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--blue);
}
.index-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
}
.index-item-body {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 440px;
}

/* Work / clients */
.work { padding: 90px 0 100px; border-top: 1px solid var(--line); }
.work-heading {
  font-size: clamp(44px, 6.4vw, 76px);
  letter-spacing: -0.01em;
  margin-bottom: 64px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  color: #14151A;
  border-radius: 14px;
  border: 1px solid rgba(20, 21, 26, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 21, 26, 0.12);
}
.project-card-img {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16 / 10.5;
  background: #14151A;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.08);
  transition: filter .3s ease;
}
.project-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0.6;
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity .3s ease;
}
.project-card:hover .project-card-img img { filter: none; }
.project-card:hover .project-card-img::after { opacity: 0; }
.project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 30px;
}
.project-card-meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #8A8578;
  margin: 0 0 10px;
}
.project-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.project-card-teaser {
  font-size: 15px;
  line-height: 1.55;
  color: #55524A;
  margin: 0 0 20px;
}
.project-card-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  margin-top: auto;
}
@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* Other work */
.other-work { padding: 90px 0 100px; border-top: 1px solid var(--line); }
.other-work-body {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 640px;
  margin: 24px 0 48px;
}
.other-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.other-work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 16px;
  background: #1A1B20;
  border: 1px solid rgba(244, 241, 233, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.other-work-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 241, 233, 0.22);
}
.other-work-logo {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}
.other-work-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
  transition: filter .3s ease;
}
.other-work-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0.5;
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity .3s ease;
}
.other-work-item:hover .other-work-logo img { filter: none; }
.other-work-item:hover .other-work-logo::after { opacity: 0; }
.other-work-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.other-work-stage {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
@media (max-width: 900px) {
  .other-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .other-work-grid { grid-template-columns: 1fr; }
}

/* Creator */
.creator { padding: 90px 0 100px; border-top: 1px solid var(--line); }
.creator-body {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 620px;
  margin: 24px 0 0;
}
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.creator-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1A1B20;
  border: 1px solid rgba(244, 241, 233, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 241, 233, 0.22);
}
.creator-card-img {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}
.creator-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
  transition: filter .3s ease;
}
.creator-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0.5;
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity .3s ease;
}
.creator-card:hover .creator-card-img img { filter: none; }
.creator-card:hover .creator-card-img::after { opacity: 0; }
.creator-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}
.creator-card-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}
.creator-card-handle { color: var(--blue); }
.creator-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.creator-card-stats {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  margin: auto 0 0;
}
@media (max-width: 900px) {
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .creator-grid { grid-template-columns: 1fr; }
  .creator-stats-row { gap: 28px; }
}

/* AI section */
.ai-section { padding: 90px 0 100px; border-top: 1px solid var(--line); }
.ai-body {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 680px;
  margin: 24px 0 48px;
}
.ai-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}
.ai-shot-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 21, 26, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ai-shot-img { position: relative; background: #14151A; overflow: hidden; aspect-ratio: 19 / 10; }
.ai-shot-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
  transition: filter .3s ease;
}
.ai-shot-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0.5;
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity .3s ease;
}
.ai-shot-card:hover .ai-shot-img img { filter: none; }
.ai-shot-card:hover .ai-shot-img::after { opacity: 0; }
.ai-shot-caption {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 18px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #55524A;
  margin: 0;
  min-height: 72px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .ai-shots { grid-template-columns: 1fr; }
}

/* Contact */
.contact { padding: 90px 0 80px; border-top: 1px solid var(--line); text-align: center; }
.contact .work-heading { max-width: 800px; margin-left: auto; margin-right: auto; }
.contact-body {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 560px;
  margin: 24px auto 56px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.contact-icon-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.78);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  z-index: 200;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #F4F1E9;
  color: #14151A;
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  position: relative;
  padding: 48px;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(20,21,26,0.15);
  background: #fff;
  cursor: pointer;
  font-size: 0;
}
.modal-close::before, .modal-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 2px;
  background: #14151A;
}
.modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal-img { border-radius: 12px; overflow: hidden; margin-bottom: 24px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; max-height: 340px; }
.modal-org { font-size: 13px; font-weight: 600; color: #8A8578; margin-bottom: 8px; }
.modal-body h3 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 24px; color: #14151A; }
.modal-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0 30px; padding: 22px 0; border-top: 1px solid rgba(20,21,26,0.12); border-bottom: 1px solid rgba(20,21,26,0.12); }
.modal-stats .value { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--blue); display: block; }
.modal-stats .label { font-size: 13px; color: #55524A; }
.modal-section { margin-bottom: 26px; }
.modal-section h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #8A8578; margin: 0 0 10px; }
.modal-section p { margin: 0; color: #403D36; font-size: 15.5px; line-height: 1.55; }
.modal-section ul { margin: 0; padding-left: 20px; color: #403D36; font-size: 15.5px; line-height: 1.55; display: flex; flex-direction: column; gap: 10px; }

/* Responsive */
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-content { order: 2; }
  .intro-photo-wrap { order: 1; margin-bottom: 36px; }
  .intro-photo { max-width: 260px; }
  .details-grid { grid-template-columns: 1fr; gap: 44px; }
  .index-list { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
  .modal { padding: 32px 22px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .intro { padding: 44px 0 64px; }
  .details { padding: 56px 0 72px; }
}
