:root {
  --ink: #1c1c1c;
  --muted: #5e5e5e;
  --gold: #c4a265;
  --gold-deep: #8d7040;
  --line: #e7e4de;
  --paper: #f7f6f3;
  --white: #ffffff;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #f7f6f3;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/projects/greenlife-farms-panel-support.jpg") center center / cover no-repeat;
  animation: bg-drift 2.8s ease-out forwards;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 252, 248, 0.8) 0,
    rgba(255, 252, 248, 0.8) 9.5rem,
    rgba(255, 252, 248, 0.74) 14rem,
    rgba(255, 252, 248, 0.56) 26rem
  );
}

@keyframes bg-drift {
  from { transform: scale(1.08) translate3d(-1.4%, 1%, 0); }
  to { transform: none; }
}

body > header { position: relative; z-index: 30; }
body > main,
body > footer { position: relative; z-index: 1; }

body > main { flex: 1; }

body:has(.about-sections) {
  height: 100vh;
  overflow: hidden;
}

body:has(.about-sections) > main {
  min-height: 0;
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2.25rem);
  mask-image: linear-gradient(to bottom, transparent 0, #000 2.25rem);
}

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

a { color: inherit; }

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

.skip:focus { top: 1rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-bottom: calc(2.4rem + 10px);
  background: rgba(255, 255, 255, 0.38);
  border-bottom: 0;
}

.era {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(2.4rem + 10px - 1.65rem);
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.era::before,
.era::after {
  content: "";
  position: absolute;
  top: calc(5px - 1.65rem);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: translateY(-50%);
}

.era::before {
  left: 22px;
  border-right: 18px solid var(--ink);
}

.era::after {
  right: 22px;
  border-left: 18px solid var(--gold);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: calc(2.4rem + 10px - 10.5px);
  height: 11px;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%),
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%);
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center, -12.5px center;
  mask-image:
    linear-gradient(#000, #000),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='11' viewBox='0 0 22 11'%3E%3Cline x1='0.2' y1='11' x2='2.6' y2='0' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  mask-size: 100% 6px, 22px 11px;
  mask-repeat: no-repeat, repeat;
  mask-position: center, -44.4px center;
  mask-composite: add;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: calc(100% - 4rem);
  max-width: none;
  min-height: 100px;
  padding: 0.85rem 0 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  height: 4.1rem;
  width: auto;
}

.brand-text {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
}

.brand-text::before {
  content: "";
  position: absolute;
  left: -1.484px;
  top: 0;
  width: 3px;
  height: calc(50% + 4.1rem / 2 + 0.85rem + 18px);
  background: var(--ink);
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--muted);
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.45rem 0.7rem;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 46rem;
  min-height: 2.4rem;
  margin-right: 6.5rem;
  gap: 0;
  position: relative;
  z-index: 1;
}

.nav::before { content: none; }

.nav a {
  position: relative;
  flex: 0 0 110px;
  width: 110px;
  text-align: center;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a3a3a;
  padding: 0 0 0.85rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #fffdf8;
  transform: translate(-50%, 50%);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after,
.nav.is-arrived a[aria-current="page"]::after {
  background: var(--gold);
}

.nav-slider {
  position: absolute;
  z-index: 2;
  bottom: -5px;
  left: calc(100% - 605px + (var(--nav-to, 0) * 110px));
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, 50%);
  pointer-events: none;
}

.nav-slider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, var(--paper), var(--white) 70%);
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 14ch;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.section { padding: 4rem 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 { margin: 0; font-size: 2rem; }

.section-head a { color: var(--gold-deep); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.card-photo {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.card-photo img { width: 100%; height: auto; }

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

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

.panel {
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.2rem;
  background: var(--white);
}

.panel h3 { margin: 0.35rem 0 0.4rem; font-size: 1.35rem; }

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

.page-hero { padding: 3.25rem 0 1rem; }

.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

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

.catalog {
  padding: 2.75rem 0 4.5rem;
}

.catalog .kicker { margin-bottom: 1.35rem; }

.service-grid,
.project-grid {
  align-items: stretch;
}

.service-grid {
  grid-template-columns: 1.15fr 0.92fr 1.05fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1160px;
  margin-inline: auto;
}

.service-card:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.service-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.service-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.service-card:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }

.service-card:nth-child(1) img,
.service-card:nth-child(4) img {
  flex: 1;
  aspect-ratio: auto;
  min-height: 240px;
}

.service-card:nth-child(1) img {
  object-fit: contain;
  object-position: center center;
}

.service-card,
.project-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 1.25rem;
  overflow: hidden;
  background: var(--white);
}

.service-card {
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  padding: 0.7rem 0.7rem 1.15rem;
}

.service-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e6e1d8;
}

