:root {
  --ink: #10110f;
  --paper: #f0e9dc;
  --paper-muted: rgba(240, 233, 220, 0.64);
  --line: rgba(240, 233, 220, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --wordmark: "Italiana", serif;
  --sans: "Manrope", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
::selection { background: var(--paper); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.35rem clamp(1.25rem, 2.8vw, 2.75rem);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: padding 300ms ease, background-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header::after {
  position: absolute;
  right: clamp(1.25rem, 2.8vw, 2.75rem);
  bottom: 0;
  left: clamp(1.25rem, 2.8vw, 2.75rem);
  height: 1px;
  content: "";
  background: rgba(240, 233, 220, 0.25);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 400ms ease;
}

.has-scrolled .site-header {
  padding-block: 0.95rem;
  background: rgba(16, 17, 15, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.has-scrolled .site-header::after { transform: scaleX(1); }
.nav-work { justify-self: start; }

.wordmark {
  justify-self: center;
  line-height: 0;
}

.horizon-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-family: var(--wordmark);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

.horizon-o {
  display: inline-block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 48%, transparent 48% 52%, #000 52% 100%);
  mask-image: linear-gradient(to bottom, #000 0 48%, transparent 48% 52%, #000 52% 100%);
}

.horizon-post { margin-left: 0.28em; }
.horizon-wordmark--nav { font-size: clamp(1.12rem, 1.5vw, 1.45rem); }
.horizon-wordmark--hero { font-size: clamp(3.7rem, 7.4vw, 7.35rem); }

.nav-links {
  display: flex;
  justify-self: end;
  gap: clamp(1.4rem, 2.5vw, 3rem);
}

.site-header a,
.contact-meta a { position: relative; }

.site-header a::after,
.contact-meta a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.site-header a:hover::after,
.site-header a:focus-visible::after,
.contact-meta a:hover::after,
.contact-meta a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.reel,
.hero-wash { position: absolute; inset: 0; }

.reel { background: var(--ink); }

.reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.45) 0%, rgba(5, 6, 5, 0.02) 30%, rgba(5, 6, 5, 0.06) 64%, rgba(5, 6, 5, 0.62) 100%),
    linear-gradient(90deg, rgba(5, 6, 5, 0.14), transparent 45%, rgba(5, 6, 5, 0.12));
}

.hero-ident {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  pointer-events: none;
  text-align: center;
  animation: ident-fade 10s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.hero-ident h1 {
  margin: 0;
  line-height: 0;
}

.hero-ident p {
  margin: 1.35rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-meta {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  align-self: end;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 2.8vw, 2.75rem) 1.45rem;
  color: rgba(240, 233, 220, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-meta > span:last-child { justify-self: end; }

.reel-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.55rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.reel-toggle-icon {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}

.reel-toggle[aria-pressed="true"] .reel-toggle-icon { background: transparent; }

.work {
  position: relative;
  isolation: isolate;
}

.work-backdrop {
  position: sticky;
  z-index: 0;
  top: 0;
  display: grid;
  height: 100svh;
  margin-bottom: -100svh;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  opacity: 0.09;
  pointer-events: none;
}

.js .work-backdrop {
  opacity: var(--work-backdrop-opacity, 0);
  will-change: opacity;
}

.work-content {
  position: relative;
  z-index: 1;
  padding: clamp(8rem, 13vw, 13rem) clamp(1.25rem, 2.8vw, 2.75rem) clamp(10rem, 17vw, 17rem);
}

.work-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: clamp(6rem, 11vw, 11rem);
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-intro h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3.5vw, 4rem);
  row-gap: clamp(1rem, 2vw, 2.25rem);
  align-items: start;
}

.project-card { min-width: 0; }

.project-page .site-header { background: var(--ink); }
.project-page .site-header::after { transform: scaleX(1); }
.project-detail {
  max-width: 1680px;
  margin-inline: auto;
  padding: 7rem clamp(1.25rem, 2.8vw, 2.75rem) 4rem;
}
.project-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--paper-muted);
}
.project-back:hover { color: var(--paper); }
.project-player,
.project-detail-info {
  width: min(85%, 114.844svh);
  margin-inline: auto;
}
.project-player {
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.project-detail-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding-top: 0.625rem;
}
.project-detail-info h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 2.6rem);
  font-weight: 400;
}
.project-detail-info p { margin: 0; font-size: 0.875rem; color: var(--paper-muted); }

