/* ProLab-style portfolio — shared styles (work page + project pages) */

:root {
  --bg: #141517;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.7);
  --placeholder: #1c1d20;
  --gutter: 16px;
  --grid-gap: 10px;
  --container: 1632px; /* 1600px of text content + 16px gutter each side */
  --font: "Inter", "Inter Placeholder", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.3, 0.1, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;              /* dark scrollbars and form controls */
  scrollbar-color: #3a3b3f var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dt, dd { margin: 0; font-weight: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---------- Header (fixed overlay, transparent) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5px var(--gutter) 0;
  pointer-events: none;
}

.site-header a,
.site-header button { pointer-events: auto; }

.site-title {
  display: block;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.site-title .word { display: inline-block; }

/* Tagline shown once scrolled (desktop only) */
.site-tagline {
  display: none;
  flex-direction: column;
  gap: 20px;
  font-size: 42px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.03em;
  transform-origin: top left;
}

.site-header.is-scrolled .site-title { display: none; }
.site-header.is-scrolled .site-tagline {
  display: flex;
  animation: tagline-expand 0.55s var(--ease-out) both;
}

@keyframes tagline-expand {
  from { transform: scaleY(0.49); }
  to   { transform: scaleY(1); }
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 15px;
  display: flex;
  gap: 10px;
}

.site-nav a,
.site-contact,
.menu-toggle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-contact:hover,
.site-footer a:hover { opacity: 0.6; }

.site-contact {
  position: absolute;
  right: var(--gutter);
  top: 15px;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  cursor: pointer;
}

/* ---------- Load-in: header words stagger up ---------- */

.word {
  opacity: 0;
  transform: translateY(10px);
}

body.is-loaded .word {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(0.1s + var(--i, 0) * 0.1s);
}

/* ---------- Appear on scroll ---------- */

[data-appear] {
  opacity: 0;
  transform: translateY(60px);
  will-change: transform, opacity;
}

[data-appear].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out);
}

/* ---------- Mobile menu overlay ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--bg);
  padding: 134px var(--gutter) 0;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-menu a {
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---------- Project cards (shared) ---------- */

.card { display: block; }

.card-media {
  aspect-ratio: 699 / 482;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--placeholder);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title,
.card-meta {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card-meta { color: var(--fg-muted); }

/* ---------- Homepage: full-viewport hero with overlaid text ---------- */

.home { padding-top: 0; }

.home-hero {
  position: sticky;      /* stays put while the content below slides over it */
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--placeholder);
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 22px;
}

.home-hero-text {
  max-width: 725px;
  font-size: 40px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.03em;
}

/* Everything after the hero scrolls up over it */
.home-content {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding-top: 80px;
}

.home-content > .carousel:first-child { margin-top: 0; }

.home-hero-scroll {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ---------- Work page: overview grid ---------- */

main { padding-top: 150px; }

.work {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 60px;
}

.work-grid li:nth-child(even).is-visible { transition-delay: 0.04s; }

/* ---------- Homepage: carousel ---------- */

.carousel {
  max-width: var(--container);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.carousel-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.carousel-count { color: var(--fg-muted); font-weight: 400; }

.carousel-nav { display: flex; gap: 8px; }

.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: none;
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover { background: rgba(255, 255, 255, 0.1); }
.carousel-btn.is-end { opacity: 0.3; }

.carousel-track {
  display: flex;
  column-gap: var(--grid-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 calc((100% - 2 * var(--grid-gap)) / 3);
  scroll-snap-align: start;
}

/* ---------- Homepage: about statement, revealed character by character on scroll ---------- */

.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: 200px var(--gutter) 160px;
}

.about-text {
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-text .word {
  display: inline-block;
  white-space: nowrap;
  opacity: 1;            /* overrides the header load-in rule for .word */
  transform: none;
}

.about-text .char {
  display: inline-block;
  opacity: 0.1;
}

/* ---------- Homepage: film (YouTube) ---------- */

.film.carousel { margin-top: 0; }

.film .section-head { margin-bottom: 25px; }

.film-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}

.film-intro {
  max-width: 725px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
}

.film-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--placeholder);
}

.film-poster {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  cursor: pointer;
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.film-poster:hover img { transform: scale(1.03); }

.film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 21, 23, 0.7);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}

.film-play svg { margin-left: 3px; }

.film-poster:hover .film-play { background: rgba(20, 21, 23, 0.9); }

.film-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-item .card-title a:hover { opacity: 0.6; }