.service-card .rule,
.project-card .rule {
  margin: 1rem 1.2rem 0;
}

.service-card h2,
.project-card h2 {
  margin: 0.7rem 1.2rem 0.35rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.service-card .service-blurb,
.project-card p {
  margin: 0 1.2rem;
  color: var(--muted);
}

.service-card .service-blurb { min-height: 0; }

.project-card p {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-deep);
}

.rule {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ink), var(--gold));
}

.project {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  color: var(--white);
  background:
    linear-gradient(180deg, transparent, rgba(20, 20, 20, 0.82)),
    repeating-linear-gradient(135deg, #2a2a2a 0 12px, #242424 12px 24px);
}

.project span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.project strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-deep);
  padding-top: 0.2rem;
}

.contact-list a { color: #f4efe6; }

.page-hero { padding: 3.25rem 0 1rem; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--ink);
}

.page-hero .lede { color: var(--ink); }

.page-hero .kicker,
.catalog .kicker { color: var(--gold-deep); }

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: min(960px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2.6rem 0 2.75rem;
  background: transparent;
  border-left: 0;
}

.about-blurb {
  display: grid;
  grid-template-columns: 12.25rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: start;
  margin: 0;
  padding: 1.05rem 1.25rem 1rem 0.95rem;
  border-left: 0;
  background-color: rgba(255, 252, 248, 0.94);
  background-image: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%);
  background-size: 3px 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

.about-principles { border-bottom: 0; }

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.2rem 0 0.15rem;
}

.about-blurb .kicker {
  display: block;
  margin: 0.1rem 0 0;
  padding: 0;
  writing-mode: horizontal-tb;
  transform: none;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--ink);
}

.about-blurb .kicker::before { content: none; }

.about-blurb p {
  margin: 0;
  color: var(--ink);
  max-width: 38rem;
}

.about-blurb p:not(.kicker) {
  text-align: justify;
  font-size: 0.98rem;
  line-height: 1.5;
}

.about-blurb p + p { margin-top: 1rem; }

.about-blurb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.15rem;
}

.about-blurb li {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 0;
  background-image: linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: top left;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.about-history ul {
  grid-template-columns: 1fr;
  gap: 0;
}

.about-history li {
  padding: 0.5rem 0 0.42rem;
  border-top: 0;
  background-size: 100% 1px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-history li:last-child {
  background-image:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%),
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%);
  background-size: 100% 1px, 100% 1px;
  background-position: top left, bottom left;
}

.split > div {
  background: rgba(255, 252, 248, 0.9);
  padding: 1.25rem 1.35rem;
}

.note {
  color: var(--ink);
  font-size: 0.95rem;
}

.split p { color: var(--ink); }

.contact-list {
  background: rgba(255, 252, 248, 0.9);
  padding: 0.4rem 1.35rem;
}

.contact-list,
.contact-list a,
.contact-list li span:last-child { color: var(--ink); }

.contact-list span { color: var(--gold-deep); }

.showcase {
  background: var(--ink);
  color: var(--white);
  padding: 2.5rem 0 1.5rem;
}

.showcase .section-head h2 { color: var(--white); }

.showcase .section-head a { color: var(--gold); }

.showcase-stage {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
  min-height: 420px;
  touch-action: pan-y;
}

.showcase-photo {
  background: #111;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0 0.25rem 0.25rem;
}

