:root {
  --ink: #2b2a28;
  --paper: #f3f0ea;
  --signal: #ef3038;
  --gold: #c8ab77;
  --muted: #77716a;
  --line: rgba(43, 42, 40, 0.16);
  --white: #ffffff;
  --radius: 1.6rem;
  --shadow: 0 1.5rem 4rem rgba(43, 42, 40, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

:focus-visible {
  outline: 0.18rem solid var(--signal);
  outline-offset: 0.28rem;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.6rem;
  padding: 0.9rem clamp(1.25rem, 5vw, 5.5rem);
  background: var(--ink);
  color: var(--white);
  transition: background 320ms ease, box-shadow 320ms ease, backdrop-filter 320ms ease;
}

.site-header.is-scrolled {
  background: rgba(43, 42, 40, 0.9);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.16rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

.brand-mark {
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}

/* Typographic wordmark: stacked lowercase "the / brand / thesis." */
.logo-text {
  position: relative;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: lowercase;
}

.logo-t {
  position: relative;
  display: inline-block;
}

.logo-t::after {
  position: absolute;
  top: 0.3em;
  left: -0.06em;
  width: 0.44em;
  height: 0.14em;
  background: var(--signal);
  content: "";
}

.logo-dot {
  color: var(--signal);
}

.brand-mark:hover .logo-text,
.brand-mark:focus-visible .logo-text {
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -0.65rem;
  left: 0;
  height: 0.18rem;
  background: var(--signal);
  content: "";
}

.site-nav a::before {
  position: absolute;
  right: 0;
  bottom: -0.65rem;
  left: 0;
  height: 0.18rem;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page {
  overflow: hidden;
}

.section {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem);
}

.section-narrow {
  max-width: 82rem;
  margin: 0 auto;
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.light-section {
  background: var(--paper);
  color: var(--ink);
}

.red-section {
  background: var(--signal);
  color: var(--ink);
}

.gold-section {
  background: var(--gold);
  color: var(--ink);
}

.hero {
  padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem) clamp(5.5rem, 10vw, 9rem);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  max-width: 92rem;
  margin: 0 auto;
}

.hero-copy {
  max-width: 54rem;
}

.hero-art {
  position: relative;
  max-width: 34rem;
  margin-left: auto;
}

.hero-art img,
.image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-art::after {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.eyebrow,
.mono-label {
  margin: 0 0 1.5rem;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.light-section .eyebrow,
.light-section .mono-label,
.light-hero .eyebrow {
  color: var(--muted);
}

.red-section .eyebrow,
.gold-section .eyebrow {
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  margin-bottom: 2rem;
  font-size: clamp(3.5rem, 8.8vw, 8.8rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 5.8vw, 6rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.hero-lede,
.lede {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--gold);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.light-hero .hero-lede,
.light-section .lede {
  color: var(--muted);
}

.hero h1 .accent,
.accent {
  color: var(--signal);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
  max-width: 92rem;
  margin: 0 auto;
}

.intro-grid h2 {
  max-width: 10ch;
}

.intro-grid p,
.split-grid p,
.content-copy p,
.card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.dark-section .intro-grid p,
.dark-section .split-grid p,
.dark-section .content-copy p,
.dark-section .card p {
  color: rgba(255, 255, 255, 0.72);
}

.red-section p,
.gold-section p {
  color: rgba(43, 42, 40, 0.78);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 92rem;
  margin: 3rem auto 0;
}

.service-card,
.principle-card,
.step-card,
.insight-card {
  padding: clamp(1.35rem, 2.4vw, 2.4rem);
  border-radius: var(--radius);
}

.service-card {
  min-height: 16rem;
  background: var(--paper);
  color: var(--ink);
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  background: var(--gold);
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  background: var(--white);
}

.service-number,
.step-number {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

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

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
  max-width: 92rem;
  margin: 0 auto;
}

.image-frame {
  max-width: 38rem;
}

.image-feature h2 {
  max-width: 11ch;
}

.image-feature .image-frame {
  order: 2;
}

.image-feature .content-copy {
  order: 1;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 92rem;
  margin: 3.5rem auto 0;
}

.principle-card {
  min-height: 13rem;
  background: var(--paper);
}

.principle-card strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.principle-card p {
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  --button-lift: 0rem;
  --mag-x: 0px;
  --mag-y: 0px;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--button-lift)), 0);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  --button-lift: -0.18rem;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-red {
  background: var(--signal);
  color: var(--ink);
}

.button-outline {
  border-color: currentColor;
  color: inherit;
}

.page-intro {
  max-width: 92rem;
  margin: 0 auto;
}

.page-intro h1 {
  max-width: 13ch;
}

.page-intro .lede {
  max-width: 38rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 92rem;
  margin: 3.5rem auto 0;
}

.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.9fr);
  align-items: end;
  gap: 2rem;
}

.work-intro h2 {
  margin-bottom: 0;
}

.work-note {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.6rem 0.82rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-0.12rem);
}

.filter-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  min-height: 0;
  object-fit: cover;
  opacity: 1;
  transition: transform 500ms ease, opacity 500ms ease;
}

.work-card:hover img {
  transform: scale(1.015);
  opacity: 1;
}

.work-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(43, 42, 40, 0.92) 100%);
  content: none;
}

