/* ==========================================================================
   Stephanie Oparaku — Portfolio
   ==========================================================================

   TABLE OF CONTENTS
   1.  Custom Properties
   2.  Base Reset & Typography
   3.  Layout Utilities
   4.  Navigation
   5.  Hero Section
   6.  Projects Section
   7.  Project Cards
   8.  Tags
   9.  About Page
   10. Case Study Pages
   11. Contact Section
   12. Footer
   13. Responsive Breakpoints

   FONTS: Recoleta + General Sans — self-hosted.
   Place font files in /fonts/ directory.
   ========================================================================== */


/* Recoleta — display font for headings */
@font-face {
  font-family: 'Recoleta';
  src: url('fonts/Recoleta-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('fonts/Recoleta-Medium.woff2') format('woff2'),
       url('fonts/Recoleta-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('fonts/Recoleta-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('fonts/Recoleta-Bold.woff2') format('woff2'),
       url('fonts/Recoleta-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* General Sans — body font for all UI text */
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */

:root {
  --bg:               #FAFAFA;
  --text-primary:     #1A1A1A;
  --text-secondary:   #4A4A4A;
  --text-muted:       #8A8A8A;
  --accent:           #808080;
  --accent-hover:     #006DD4;
  --border:           #E8E8E8;
  --border-hover:     #D0D0D0;
  --placeholder-bg:   #F0F0F0;
  --placeholder-text: #AAAAAA;
  --card-shadow:      0 1px 3px rgba(0,0,0,0.06);
  --card-shadow-hover:0 8px 32px rgba(0,0,0,0.10);

  --font-base:    'General Sans',    -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Recoleta', Georgia, serif;

  --max-width: 1200px;
  --nav-height: 80px;
  --section-gap: 100px;
  --card-radius: 12px;
  --transition: 0.2s ease;
}


/* --------------------------------------------------------------------------
   2. Base Reset & Typography
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}


/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

.section + .section {
  padding-top: 0;
}

.section-label {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Placeholder image block */
.placeholder-image {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E4E4E2;
  color: #AAAAAA;
  font-size: 13px;
  font-family: var(--font-base);
  border-radius: 10px;
}


/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: #FFFFFF;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

/* Left: stacked name + discipline */
.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity var(--transition);
}

.nav__logo:hover {
  opacity: 0.55;
}

.nav__logo-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color var(--transition);
}

.nav__logo-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color var(--transition);
}

.nav__logo:hover .nav__logo-name,
.nav__logo:hover .nav__logo-sub {
  text-decoration-color: var(--text-muted);
}

/* Centre: 2×2 grid of arrow links */
.nav__center {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 32px;
  row-gap: 8px;
  justify-items: start;
}

/* Right: stacked page links */
.nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-self: end;
}

/* All nav links share identical type */
.nav__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  line-height: 1.4;
  transition: color var(--transition), text-decoration-color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}

/* Dot prefix for page links */
.nav__link::before {
  content: '●';
  font-size: 5px;
  color: var(--border-hover);
  transition: color var(--transition);
  line-height: 1;
}

/* Arrow prefix for external/contact links */
.nav__link--ext::before {
  content: '→';
  font-size: 16px;
  color: var(--border-hover);
}

.nav__link:hover {
  color: var(--text-primary);
  text-decoration-color: var(--text-muted);
}

.nav__link:hover::before {
  color: var(--text-muted);
}

.nav__link--ext:hover::before {
  color: var(--text-primary);
}

.nav__link.active {
  color: var(--text-primary);
}

.nav__link.active::before {
  color: var(--accent);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link::before {
  font-size: 6px;
}

.nav__mobile-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}


/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 48px;
}

.hero__inner {
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.hero__location {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.hero__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.hero__link:hover {
  color: var(--accent-hover);
}

.hero__link-divider {
  color: var(--border);
  user-select: none;
}


/* --------------------------------------------------------------------------
   6. Projects Section
   -------------------------------------------------------------------------- */

.projects {
  padding-bottom: var(--section-gap);
}

.projects__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}


/* --------------------------------------------------------------------------
   7. Project Cards
   -------------------------------------------------------------------------- */

.project-card {
  display: block;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #EBEBEB;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.project-card:hover {
  border: 1px solid #E0E0E0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.project-card:hover .placeholder-image {
  transform: scale(1.02);
}

.project-card__image {
  width: 100%;
  padding: 16px;
  background: #F0F1F3;
  display: block;
  border-radius: 16px 16px 0 0;
  box-sizing: border-box;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.project-card__content {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.project-card__meta {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.project-card__description {
  font-size: 16px;
  color: #4A4A4A;
  line-height: 1.6;
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   8. Tags
   -------------------------------------------------------------------------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--placeholder-bg);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
  transition: background-color var(--transition), color var(--transition);
}

.project-card:hover .tag {
  background-color: rgba(44, 122, 122, 0.08);
  color: var(--accent);
}


/* --------------------------------------------------------------------------
   9. About Page
   -------------------------------------------------------------------------- */

.about-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.about-hero__photo-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.about-hero__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--placeholder-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--placeholder-text);
  letter-spacing: 0.04em;
}

.about-hero__content {}

.about-hero__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.about-hero__bio {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

.about-hero__bio p + p {
  margin-top: 16px;
}

/* About page — two-column layout */
.about-page {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 120px;
}

.about-page__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.about-page__photo-col {
  /* sticky handled inline */
}

.about-page__text-col {
  /* scrollable naturally */
}

@media (max-width: 768px) {
  .about-page__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-page__photo-col img {
    max-width: 240px;
  }

  .about-page__text-col h1 {
    font-size: 36px !important;
  }

  .about-page__text-col p[style*="font-size:36px"] {
    font-size: 26px !important;
  }
}

/* Experience timeline */
.experience {
  padding: 64px 0 var(--section-gap);
  border-top: 1px solid var(--border);
}

.experience__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.experience__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.experience__item:first-child {
  border-top: none;
  padding-top: 0;
}

.experience__dates {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 3px;
}

.experience__role-info {}

.experience__company {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.experience__role {
  font-size: 14px;
  color: var(--text-secondary);
}



/* --------------------------------------------------------------------------
   10. Case Study Pages
   -------------------------------------------------------------------------- */

.case-study-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 64px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 48px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--text-primary);
}

.back-link svg {
  transition: transform var(--transition);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.case-study-hero__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.case-study-hero__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 800px;
}

.case-study-hero__summary {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 48px;
}

/* Metadata row */
.case-study-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 64px;
}

