:root {
  --font-heading: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-ui: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --bg: #ffffff;
  --bg-alt: #F7F7F5;
  --border: rgba(0,0,0,0.08);
  --text: #0a0a0a;
  --text-body: #414141;
  --text-muted: #888888;
  --pill-bg: #EFEFED;
  --pill-text: #3a3a3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 96px);
  max-width: 1080px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(48px);
  -webkit-backdrop-filter: saturate(180%) blur(48px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-btn {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ── HERO ── */
.hero {
  padding: 160px 0 96px;
  background: var(--bg);
  overflow: hidden;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text { flex: 1; max-width: 640px; }

/* Hero entrance — staggered load animation */
@keyframes heroFadeUp {
  from { opacity: 0; filter: blur(6px); transform: translateY(24px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}

.hero-kicker,
.hero h1,
.hero-body,
.hero-tags,
.hero-actions {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-kicker   { animation-delay: 0.05s; }
.hero h1       { animation-delay: 0.18s; }
.hero-body     { animation-delay: 0.32s; }
.hero-tags     { animation-delay: 0.44s; }
.hero-actions  { animation-delay: 0.56s; }

.hero-kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(60px, 9vw, 108px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  flex-shrink: 0;
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
  will-change: transform;
}

.hero-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ── BUTTONS ── */
.hero-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.hero-link:hover { transform: translateY(-1px); }

.hero-link.primary {
  background: var(--text);
  color: #fff;
}

.hero-link.secondary {
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.2);
}

.hero-link.secondary:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ── PILLS ── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-light { background: var(--bg); }
.section-alt { background: var(--bg-alt); }

.section-kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 20px;
}

.section-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 600px;
}

/* ── ARCH CARDS (image cards) ── */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.arch-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s ease;
}

/* Each card slides from a different direction */
.arch-card:nth-child(1) { transform: translateX(-60px) translateY(20px); }
.arch-card:nth-child(2) { transform: translateY(60px); }
.arch-card:nth-child(3) { transform: translateX(60px) translateY(20px); }

.arch-card.revealed { opacity: 1; transform: translate(0, 0); }

.arch-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
  transform: translateY(-4px) !important;
}

.arch-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s ease, transform 0.5s ease;
}

.arch-card:hover .arch-card-bg {
  filter: blur(8px);
  transform: scale(1.04);
}

.arch-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
  transition: background 0.5s ease;
}

.arch-card:hover .arch-card-overlay { background: rgba(0,0,0,0.72); }

.arch-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.arch-panel-tag {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  position: absolute;
  top: 28px;
  left: 28px;
}

.panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: #F5F5F5;
  letter-spacing: -0.02em;
}

.panel-copy {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.4s ease;
}

.panel-copy > span { overflow: hidden; }
.arch-card:hover .panel-copy { grid-template-rows: 1fr; opacity: 1; }

/* ── PATH CARDS (text cards) ── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.path-card {
  padding: 28px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  overflow: hidden;
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1),
              border-color 0.2s,
              box-shadow 0.25s;
}

.path-card:hover {
  border-color: rgba(0,0,0,0.14);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
  transform: translateY(-4px) scale(1) !important;
}

.path-card.revealed { opacity: 1; transform: translateY(0) scale(1); }

.path-card-img {
  width: calc(100% + 56px);
  height: 140px;
  margin: -28px -28px 0;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.path-spacer { flex: 1; }

.path-panel-tag {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.4);
  margin-bottom: 10px;
}

.path-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.path-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.path-layers {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.path-layers span {
  font-family: var(--font-ui);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-body);
}

/* ── FUSION NEWS WIDGET ── */
.fusion-widget {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.fusion-widget-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.fusion-widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fusion-widget-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fusion-widget-item:last-child {
  border-bottom: 0;
}

.fusion-widget-link {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}

.fusion-widget-link:hover {
  text-decoration: underline;
}

.fusion-widget-date {
  font-size: 11px;
  color: var(--text-muted);
}

.fusion-widget-loading {
  padding: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

@media (max-width: 768px) {
  .fusion-widget {
    position: static;
  }
}

/* ── FEATURE CARD (wide standalone) ── */
.feature-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 28px 32px;
  background: var(--text);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.feature-card-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}

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

.feature-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}

.feature-card-body p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
}

.feature-card-arrow {
  font-size: 22px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.feature-card:hover .feature-card-arrow {
  transform: translateX(4px);
  color: #fff;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── SCROLL REVEAL ── */
.blur-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              filter 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1);
}

.blur-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* ── PROJECT PAGES ── */
.project-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}

.project-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-nav-logo {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.project-nav-links {
  display: flex;
  gap: 24px;
}

.project-nav-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.project-nav-links a:hover { color: var(--text); }

.project-footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  background: var(--bg-alt);
}

.project-content {
  padding: 40px 0 80px;
}

.project-content section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.project-content section:first-child { border-top: none; }

.project-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.project-content p,
.project-content li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 68ch;
}

/* restore paragraph spacing the universal reset stripped out */
.project-content p {
  margin-bottom: 1.1rem;
}

/* ── Editorial two-column split: label/title left, body right ── */
.editorial-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.editorial-split .section-kicker { margin-bottom: 10px; }
.editorial-split h2 { margin: 0; }
@media (max-width: 760px) {
  .editorial-split { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Rounded "pill" content card ── */
.pill-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  background: var(--bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.pill-card h2 { margin-top: 6px; }
@media (max-width: 600px) {
  .pill-card { padding: 1.75rem 1.5rem; border-radius: 20px; }
}

/* ── Auto-scrolling image belt (conveyor) ── */
.belt-wrap {
  position: relative;
}
.belt-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  color: var(--text);
  line-height: 1;
}
.belt-wrap:hover .belt-btn { opacity: 1; }
.belt-btn:hover { background: var(--bg-alt); }
.belt-btn--prev { left: 6px; }
.belt-btn--next { right: 6px; }

.belt {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.belt-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: belt-scroll 36s linear infinite;
}
.belt:hover .belt-track { animation-play-state: paused; }
.belt figure { margin: 0; flex: 0 0 auto; width: 320px; }
.belt img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 14px; display: block;
}
.belt figcaption {
  font-size: 12px; color: var(--text-muted); margin-top: 0.5rem;
}
@keyframes belt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .belt-track { animation: none; }
  .belt { overflow-x: auto; }
}

.project-content ul,
.project-content ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-hero {
  padding: 48px 0 8px;
}

.project-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 12px;
}

.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 60ch;
}

.meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 10px 0 16px;
  text-transform: uppercase;
}

.breadcrumb {
  padding: 20px 0 8px;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.project-image {
  width: min(480px, 100%);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-top: 20px;
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--text);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.button:hover { opacity: 0.82; transform: translateY(-1px); }

.button.secondary {
  background: var(--pill-bg);
  color: var(--text);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin: 8px 0;
}

/* Projects index grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.projects-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 16px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.18s, transform 0.15s;
}

.projects-card:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.projects-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.projects-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.projects-card-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.projects-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav {
    width: calc(100% - 32px);
    padding: 14px 20px;
  }

  .nav-links { display: none; }

  .container { padding: 0 24px; }

  .hero { padding: 120px 0 64px; }

  .hero-layout {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 28px;
  }

  h1 { font-size: 60px; }

  .hero-image { width: 180px; height: 180px; }

  .section { padding: 64px 0; }

  .arch-grid { grid-template-columns: 1fr; }
  .arch-card { aspect-ratio: 4 / 3; }

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