@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161411;
  --cream: #efeae1;
  --mute: #8d877c;
  --red: #a81800;
  --line: #2a2622;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.05rem/1.55 "Barlow", "Segoe UI", sans-serif;
}

img { max-width: 100%; }

h1, h2, p, dl, dd, figure, address { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

a { color: inherit; }

button { font: inherit; }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 50;
  background: #fff;
  color: #111;
  padding: 0.4rem 0.7rem;
}

.skip:focus { top: 0.45rem; }

.study {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.55rem max(1.25rem, env(safe-area-inset-left));
  background: #111;
  color: #f3efe6;
  font: 500 0.75rem/1.4 ui-sans-serif, system-ui, sans-serif;
}

.study p { margin: 0; }

.study nav { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; }

.study a { color: #d9d3c8; }

.study a[aria-current="page"] { color: #fff; text-decoration: none; }

.site-header {
  background: #fff;
  border-bottom: 3px solid var(--red);
}

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 0;
}

.brand img { display: block; height: 50px; width: auto; background: #fff; }

.header-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.35rem;
}

.site-nav { display: flex; gap: 1.05rem; }

.site-nav a { text-decoration: none; font-weight: 500; }

.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.hero {
  display: grid;
  background: var(--ink);
  color: var(--cream);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.8rem, 5vh, 3rem) max(1.25rem, calc((100% - 1180px) / 2)) clamp(1.6rem, 4vh, 2.4rem) max(1.25rem, 6vw);
  border-left: 6px solid var(--red);
}

.eyebrow {
  color: #e7b2a6;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, .stats dd, .tenets span, .film figcaption {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 8ch;
  margin-top: 0.35rem;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.84;
}

.deck {
  max-width: 28rem;
  margin-top: 1rem;
  color: rgba(239, 234, 225, 0.82);
}

.hero-photo { position: relative; height: 48vh; background: #2a2622; }

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-photo figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  padding: 0.2rem 0.45rem;
  background: rgba(22, 20, 17, 0.62);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.15rem 0;
}

.stats dt {
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats dd { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 0.95; }

.work { background: var(--ink); color: var(--cream); }

.work-head {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0 1.1rem;
}

.work-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 0.9; }

.work-head p { max-width: 32rem; margin-top: 0.45rem; color: rgba(239, 234, 225, 0.72); }

.film {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.4rem;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #2a2622;
  cursor: zoom-in;
}

.shot img,
.hero-photo img {
  width: 100%;
}

.film .shot img {
  display: block;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.film figcaption {
  padding: 0.45rem 0.7rem 0.7rem;
  font-size: 1.25rem;
  line-height: 1;
}

.film figcaption span {
  display: block;
  margin-bottom: 0.15rem;
  color: #e7b2a6;
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }

.practice h2 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.88;
}

.prose { max-width: 38rem; margin-top: 0.9rem; }

.tenets { margin-top: 1.4rem; }

.tenets li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-top: 1px solid #ddd6cb;
}

.tenets span { font-size: 1.8rem; line-height: 0.9; }

.credo {
  margin-top: 1rem;
  font-weight: 500;
}

.owners, .systems { padding: 0 0 2.4rem; }

.owners h2, .systems h2, .place h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.92;
}

.owners p, .systems p { margin-top: 0.4rem; color: #5c564e; }

.kinds { display: flex; flex-wrap: wrap; margin-top: 0.8rem; }

.kinds li { font-weight: 500; font-size: 1.15rem; }

.kinds li:not(:last-child)::after { content: "  ·  "; color: var(--red); }

.marks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.marks li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 5.6rem;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid #ddd6cb;
}

.marks img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  object-position: left center;
}

.marks span { color: #5c564e; font-size: 0.78rem; }

.place {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}

.close { display: grid; gap: 1.3rem; }

.role, .place address {
  margin-top: 0.45rem;
  color: rgba(239, 234, 225, 0.78);
  line-height: 1.55;
}

.place a { text-underline-offset: 0.18em; }

.colophon {
  padding: 0.9rem max(1.25rem, calc((100% - 1180px) / 2)) 1.3rem;
  color: #5c564e;
  font-size: 0.92rem;
}

#lightbox {
  width: min(1040px, calc(100vw - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  padding: 0;
  border: 0;
  background: #141210;
  color: var(--cream);
}

#lightbox::backdrop { background: rgba(8, 7, 6, 0.78); }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
}

.lb-bar form { margin: 0; }

.lb-bar button {
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(239, 234, 225, 0.45);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

#lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 5.5rem);
  object-fit: contain;
  background: #000;
}

[id] { scroll-margin-top: 5.5rem; }

@media (max-width: 640px) {
  .brand img { height: 46px; }
  .header-side { width: 100%; justify-content: space-between; }
  .site-nav a { padding: 0.35rem 0; }
}

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .film { grid-template-columns: 1fr 1fr; }
  .marks { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 980px) {
  .hero { grid-template-columns: 0.9fr 1.1fr; min-height: calc(100svh - 8rem); }
  .hero-photo { min-height: 100%; }
  .hero-photo img { position: absolute; inset: 0; height: 100%; }
  .film { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .close { grid-template-columns: 1fr 1fr; align-items: end; }
}

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