@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Instrument+Sans:ital,wdth,wght@0,75..125,400..700;1,75..125,400..700&family=Inter+Display:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:          #0D0D0D;
  --surface:     #101010;
  --surface-dk:  #141517;
  --surface-act: #161618;
  --border:      #1B1C1E;
  --primary:     #E34829;
  --green:       #14A800;
  --green-bdr:   #B6E4B0;
  --green-lt:    #E8F6E6;
  --orange:      #D46911;
  --orange-lt:   #F2D1B5;

  --c-white:  rgba(255,255,255,0.93);
  --c-595:    #595959;
  --c-737:    #737373;
  --c-b8:     #B8B9B9;
  --c-555:    #555555;
  --c-999:    #999999;
  --c-b6:     #B6B6B6;
  --c-bf:     #BFBFBF;
  --c-91:     #919191;

  --sans:     'Instrument Sans', sans-serif;
  --display:  'Inter Display', 'Inter', sans-serif;
  --wdth:     "'wdth' 100";
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Site Loader ─────────────────────────────────────────────── */
#site-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), visibility 0.7s;
}
#site-loader.loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__name {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  color: #fff;
  user-select: none;
}
.loader__footer {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.loader__bar {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.04s linear;
}
.loader__count {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  min-width: 36px;
  text-align: right;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}


body {
  background: var(--bg);
  color: var(--c-white);
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; border: none; background: none; font: inherit; }
ol, ul { list-style: none; }

/* Restore cursor only where text input is expected */
input, textarea, select, [contenteditable="true"] {
  font-family: var(--font-family-base);
  caret-color: auto;
  cursor: text;
}

/* ─── Custom cursor ──────────────────────────────────────────── */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  margin-left: -5px;
  margin-top: -5px;
  transition: width .2s ease, height .2s ease, margin .2s ease, background .2s ease, opacity .3s ease;
  will-change: transform;
}
#custom-cursor.cursor--hover {
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
}

/* ─── Typography helpers ─────────────────────────────────────── */
.font-display { font-family: var(--display); }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}
@media (max-width:1200px){ .container { padding: 0 60px; } }
@media (max-width:768px) { .container { padding: 0 20px; } }

/* ─── Floating Nav ───────────────────────────────────────────── */
.floating-nav {
  position: fixed;
  bottom: 36px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  transform: translateY(0);
  z-index: 999;
  background: #0a0a0a;
  border: 1px solid #222224;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 0 0.5px rgba(255,255,255,0.06) inset;
  display: flex;
  align-items: center;
  padding: 6px;
  gap: 2px;
  pointer-events: auto;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.38s ease;
}
.floating-nav.nav-hidden {
  transform: translateY(calc(100% + 52px));
  opacity: 0;
  pointer-events: none;
}
.floating-nav__links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.floating-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 40px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.3px;
  color: var(--c-595);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.floating-nav__link:hover {
  color: var(--c-white);
  background: #1c1c1e;
}
.floating-nav__link.active {
  font-weight: 600;
  color: var(--c-white);
  background: #1c1c1e;
}
@media (max-width: 520px) {
  .floating-nav__link { padding: 10px 16px; font-size: 13px; }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 10px 28px;
  border-radius: 50px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: #fff;
  transition: opacity .2s, background .2s;
}
.btn:hover { opacity: 0.85; }
.btn-primary  { background: var(--primary); min-width: 140px; }
.btn-pill     { border-radius: 50px; }
.btn-dark     { background: #1c1c1e; border: 1px solid var(--border); min-width: 160px; }
.btn-wide     { min-width: 200px; }

/* ─── Floating Nav CV Button ─────────────────────────────────── */
.floating-nav__divider {
  width: 1px;
  height: 22px;
  background: #2a2a2c;
  margin: 0 4px;
  flex-shrink: 0;
}
.floating-nav__cv-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 40px;
  border: 1px solid #3a3a3c;
  background: transparent;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--c-white);
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.floating-nav__cv-btn:hover {
  background: #1c1c1e;
  border-color: #555;
}
.floating-nav__cv-year {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: #555;
  text-transform: none;
  line-height: 1;
}

