/* ============================================================
   PORTFOLIO.CSS — Tim Schwarz
   Single source of truth for all pages.
   ============================================================ */


/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f2ee;
  font-family: 'Inter', sans-serif;
  color: #383838;
  overflow-x: hidden;
  max-width: 1300px;
  margin: 0 auto;
}


/* ── DESIGN TOKENS ── */
:root {
  --max-width: 1300px;
  --accent: #FF7070;
  --dark: #383838;
  --mid: #999;
  --light: #bbb;
  --faint: #ccc;
  --bg: #f5f2ee;
  --card-bg: #dcdcdc;
  --border: rgba(0, 0, 0, 0.09);
  --radius: 12px;
  --pad: 2.5rem;
}


/* ============================================================
   NAV
   ============================================================ */
.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 0.5px solid transparent;
}

nav.scrolled,
nav.nav-solid {
  background: rgba(245, 242, 238, 0.95);
  backdrop-filter: blur(10px);
  border-color: var(--border);
}

.nav-logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--dark);
  text-decoration: none;
}

.nav-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}

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


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem var(--pad);
  border-top: 0.5px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--dark);
}


/* ============================================================
   LANDING PAGE
   ============================================================ */

.hero-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 0 var(--pad) 8rem;
  will-change: opacity;
}

.hero-spacer {
  height: 11rem;
}

.title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, min(7.5vw, 97.5px), 96px);
  font-weight: 800;
  line-height: 0.92;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 2.2rem;
}

.title span {
  color: var(--accent);
}

.desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2.8rem;
}

.cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark);
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta:hover {
  opacity: 0.5;
}

/* Scroll offset — keeps first project card below the fixed nav */
#grid {
  scroll-margin-top: 70px;
}

.grid {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 var(--pad) 2.5rem;
  background: var(--bg);
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card-bg);
  cursor: pointer;
  width: 100%;
  aspect-ratio: 2300 / 920;
  text-decoration: none;
  display: block;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project:hover img {
  transform: scale(1.025);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.project:hover .project-overlay {
  background: rgba(0, 0, 0, 0.12);
}

.project-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.8rem 2.2rem;
}

.project-rule {
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  margin-top: 0.7rem;
  margin-bottom: 0.6rem;
}

.project-sentence {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, min(3vw, 39px), 48px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  display: block;
  max-width: 80%;
}

.project-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, min(1.2vw, 15.6px), 18px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  text-transform: uppercase;
}

.project-badges {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1.4rem 1.8rem;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.project-badges img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.project:hover .project-badges img {
  opacity: 0.9;
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem var(--pad) 8rem;
}

.bio-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.bio-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: #666;
  max-width: 640px;
}

.bio-text p+p {
  margin-top: 1.4rem;
}

.about-section {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--border);
}

.about-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.exp-list,
.edu-list,
.awards-list {
  display: flex;
  flex-direction: column;
}

.exp-item,
.edu-item,
.award-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.07);
}

.exp-item:first-child,
.edu-item:first-child,
.award-item:first-child {
  border-top: 0.5px solid rgba(0, 0, 0, 0.07);
}

.award-item {
  align-items: center;
  padding: 1.2rem 0;
}

.exp-period,
.edu-period,
.award-project {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--light);
  padding-top: 2px;
}

.exp-role,
.edu-degree {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  display: block;
}

.exp-company,
.edu-school {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mid);
  display: block;
  margin-bottom: 0.5rem;
}

.exp-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.75;
  color: #aaa;
}

.award-names {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.award-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dark);
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.contact-block {
  margin-top: 1rem;
}

.contact-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.5;
}


/* ============================================================
   CASE STUDY — shared structure
   ============================================================ */
.cs-page {
  padding-top: 7rem;
}

.cs-hero {
  padding: 4rem var(--pad) 5rem;
  max-width: 900px;
}

.cs-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.cs-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, min(6vw, 78px), 70px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 2rem;
}

.cs-title span {
  color: var(--accent);
}

.cs-rule {
  width: 32px;
  height: 2.5px;
  background: var(--accent);
  margin-bottom: 1.6rem;
}

.cs-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: 520px;
}

.cs-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
}

.cs-spec {
  padding: 2.2rem var(--pad);
  border-right: 0.5px solid var(--border);
}

.cs-spec:last-child {
  border-right: none;
}

.cs-spec-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.cs-spec-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.cs-section {
  padding: 8rem var(--pad) 3rem;
  max-width: 900px;
}