.work-card-content {
  position: static;
  padding: 1.5rem 0.25rem 2rem;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
}

.work-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.concept-tag {
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(200, 171, 119, 0.6);
  border-radius: 999px;
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.work-card-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.work-card-content .mono-label {
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.work-card-scope {
  margin-top: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: uppercase;
}

.framework {
  max-width: 92rem;
  margin: 0 auto;
}

.framework-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.framework-item {
  display: grid;
  grid-template-columns: 5rem minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.framework-item .mono-label {
  margin-bottom: 0;
  color: var(--signal);
}

.framework-item strong {
  font-size: 1.1rem;
}

.framework-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-list {
  display: grid;
  gap: 0.9rem;
  max-width: 92rem;
  margin: 3rem auto 0;
}

.step-card {
  display: grid;
  grid-template-columns: 5rem minmax(13rem, 0.65fr) minmax(0, 1.35fr) 2rem;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  color: var(--ink);
}

.step-card:nth-child(even) {
  background: var(--white);
}

.step-card .step-number {
  margin-bottom: 0;
}

.step-card h3,
.step-card p {
  margin-bottom: 0;
}

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

.step-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--gold);
}

.step-card:nth-child(even) .step-dot {
  background: var(--ink);
}

.insight-list {
  display: grid;
  gap: 0.25rem;
  max-width: 92rem;
  margin: 3rem auto 0;
}

.insight-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.insight-card:hover,
.insight-card:focus-visible {
  background: var(--gold);
  transform: translateX(0.35rem);
}

.insight-card .mono-label {
  margin-bottom: 0;
  color: var(--signal);
}

.insight-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.insight-card span:last-child {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 58rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(43, 42, 40, 0.14);
  border-radius: 0;
  padding: 0.8rem 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--signal);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem clamp(1.25rem, 7vw, 7.5rem);
  background: var(--ink);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

.footer span {
  color: var(--gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  text-decoration: none;
  opacity: 0.78;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold);
  opacity: 1;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .image-feature {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 30rem;
    margin: 0;
  }

  .image-feature .image-frame,
  .image-feature .content-copy {
    order: initial;
  }

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

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

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

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

  .work-card,
  .work-card img {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 5.1rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 5.1rem;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav a[aria-current="page"]::after {
    right: auto;
    bottom: 0.35rem;
    width: 2rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3.1rem, 14vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.4rem, 11vw, 4.5rem);
  }

  .section,
  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .intro-grid,
  .service-grid,
  .principle-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .work-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-count {
    order: -1;
  }

  .form-field.full {
    grid-column: auto;
  }

  .step-card {
    grid-template-columns: 3rem 1fr 1rem;
  }

  .step-card p {
    grid-column: 2 / -1;
  }

  .insight-card {
    grid-template-columns: 2.2rem 1fr;
  }

  .insight-card span:last-child {
    grid-column: 2;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Photography keeps its natural proportions at every viewport. */
.hero-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 44rem;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7.5rem);
  background: #171716;
  color: var(--paper);
}

.hero-banner .hero-grid {
  display: block;
  width: 100%;
}

.hero-banner .hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.hero-banner .hero-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 52%;
  border-radius: 0;
  box-shadow: none;
}

.hero-banner .hero-art::after {
  content: none;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16,16,15,.94) 0%, rgba(16,16,15,.85) 35%, rgba(16,16,15,.32) 65%, rgba(16,16,15,.08) 100%);
  pointer-events: none;
}