/* ─── CV Modal ───────────────────────────────────────────────── */
.cv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.cv-modal.open { display: flex; }
.cv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cv-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(860px, 94vw);
  height: min(92vh, 1000px);
  background: #111113;
  border: 1px solid #2a2a2c;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.cv-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #1e1e20;
  flex-shrink: 0;
}
.cv-modal__title {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.cv-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cv-modal__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid #2a2a2c;
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.cv-modal__action-btn:hover { background: #1c1c1e; border-color: #444; }
.cv-modal__action-btn--download {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.cv-modal__action-btn--download:hover { background: #e8e8e8; border-color: #e8e8e8; }
.cv-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #2a2a2c;
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background .2s;
  flex-shrink: 0;
}
.cv-modal__close:hover { background: #1c1c1e; color: #fff; }
.cv-modal__body {
  flex: 1;
  overflow: hidden;
}
.cv-modal__body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 520px) {
  .floating-nav__cv-btn { padding: 10px 14px; font-size: 12px; }
  .cv-modal__panel { border-radius: 12px; }
  .cv-modal__header { padding: 14px 16px; }
}

/* ─── Available Badge ────────────────────────────────────────── */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--border);
  border-radius: 20px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.7px;
  color: var(--green-lt);
}
.available-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 0.5px solid var(--green-bdr);
  flex-shrink: 0;
}

/* ─── Social icons ───────────────────────────────────────────── */
.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-act);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: background .2s, color .2s;
  color: rgba(255,255,255,0.45);
}
.social-btn:hover { background: var(--border); color: rgba(255,255,255,0.9); }
.social-btn svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.social-btn img { width: 22px; height: 22px; object-fit: contain; }

/* Circular icons in topbar only */
.topbar__socials .social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(255,255,255,0.4);
}
.topbar__socials .social-btn svg { width: 16px; height: 16px; }
.topbar__socials .social-btn img { width: 16px; height: 16px; object-fit: contain; }

/* ─── Divider ────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE
══════════════════════════════════════════════════════════════ */

/* ─── Top bar ────────────────────────────────────────────────── */
.topbar {
  padding: 28px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.topbar__logo svg {
  display: block;
  width: 47px;
  height: 34px;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.topbar__cv-btn {
  display: flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid #3a3a3c;
  background: transparent;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.2px;
  color: var(--c-white);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.topbar__cv-btn:hover { background: #1c1c1e; border-color: #555; }
.topbar__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  color: var(--c-white);
  letter-spacing: -0.5px;
}
.topbar__role {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 16px;
  color: var(--c-white);
  letter-spacing: -0.8px;
  line-height: 24px;
}
.topbar__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── Hero section ───────────────────────────────────────────── */
/* ─── Hero Screen ────────────────────────────────────────────── */
.hero-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero {
  flex: 1;
  padding: 40px 120px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.hero__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: 0.015em;
  line-height: 0.9;
  color: #f0f0f0;
  text-transform: uppercase;
}
.hero__heading-line1 { display: block; white-space: nowrap; }
.hero__heading-line2 { display: block; opacity: 0.72; }
.hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #888888;
  text-align: center;
  margin-top: 4px;
}
.hero__cta { display: flex; gap: 12px; margin-top: 8px; }

/* ─── Hero images strip ──────────────────────────────────────── */
.hero-images {
  width: 100%;
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
}
.hero-images__track {
  display: flex;
  gap: 20px;
  width: max-content;
  height: 260px;
  animation: hero-scroll 30s linear infinite;
}
.hero-images__track:hover { animation-play-state: paused; }
@keyframes hero-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-images__frame {
  flex-shrink: 0;
  width: 320px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 8px 20px rgba(0,0,0,0.35);
}
.hero-images__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Brand logos ────────────────────────────────────────────── */
.brand-logos {
  padding: 32px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.brand-logos__label {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  color: var(--c-737);
  letter-spacing: 0.02em;
  text-align: center;
}
.brand-logos__scroll {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.brand-logos__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: brand-scroll 30s linear infinite;
  padding: 4px 0;
}
.brand-logo-item__img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.6;
}
.brand-logos__track:hover { animation-play-state: paused; }
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.brand-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
  transition: color 0.2s;
}
.brand-logo-item:hover { color: rgba(255,255,255,0.6); }
.brand-logo-item__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.brand-logo-item__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.brand-logo-item__name--caps {
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 14px;
}
.brand-logo-item__wordmark {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}
.brand-logo-item__wordmark--italic {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  letter-spacing: -0.5px;
}

/* ─── Recent Works ───────────────────────────────────────────── */
.recent-works {
  padding: 80px 0 60px;
  background: var(--bg);
}
.recent-works__header {
  text-align: center;
  padding: 0 120px;
  margin-bottom: 54px;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -1.2px;
  color: var(--c-white);
  margin-bottom: 24px;
}
.filter-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}
.filter-tab {
  border-radius: 50px;
  padding: 9px 22px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.3px;
  color: var(--c-595);
  cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.filter-tab:hover {
  color: var(--c-white);
  background: #1c1c1e;
}
.filter-tab.active {
  color: var(--c-white);
  background: #1c1c1e;
}

/* works grid */
.works-carousel-wrap { overflow: visible; padding: 0; }
.works-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 40px 24px;
  justify-content: center;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.project-card:hover {
  border-color: #2a2a2c;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  transform: translateY(-4px);
}
.project-card__image {
  aspect-ratio: 470 / 340;
  overflow: hidden;
  position: relative;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.project-card:hover .project-card__image img { transform: scale(1.04); }
.project-card__info {
  padding: 22px 28px 26px;
}
.project-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.project-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #fff;
  flex: 1;
  min-width: 0;
}
.project-card__year {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-595);
  white-space: nowrap;
  flex-shrink: 0;
}
.project-card__category {
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.1px;
  color: var(--c-737);
}

