/* Instrument Serif and Instrument Sans, SIL Open Font License. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --paper-2: #f3f3f3;
  --muted: #2c2c2c;
  --line: #e2e2e2;
  --corten: #000;
  --light: #fff;
  --header: 8rem;
  --sticky: 3.5rem;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--sticky) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

h1, h2, .logo, .trust-list strong, .route-copy strong, .steps span, blockquote {
  font-family: var(--serif);
  font-weight: 400;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--light);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker,
.eyebrow,
.trust-list span,
.work-meta span,
figcaption span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker,
.eyebrow {
  color: var(--corten);
  margin-bottom: 0.75rem;
}

.kicker-light,
.hero .eyebrow {
  color: #fff;
}

h1 {
  font-size: clamp(2.35rem, 8vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 11.5ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-lede {
  margin-top: 0.9rem;
  max-width: 38rem;
  color: var(--muted);
}

.band {
  padding: 4.25rem 0;
}

.band-tight {
  padding-top: 1rem;
}

.hero {
  position: relative;
  min-height: 54svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--light);
  background: #000;
  overflow: hidden;
}

.hero-media,
.hero-shade,
.hero-poster,
.hero-film,
.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-poster,
.hero-film {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-film {
  opacity: 0;
  transition: opacity 0.45s linear;
}

.hero-film.is-showing {
  opacity: 1;
}

.hero-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.16) 24%, rgba(0, 0, 0, 0) 48%);
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: none;
  margin: 0 0 0.65rem;
}

.hero-line {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 12em;
  margin: 0 0 1rem;
}

.hero-copy,
.play,
.film-close {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.35rem max(1.25rem, calc((100% - 1180px) / 2));
  background: #000;
  color: #fff;
}

.logo {
  text-decoration: none;
  color: #fff;
  line-height: 0;
}

.logo img {
  height: 5.4rem;
  width: auto;
}

.site-header {
  position: relative;
  flex-wrap: wrap;
}

.header-tools {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}

.header-film,
.nav-film,
.menu-toggle {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 6;
  background: #000;
  padding: 0.4rem 1.25rem 1.2rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.hero-copy {
  padding-bottom: 1.4rem;
}

.trust {
  background: #000;
  color: #fff;
}

.trust-list {
  list-style: none;
  margin-block: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.trust-list li {
  padding: 1.15rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-list li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-list strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.trust-list span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.clients {
  padding: 2.4rem 0 0.2rem;
}

.clients .kicker {
  text-align: center;
  margin-bottom: 0;
}

.clients ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  align-items: center;
}

.clients li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
}

.clients img {
  max-width: 100%;
  max-height: 3.4rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lede {
  margin-top: 1.1rem;
  max-width: 36rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.btn,
.btn-line,
.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  text-decoration: none;
}

.btn {
  background: var(--light);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
}

.btn-ink {
  background: var(--ink);
  color: var(--light);
  border: 0;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
}

.btn-line {
  color: var(--light);
  border-bottom: 1px solid rgba(247, 243, 236, 0.7);
  padding-bottom: 0.15rem;
  min-height: 0;
}

.play {
  position: absolute;
  z-index: 3;
  top: 18%;
  right: max(1.25rem, calc((100% - 1180px) / 2));
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--light);
  background: rgba(22, 19, 16, 0.38);
  border: 1px solid rgba(247, 243, 236, 0.7);
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.play-mark {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(247, 243, 236, 0.8);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.play-mark::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 0.38rem 0 0.38rem 0.62rem;
  border-color: transparent transparent transparent var(--light);
}

.film-close {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  background: var(--light);
  color: var(--ink);
  border: 0;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.hero-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.hero.is-playing .hero-poster,
.hero.is-playing .hero-shade,
.hero.is-playing .play,
.hero.is-playing .hero-copy,
.hero.is-playing .site-header {
  visibility: hidden;
}

.noscript-film {
  position: absolute;
  z-index: 3;
  left: 1.25rem;
  bottom: 6rem;
  color: var(--light);
}

.routes {
  display: grid;
  gap: 0.85rem;
}

.route {
  position: relative;
  display: block;
  min-height: 24rem;
  overflow: hidden;
  color: var(--light);
  text-decoration: none;
  background: #2a2622;
}

.route img,
.route video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.route::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 14, 12, 0.82), rgba(16, 14, 12, 0.05) 55%);
}

.route-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.route-copy strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.route-copy span:last-child {
  max-width: 28rem;
  color: rgba(247, 243, 236, 0.9);
}

.work-grid {
  display: grid;
  gap: 0.75rem;
}

.folio {
  position: relative;
  min-height: 24rem;
  background: #111;
  color: #fff;
}

.folio-hit {
  position: relative;
  display: flex;
  min-height: 24rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.folio-hit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.folio-hit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.08) 70%);
}

.crop-stair { object-position: center 82%; }
.crop-welder { object-position: 16% center; }
.crop-stainless { object-position: center 36%; }
.crop-brass { object-position: 42% center; }
.crop-site { object-position: center 62%; }

.route img.pos-home {
  object-position: center 22%;
}

.folio-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  max-width: 16.5rem;
  padding: 1.6rem 1.35rem 5.2rem;
}

.folio-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.folio-line {
  font-size: 0.98rem;
  line-height: 1.35;
}

.folio-more {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.folio-more::after {
  content: " \2192";
}

.folio-hit:hover .folio-more,
.folio-hit:focus-visible .folio-more {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.folio-quote {
  position: absolute;
  z-index: 2;
  left: 1.35rem;
  bottom: 1.35rem;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-size: 0.95rem;
}

.folio-quote:hover,
.folio-quote:focus-visible {
  background: #fff;
  color: #000;
}

.folio-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}

.folio-hit .folio-collage img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.folio-portfolio .folio-hit::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.46) 32%, rgba(0, 0, 0, 0.16) 62%);
}

.folio-portfolio .folio-copy {
  max-width: 20rem;
  padding-bottom: 1.6rem;
}

.steps {
  list-style: none;
  margin-block: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.steps[data-motion="weld"]::before {
  content: none;
}

.steps li {
  position: relative;
  padding-top: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.15rem;
}

.steps span {
  display: block;
  color: var(--corten);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.steps h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.stories-head {
  text-align: center;
}

.stories-head h2 {
  max-width: none;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  justify-content: center;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.stars {
  color: #000;
  display: inline-flex;
}

.stories {
  display: grid;
  gap: 1rem;
}

.story {
  background: #f3f3f3;
  border-radius: 1.4rem;
  padding: 0.7rem 0.7rem 1.4rem;
}

.story-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
}

.story-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.story-name {
  margin: 1rem 0.55rem 0;
  font-weight: 500;
}

.story-name span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

.story-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: opacity 0.22s ease, background 0.2s ease, border-color 0.2s ease;
}

.story.is-playing .story-play {
  opacity: 0;
}

.story.is-playing.is-hovered .story-play,
.story.is-playing.is-revealed .story-play,
.story.is-playing .story-play:focus-visible {
  opacity: 1;
}

.story-play svg {
  display: block;
}

.story-play .icon-play {
  margin-left: 2px;
}

.story-play .icon-pause {
  display: none;
}

.story.is-playing .story-play .icon-play {
  display: none;
}

.story.is-playing .story-play .icon-pause {
  display: block;
}

.story-play:hover,
.story-play:focus-visible {
  background: #000;
  border-color: #fff;
}

.story-time {
  position: absolute;
  right: 0.75rem;
  bottom: 0.55rem;
  z-index: 2;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.story-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.story-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1rem;
  list-style: none;
  margin: 2.6rem auto 0;
  padding: 0;
  text-align: center;
}

.story-stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1;
}

.story-stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.quotes {
  display: grid;
  gap: 2rem;
}

blockquote {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

blockquote p::before {
  content: open-quote;
}

blockquote p::after {
  content: close-quote;
}

figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

figcaption span {
  margin-left: 0.6rem;
  color: var(--corten);
  letter-spacing: 0.12em;
}

.quote-band {
  background: var(--paper-2);
  padding: 4.25rem 0 5rem;
}

.quote-layout {
  display: grid;
  gap: 1.75rem;
}

.phone-block {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: 2rem;
}

.phone-block a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.email-block {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}

.email-block a {
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.contact-address {
  font-style: normal;
  margin-top: 1.4rem;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 0.75rem;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1067;
  object-fit: cover;
  background: #111;
}

.team-name {
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.team-role {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fields {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid #c9c1b3;
  border-radius: 0;
  padding: 0.75rem 0.7rem;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

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

.quote-band .btn-ink {
  margin-top: 1rem;
}

.site-footer {
  background: var(--ink);
  color: var(--light);
  padding: 3rem 0 calc(var(--sticky) + 2rem);
}

.logo-footer {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.logo-footer img {
  height: 6.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-grid a {
  display: inline-block;
  margin: 0.15rem 0;
  text-decoration: none;
}

.footer-grid nav {
  display: grid;
  gap: 0.25rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

address {
  font-style: normal;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.social a {
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(247, 243, 236, 0.45);
  width: fit-content;
}

.footer-note {
  margin-top: 2rem;
  color: rgba(247, 243, 236, 0.62);
  font-size: 0.9rem;
}

.sticky-bar {
  position: fixed;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: var(--sticky);
  background: var(--ink);
}

.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--light);
  min-height: 3.5rem;
}

.sticky-bar a:last-child {
  background: var(--light);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--corten);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .folio-hit img,
  .route img,
  .route video {
    transition: transform 0.6s ease;
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .folio:hover img,
  .route:hover img,
  .route:hover video {
    transform: scale(1.04);
  }
}

@media (min-width: 760px) {
  .logo img {
    height: 6.6rem;
  }

  .hero {
    min-height: calc(100svh - var(--header));
  }

  .trust-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-list li {
    border-top: 0;
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.35rem 1.2rem;
  }

  .trust-list li:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .clients ul {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 2rem;
  }

  .clients img {
    max-height: 4.2rem;
  }

  .nav {
    display: flex;
  }

  .menu-toggle,
  .header-film {
    display: none;
  }

  .trust-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.6rem 0;
  }

  .routes {
    grid-template-columns: repeat(3, 1fr);
  }

  .route {
    min-height: 32rem;
  }

  .stories {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .story-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .quotes {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .quote-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  }

  .sticky-bar {
    display: none;
  }

  .hero-copy,
  .site-footer {
    padding-bottom: 2.75rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  html {
    scroll-padding-bottom: 1rem;
  }
}

@media (min-width: 980px) {
  .band {
    padding: 6.5rem 0;
  }

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

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem 1rem;
  }

  .folio-portfolio {
    grid-column: 1 / -1;
  }

  .folio,
  .folio-hit {
    min-height: 28rem;
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }

  .steps li {
    border-bottom: 0;
    padding-right: 0.8rem;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .steps[data-motion="weld"]::before {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    top: -3px;
    left: 0;
    width: 28px;
    height: 5px;
    background: #000;
  }

  .steps[data-motion="weld"].is-in::before {
    opacity: 1;
    animation: bead-across 2.5s cubic-bezier(0.4, 0, 0.15, 1) forwards;
  }

  .steps[data-motion="weld"].will-animate li {
    opacity: 0.12;
  }

  .steps[data-motion="weld"].is-in li {
    animation: weld-hit 0.45s cubic-bezier(0.15, 0.8, 0.2, 1) forwards;
  }

  .steps[data-motion="weld"].is-in li:nth-of-type(1) { animation-delay: 0.08s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(2) { animation-delay: 0.52s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(3) { animation-delay: 0.98s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(4) { animation-delay: 1.44s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(5) { animation-delay: 1.9s; }

  .steps[data-motion="weld"].is-in li span {
    animation: num-strike 0.55s cubic-bezier(0.15, 0.9, 0.2, 1) both;
  }

  .steps[data-motion="weld"].is-in li:nth-of-type(1) span { animation-delay: 0.08s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(2) span { animation-delay: 0.52s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(3) span { animation-delay: 0.98s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(4) span { animation-delay: 1.44s; }
  .steps[data-motion="weld"].is-in li:nth-of-type(5) span { animation-delay: 1.9s; }

  .steps[data-motion="weld"].is-in::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    height: 2px;
    width: 22%;
    background: linear-gradient(90deg, transparent, #000 45%, transparent);
    animation: weld-glint 2.6s linear 2.6s infinite;
    pointer-events: none;
  }

}

@keyframes bead-across {
  0% { left: 0; opacity: 1; }
  86% { opacity: 1; }
  100% { left: calc(100% - 28px); opacity: 0; }
}

@keyframes weld-hit {
  0% { opacity: 0.12; transform: translateX(-8px); }
  45% { opacity: 1; transform: translateX(3px); }
  100% { opacity: 1; transform: none; }
}

@keyframes num-strike {
  0% { transform: scale(0.35); opacity: 0; }
  50% { transform: scale(1.22); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes weld-glint {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(480%); }
}



.crumb {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.crumb a:hover,
.crumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.page-hero {
  padding-top: 1.5rem;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .lede {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--muted);
}

.page-hero-frame {
  margin-top: 1.75rem;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3 / 4;
}

.page-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.gallery {
  display: grid;
  gap: 1.5rem 0.85rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
}

.gallery .span-2 img {
  aspect-ratio: 16 / 9;
  object-position: center 35%;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.see-more {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 1.25rem;
  background: #000;
  color: #fff;
  border: 0;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.see-more:hover,
.see-more:focus-visible {
  background: #2c2c2c;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 3rem;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
}

.lightbox button {
  position: absolute;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.75rem; top: 50%; }
.lightbox-next { right: 0.75rem; top: 50%; }

body.lightbox-open { overflow: hidden; }

.page-hero-frame.frame-wide {
  aspect-ratio: 16 / 10;
}

.page-hero-frame.frame-wide img {
  object-position: center center;
}

.thanks {
  max-width: 38rem;
}

.prose p {
  max-width: 40rem;
  margin-top: 1rem;
}

.faqs details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faqs details:last-child {
  border-bottom: 1px solid var(--line);
}

.faqs summary {
  cursor: pointer;
  font-weight: 500;
}

.faqs details p {
  margin: 0.55rem 0 0;
  max-width: 40rem;
}

.thanks p {
  margin-top: 1rem;
}

.thanks-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.5rem;
}

.thanks-links a {
  color: inherit;
}

.portfolio-links,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portfolio-links a,
.filter-bar button {
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"],
.portfolio-links a:hover,
.filter-bar button:hover {
  background: #000;
  color: #fff;
}

.portfolio-grid {
  margin-top: 1.4rem;
  columns: 2;
  column-gap: 0.75rem;
}

.portfolio-grid figure {
  break-inside: avoid;
  margin: 0 0 0.85rem;
}

.portfolio-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.chips a {
  color: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #000;
}

.film-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.5rem;
}

.film-modal[hidden] {
  display: none;
}

.film-modal-frame {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
}

.film-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.film-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font: inherit;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

body.film-open {
  overflow: hidden;
}

@media (min-width: 760px) {
  .portfolio-grid {
    columns: 3;
  }
}

@media (min-width: 1100px) {
  .portfolio-grid {
    columns: 4;
  }
}

.gallery figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.related {
  display: grid;
}

.related a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.related a:last-child {
  border-bottom: 1px solid var(--line);
}

.related a::after {
  content: "\2192";
  font-family: var(--sans);
  font-size: 1rem;
  align-self: center;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery .span-2 {
    grid-column: 1 / -1;
  }

  .page-hero-frame {
    aspect-ratio: 4 / 3;
  }

  .page-hero-frame.frame-wide {
    aspect-ratio: 16 / 9;
  }
}

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

  .hero-film,
  video.loop {
    display: none;
  }
}