.hero-banner .hero-copy {
  max-width: 48rem;
}

.hero-banner h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.6vw, 6.3rem);
  line-height: 1.03;
  text-wrap: balance;
}

.hero-banner--home h1 {
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  max-width: 12ch;
}

.hero-banner .eyebrow {
  color: #dfc595;
  font-size: .875rem;
}

.hero-banner .hero-lede {
  max-width: 34rem;
  color: #f3f0ea;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.hero-banner--process .hero-art img { object-position: center 58%; }
.hero-banner--work .hero-art img { object-position: center 42%; }

@media (min-width: 1600px) {
  .hero-banner { min-height: 50rem; }
}

@media (max-width: 980px) {
  .hero-banner { min-height: 42rem; }
  .hero-banner .hero-copy { max-width: 40rem; }
  .hero-banner::after {
    background: linear-gradient(90deg, rgba(16,16,15,.91), rgba(16,16,15,.65) 65%, rgba(16,16,15,.35));
  }
}

@media (max-width: 600px) {
  .hero-banner {
    align-items: flex-end;
    min-height: 44rem;
    padding: 13rem 1.25rem 3rem;
  }
  .hero-banner .hero-art img { object-position: 62% center; }
  .hero-banner::after {
    background: linear-gradient(180deg, rgba(16,16,15,.12) 0%, rgba(16,16,15,.52) 22%, rgba(16,16,15,.9) 42%, rgba(16,16,15,.97) 100%);
  }
  .hero-banner h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); max-width: 16ch; }
  .hero-banner--home h1 { font-size: clamp(2.8rem, 12vw, 4.3rem); }
  .hero-banner .eyebrow { margin-bottom: 1.1rem; }
  .hero-banner .hero-lede { font-size: 1.05rem; }
}

.service-photo { display:block; width:100%; aspect-ratio: 4 / 3; object-fit:cover; margin-bottom:1.5rem; border-radius:var(--radius); }
.work-card img { display:block; }
@media (prefers-reduced-motion: reduce) { .work-card img { transition:none; } }

/* Editorial motion system: reveal, drift and a quiet moving brand signature. */
.motion-strip {
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--signal);
  color: var(--ink);
}

.motion-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.6rem;
  padding-left: 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  animation: brandMarquee 24s linear infinite;
}

.motion-track i {
  color: var(--paper);
  font-size: 1.15rem;
  font-style: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-banner .hero-art img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.025);
  animation: heroBreath 16s ease-in-out infinite alternate;
  transition: transform 180ms ease-out;
  will-change: transform, object-position;
}

.work-card {
  --card-lift: 0rem;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--card-lift));
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), box-shadow 500ms ease;
  will-change: transform;
}

.work-card.is-filtered-out {
  display: none;
}

.work-card:hover,
.work-card:focus-within {
  --card-lift: -.45rem;
  box-shadow: 0 1.6rem 3.8rem rgba(0, 0, 0, .24);
}

.work-card:hover img,
.work-card:focus-within img {
  transform: scale(1.045);
}

@keyframes brandMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroBreath {
  from { object-position: 50% 48%; }
  to { object-position: 52% 54%; }
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-.7rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.motion-ready .site-header {
  animation: headerIn 700ms cubic-bezier(.2,.7,.2,1) both;
}

.motion-ready .hero-copy > * {
  opacity: 0;
  animation: heroLineIn 800ms cubic-bezier(.2,.7,.2,1) both;
}

.motion-ready .hero-copy > *:nth-child(1) { animation-delay: 80ms; }
.motion-ready .hero-copy > *:nth-child(2) { animation-delay: 160ms; }
.motion-ready .hero-copy > *:nth-child(3) { animation-delay: 240ms; }
.motion-ready .hero-copy > *:nth-child(4) { animation-delay: 320ms; }

@media (max-width: 600px) {
  .motion-track { gap: 1.1rem; animation-duration: 20s; }
  .motion-strip { padding: .9rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-track,
  .hero-banner .hero-art img {
    animation: none;
  }

  .reveal,
  .reveal.is-visible,
  .work-card,
  .work-card:hover,
  .work-card:focus-within {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-ready .site-header,
  .motion-ready .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-banner .hero-art img {
    transform: none;
  }
}