/* carousel dot indicators */
.works-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ─── Bottom padding for floating nav ───────────────────────── */
body { padding-bottom: 140px; }

/* ─── Expertise Section ──────────────────────────────────────── */
.expertise {
  position: relative;
  min-height: 950px;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}
.expertise__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.expertise__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expertise__overlay {
  display: none;
}
.expertise__content {
  position: relative;
  z-index: 2;
  padding: 0 120px;
}
.expertise__label {
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -1.2px;
  color: var(--c-white);
  margin-bottom: 80px;
}
.expertise__body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.expertise__accordion {
  flex: 0 0 755px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  counter-reset: expertise-counter;
}
.accordion-item { counter-increment: expertise-counter; cursor: pointer; }

.accordion-item {}
.accordion-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 111px;
  margin-bottom: 25px;
}
.accordion-item__number-title {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -2px;
  color: var(--c-737);
  flex: 1;
  transition: color .2s;
}
.accordion-item__number-title::before {
  content: counter(expertise-counter) ".  ";
}
.accordion-item.open .accordion-item__number-title { color: var(--c-white); }
.accordion-item__toggle {
  width: 45px;
  height: 45px;
  border-radius: 27px;
  background: var(--surface-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
  border: 0.3px solid transparent;
}
.accordion-item.open .accordion-item__toggle {
  background: var(--border);
  border-color: var(--primary);
}
.accordion-item__icon {
  position: relative;
  width: 15px;
  height: 15px;
}
.accordion-item__icon::before,
.accordion-item__icon::after {
  content: '';
  position: absolute;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.accordion-item__icon::before { width: 15px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-item__icon::after  { width: 1.5px; height: 15px; top: 0; left: 50%; transform: translateX(-50%); }
.accordion-item.open .accordion-item__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.accordion-item__divider { height: 1px; background: var(--border); }
.accordion-item__body {
  display: none;
  padding: 24px 0 0;
}
.accordion-item.open .accordion-item__body { display: block; }
.accordion-item__text {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 32px;
  color: #fff;
  margin-bottom: 20px;
}

.expertise__image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expertise__image img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonials {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
/* when testimonials are nested inside expertise (which has 120px padding) */
.expertise__content .testimonials {
  margin: 60px -120px 0;
  padding: 0;
}
.expertise__content .testimonials__header {
  padding: 0 120px;
}
.testimonials__header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 120px;
}
.testimonials__subtitle {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -1.2px;
  color: var(--c-white);
  margin-top: 22px;
}
/* Infinite-scroll testimonials container */
.testimonials-scroll {
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollLoop 28s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollLoop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-card {
  flex-shrink: 0;
  min-width: 420px;
  width: 460px;
  background: var(--surface);
  border: 0.5px solid var(--surface-dk);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.testimonial-card__text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.16px;
  line-height: 23px;
  color: var(--c-999);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  max-height: calc(23px * 6);
  margin-bottom: 28px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: auto;
}
.testimonial-card__avatar {
  width: 47px;
  height: 46px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -1px;
  color: #fff;
  display: block;
}
.testimonial-card__role {
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  color: var(--c-737);
  display: block;
  margin-top: 2px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 120px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer__info-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: var(--c-595);
  margin-bottom: 8px;
}
.footer__info-role {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--c-white);
}
.footer__connect {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__connect-label {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: var(--c-737);
}

/* ══════════════════════════════════════════════════════════════
   WORKS PAGE
══════════════════════════════════════════════════════════════ */
.works-page { padding-top: 135px; }
.works-page__title {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 16px;
}
.works-page__subtitle {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -1.2px;
  color: var(--c-555);
  max-width: 700px;
}
.works-filter { margin-top: 40px; }
.works-list { margin-top: 42px; display: flex; flex-direction: column; }

/* Loading skeleton */
@keyframes shimmer { from { background-position: -600px 0; } to { background-position: 600px 0; } }
.works-skeleton { display: flex; flex-direction: column; gap: 42px; }
.works-skeleton__item {
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1a1a1c 25%, #222224 50%, #1a1a1c 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}
.card-skeleton {
  border-radius: 16px;
  background: linear-gradient(90deg, #1a1a1c 25%, #222224 50%, #1a1a1c 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  aspect-ratio: 16/10;
}
.works-list-item {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 10px 0;
}
.works-list-item__img {
  flex-shrink: 0;
  width: 450px;
  height: 323px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.works-list-item__img img { width: 100%; height: 100%; object-fit: cover; }
.works-list-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.works-list-item__title-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.works-list-item__title {
  flex: 1;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -1.5px;
  color: #fff;
}
.works-list-item__arrow {
  width: 60px;
  height: 60px;
  border-radius: 36px;
  background: var(--surface-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.works-list-item__arrow:hover { background: var(--border); }
.works-list-item__arrow svg { width: 20px; height: 20px; }
.works-list-item__desc {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.8px;
  line-height: 24px;
  color: var(--c-555);
}
.works-list-item__meta { display: flex; flex-direction: column; gap: 16px; }
.works-list-item__meta-row {
  display: flex;
  gap: 42px;
  align-items: flex-start;
}
.works-list-item__meta-key {
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--c-b8);
  flex-shrink: 0;
  min-width: 50px;
}
.works-list-item__meta-val {
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.16px;
  color: #fff;
}
.works-list-item__sep { height: 1px; background: var(--border); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGE
══════════════════════════════════════════════════════════════ */
.project-detail { padding-top: 74px; }
.project-detail__inner { max-width: 1440px; margin: 0 auto; padding: 0 120px; }

.project-nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-bottom: 46px;
}
.project-back {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.8px;
  color: var(--orange-lt);
  cursor: pointer;
}
.project-back svg { width: 20px; height: 20px; }

.project-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.project-header__icon {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 9px 4.5px rgba(120,120,120,0.2);
}
.project-header__icon svg { width: 36px; height: 36px; }
.project-header__title {
  flex: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -1.2px;
  color: #fff;
}
.project-header__tags {
  display: flex;
  gap: 12px;
  align-items: center;
}
.project-tag {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  border-radius: 36px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.7px;
  color: var(--c-595);
}

.project-desc {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -1.2px;
  color: var(--c-555);
  margin-bottom: 24px;
  max-width: 1200px;
}
.project-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
}
.project-meta-date {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -1px;
  color: var(--c-white);
  flex-shrink: 0;
  margin-right: 12px;
}
.project-meta-line { flex: 1; height: 1px; background: var(--border); }

.project-body {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  margin-bottom: 80px;
}
.project-sidebar {
  flex-shrink: 0;
  width: 200px;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-sidebar__link {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.16px;
  line-height: 24px;
  color: var(--c-595);
  transition: color .2s;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-sidebar__link.active,
.project-sidebar__link:hover { color: #fff; }

.project-content { flex: 1; display: flex; flex-direction: column; gap: 42px; }
/* ─── Case study section ─────────────────────────────────────── */
.project-section {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.project-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.project-section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 20px;
}
.project-section-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
.project-section-text p + p { margin-top: 14px; }
.project-section-text strong { color: #fff; font-weight: 600; }
.project-section-text ul {
  list-style: none;
  padding-left: 0;
  margin: 14px 0;
}
.project-section-text ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.project-section-text ul li::before {
  content: '•';
  color: var(--primary);
  font-size: 20px;
  position: absolute;
  left: 2px;
  top: -1px;
}
.project-section-text ol {
  padding-left: 24px;
  margin: 14px 0;
}
.project-section-text ol li {
  margin-bottom: 8px;
}
.project-section-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 10px;
}
.project-subsection {
  margin-top: 32px;
}
.project-subsection-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.project-img-block {
  max-width: 860px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
}
.project-img-block img {
  width: 100%;
  height: auto;
  display: block;
}
.project-img-caption {
  font-size: 13px;
  color: var(--c-555);
  text-align: center;
  padding: 10px 16px 14px;
}

/* Loading skeleton */
.project-loading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 0;
}
.project-loading__bar {
  height: 18px;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #1a1a1c 25%, #222224 50%, #1a1a1c 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ─── Process Gallery ────────────────────────────────────────── */
.process-gallery {
  padding-top: 80px;
  padding-bottom: 60px;
}
.process-gallery__title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--c-white);
  margin-bottom: 40px;
}
.process-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.process-gallery__grid .process-gallery__item:first-child:nth-last-child(1),
.process-gallery__grid .process-gallery__item:first-child:nth-last-child(odd):last-child {
  grid-column: 1 / -1;
}
.process-gallery__item {
  border-radius: 12px;
  overflow: hidden;
}
.process-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}
.process-gallery__caption {
  font-size: 13px;
  color: var(--c-555);
  padding: 10px 14px 14px;
}
@media (max-width: 640px) {
  .process-gallery__grid { grid-template-columns: 1fr; }
}

/* "View other works" */
.other-works {
  border-top: 1px solid var(--border);
  padding: 80px 120px;
  background: var(--bg);
}
.other-works__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}
.other-works__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -1.8px;
  color: var(--c-white);
}
.other-works__cards {
  display: flex;
  gap: 24px;
}
.project-card-sm {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color .2s;
}
.project-card-sm:hover { border-color: #333; }
.project-card-sm__img {
  border-radius: 14px;
  overflow: hidden;
}
.project-card-sm__img img { width: 100%; height: auto; display: block; border-radius: 14px; }
.project-card-sm__year {
  position: absolute;
  top: 18px;
  right: 15px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.20);
  border-radius: 37px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.42px;
}
.project-card-sm__img-wrap { position: relative; display: block; }
.project-card-sm__label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 4.2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project-card-sm__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -1px;
  color: #fff;
}
.project-card-sm__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.project-card-sm__arrow {
  width: 45px;
  height: 45px;
  border-radius: 27px;
  background: var(--surface-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.project-card-sm__arrow img { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.about-page { padding-top: 135px; }
.about-page > .project-back { padding-left: 120px; padding-top: 0; display: block; }
.about-hero { padding: 0 120px; }
.about-hero__badge { margin-bottom: 54px; }
.about-hero__heading {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -2px;
  color: var(--c-white);
  text-align: center;
  margin-bottom: 54px;
}
.about-hero__heading .accent { color: var(--orange-lt); }

/* Portrait card */
.portrait-card {
  width: 100%;
  height: 563px;
  border-radius: 24px;
  border: 3.4px solid var(--surface-act);
  overflow: hidden;
  position: relative;
  margin-bottom: 54px;
  background: var(--surface-act);
}
/* scrolling background strip */
.portrait-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.portrait-bg__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollLoop 32s linear infinite;
  opacity: 0.18;
}
.portrait-bg__track:hover { animation-play-state: paused; }
.portrait-bg__track img {
  height: 380px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.portrait-card__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 370px;
  height: 413px;
  border-radius: 24px;
  border: 9.25px solid #E6E6E6;
  overflow: hidden;
  z-index: 2;
}
.portrait-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.about-bio {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--c-b6);
  text-align: center;
  margin-bottom: 54px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 54px;
}
.about-tag {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
  border-radius: 36px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.7px;
  color: var(--c-bf);
}

/* ─── Career Journey Timeline ────────────────────────────────── */
.experience { padding: 0 120px; }
.experience__heading {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -2px;
  color: #fff;
  text-align: center;
  margin-bottom: 54px;
}
.experience__heading span { display: block; }
.career-timeline {
  position: relative;
  padding-left: 32px;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: #2a2a2c;
}
.career-item {
  position: relative;
  padding-bottom: 52px;
}
.career-item:last-child { padding-bottom: 0; }
.career-item__dot {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.career-item__body { padding-left: 4px; }
.career-item__year {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-595);
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}
.career-item__role {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 6px;
}
.career-item__meta {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-595);
  margin-bottom: 14px;
}
.career-item__desc {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
}

.about-cv { margin-bottom: 60px; text-align: center; }

/* Stack */
.stack { padding: 0 120px 80px; }
.stack__title {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -1.5px;
  color: #fff;
  text-align: center;
  margin-bottom: 36px;
}
.stack__rows { display: flex; flex-direction: column; gap: 4px; }
.stack__row {
  background: var(--surface);
  border: 0.5px solid var(--surface-dk);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  gap: 36px;
  overflow: hidden;
}
.stack-item { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.stack-item__top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stack-item__icon {
  width: 55px;
  height: 55px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6.6px 6.6px 3.3px rgba(120,120,120,0.2);
}
.stack-item__icon img { width: 100%; height: 100%; object-fit: contain; }
.stack-item__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -1px;
  color: #fff;
}
.stack-item__sep { height: 1px; background: var(--border); }
.stack-item__label {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.8px;
  color: var(--c-999);
  line-height: 24px;
}

/* CTA */
.about-cta {
  padding: 80px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 66px;
}
.about-cta__heading {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1.1;
  background: linear-gradient(to right, rgba(27,28,30,0.93), rgba(255,255,255,0.93));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-cta__heading span { display: block; }
.about-cta__heading .highlight { font-style: normal; }

/* ─── Homepage CTA ───────────────────────────────────────────── */
.homepage-cta {
  padding: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.homepage-cta__label {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--c-737);
  text-transform: uppercase;
}
.homepage-cta__title {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -3px;
  line-height: 1.05;
  color: #fff;
  max-width: 820px;
}
.homepage-cta__subtitle {
  font-family: var(--sans);
  font-variation-settings: var(--wdth);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--c-737);
  max-width: 500px;
  line-height: 1.5;
}
.homepage-cta__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .works-carousel { grid-template-columns: repeat(2, 1fr); padding: 0 24px 24px; }
  .project-card { width: auto; }
  .project-card__title { font-size: 18px; }
  .expertise__body { flex-direction: column; }
  .expertise__image { display: none; }
  .expertise__accordion { flex: none; width: 100%; }
  .project-body { flex-direction: column; }
  .project-sidebar { display: none; }
  .other-works { padding: 60px; }
  .about-hero, .experience, .stack { padding-left: 60px; padding-right: 60px; }
  .about-page > .project-back { padding-left: 60px; }
}

@media (max-width: 768px) {
  /* ── Global ── */
  .topbar { padding: 20px; flex-wrap: wrap; gap: 16px; }
  .topbar__socials { display: none; }

  /* ── Hero ── */
  .hero-screen { min-height: 100svh; }
  .hero { padding: 40px 24px 24px; max-width: 100%; }
  .hero__heading { font-size: clamp(36px, 10vw, 56px); letter-spacing: 0.01em; }
  .hero__cta .btn { width: 100%; max-width: 320px; }

  /* ── Hero images strip ── */
  .hero-images__frame { width: 220px; }

  /* ── Brand logos ── */
  .brand-logos { padding: 24px 0 32px; gap: 14px; }
  .brand-logos__label { font-size: 18px; }
  .brand-logos__scroll { max-width: 100%; }
  .brand-logo-item__img { height: 28px; }
  .brand-logo-item__name { font-size: 14px; }
  .brand-logo-item__icon { width: 22px; height: 22px; }

  /* ── Recent works ── */
  .recent-works__header { padding: 0 20px; flex-direction: column; gap: 20px; text-align: center; }
  .filter-tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: nowrap; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { padding: 8px 16px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  .works-carousel { padding: 0 16px 24px; grid-template-columns: 1fr; }
  .project-card { width: auto; }
  .project-card__image { aspect-ratio: 16 / 9; }
  .project-card__title { font-size: 18px; }
  .project-card__title { font-size: 18px; }
  .project-card__info { padding: 18px 20px 22px; }

  /* ── Expertise & Testimonials ── */
  .expertise__content { padding: 0 20px; }
  .expertise__label { font-size: 22px; }
  .accordion-item__number-title { font-size: 26px; }
  .testimonials__header { padding: 0 20px; }
  .testimonials-scroll { padding: 0 20px 24px; }
  .testimonial-card { width: 300px; }

  /* ── Homepage CTA ── */
  .homepage-cta { padding: 60px 20px; gap: 20px; }
  .homepage-cta__title { font-size: clamp(28px, 8vw, 44px); letter-spacing: -1.5px; }
  .homepage-cta__subtitle { font-size: 16px; }
  .homepage-cta__btns { flex-direction: column; align-items: center; width: 100%; }
  .homepage-cta__btns .btn { width: 100%; max-width: 320px; }

  /* ── Footer ── */
  .site-footer { padding: 32px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__connect { flex-wrap: wrap; }

  /* ── Works page ── */
  .works-page { padding: 80px 20px 0; }
  .works-list-item { flex-direction: column; }
  .works-list-item__img { width: 100%; height: 240px; }

  /* ── Project page ── */
  .project-detail__inner { padding: 0 20px; }
  .project-meta-bar { flex-direction: column; gap: 16px; align-items: flex-start; }
  .project-meta-line { display: none; }
  .other-works { padding: 40px 20px; }
  .other-works__cards { flex-direction: column; }
  .other-works__header { flex-direction: column; gap: 16px; }
  .project-img-block { max-width: 100%; border-radius: 12px; }
  .process-gallery__item { }

  /* ── About page ── */
  .about-hero, .experience, .stack { padding-left: 20px; padding-right: 20px; }
  .about-page > .project-back { padding-left: 20px; }
  .about-hero__heading { font-size: clamp(32px, 8vw, 48px); }

  /* Portrait card */
  .portrait-card { height: 340px; }
  .portrait-bg { display: none; }
  .portrait-card__photo { width: 240px; height: 268px; }

  /* Bio & tags */
  .about-bio { font-size: 22px; letter-spacing: -1px; }
  .about-tags { gap: 12px; }

  /* Experience */
  .exp-item { flex-wrap: wrap; gap: 16px; }
  .exp-item__date-info { text-align: left; width: 100%; padding-left: calc(75px + 16px); }

  /* Stack */
  .stack__row { flex-wrap: wrap; gap: 16px; padding: 20px 20px; }
  .stack-item { width: calc(50% - 8px); flex: none; min-width: unset; }

  /* About CTA */
  .about-cta { padding: 60px 20px; gap: 32px; }
  .about-cta__heading { font-size: 28px; }
}

@media (max-width: 430px) {
  .hero__heading { font-size: 28px; letter-spacing: -0.02em; }
  .floating-nav { width: fit-content; bottom: 20px; }
  .works-list-item__img { height: 200px; }
}