.film-more {
  margin-top: 60px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.film-more a { transition: opacity 0.2s ease; }
.film-more a:hover { opacity: 0.6; }

/* ---------- Contact page ---------- */

.contact {
  max-width: var(--container);
  margin: 0 auto;
  padding: 200px var(--gutter) 180px;
}

.contact-intro {
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-section { margin-top: 160px; }

.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.contact-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.contact-eyebrow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.contact-form { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Fill-in-the-sentence fields. The label is an inline grid whose ::after
   mirrors the typed text (data-value) so the input grows with its content. */
.form-sentence {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--fg-muted);
}

.form-sentence + .form-sentence { margin-top: 24px; }

.blank {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
  max-width: 100%;
  margin: 0 0.05em;
  padding: 0 0.12em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--fg);
  cursor: text;
  transition: border-color 0.3s ease;
}

.blank::after {
  content: attr(data-value) " ";
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: pre;
  pointer-events: none;
}

.blank::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blank:focus-within::before { transform: scaleX(1); }
.blank:hover { border-color: rgba(255, 255, 255, 0.6); }

.blank-group { white-space: nowrap; }
.blank-group .blank { max-width: calc(100% - 0.5em); }

.blank input,
.blank textarea {
  grid-area: 1 / 1;
  display: block;
  width: 0;
  min-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  caret-color: var(--fg);
  outline: none;
  resize: none;
  overflow: hidden;
}

.blank input::placeholder,
.blank textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.3s ease;
}

.blank:focus-within input::placeholder,
.blank:focus-within textarea::placeholder { color: rgba(255, 255, 255, 0.18); }

.blank--message {
  display: grid;
  width: 100%;
  margin: 0.1em 0 0;
}

.blank--message::after { white-space: pre-wrap; overflow-wrap: anywhere; }

.blank:has(:user-invalid) { border-color: #ff6b6b; }
.blank:has(:user-invalid)::before { background: #ff6b6b; }

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
  margin-top: 72px;
}

.form-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  margin: 0;
  padding: 0 10px 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s ease, color 0.35s ease, transform 0.2s ease;
}

.form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  transform: translate3d(-101%, 0, 0);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.form-submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.form-submit-arrow svg {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.form-submit:hover,
.form-submit:focus-visible { color: var(--bg); border-color: var(--fg); outline: none; }
.form-submit:hover::before,
.form-submit:focus-visible::before { transform: translate3d(0, 0, 0); }
.form-submit:hover .form-submit-arrow,
.form-submit:focus-visible .form-submit-arrow { background: var(--bg); color: var(--fg); }
.form-submit:hover .form-submit-arrow svg { transform: translateX(3px); }
.form-submit:active { transform: scale(0.97); }
.form-submit:disabled { opacity: 0.5; cursor: default; }

.form-foot-text { display: flex; flex-direction: column; gap: 6px; }

.form-status {
  min-height: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--fg-muted);
}

.form-status:empty { display: none; }
.form-status.is-error { color: #ff6b6b; }
.form-status.is-success { color: var(--fg); }

.contact-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
}

.contact-note a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.contact-note a:hover { opacity: 0.6; }

/* ---------- Floating "Get in touch" badge ---------- */

.touch-badge {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--fg);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.6s ease 0.8s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s;
}

body.is-loaded .touch-badge { opacity: 1; transform: none; }

.touch-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(20, 21, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.touch-badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: touch-spin 14s linear infinite;
}

.touch-badge-ring text {
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: currentColor;
}

.touch-badge-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.4s ease, color 0.4s ease;
}

.touch-badge-core svg { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }

.touch-badge:hover::before,
.touch-badge:focus-visible::before { background: var(--fg); border-color: var(--fg); transform: scale(1.06); }
.touch-badge:hover,
.touch-badge:focus-visible { color: var(--bg); outline: none; }
.touch-badge:hover .touch-badge-ring,
.touch-badge:focus-visible .touch-badge-ring { animation-duration: 5s; }
.touch-badge:hover .touch-badge-core,
.touch-badge:focus-visible .touch-badge-core { background: var(--bg); color: var(--fg); transform: scale(1.1); }
.touch-badge:hover .touch-badge-core svg { transform: translate(2px, -2px); }
.touch-badge:active .touch-badge-core { transform: scale(0.95); }

@keyframes touch-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Project page ---------- */

.project { padding-top: 0; }

.project-hero {
  height: clamp(300px, 52vw, 750px);
  overflow: hidden;
  background: var(--placeholder);
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 35px var(--gutter) 0;
}

.project-title {
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-details dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.project-details dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--grid-gap);
}