.cs-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.cs-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, min(3.5vw, 45.5px), 44px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 1.6rem;
}

.cs-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: 560px;
}

.cs-callout {
  padding: 3.5rem var(--pad);
  border-top: 0.0px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.cs-callout-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, min(1.2vw, 15.6px), 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--mid);
  max-width: 760px;
}

.cs-callout-text strong {
  color: var(--dark);
  font-weight: 800;
}

.cs-divider {
  height: 0.5px;
  background: var(--border);
  margin: 0 var(--pad);
}

.cs-closing {
  padding: 5rem var(--pad) 4rem;
  max-width: 760px;
}

.cs-closing-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 1rem;
}

.cs-closing-text a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(56, 56, 56, 0.3);
  transition: border-color 0.2s;
}

.cs-closing-text a:hover {
  border-color: var(--dark);
}


/* ============================================================
   IMAGE LAYOUT SYSTEM
   ============================================================ */

.img-row {
  display: flex;
  gap: 10px;
  padding: 0 var(--pad);
  align-items: stretch;
  margin-top: 10px;
}

.img-cell {
  flex: 1;
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Column splits */
.img-row.split-50-50>.img-cell:nth-child(1),
.img-row.split-50-50>.img-cell:nth-child(2) {
  flex: 5;
}

.img-row.split-60-40>.img-cell:nth-child(1) {
  flex: 6;
}

.img-row.split-60-40>.img-cell:nth-child(2) {
  flex: 4;
}

.img-row.split-40-60>.img-cell:nth-child(1) {
  flex: 4;
}

.img-row.split-40-60>.img-cell:nth-child(2) {
  flex: 6;
}

.img-row.split-70-30>.img-cell:nth-child(1) {
  flex: 7;
}

.img-row.split-70-30>.img-cell:nth-child(2) {
  flex: 3;
}

.img-row.split-30-70>.img-cell:nth-child(1) {
  flex: 3;
}

.img-row.split-30-70>.img-cell:nth-child(2) {
  flex: 7;
}

.img-row.split-80-20>.img-cell:nth-child(1) {
  flex: 8;
}

.img-row.split-80-20>.img-cell:nth-child(2) {
  flex: 2;
}

.img-row.split-20-80>.img-cell:nth-child(1) {
  flex: 2;
}

.img-row.split-20-80>.img-cell:nth-child(2) {
  flex: 8;
}

.img-row.cols-3>.img-cell {
  flex: 1;
}

/* Row heights */
.img-row.h-cinematic {
  height: calc(min(100vw, 1300px) * 9/21);
}

.img-row.h-wide {
  height: calc(min(100vw, 1300px) * 920/2300);
}

.img-row.h-standard {
  height: calc(min(100vw, 1300px) * 9/16);
}

.img-row.h-tall {
  height: calc(min(100vw, 1300px) * 3/4);
}

.img-row.h-square {
  height: calc(min(100vw, 1300px) * 1/1);
}

.img-row.h-low {
  height: calc(min(100vw, 1300px) * 3/9);
}

.img-row.hh-cinematic {
  height: calc(min(100vw, 1300px) * 9/21);
}

/* Text + image rows — height driven by content */
.img-row.has-text {
  height: auto;
}

/* Spacers */
.spacer-sm {
  height: 2rem;
}

.spacer-md {
  height: 4rem;
}

.spacer-lg {
  height: 8rem;
}


/* ============================================================
   IMAGE CAPTION
   ============================================================ */
.img-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
}

.img-wrap .img-cell {
  flex: 1;
}

.img-caption {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--light);
  padding: 0.6rem 0.2rem 0;
  line-height: 1.5;
}



/* ============================================================
   VIDEO EMBED
   ============================================================ */
.video-wrap {
  margin: 10px var(--pad) 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}

.video-wrap iframe,
.video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.img-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   CHAPTER BREAK
   ============================================================ */
.chapter-break {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2300 / 600;
  background: #0a0a0a;
}

.chapter-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.chapter-break-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem var(--pad);
}

.chapter-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.chapter-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, min(4vw, 52px), 56px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
}


/* ── Project tags — appear on hover ── */
.project-tags {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.4rem 2.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project:hover .project-tags {
  opacity: 1;
}

.project-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   NEXT PROJECTS strip
   ============================================================ */
.cs-next-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--light);
  text-transform: uppercase;
  padding: 2rem var(--pad) 1rem;
}

