:root {
      --bg: #f7f7f3;
      --surface: #ffffff;
      --text: #171717;
      --muted: #666;
      --line: #deded7;
      --accent: #1d4ed8;
      --max-width: 1120px;
      --radius: 18px;
    }

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

html {
      scroll-behavior: smooth;
    }

body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
    }

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

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

.container {
      width: min(100% - 48px, var(--max-width));
      margin: 0 auto;
    }

nav {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(247, 247, 243, 0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(222, 222, 215, 0.8);
    }

.nav-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

.brand {
      font-weight: 700;
      letter-spacing: -0.03em;
    }

.nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
      font-size: 0.95rem;
    }

.nav-links a {
      color: #444;
      transition: color 0.2s ease;
    }

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

section {
      padding: 110px 0;
    }

.hero {
      min-height: calc(100vh - 72px);
      display: grid;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

.hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 80px;
      align-items: center;
    }

.eyebrow,
    .section-label {
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 18px;
    }

h1 {
      font-size: clamp(4rem, 9vw, 8rem);
      line-height: 0.92;
      letter-spacing: -0.075em;
      margin-bottom: 28px;
    }

.hero-lead {
      max-width: 680px;
      font-size: clamp(1.25rem, 2vw, 1.65rem);
      line-height: 1.45;
      color: #3f3f3f;
      margin-bottom: 32px;
    }

.hero-meta {
      color: var(--muted);
      max-width: 620px;
      margin-bottom: 34px;
    }

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

.button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 20px;
      border: 1px solid var(--text);
      border-radius: 999px;
      font-weight: 650;
      font-size: 0.95rem;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

.button:hover,
    .button:focus {
      transform: translateY(-2px);
    }

.button.primary {
      background: var(--text);
      color: white;
    }

.button.secondary {
      background: transparent;
    }

.wave {
      width: 130%;
      height: 180px;
      position: absolute;
      border-top: 2px solid rgba(29, 78, 216, 0.65);
      border-radius: 50%;
      transform: rotate(-7deg);
      animation: drift 7s ease-in-out infinite alternate;
    }

.wave:nth-child(2) {
      transform: rotate(7deg) translateY(20px);
      opacity: 0.35;
      animation-delay: -2s;
    }

.wave:nth-child(3) {
      transform: rotate(-2deg) translateY(-25px);
      opacity: 0.2;
      animation-delay: -4s;
    }

@keyframes drift {
      from { transform: translateX(-4%) rotate(-7deg); }
      to { transform: translateX(4%) rotate(-1deg); }
    }

.section-heading {
      max-width: 820px;
      margin-bottom: 55px;
    }

h2 {
      font-size: clamp(2.7rem, 5vw, 5rem);
      line-height: 1.02;
      letter-spacing: -0.06em;
      margin-bottom: 24px;
    }

.section-intro {
      max-width: 720px;
      font-size: 1.15rem;
      color: var(--muted);
    }

.about {
      background: var(--surface);
    }

.about-grid {
      display: grid;
      grid-template-columns: 0.7fr 1.3fr;
      gap: 80px;
      align-items: start;
    }

.about-copy p + p {
      margin-top: 24px;
    }

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

.work-card {
      padding: 32px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      min-height: 300px;
    }

.work-number {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 80px;
    }

h3 {
      font-size: 1.45rem;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
    }

.work-card p {
      color: var(--muted);
    }

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

.interest-card {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 24px 26px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

.interest-card:hover {
      transform: translateY(-3px);
      border-color: var(--accent);
    }

.interest-number {
      font-size: 0.8rem;
      color: var(--muted);
      flex-shrink: 0;
    }

.interest-card h3 {
      font-size: 1.1rem;
      margin-bottom: 0;
      letter-spacing: -0.02em;
    }

@media (max-width: 720px) {
      .interest-grid {
        grid-template-columns: 1fr;
      }
    }

.project {
      background: #111;
      color: white;
    }

.project .section-label {
      color: #aaa;
    }

.project-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center;
    }

.project-copy h2 {
      font-size: clamp(2.2rem, 3.6vw, 3.6rem);
      margin-bottom: 24px;
    }

.project-copy p {
      color: #bbb;
      font-size: 1.1rem;
      margin-bottom: 28px;
    }

.project .button {
      border-color: white;
    }

.project .button.primary {
      background: white;
      color: #111;
    }

.selected-work {
      background: var(--surface);
    }

.selected-list {
      border-top: 1px solid var(--line);
    }

.selected-item {
      display: grid;
      grid-template-columns: 0.3fr 1fr auto;
      gap: 32px;
      align-items: center;
      padding: 34px 0;
      border-bottom: 1px solid var(--line);
    }

.selected-item span {
      color: var(--muted);
      font-size: 0.9rem;
    }

.selected-item h3 {
      margin-bottom: 8px;
    }

.selected-item p {
      color: var(--muted);
      max-width: 680px;
    }

.arrow {
      font-size: 1.4rem;
    }

.connect {
      text-align: center;
    }

.connect .section-heading {
      margin-left: auto;
      margin-right: auto;
    }

.connect-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
    }

footer {
      padding: 28px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.9rem;
    }

/* Mobile nav toggle (hamburger) - hidden on desktop */
.nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 0;
    }

.nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

.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);
    }

@media (max-width: 850px) {
      .nav-links {
        gap: 14px;
        font-size: 0.85rem;
      }

      .hero-grid,
      .about-grid,
      .project-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .hero {
        min-height: auto;
        padding-top: 90px;
      }

      .hero-visual {
        min-height: 320px;
      }

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

      .selected-item {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .arrow {
        display: none;
      }
    }

@media (max-width: 560px) {
      .container {
        width: min(100% - 32px, var(--max-width));
      }

      section {
        padding: 80px 0;
      }

      .nav-inner {
        min-height: 64px;
        position: relative;
      }

      .nav-toggle {
        display: flex;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links li {
        border-top: 1px solid var(--line);
      }

      .nav-links a {
        display: block;
        padding: 16px 24px;
      }

      h1 {
        font-size: clamp(3.5rem, 20vw, 5rem);
      }
    }

.reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

.reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

.project-image {
      min-height: 460px;
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        #202020;
      border: 1px solid #333;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      text-align: center;
      padding: 40px;
      overflow: hidden;
    }

.page-header {
      padding: 170px 0 40px;
    }

.page-header .hero-lead {
      margin-bottom: 18px;
    }

/* Base desktop styles (Parallel Side-by-Side) */
.timeline-column {
  flex: 1; /* Splits space equally */
  min-width: 0; /* Prevents text blowout */
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .timeline-row.parallel {
    flex-direction: column; /* Stacks columns vertically */
    gap: 15px;
  }
}