.project-resizes {
  width: min(85%, 114.844svh);
  margin: clamp(2.5rem, 5vw, 5rem) auto 0;
}
.project-resizes h2 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--paper-muted);
  margin: 0 0 1.25rem;
}
.project-resize-grid {
  display: grid;
  grid-template-columns: 64fr 45fr;
  gap: clamp(2rem, 10vw, 10rem);
  max-width: 888px;
  margin-inline: auto;
  align-items: start;
}
.project-resize-grid figure { min-width: 0; margin: 0; }
.project-resize-grid video { display: block; width: 100%; height: auto; object-fit: contain; background: #000; }
.project-resize--4x5 { aspect-ratio: 4 / 5; }
.project-resize--9x16 { aspect-ratio: 9 / 16; }
.project-resize--1x1 { aspect-ratio: 1; }
.project-resize-grid--three {
  grid-template-columns: 80fr 64fr 45fr;
  max-width: none;
  gap: clamp(2rem, 6vw, 6rem);
}
@media (max-width: 600px) {
  .project-resize-grid--three {
    grid-template-columns: 200px 160px 112.5px;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
}
.project-resize-grid figcaption { margin-top: 0.625rem; font-size: 0.875rem; color: var(--paper-muted); }

.js .project-card {
  opacity: 0;
  transform: translate3d(0, var(--work-spread, 0px), 0);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .project-card.is-visible { opacity: 1; }
.project-card--01 { grid-column: 1 / span 7; }
.project-card--02 { grid-column: 9 / span 4; margin-top: clamp(3rem, 6vw, 6rem); }
.project-card--03 { grid-column: 2 / span 4; }
.project-card--04 { grid-column: 7 / span 6; margin-top: clamp(1.5rem, 3vw, 3rem); }
.project-card--05 { grid-column: 1 / span 5; margin-top: clamp(2rem, 4vw, 4rem); }
.project-card--06 { grid-column: 8 / span 4; }
.project-card--07 { grid-column: 1 / span 7; }
.project-card--08 { grid-column: 8 / span 5; margin-top: clamp(3rem, 6vw, 6rem); }
.project-card--09 { grid-column: 1 / span 4; margin-top: clamp(1.5rem, 3vw, 3rem); }
.project-card--10 { grid-column: 6 / span 7; }

.project-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #070807;
  isolation: isolate;
}

.project-card--01 .project-frame,
.project-card--04 .project-frame,
.project-card--07 .project-frame { aspect-ratio: 16 / 10; }

.project-card--02 .project-frame,
.project-card--06 .project-frame,
.project-card--08 .project-frame,
.project-card--03 .project-frame,
.project-card--09 .project-frame { aspect-ratio: 1 / 1; }

.project-card--05 .project-frame { aspect-ratio: 5 / 4; }
.project-card--10 .project-frame { aspect-ratio: 16 / 9; }

.project-frame img,
.project-shade,
.project-title { position: absolute; inset: 0; }

.project-frame img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 950ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.project-card--02 img,
.project-card--08 img { object-position: 62% center; }

.project-card--03 img,
.project-card--06 img,
.project-card--09 img { object-position: center 42%; }

.project-shade {
  z-index: 1;
  background: rgba(8, 9, 8, 0.52);
  opacity: 0;
  transition: opacity 460ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-title {
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-items: center;
  padding: 1.5rem;
  opacity: 0;
  text-align: center;
  transform: translateY(0.75rem);
  transition: opacity 460ms cubic-bezier(0.4, 0, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.project-title strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.project-card--02 .project-title strong,
.project-card--03 .project-title strong,
.project-card--06 .project-title strong,
.project-card--08 .project-title strong,
.project-card--09 .project-title strong { font-size: clamp(1.8rem, 3.6vw, 3.8rem); }

.project-title span,
.project-edge {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-title span { margin-top: 1rem; }

.project-edge {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  color: rgba(240, 233, 220, 0.74);
  transition: opacity 320ms ease;
}

.project-edge--number { left: 1rem; }
.project-edge--service { right: 1rem; }
.project-frame:hover img,
.project-frame:focus-visible img { transform: scale(1.055); }

.project-frame:hover .project-shade,
.project-frame:hover .project-title,
.project-frame:focus-visible .project-shade,
.project-frame:focus-visible .project-title { opacity: 1; }

.project-frame:hover .project-title,
.project-frame:focus-visible .project-title { transform: translateY(0); }

.project-frame:hover .project-edge,
.project-frame:focus-visible .project-edge { opacity: 0; }

.project-frame:focus-visible,
.contact-link:focus-visible,
.site-header a:focus-visible,
.reel-toggle:focus-visible { outline: 1px solid var(--paper); outline-offset: 5px; }

.studio {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(20rem, 2fr);
  gap: 3rem;
  padding: clamp(8rem, 15vw, 15rem) clamp(1.25rem, 2.8vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-label > p:last-child {
  margin: clamp(3rem, 8vw, 7rem) 0 0;
  color: var(--paper-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: uppercase;
}

.studio h2,
.section-head h2,
.contact-link {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.studio h2 { max-width: 13ch; font-size: clamp(3.2rem, 7vw, 7.75rem); }

.studio-copy > p {
  max-width: 42rem;
  margin: clamp(3rem, 7vw, 6rem) 0 0 auto;
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.services { padding-bottom: clamp(8rem, 14vw, 14rem); }

.section-head {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(18rem, 2fr);
  gap: 3rem;
  align-items: end;
  padding: clamp(8rem, 13vw, 13rem) clamp(1.25rem, 2.8vw, 2.75rem) clamp(4rem, 8vw, 7rem);
}

.section-head--compact { border-top: 1px solid var(--line); }
.section-head h2 { max-width: 12ch; font-size: clamp(3rem, 7vw, 7.5rem); }
.service-list { padding-inline: clamp(1.25rem, 2.8vw, 2.75rem); }

.service-row {
  display: grid;
  grid-template-columns: 3rem minmax(9rem, 1fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: baseline;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row > span { color: var(--paper-muted); font-size: 0.75rem; }

.service-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.service-row p {
  max-width: 28rem;
  margin: 0;
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.75vw, 1.5rem);
  line-height: 1.4;
}

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92svh;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 2.8vw, 2.75rem) 1.75rem;
  background: var(--paper);
  color: var(--ink);
}

.contact > :not(.contact-lighthouse) {
  position: relative;
  z-index: 1;
}

.contact-lighthouse {
  position: absolute;
  z-index: 0;
  right: auto;
  left: clamp(1.25rem, 3vw, 3.5rem);
  top: calc(clamp(5rem, 8vw, 8rem) + 1.5rem);
  bottom: auto;
  width: clamp(20rem, 24vw, 30rem);
  height: auto;
  max-width: none;
  opacity: 0.14;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
  user-select: none;
  transform: none;
}

.contact .eyebrow { color: rgba(17, 18, 16, 0.58); }

.contact-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-top: clamp(7rem, 16vw, 16rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid rgba(17, 18, 16, 0.32);
  font-size: clamp(3.5rem, 9vw, 9rem);
  transition: opacity 220ms ease;
}

.contact-link:hover,
.contact-link:focus-visible { opacity: 0.58; }

.contact-arrow {
  font-family: var(--sans);
  font-size: 0.6em;
  font-weight: 400;
  transform: translateY(-0.05em);
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-meta a { width: fit-content; }

@keyframes ident-fade {
  0%, 10% { opacity: 1; }
  100% { visibility: hidden; opacity: 0; }
}

@media (max-width: 800px) {
  .site-header { padding: 1.1rem 1.25rem; }
  .site-header::after { right: 1.25rem; left: 1.25rem; }
  .nav-links { gap: 1.1rem; }
  .horizon-wordmark--hero { font-size: clamp(2.75rem, 11.7vw, 5rem); }

  .hero-meta {
    grid-template-columns: 1fr auto;
    padding: 0 1.25rem 1.25rem;
  }

  .hero-meta > span:last-child { display: none; }
  .reel-toggle { justify-self: end; }
  .work-content { padding: 7rem 1.25rem 9rem; }
  .work-intro { padding-bottom: 6rem; }

  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .project-card { width: 86%; margin: 0; }
  .project-card:nth-child(even) { align-self: flex-end; }
  .project-card:nth-child(3n) { width: 72%; }

  .project-card--01,
  .project-card--04,
  .project-card--07,
  .project-card--10 { width: 100%; }

  .project-title strong,
  .project-card--02 .project-title strong,
  .project-card--03 .project-title strong,
  .project-card--06 .project-title strong,
  .project-card--08 .project-title strong,
  .project-card--09 .project-title strong { font-size: clamp(2rem, 10.5vw, 3.6rem); }

  .studio,
  .section-head { grid-template-columns: 1fr; gap: 3.75rem; }

  .studio { padding: 8rem 1.25rem; }
  .studio-label > p:last-child { margin-top: 2rem; }
  .studio h2 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .studio-copy > p { margin-top: 3rem; font-size: 1.35rem; }
  .section-head { padding: 8rem 1.25rem 4rem; }
  .section-head h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .service-list { padding-inline: 1.25rem; }

  .service-row {
    grid-template-columns: 2.25rem 1fr;
    gap: 1rem;
  }

  .service-row p { grid-column: 2; margin-top: -0.25rem; }

  .contact {
    min-height: 82svh;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .contact-lighthouse {
    right: auto;
    left: 1rem;
    top: 6.25rem;
    bottom: auto;
    width: min(68vw, 18rem);
    height: auto;
    opacity: 0.12;
    transform: none;
  }

  .contact-link {
    gap: 1rem;
    margin-top: 8rem;
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .contact-meta { grid-template-columns: 1fr; gap: 0.8rem; }
}

@media (max-width: 430px) {
  .site-header { font-size: 0.7rem; }
  .horizon-wordmark--nav { font-size: 0.95rem; }
  .nav-links a:first-child { display: none; }
  .hero-meta { font-size: 0.7rem; }

  .reel-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .work-intro span { max-width: 9rem; text-align: right; }
  .project-edge--service { display: none; }
}

@media (hover: none) {
  .project-shade { background: rgba(8, 9, 8, 0.34); opacity: 1; }
  .project-title { opacity: 1; transform: none; }
  .project-edge { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-ident {
    visibility: visible;
    opacity: 1;
    animation: none;
  }

  .js .project-card { opacity: 1; transform: none; }
}

/* Personal identity, retaining the established wordmark typeface. */
.horizon-wordmark { gap: 0.28em; line-height: 1; }
.horizon-wordmark--hero { font-size: clamp(2rem, 4.5vw, 5rem); }
.horizon-wordmark--nav { font-size: clamp(0.875rem, 1.3vw, 1.3rem); }
.hero-ident p { font-size: 0.875rem; letter-spacing: 0.18em; }
@media (max-width: 800px) {
  .horizon-wordmark--hero { flex-direction: column; align-items: center; gap: 0.12em; font-size: clamp(1.5rem, 6.5vw, 3.25rem); }
  .horizon-wordmark--nav { flex-direction: column; align-items: center; gap: 0.12em; font-size: clamp(0.75rem, 2.7vw, 1rem); }
  .hero-ident p { max-width: 90vw; font-size: 0.75rem; letter-spacing: 0.1em; }
  .nav-links { gap: 1rem; }
}

.project-resize-grid--single { grid-template-columns: minmax(0, 1fr); width: min(100%, 360px); }

/* Three portrait films, kept together in one row. */
.project-portrait-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); width: min(85%, 1200px); margin-inline: auto; }
.project-portrait-row figure { min-width: 0; margin: 0; }
.project-portrait-row video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.project-portrait-row figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--paper-muted); }
#nike-mercurials img { object-position: center 58%; }
@media (max-width: 700px) { .project-portrait-row { grid-template-columns: repeat(3, min(65vw, 280px)); gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x proximity; } .project-portrait-row figure { scroll-snap-align: start; } }

/* Balance the narrow Nike cover against a larger eighth card. */
.project-card--07 { grid-column: 1 / span 4; }
.project-card--08 { grid-column: 6 / span 7; }
.project-card--07 .project-frame { aspect-ratio: 1 / 1; }
.project-card--08 .project-frame { aspect-ratio: 16 / 10; }
.project-card--07 .project-title strong { font-size: clamp(1.8rem, 3.6vw, 3.8rem); }
@media (max-width: 800px) { .project-card--07 { width: 72%; } .project-card--08 { width: 100%; } }

.project-resize-grid--square-portrait { grid-template-columns: 16fr 9fr; }
#off-campus img { object-position: center; }

/* A larger landscape fifth card, balanced by the sixth card. */
.project-card--05 { grid-column: 1 / span 7; }
.project-card--06 { grid-column: 9 / span 4; }
.project-card--05 .project-frame { aspect-ratio: 16 / 9; }
.project-card--05 .project-title strong { font-size: clamp(1.6rem, 3.5vw, 3.5rem); }
@media (max-width: 800px) { .project-card--05 { width: 100%; } }

/* Services begins with a simple section label. */
.services .section-head { display: block; padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 2.8vw, 2.75rem) 2.5rem; }
.services .section-head h2.eyebrow { max-width: none; margin: 0; font-family: inherit; font-size: 0.75rem; font-weight: 400; }

/* Compact mobile captions leave the project stills unobstructed. */
@media (max-width: 800px) {
  .project-frame .project-title {
    align-content: end;
    justify-items: start;
    padding: 1rem;
    text-align: left;
    opacity: 1;
    transform: none;
  }
  .project-frame .project-title strong {
    max-width: 100%;
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
  }
  .project-frame .project-title span,
  .project-frame .project-edge--service { display: none; }
  .project-frame .project-shade {
    background: linear-gradient(to top, rgba(8, 9, 8, 0.65), rgba(8, 9, 8, 0) 45%);
    opacity: 1;
  }
}

/* Vector contact arrow renders consistently across platforms. */
svg.contact-arrow { font-size: inherit; display: block; width: 0.6em; height: 0.6em; flex-shrink: 0; overflow: visible; }