.case-study-meta__item {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}

.case-study-meta__item:last-child {
  border-right: none;
}

.case-study-meta__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-study-meta__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Case study hero image */
.case-study-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: var(--placeholder-bg);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--placeholder-text);
  letter-spacing: 0.04em;
  margin-bottom: 80px;
}

/* Cover image — three-layer structure */
.cover__outer {
  width: 100%;
  margin: 40px 0;
}

.cover__inner {
  background: #513B8D;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.cover__inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Case study body */
.case-study-body {
  max-width: 720px;
  margin: 0 auto;
}

.case-section {
  margin-bottom: 72px;
}

.case-section__label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.case-section__heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.case-section__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.case-section__body p + p {
  margin-top: 16px;
}

/* Image placeholder within case study */
.case-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--placeholder-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--placeholder-text);
  letter-spacing: 0.04em;
  margin: 32px 0;
}

/* Full-bleed image option */
.case-image--wide {
  max-width: calc(var(--max-width) - 80px);
  margin-left: auto;
  margin-right: auto;
}

/* Results metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.metric {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.metric__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Case study two-column layout */
.case-study__layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  align-items: start;
}

.case-study__sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-nav__link {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.sidebar-nav__link:hover {
  color: var(--text-primary);
}

.sidebar-nav__link.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* Case study image frame */
.case-study__image-frame {
  background: #F0F1F3;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 0;
}

.case-study__image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Image captions */
.image-caption {
  font-family: var(--font-base);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
  margin-bottom: 40px;
}

/* Case study image grid */
.case-study__image-grid {
  display: grid;
  gap: 16px;
  margin: 40px 0;
}

.case-study__image-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.case-study__image-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.case-study__image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .case-study__image-grid--2col,
  .case-study__image-grid--3col {
    grid-template-columns: 1fr;
  }
}

/* Case study nav */
.case-nav {
  border-top: 1px solid var(--border);
  padding: 48px 0 80px;
  margin-top: 80px;
}

.case-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 320px;
  transition: opacity var(--transition);
}

.case-nav__link:hover {
  opacity: 0.65;
}

.case-nav__link--next {
  text-align: right;
}

.case-nav__direction {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.case-nav__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}


/* --------------------------------------------------------------------------
   11. Contact Section
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 120px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__copy {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__center {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 32px;
  row-gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-self: end;
}


/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet: 768px */
@media (max-width: 768px) {
  :root {
    --section-gap: 72px;
  }

  .container {
    padding: 0 24px;
  }

  .case-study__layout {
    grid-template-columns: 1fr;
  }

  .case-study__sidebar {
    display: none;
  }

  /* Nav */
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__center,
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile {
    padding: 24px 24px 32px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 72px);
    padding-bottom: 80px;
  }

  /* About */
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero__photo-wrap {
    position: static;
    max-width: 240px;
  }

  .about-hero__photo {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .experience__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Case study */
  .case-study-meta {
    grid-template-columns: 1fr 1fr;
  }

  .case-study-meta__item:nth-child(2) {
    border-right: none;
  }

  .case-study-meta__item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .case-study-meta__item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-nav__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .case-nav__link--next {
    text-align: left;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__links {
    align-items: flex-start;
  }
}

/* Mobile: 375px */
@media (max-width: 480px) {
  :root {
    --section-gap: 56px;
  }

  .container {
    padding: 0 20px;
  }

  .project-card__content {
    padding: 20px 20px 24px;
  }

  .project-card__body {
    grid-template-columns: 1fr;
  }

  .case-study-meta {
    grid-template-columns: 1fr;
  }

  .case-study-meta__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .case-study-meta__item:last-child {
    border-bottom: none;
  }

  .case-study-meta__item:nth-child(2),
  .case-study-meta__item:nth-child(3),
  .case-study-meta__item:nth-child(4) {
    border-top: none;
  }

  .hero__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__link-divider {
    display: none;
  }
}