.cs-next-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 var(--pad) 2.5rem;
}

.cs-next-project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card-bg);
  cursor: pointer;
  width: 100%;
  aspect-ratio: 2300 / 920;
  text-decoration: none;
  display: block;
}

.cs-next-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cs-next-project:hover img {
  transform: scale(1.025);
}

.cs-next-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.cs-next-project:hover .cs-next-overlay {
  background: rgba(0, 0, 0, 0.12);
}

.cs-next-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.8rem 2.2rem;
}

.cs-next-rule {
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  margin-top: 0.7rem;
  margin-bottom: 0.6rem;
}

.cs-next-sentence {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, min(2.5vw, 32.5px), 40px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
  display: block;
  max-width: 80%;
}

.cs-next-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, min(1vw, 13px), 16px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE — iPhone portrait (max 480px)
   Only overrides what needs to change. No broad resets.
   ============================================================ */
@media (max-width: 480px) {

  /* Tokens */
  :root {
    --pad: 1.2rem;
  }

  /* Nav */
  nav {
    padding: 1.2rem 0;
  }

  .nav-inner {
    padding: 0 var(--pad);
  }

  .nav-eyebrow {
    display: none;
  }

  /* Footer */
  footer {
    padding: 1rem var(--pad);
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }

  /* Landing hero */
  .hero-wrap {
    padding: 0 var(--pad) 5rem;
  }

  .hero-spacer {
    height: 7rem;
  }

  .title {
    font-size: 44px;
  }

  /* Project grid */
  .grid {
    padding: 0 var(--pad) var(--pad);
    gap: 8px;
  }

  .project-sentence {
    font-size: 18px;
  }

  .project-text {
    padding: 1.6rem 1.4rem;
  }

  .project-badges {
    padding: 1rem 1.2rem;
    gap: 6px;
  }

  .project-badges img {
    height: 36px;
    width: 36px;
  }

  /* Scroll offset on mobile */
  #grid {
    scroll-margin-top: 60px;
  }

  /* Case study */
  .cs-page {
    padding-top: 5rem;
  }

  .cs-hero {
    padding: 2.5rem var(--pad) 3rem;
  }

  .cs-title {
    font-size: clamp(32px, 9vw, 44px);
  }

  /* Specs — stack vertically */
  .cs-specs {
    grid-template-columns: 1fr;
  }

  .cs-spec {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 1.4rem var(--pad);
  }

  .cs-spec:last-child {
    border-bottom: none;
  }

  /* Text sections */
  .cs-section {
    padding: 3rem var(--pad);
  }

  .cs-heading {
    font-size: clamp(22px, 7vw, 32px);
  }

  .cs-body {
    max-width: 100%;
  }

  .cs-callout {
    padding: 2.5rem var(--pad);
  }

  .cs-callout-text {
    font-size: 17px;
  }

  .cs-closing {
    padding: 3rem var(--pad);
  }

  .cs-divider {
    margin: 0 var(--pad);
  }

  /* Image rows — stack to single column */
  .img-row {
    flex-direction: column;
    height: auto !important;
  }

  /* Regular image cells: 16:9 ratio when stacked */
  .img-cell {
    flex: none;
    width: 100%;
    aspect-ratio: 16/9;
  }

  /* Text cells inside has-text rows: no fixed ratio */
  .img-row.has-text>.text-cell {
    aspect-ratio: unset;
    min-height: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Video */
  .video-wrap {
    margin: 10px var(--pad) 0;
    border-radius: var(--radius);
    aspect-ratio: 16/9;
  }

  /* Chapter break */
  .chapter-break {
    aspect-ratio: 16/9;
  }

  .chapter-break-text {
    padding: 1.5rem var(--pad);
  }

  .chapter-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  /* Next projects */
  .cs-next-label {
    padding: 2rem var(--pad) 0.8rem;
  }

  .cs-next-grid {
    padding: 0 var(--pad) var(--pad);
    gap: 8px;
  }

  .cs-next-sentence {
    font-size: 18px;
  }

  .cs-next-text {
    padding: 1.6rem 1.4rem;
  }

  /* About page */
  .about-page {
    padding: 6rem var(--pad) 5rem;
  }

  .bio-text {
    font-size: 14px;
  }

  .exp-item,
  .edu-item,
  .award-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 1.2rem 0;
  }

  .exp-period,
  .edu-period,
  .award-project {
    padding-top: 0;
  }

}