:root {
  --bg-slate: #e2e8f0;
  --text-navy: #0b1b3b;
  --accent-mustard: #e1ad00;
  --border-slate: #e5e7eb;
  --shadow-subtle: 0 18px 45px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-navy);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid var(--border-slate);
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 13px;
  color: #64748b;
}

.site-title-main {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-title-accent {
  color: var(--accent-mustard);
}

.site-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent-mustard);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: rgba(11, 27, 59, 0.8);
}

.nav-link-active {
  color: var(--text-navy);
}

.nav-link-active::after {
  width: 100%;
}

/* Sections & cards */

.section-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 56px 16px;
}

.card-shell {
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .card-shell {
    padding: 56px 48px;
  }
}

.section-header {
  margin-bottom: 32px;
}

.section-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 520px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

/* About */

.about-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #475569;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-aside {
  display: grid;
  gap: 18px;
  font-size: 0.85rem;
  color: #64748b;
}

.aside-label {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.aside-body {
  margin: 0;
}

/* Portfolio */

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.years-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.year-block {
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  padding: 22px 18px 24px;
}

@media (min-width: 768px) {
  .year-block {
    padding: 26px 24px 28px;
  }
}

.year-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.year-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.year-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.27em;
  color: #94a3b8;
}

.year-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .year-grid {
  }
}

.project-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #475569;
}

.project-body {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #64748b;
}

.media-placeholders {
  display: grid;
  gap: 10px;
  font-size: 11px;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .media-placeholders {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.media-box {
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  background: rgba(241, 245, 249, 0.9);
  padding: 10px 12px;
  text-align: center;
}

.media-box img,
.media-box video {
  max-width: 110%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.media-box video {
  max-height: 500px;
}

.media-box video {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.project-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #475569;
}

.project-body {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #64748b;
}



.media-box img,
.media-box video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.media-box video {
  max-height: 500px;
}


.brand-scroller {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.brand-scroller-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.brand-scroller-title {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #475569;
}

.brand-scroller-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.brand-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.brand-logo {
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 150px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(241, 245, 249, 0.9);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.award-photo {
  margin: 0;
}

.award-photo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
  display: block;
}

.award-photo figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #64748b;
}

/* Small screen tweaks */

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 16px;
  }

  .section-shell {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .card-shell {
    padding: 32px 20px;
  }
}