.project-details dt { color: var(--fg-muted); }

.project-text {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-details .project-text { margin-top: 70px; }

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  padding: 0 var(--gutter);
  margin-top: 70px;
}

.media {
  overflow: hidden;
  background: var(--placeholder);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 1408 / 844; }
.media--tall { aspect-ratio: 699 / 966; }

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--grid-gap);
  align-items: start;
}

.media-row--reverse .project-text { order: -1; }

.next-projects {
  padding: 0 var(--gutter);
  margin-top: 190px;
}

.section-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

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

/* ---------- Footer ---------- */

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 0;
}

.footer-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col--social {
  position: absolute;
  right: 0;
  top: 0;
}

.footer-heading {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
  padding: 1px 0;
  transition: opacity 0.2s ease;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 136px;
  padding-bottom: 4px;
}

.wordmark h2 {
  font-size: min(8.6vw, 138px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.copyright {
  font-size: 14px;
  line-height: 1.2;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

/* ---------- Tablet (< 1200px) ---------- */

@media (max-width: 1199px) {
  .site-header { padding-top: 8px; }

  .site-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  /* No tagline swap below desktop */
  .site-header.is-scrolled .site-title { display: block; }
  .site-header.is-scrolled .site-tagline { display: none; }

  .site-nav, .site-contact { display: none; }
  .menu-toggle { display: block; }

  .section-head h2,
  .project-title,
  .contact-intro { font-size: 48px; }
  .form-sentence { font-size: 36px; }

  .contact { padding-top: 150px; }
  .contact-section { margin-top: 120px; }

  .about { padding: 140px var(--gutter) 120px; }
  .about-text { font-size: 56px; }

  .carousel-item { flex-basis: calc((100% - var(--grid-gap)) / 2); }
}

/* ---------- Phone (< 810px) ---------- */

@media (max-width: 809px) {
  main { padding-top: 100px; }
  .project, .home { padding-top: 0; }

  .section-head h2 { font-size: 40px; }

  .work-grid { grid-template-columns: minmax(0, 1fr); }

  .home-hero { min-height: 0; }
  .home-hero-inner { padding: 0 var(--gutter) 20px; }
  .home-hero-text {
    font-size: 26px;
    line-height: 1.1;
  }
  .home-hero-scroll { display: none; }

  .film-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }

  .about { padding: 100px var(--gutter) 80px; }
  .about-text { font-size: 40px; }

  .carousel { margin-top: 60px; }
  .home-content { padding-top: 60px; }
  .carousel-item { flex-basis: 85%; }

  .project-intro {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 60px;
  }

  .project-title { font-size: 40px; }

  .contact { padding: 100px var(--gutter) 100px; }
  .contact-intro { font-size: 40px; }
  .contact-section { margin-top: 80px; }
  .contact-eyebrow { margin-bottom: 32px; }
  .form-sentence { font-size: 26px; line-height: 1.4; letter-spacing: -0.02em; }
  .form-foot { margin-top: 48px; gap: 24px; }
  .touch-badge { right: 16px; bottom: 16px; width: 88px; height: 88px; }
  .touch-badge-ring text { font-size: 11.5px; letter-spacing: 0.18em; }
  .touch-badge-core { width: 36px; height: 36px; }
  .touch-badge-core svg { width: 18px; height: 18px; }
  .form-submit { width: 100%; justify-content: space-between; }
  .project-details { margin-top: 55px; }
  .project-text { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }

  .project-gallery { gap: 16px; margin-top: 66px; }
  .media--wide, .media--tall { aspect-ratio: auto; height: 300px; }
  .media-row { grid-template-columns: minmax(0, 1fr); row-gap: 50px; }
  .media-row .project-text { margin-bottom: 40px; }
  .media-row--reverse .project-text { order: 0; }

  .next-projects { margin-top: 120px; }
  .next-grid { grid-template-columns: minmax(0, 1fr); row-gap: 60px; }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer-col--social {
    position: static;
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    margin-top: 116px;
    padding-bottom: 16px;
  }

  .copyright { margin-bottom: 18px; }

  .wordmark h2 { font-size: 15.5vw; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .word,
  [data-appear] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .blank::before,
  .form-submit::before,
  .form-submit-arrow svg { transition: none; }
  .touch-badge { opacity: 1; transform: none; transition: none; }
  .touch-badge-ring { animation: none; }

  .site-header.is-scrolled .site-tagline { animation: none; }
  .carousel-track { scroll-behavior: auto; }
  .about-text .char { opacity: 1 !important; }
}
