@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500&family=Outfit:wght@300;400;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1c1a17;
  --muted: #6f6960;
  --line: rgba(28, 26, 23, 0.1);
  --shadow: 0 20px 50px rgba(28, 26, 23, 0.08);
  --accent: #1c1a17;
  --accent-soft: #f1ede7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav,
main {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

main {
  padding-bottom: 0;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
}

.nav {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* Inspiration Page Styles */
.inspiration-page .page-hero {
  margin-bottom: 4rem;
}

/* Mood Board Section */
.mood-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 8rem;
}

.mood-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.mood-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.mood-item.tall {
  grid-row: span 2;
  aspect-ratio: 9/16;
}

.mood-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Curated By Section */
.curated-by {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 8rem;
}

.curated-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.curated-media {
  aspect-ratio: 4/5;
  background: var(--accent-soft);
  border-radius: 0.5rem;
  overflow: hidden;
}

.curated-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curated-copy h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.curated-copy p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Tiled Gallery Section */
.tiled-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 8rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.25rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 900px) {

  .curated-by,
  .tiled-gallery {
    grid-template-columns: 1fr;
  }

  .mood-board {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .mood-item.wide {
    grid-column: auto;
    aspect-ratio: 1;
  }
}

.brand-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 0.35rem;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

main {
  padding: 2.5rem 0 1.5rem;
}

.section,
.contact {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 0.5rem;
}

.hero {
  max-width: 1120px;
  margin: 0 0 4rem 0;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4.5rem;
  padding: 0;
  align-items: center;
  min-height: calc(100vh - 76px - 6rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  align-self: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

.lead {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
}

.hero-media {
  margin: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.hero-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.hero-media img.active {
  opacity: 1;
  z-index: 1;
}

.hero-media figcaption {
  display: none;
}

.about {
  min-height: auto;
  display: grid;
  gap: 1.25rem;
  padding: 80px 0 0;
}

.about .section-heading {
  margin-bottom: 0.5rem;
}

.projects {
  margin-top: 80px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 1.5rem;
  width: 100%;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--surface-strong);
  opacity: 0;
  transform: translateY(30px);
  transition:
    transform 0.8s cubic-bezier(0.2, 1, 0.3, 1),
    opacity 0.8s ease;
}

.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.project-card-portrait img {
  aspect-ratio: 3/4;
  object-position: center top;
}

@media (min-width: 901px) {
  .home-page .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-rows: unset;
    grid-auto-flow: dense;
    aspect-ratio: 1;
  }

  .home-page .project-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-page .project-card-wide {
    grid-column: span 2;
  }

  .home-page .project-card-portrait {
    grid-row: span 2;
  }
}

.projects .section-heading {
  position: static;
  padding: 0 0 0.75rem;
  background: transparent;
  backdrop-filter: none;
}

.home-page .projects .section-heading h2 {
  max-width: none;
  white-space: nowrap;
}

.project-detail-media {
  max-width: none;
}

.project-detail-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.text-link {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.section,
.contact {
  margin-top: 1.5rem;
  padding: 2.5rem 3rem;
}

.services-page .section,
.services-page .contact {
  display: grid;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  min-height: auto;
}

.services-page .page-hero {
  padding-top: 0;
  margin-top: 0;
  min-height: calc(100vh - 76px - 3.5rem);
  align-content: center;
}

.services-page .service-section {
  min-height: 80vh;
  align-content: center;
}

.services-page .card {
  background: rgba(255, 255, 255, 0.5);
}

.process-page .section,
.process-page .contact {
  display: grid;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  min-height: auto;
}

.process-page .page-hero {
  padding-top: 2rem;
  margin-top: 0;
  min-height: auto;
  align-content: start;
  padding-bottom: 0;
}

.process-page .section-heading {
  margin-bottom: 0.5rem;
}

.process-page .lead {
  margin: 0;
}

.process-page .process-section {
  min-height: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.process-page .process-section:last-of-type {
  padding-bottom: 5rem;
}

.process-page .process-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.process-page .process-detail {
  display: none;
}

.process-page .card {
  background: rgba(255, 255, 255, 0.5);
}

.contact-page .section,
.contact-page .contact {
  display: grid;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  min-height: auto;
}

.contact-page .page-hero {
  padding-top: 2rem;
  margin-top: 0;
  min-height: auto;
  align-content: start;
}

.contact-page .contact-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 4rem;
  align-items: start;
}

.contact-page .contact-intro {
  max-width: 56ch;
}

.contact-page .contact-intro .lead {
  margin-top: 1.25rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-details p {
  margin: 0;
}

.contact-details .panel-label {
  margin-bottom: 0.45rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-self: start;
  padding-top: 2.25rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.18);
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 0.2rem 0 0.85rem;
  font: inherit;
  font-family: 'Inter', sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(28, 26, 23, 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(28, 26, 23, 0.55);
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.16);
}

.contact-actions {
  grid-column: 1 / -1;
  display: grid;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.mini-footer {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 0;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.mini-footer p {
  margin: 0;
}

.home-page .mini-footer {
  padding-top: 80px;
}

/* Typography Comparison CSS Removed */

.section-heading {
  margin-bottom: 1.75rem;
}

.page-hero {
  margin-top: 1.5rem;
}

.panel-label {
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
}

.section-heading h2,
.contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  max-width: 15ch;
  margin-top: 0;
  margin-bottom: 0;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.service-intro-copy {
  max-width: 58ch;
}

.service-intro-copy p+p {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.service-intro-note {
  justify-self: end;
  max-width: 34ch;
  padding: 1.4rem;
  border-radius: 0.5rem;
  background: var(--surface-strong);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.service-intro-note p:last-child {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr);
  margin-bottom: 2rem;
}

.process-intro-copy {
  max-width: 58ch;
}

.process-intro-copy p+p {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.about .section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
  max-width: 20ch;
}

.about-copy {
  max-width: 60ch;
}

.about-copy p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted);
}

.about-copy p+p {
  margin-top: 1.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid {
  align-items: stretch;
}

.service-stack {
  display: grid;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.service-copy {
  max-width: 52ch;
}

.service-copy h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
}

.service-copy p:last-child,
.service-detail p:last-child {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.service-detail {
  justify-self: center;
  max-width: 34ch;
  padding: 1.4rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.process-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.process-copy {
  max-width: 52ch;
}

.process-copy h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
}

.process-copy p:last-child,
.process-detail p:last-child {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.process-detail {
  justify-self: center;
  max-width: 34ch;
  padding: 1.4rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.card {
  padding: 1.4rem;
  border-radius: 0.5rem;
  background: var(--surface-strong);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.service-card {
  display: grid;
  gap: 0.4rem;
}

.card h3,
.steps h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p,
.steps p {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.steps span {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-top: 0.2rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 900px) {

  .hero,
  .about-grid,
  .split,
  .card-grid,
  .contact {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding: 0;
    min-height: auto;
    transform: none;
    gap: 2rem;
    margin-bottom: 72px;
  }

  .hero-media {
    align-self: start;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .section,
  .contact {
    padding: 2rem;
  }

  .services-page .section,
  .services-page .contact {
    display: grid;
    min-height: auto;
  }

  .services-page .service-section {
    min-height: auto;
  }

  .process-page .section,
  .process-page .contact {
    display: grid;
    min-height: auto;
  }

  .process-page .page-hero {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .process-page .section-heading {
    margin-bottom: 0.25rem;
  }

  .process-page h1 {
    margin-bottom: 0.5rem;
  }

  .process-page .process-section {
    min-height: auto;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .process-detail {
    justify-self: start;
    max-width: none;
  }

  .contact-page .section,
  .contact-page .contact {
    display: grid;
    min-height: auto;
  }

  .contact-page .page-hero {
    min-height: auto;
    padding-top: 0.5rem;
  }

  .contact-page .contact-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .services-page .page-hero {
    margin-top: 0;
  }

  .services-page .service-intro {
    grid-template-columns: 1fr;
  }

  .service-intro {
    grid-template-columns: 1fr;
  }

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .service-detail {
    justify-self: start;
    max-width: none;
  }

  .services-page .section:first-of-type {
    margin-top: 0;
  }

  .projects {
    margin-top: 72px;
  }

  .projects .section-heading {
    position: static;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .project-row,
  .project-row.reverse {
    grid-template-columns: 1fr;
  }

  .project-row+.project-row {
    margin-top: 192px;
  }

  .project-media {
    max-width: none;
    justify-self: stretch;
  }

  .project-row.reverse .project-media,
  .project-row.reverse .project-copy {
    order: initial;
  }

  .mini-footer {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0 0;
  }

  .mini-footer p:last-child {
    display: none;
  }

  .contact-page .mini-footer p:last-child {
    display: block;
  }

  .contact {
    justify-items: start;
  }
}

@media (min-width: 1600px) {
  .nav-links {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.9375rem;
  }

  .process-page h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }

  .process-page .lead {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 36ch;
    margin-bottom: 0.5rem;
  }

  .brand-wordmark {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  main {
    padding-top: 2rem;
  }

  .hero {
    padding: 0;
    min-height: auto;
    transform: none;
    gap: 1.5rem;
    margin-bottom: 48px;
  }

  .hero-media {
    align-self: start;
  }

  .hero-media {
    padding: 0;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .about {
    gap: 1.5rem;
    padding: 48px 0 0;
  }

  .projects {
    margin-top: 56px;
  }

  .project-grid {
    gap: 1rem;
  }

  .home-page .projects .section-heading h2 {
    white-space: normal;
  }

}

@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 0 1rem 1.25rem;
    background: rgba(251, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 45px rgba(28, 26, 23, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    pointer-events: none;
    flex: 0 0 auto;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 0;
    text-align: right;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (min-width: 641px) {
  .process-page .mini-footer {
    flex-direction: row;
    align-items: center;
  }

  .process-page .mini-footer p:last-child {
    display: block;
  }

  .process-page h1 {
    font-size: 4.8rem;
    line-height: 0.85;
    letter-spacing: -0.04em;
  }

  .process-page .lead {
    font-size: 1.15rem;
    line-height: 1.5;
    max-width: 52ch;
    margin-bottom: 0.5rem;
  }

  .process-page .process-copy h3 {
    font-size: 2rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .home-page .hero {
    width: 100%;
    max-width: none;
    justify-items: stretch;
  }

  .home-page .hero-copy,
  .home-page .hero .lead {
    width: 100%;
    max-width: 52ch;
  }

  .home-page .hero-copy {
    max-width: none;
  }

  .home-page .hero h1 {
    font-size: 4.8rem;
    width: 100%;
    max-width: none;
  }

  .home-page .about {
    gap: 1.25rem;
  }

  .home-page .about .section-heading {
    margin-bottom: 0;
  }

  .home-page .about .section-heading h2 {
    max-width: 34ch;
  }

  .home-page .about-copy {
    max-width: 58ch;
  }

  .home-page .projects .section-heading h2 {
    max-width: none;
  }

  .home-page .project-grid {
    gap: 1rem;
  }

  .contact-page .section,
  .contact-page .mini-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .contact-page .contact-details {
    margin-top: 2rem;
  }

  .contact-page .contact-intro {
    width: 100%;
    max-width: none;
  }

  .contact-page h1 {
    max-width: none;
  }

  .process-page .section,
  .process-page .mini-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 901px) and (max-width: 1440px) {
  .home-page .hero,
  .home-page .about,
  .home-page .projects,
  .home-page .mini-footer {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .process-page .section,
  .contact-page .section,
  .contact-page .mini-footer,
  .process-page .mini-footer {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Horizontal Scroll Section */
.horizontal-scroll-section {
  position: relative;
  height: 400vh;
  margin-bottom: 8rem;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  gap: 4rem;
  padding: 0 10vw;
  will-change: transform;
}

.horizontal-item {
  flex: 0 0 70vw;
  height: 70vh;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.horizontal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horizontal-item h3 {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
  font-size: 2rem;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
}

.horizontal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}

@media (max-width: 900px) {
  .horizontal-scroll-section {
    height: auto;
  }

  .sticky-wrapper {
    position: static;
    height: auto;
    overflow: visible;
  }

  .horizontal-track {
    flex-direction: column;
    width: 100% !important;
    transform: none !important;
    padding: 2rem;
  }

  .horizontal-item {
    flex: 1 1 auto;
    width: 100%;
    height: 60vh;
    margin-bottom: 2rem;
  }
}

/* Interactive Gallery (Option 05) - Floating Overlay Version */
.interactive-gallery {
  position: relative;
  width: 100%;
  margin-bottom: 8rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-strong);
}

.main-view::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.2), transparent);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.interactive-gallery:hover .main-view::after {
  opacity: 1;
}

.main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.thumb-stack {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.interactive-gallery:hover .thumb-stack {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.thumb-item {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.25rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumb-item:hover {
  transform: scale(1.05);
}

.thumb-item.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .thumb-stack {
    top: auto;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    height: 80px;
    flex-direction: row;
  }

  .thumb-item {
    width: 60px;
    flex-shrink: 0;
  }
}