.showcase-copy h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.showcase-copy [data-service] {
  margin: 0 0 0.75rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.showcase-copy [data-detail] {
  margin: 0;
  color: #d5d1c8;
  max-width: 36rem;
}

.showcase-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.showcase-controls button,
.showcase-thumb {
  font: inherit;
  cursor: pointer;
}

.showcase-controls button {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.65rem 0.95rem;
}

.showcase-controls button:hover,
.showcase-controls button:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.showcase-strip {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  margin-top: 1.4rem;
  padding: 0.2rem 0 0.4rem;
  scroll-snap-type: x mandatory;
}

.showcase-thumb {
  flex: 0 0 168px;
  scroll-snap-align: center;
  border: 1px solid transparent;
  background: #111;
  color: #d5d1c8;
  text-align: left;
  padding: 0;
}

.showcase-thumb img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.showcase-thumb span {
  display: block;
  padding: 0.45rem 0.55rem 0.55rem;
  font-size: 0.85rem;
}

.showcase-thumb[aria-selected="true"] {
  border-color: var(--gold);
  color: var(--white);
}

body:has(.people-page) {
  height: 100vh;
  overflow: hidden;
}

body:has(.people-page) > main {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.people-hero { padding: 0.2rem 0 0; flex: none; }

.people-hero .wrap {
  width: calc(100% - 4rem);
  max-width: none;
}

.people-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.people-page {
  width: calc(100% - 4rem);
  max-width: none;
  margin: 0 auto;
  padding: 0.45rem 0 1.35rem;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

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

.people-page .team-grid {
  flex: 1;
  min-height: 0;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  grid-template-columns: repeat(4, auto);
  grid-template-rows: 1fr 1fr;
  justify-items: center;
  column-gap: 0.7rem;
  row-gap: 0.65rem;
}

.people-page .team-card {
  width: auto;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  padding-bottom: 0.45rem;
}

.people-page .team-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: calc(100% - 4.6rem);
  aspect-ratio: 5 / 4;
  margin: 0 auto 0.35rem;
  object-fit: cover;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 0 1.15rem;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  margin-bottom: 0.75rem;
  background: #e6e1d8;
}

.team-card img.portrait { object-position: center top; }

.team-card strong,
.team-card span { padding: 0 0.8rem; }

.team-card strong {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 560;
}

.team-card span { color: var(--muted); }

.team-card,
.project-card { cursor: pointer; }

.team-card:focus-visible,
.project-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card-blurb { display: none; }

.card-pop {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: auto;
  border: 0;
  padding: 0 0 1.6rem;
  background: var(--white);
  color: var(--ink);
  transform-origin: center center;
}

.card-pop.is-person {
  width: min(460px, calc(100% - 2rem));
  padding-bottom: 1.15rem;
}

.card-pop::backdrop { background: rgba(16, 14, 12, 0.55); }

.card-pop img {
  width: 100%;
  max-height: 52vh;
  object-fit: cover;
  background: #e6e1d8;
}

.card-pop.is-person img {
  height: auto;
  max-height: min(480px, 62vh);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}

.card-pop h2 {
  margin: 1.1rem 1.5rem 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.card-pop.is-person h2 {
  margin: 0.85rem 1.15rem 0.25rem;
  font-size: 1.45rem;
}

.card-pop-meta {
  margin: 0 1.5rem;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.card-pop.is-person .card-pop-meta { margin: 0 1.15rem; }

.card-pop .card-blurb {
  display: block;
  margin: 1.1rem 1.5rem 0;
  min-height: 4.5rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.card-pop.is-person .card-blurb {
  margin: 0.85rem 1.15rem 0;
  min-height: 3.2rem;
}

.card-pop-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: rgba(255, 252, 248, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

body.home {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.home .brand-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
}

body.home .tagline {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--gold);
  background: none;
}


body.home main {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-words {
  position: absolute;
  z-index: 2;
  top: 3.1rem;
  left: 50%;
  right: auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 1.5rem;
  pointer-events: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(16, 14, 12, 0.45);
}

.banner-words::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.45rem -3rem;
  background: rgba(22, 18, 14, 0.55);
  filter: blur(16px);
  animation: word-fade 1.2s ease 1.15s both;
}

.banner-words > span {
  animation: word-in 1.1s ease both;
}

.banner-words > span:nth-child(1) {
  animation-duration: 1.7s;
  animation-delay: 1.15s;
}
.banner-words > span:nth-child(5) { animation-delay: 2.7s; }
.banner-words > span:nth-child(2),
.banner-words > span:nth-child(4) { animation-delay: 3.7s; }
.banner-words > span:nth-child(3) { animation-delay: 4.15s; }

@keyframes word-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(0.4rem); }
  to { opacity: 1; transform: none; }
}

.banner-mark {
  position: relative;
  width: 3.6rem;
  height: 3px;
  margin: 0 1.35rem 0 1rem;
  background: var(--gold);
}

.banner-mark::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--gold);
  transform: translateY(-50%);
}

.banner-mark-back {
  margin: 0 0.85rem 0 1.15rem;
}

.banner-mark-back::after {
  right: auto;
  left: -1px;
  border-left: 0;
  border-right: 8px solid var(--gold);
}

body.home h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 2.55rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

body.home .tagline-main { display: block; }

body.home .tagline-sub {
  display: block;
  margin-top: 0.38rem;
  color: var(--gold-deep);
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.home .tagline .kicker {
  margin: 0 0 0.12rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold);
}

body.home .lede {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

body.home .hero-actions { margin-top: 1.5rem; }

body.home .section { padding: 0.85rem 0 0; }

body.home .panel {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(28, 28, 28, 0.08);
}

.reel {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  margin-top: 0;
  padding: 0 0 0.4rem;
  background: transparent;
}

.reel::before { content: none; }

.reel-scene {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  perspective: 1600px;
  perspective-origin: center 42%;
}

.reel-card {
  position: absolute;
  left: 50%;
  top: 62%;
  width: var(--card-w, 440px);
  margin-left: calc(var(--card-w, 440px) / -2);
  margin-top: calc(var(--img-h, 280px) / -2);
  padding: 0;
  border: 0;
  background: rgba(22, 22, 22, 0.55);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1), opacity 0.7s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.reel-card img {
  width: 100%;
  height: var(--img-h, 280px);
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.reel-caption { display: none; }

.reel-card.is-front {
  background: #161616;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38), 0 0 0 4px var(--gold);
}

.reel-card.is-front img { opacity: 1; }

.reel-card.is-open {
  background: #161616;
  box-shadow: 0 36px 60px rgba(0, 0, 0, 0.38);
}

.reel-card.is-open img { opacity: 1; }

.reel-card.is-open .reel-caption {
  display: block;
  padding: 0.85rem 1rem 1rem;
}

.reel-caption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
}

.reel-caption span {
  display: block;
  margin: 0.2rem 0 0.4rem;
  color: var(--gold);
}

.reel-caption p {
  margin: 0.55rem 0 0;
  min-height: 2.6rem;
  color: #ddd8ce;
}

@media (prefers-reduced-motion: reduce) {
  .reel-card { transition: none; }
  body::before { animation: none; inset: 0; transform: none; }
  .banner-words::before,
  .banner-words > span { animation: none; }
  .nav-slider { transform: translate(-50%, 50%); }
}

.site-footer {
  border-top: 0;
  padding: 0.45rem 0 0.6rem;
  background: rgba(16, 14, 12, 0.72);
  color: #d9d2c6;
  font-size: 0.92rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  width: min(1040px, calc(100% - 4rem));
  margin: 1.5rem auto 2.5rem;
  padding: 2.4rem 2.2rem;
  background: rgba(255, 252, 248, 0.94);
}

.contact-card h1 {
  margin: 0 0 1.6rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 2.7rem);
}

.contact-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-facts li {
  display: grid;
  gap: 0.15rem;
}

.contact-facts span:first-child {
  color: var(--gold-deep);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-facts a {
  color: var(--ink);
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-form .field-wide,
.contact-form button { grid-column: 1 / -1; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d9d4cc;
  padding: 0.7rem 0.75rem;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  min-width: 11rem;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
}

.contact-form button:hover { background: var(--gold-deep); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 4rem);
  max-width: none;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    margin-right: 0;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1.25rem 0.9rem;
  }

  .nav.is-open { display: flex; }

  .nav-slider { display: none; }

  .nav::before {
    content: "";
    left: 1.55rem;
    right: auto;
    top: 1.15rem;
    bottom: 1.15rem;
    width: 1px;
    height: auto;
    background: var(--gold);
  }

  .nav a {
    position: relative;
    top: auto;
    width: auto;
    flex: none;
    align-self: flex-start;
    text-align: left;
    padding: 0.55rem 0 0.55rem 1.55rem;
    transform: none;
  }

  .nav a[aria-current="page"]::after { background: var(--gold); }

  .nav a::after {
    left: 0.22rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .banner-words {
    top: 1.7rem;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .banner-mark { width: 1.6rem; margin: 0 0.55rem; }

  .split,
  .grid-2,
  .grid-3,
  .contact-card,
  .contact-form,
  .about-sections,
  .about-blurb,
  .about-history,
  .showcase-stage { grid-template-columns: 1fr; }

  .about-history,
  .about-principles,
  .about-approach {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .service-card img,
  .service-card:nth-child(1) img,
  .service-card:nth-child(4) img {
    flex: none;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .about-blurb .kicker {
    writing-mode: horizontal-tb;
    transform: none;
    justify-content: flex-start;
    padding: 0 0 0.55rem;
    font-size: 1.55rem;
    letter-spacing: 0.12em;
    background-image: linear-gradient(90deg, var(--ink) 0%, var(--ink) 22%, var(--gold) 78%, var(--gold) 100%);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: bottom left;
  }

  .about-history {
    display: grid;
    border-right: 0;
    border-bottom: 0;
  }

  .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 220px)); }

  .showcase-stage { min-height: 0; }

  .showcase-photo { min-height: 220px; }

  .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; }

  html { scrollbar-gutter: auto; }

  body { overflow-x: hidden; }

  body.home,
  body:has(.about-sections),
  body:has(.people-page) {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body:has(.about-sections) > main,
  body:has(.people-page) > main {
    overflow: visible;
    display: block;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .site-header { padding-bottom: 0.15rem; }

  .era,
  .site-header::after,
  .brand-text::before { display: none; }

  .header-inner {
    width: calc(100% - 1.5rem);
    min-height: 0;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.55rem 0 0.4rem;
    gap: 0.65rem;
  }

  .brand {
    min-width: 0;
    gap: 0.65rem;
    margin-bottom: 0;
  }

  .brand-logo { height: 2.45rem; }

  .brand-text { padding-left: 0; }

  .brand-name {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav-toggle {
    flex: none;
    align-self: center;
    padding: 0.5rem 0.65rem;
  }

  .nav.is-open {
    position: static;
    flex: 1 0 100%;
    width: 100%;
    margin-top: 0.15rem;
    background: rgba(255, 252, 248, 0.98);
    box-shadow: 0 14px 28px rgba(16, 14, 12, 0.12);
    padding: 0.35rem 0.4rem 0.55rem;
  }

  .nav::before { content: none; }

  .nav a {
    width: 100%;
    padding: 0.72rem 0.4rem 0.72rem 1.7rem;
    font-size: 0.84rem;
  }

  .wrap,
  .wrap-wide,
  .people-hero .wrap,
  .people-page,
  .about-sections,
  .footer-inner,
  .contact-card {
    width: calc(100% - 1.5rem);
  }

  .page-hero { padding: 1.15rem 0 0.35rem; }

  .catalog { padding: 1.15rem 0 2rem; }

  .banner-words {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 1.5rem);
    max-width: none;
    transform: none;
    margin: 0.7rem auto 0;
    padding: 0;
    color: var(--ink);
    text-shadow: none;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
    flex-wrap: nowrap;
  }

  .banner-words::before { content: none; }

  body.home main {
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .reel {
    flex: none;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 0 1.15rem;
  }

  .reel-scene {
    flex: none;
    display: flex;
    width: calc(100% - 2rem);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    perspective: none;
  }

  .reel-card:not(.is-front):not(.is-open) {
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
  }

  .reel-card.is-front,
  .reel-card.is-open {
    position: relative;
    left: auto;
    top: auto;
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    margin: 0;
  }

  .reel-card.is-front img,
  .reel-card.is-open img {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    max-height: 250px;
    object-fit: cover;
  }

  .people-hero { padding: 1rem 0 0; }

  .people-page {
    display: block;
    padding: 0.7rem 0 1.5rem;
  }

  .people-page .team-grid {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    column-gap: 0.65rem;
    row-gap: 0.75rem;
  }

  .people-page .team-card {
    width: 100%;
    height: auto;
  }

  .people-page .team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .team-card strong { font-size: 0.92rem; }

  .team-card span {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .about-sections {
    gap: 0.55rem;
    padding: 0.65rem 0 1.25rem;
  }

  .about-blurb { padding: 0.55rem 0.65rem 0.5rem 0.55rem; }

  .about-copy { gap: 0.45rem; }

  .about-blurb .kicker {
    white-space: normal;
    font-size: 1.02rem;
    padding-bottom: 0.28rem;
  }

  .about-blurb p:not(.kicker) {
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .about-blurb li { font-size: 0.92rem; padding-top: 0.32rem; }

  .about-history li {
    font-size: 0.98rem;
    padding: 0.28rem 0 0.2rem;
  }

  .about-blurb ul { grid-template-columns: 1fr 1fr; }

  .service-card h2,
  .project-card h2 { font-size: 1.12rem; }

  .contact-card {
    margin: 1rem auto 1.5rem;
    padding: 1.2rem 1rem 1.3rem;
    gap: 1.35rem;
  }

  .contact-card h1 { font-size: 2rem; }

  .contact-form { grid-template-columns: 1fr; }

  .contact-form input,
  .contact-form textarea { font-size: 16px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .site-footer { font-size: 0.82rem; }
}
