:root {
  --ink: #111111;
  --muted: #5f5f5f;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --mint: #dff7c2;
  --aqua: #51c7be;
  --coral: #ef755b;
  --rose: #f3b6b9;
  --gold: #f4d568;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 24px clamp(24px, 7vw, 80px);
  position: sticky;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.brand {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  color: #303030;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 36px;
  padding: 0;
  width: 36px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 22px;
}

.hero {
  margin: 0 auto;
  max-width: 1020px;
  padding: 70px clamp(24px, 6vw, 80px) 48px;
  text-align: center;
}



.hero h1 {
  font-size: clamp(46px, 8vw, 78px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 12px;
}

.eyebrow,
.subtitle {
  color: var(--ink);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-copy p:last-child {
  color: var(--muted);
  margin: 0 auto;
  max-width: 690px;
}

.memory-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 56px auto 0;
  max-width: 720px;
}

.photo,
.film,
.resource-hero,
.resume-art {
  background-color: var(--soft);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
}

.photo {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section {
  margin: 0 auto;
  max-width: 1020px;
  padding: 42px clamp(24px, 6vw, 80px);
}

.case-page {
  max-width: 1020px;
  margin: 0 auto;
  padding: 70px clamp(24px, 6vw, 80px);
}

.case-section {
 /* margin-top: 80px;*/
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

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

.case-section:first-of-type {
  margin-top: 0;
}

.case-hero {
  margin-bottom: 80px;
}

.case-hero h1 {
  margin: 12px 0 32px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
}

.case-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.case-section h2 {
  margin-bottom: 24px;
}

.case-section h3 {
  margin-bottom: 12px;
}

.case-section p,
.case-section ul,
.case-section ol {
  margin-bottom: 20px;
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  min-width: 0;
  padding: 0 0 22px;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 40px rgba(0,0,0,.10);
}

.project-card,
.role,
.process,
.film,
.mockup {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.project-card.is-visible,
.role.is-visible,
.process.is-visible,
.film.is-visible,
.mockup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-thumbnail {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  display: block;

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.art-travelers {
  background-image: radial-gradient(circle at 30% 20%, #f4fbd3 0 16%, transparent 17%), linear-gradient(135deg, #d7e9b9, #f7f0c9 48%, #b6d8b5);
}

.art-resources {
  background-image: radial-gradient(circle at 50% 50%, rgba(245, 252, 132, 0.95), transparent 24%), radial-gradient(circle at 78% 30%, var(--rose), transparent 22%), linear-gradient(160deg, #f5b2a6, #b6c8ff 45%, #d8f5c0);
}

.art-social {
  background-image: linear-gradient(135deg, rgba(50, 151, 144, 0.92), rgba(105, 210, 187, 0.8)), radial-gradient(circle at 70% 20%, #ef755b 0 15%, transparent 16%);
}

.project-card h2,
.project-card p,
.project-card a {
  margin-left: 20px;
  margin-right: 20px;
}

.project-card h2 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.project-card p {
  color: var(--muted);
  font-size: 13px;
  min-height: 132px;
}

.project-card a {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
}

.photography h2,
.resume-heading h2,
.case-study > h2 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.photography h2,
.case-study > h2 {
  margin: 0 0 28px;
}

.resume-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 28px;
}

.download-button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 18px;
  transition: background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.download-button:hover,
.download-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.film-grid {
  display: grid;
  gap: 8px;
  grid-auto-flow: dense;
  grid-auto-rows: 88px;
  grid-template-columns: repeat(6, 1fr);
  max-width: 760px;
}

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

.film-large {
  grid-column: span 2;
  grid-row: span 3;
}

.film-tall {
  grid-column: span 2;
  grid-row: span 4;
}

.film-wide {
  grid-column: span 3;
  grid-row: span 2;
}

.resume {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.resume-layout {
  column-gap: 48px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  row-gap: 22px;
}

.resume-label {
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
}

.resume-secondary {
  margin-top: 54px;
}

.experience-list,
.resume-secondary .timeline,
.skills-list {
  grid-column: 1 / -1;
}

.role time,
.case-date {
  color: var(--muted);
  font-size: 12px;
}

.role {
  border-bottom: 0;
  display: grid;
  gap: 48px;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 0 0 44px;
}

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

.role h3,
.role h4,
.skills h3,
.case-study h3 {
  font-size: 15px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.role h4 {
  margin-top: 18px;
}

.role p,
.case-study p {
  color: var(--muted);
  margin: 0 0 13px;
}

.role ul,
.skills-list ul {
  color: var(--muted);
  margin-bottom: 0;
  padding-left: 20px;
}

.compact-role {
  padding-bottom: 0;
}

.resume-art {
  aspect-ratio: 1.8 / 1;
  background-image: radial-gradient(circle at 20% 18%, #d9ff99 0 18%, transparent 20%), radial-gradient(circle at 84% 56%, #ef563f 0 9%, transparent 10%), radial-gradient(circle at 68% 20%, #f0eb56 0 24%, transparent 25%), linear-gradient(150deg, #e7f7d6, #52c4bb 56%, #fa7f39 57%);
  margin-top: 26px;
  max-width: 420px;
}

.case-study {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.case-study .subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-top: -18px;
}

.resource-hero {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 36px;
}


.project-summary {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin: 48px 0 72px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.figure-caption {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

.case-columns {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(2, 1fr);
}

.case-section > p,
.case-section > ul,
.case-section > ol {
  max-width: 760px;
}

.process {
  margin-top: 36px;
}

.wireframe-card {
  background: #bba486;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  padding: 30px;
}

.wireframe-card div {
  aspect-ratio: 1 / 0.72;
  border: 3px solid rgba(55, 42, 30, 0.72);
  border-radius: 50%;
}

.mockups {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
}

.mockup,
.final-screen {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.mockup span {
  background: linear-gradient(90deg, #3b8fc8, #e7f0f7);
  border-radius: 4px;
  display: block;
  height: 28px;
  margin-bottom: 14px;
}

.browser-bar {
  background: #1d6d91;
  border-radius: 5px;
  height: 30px;
  margin-bottom: 18px;
}

.screen-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.screen-grid span {
  aspect-ratio: 1.2 / 1;
  background: linear-gradient(145deg, #eef5f7, #ffffff);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto auto;
  margin: 100px auto 0;
  max-width: 1020px;
  padding: 36px clamp(24px, 6vw, 80px) 50px;
}

.footer p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}

.footer > a {
  font-size: 13px;
  font-weight: 800;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 14px;
    left: 0;
    padding: 18px 20px 22px;
    position: absolute;
    right: 0;
    top: 73px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 54px;
    text-align: left;
  }

  .hero-copy p:last-child {
    margin-left: 0;
  }

  .resume-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .memory-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .memory-board .photo:first-child {
    grid-column: span 2;
  }

  .project-grid,
  .case-columns,
  .mockups,
  .resume-layout {
    grid-template-columns: 1fr;
  }

  .role {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .project-card p {
    min-height: auto;
  }

  .film-grid {
    gap: 8px;
    grid-auto-rows: 118px;
    grid-template-columns: repeat(2, 1fr);
  }

  .film-large,
  .film-tall,
  .film-wide {
    grid-column: span 1;
    grid-row: span 2;
  }

  .skills {
    margin-left: 0;
  }

  .footer {
    align-items: start;
    grid-template-columns: 1fr;
  }
}
