:root {
  --ink: #202020;
  --soft-ink: #454545;
  --paper: #f2f2ee;
  --quiet: #77746e;
  --accent: #8f6f3d;
  --accent-soft: rgba(143, 111, 61, 0.16);
  --line: rgba(32, 32, 32, 0.2);
  --shadow: rgba(22, 22, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  background: var(--paper);
}

body:not(.landing-page) {
  animation: pageReveal 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.landing-page {
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.page-about {
  --accent: #9a3830;
  --accent-soft: rgba(154, 56, 48, 0.16);
}

.page-mission {
  --accent: #1f6f68;
  --accent-soft: rgba(31, 111, 104, 0.16);
}

.page-projects {
  --accent: #6f5aa8;
  --accent-soft: rgba(111, 90, 168, 0.16);
}

.page-kuks {
  --accent: #7a5635;
  --accent-soft: rgba(122, 86, 53, 0.15);
}

.page-contact {
  --accent: #9a6b1f;
  --accent-soft: rgba(154, 107, 31, 0.14);
}

.page-tv {
  --accent: #2c526f;
  --accent-soft: rgba(44, 82, 111, 0.14);
}

body.image-page {
  position: relative;
  background: var(--paper);
  isolation: isolate;
}

body.image-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("pozadina2.jpg");
  background-position: center;
  background-size: cover;
}

body.image-page::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(242, 242, 238, 0.86), rgba(242, 242, 238, 0.7)),
    rgba(242, 242, 238, 0.24);
}

body.texture-page {
  position: relative;
  background: var(--paper);
  isolation: isolate;
}

body.texture-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("pozadina.jpg");
  background-position: center;
  background-size: cover;
}

body.texture-page::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(242, 242, 238, 0.72);
}

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

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(242, 242, 238, 0.96), rgba(242, 242, 238, 0.9)),
    var(--paper);
  opacity: 0;
  transform: scaleY(0);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.76, 0, 0.24, 1);
}

.is-transitioning-forward .page-transition {
  opacity: 1;
  transform: scaleY(1);
  transform-origin: bottom;
}

.is-transitioning-back .page-transition {
  opacity: 1;
  transform: scaleY(1);
  transform-origin: top;
}

button {
  font: inherit;
}

.intro {
  position: relative;
  display: grid;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  transition:
    filter 900ms ease,
    transform 900ms ease;
}

.intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("pozadina.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 900ms ease, filter 900ms ease;
}

.intro::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background: var(--paper);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.76, 0, 0.24, 1);
}

.intro__stage {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(70vw, 430px);
  min-height: 260px;
  place-items: center;
  padding: 28px;
}

.intro__logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  animation: logoFadeIn 1.2s ease-out 0.2s forwards;
}

.intro__next {
  max-width: 460px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: panelFadeIn 0.5s ease-out forwards;
}

.intro__next h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 650;
  line-height: 1;
}

.intro__next p {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.continue-button {
  position: fixed;
  z-index: 2;
  right: 50%;
  bottom: clamp(26px, 6vh, 62px);
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: Oswald, Arial Narrow, sans-serif;
  transform: translateX(50%);
  opacity: 0;
  animation: buttonFadeIn 0.65s ease-out 1s forwards;
  letter-spacing: 0;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.continue-button:hover {
  color: var(--soft-ink);
  transform: translateX(50%) translateY(-2px);
}

.continue-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

.intro.is-leaving .intro__logo {
  animation: logoFadeOut 0.72s ease-in forwards;
}

.intro.is-leaving .continue-button {
  pointer-events: none;
  animation: buttonFadeOut 0.55s ease-in forwards;
}

.intro.is-leaving {
  filter: saturate(0.84) blur(1px);
  transform: scale(1.015);
}

.intro.is-leaving::before {
  filter: blur(1px);
  opacity: 0.72;
}

.intro.is-leaving::after {
  opacity: 1;
  transform: scaleY(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(32, 32, 32, 0.12);
  background: rgba(242, 242, 238, 0.88);
  backdrop-filter: blur(12px);
}

.image-page .site-header {
  background: rgba(242, 242, 238, 0.54);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 38px);
  color: var(--soft-ink);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
}

.site-main {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.site-main::before {
  display: none;
}

.page-content {
  display: grid;
  grid-template-columns: minmax(54px, 90px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  min-height: calc(100vh - 54px);
  padding: clamp(52px, 7vw, 86px) 0 clamp(46px, 6vw, 76px);
  animation: pageEnter 700ms ease-out both;
}

.page-content--stack {
  align-content: start;
  min-height: 0;
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section-copy {
  align-self: center;
  width: min(100%, 820px);
}

.section-copy h1,
.section-copy h2 {
  max-width: 760px;
  margin: 0 0 clamp(18px, 3vw, 30px);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 4.35rem);
  font-weight: 500;
  line-height: 0.96;
}

.section-copy p {
  max-width: 620px;
  margin: 0;
  padding-left: 0;
  border-left: 0;
  color: var(--soft-ink);
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  line-height: 1.62;
}

.editorial-note {
  max-width: 760px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: clamp(20px, 4vw, 34px) 0 0;
  border: 0;
  border-top: 1px solid rgba(32, 32, 32, 0.18);
  color: var(--ink);
  background: transparent;
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  backdrop-filter: none;
}

.visual-frame {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: rgba(242, 242, 238, 0.62);
  border: 1px solid rgba(32, 32, 32, 0.18);
  box-shadow: none;
}

.visual-frame::after {
  display: none;
}

.visual-frame::before {
  display: block;
  padding-top: 70%;
  content: "";
}

.visual-frame--wide {
  width: min(100%, 700px);
  margin-top: clamp(28px, 5vw, 50px);
  margin-left: 0;
}

.visual-frame--wide::before {
  padding-top: 58%;
}

.visual-frame img,
.project-thumb img,
.video-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transition: transform 500ms ease, filter 500ms ease;
}

.visual-frame:hover img,
.project-thumb:hover img,
.video-slot:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.035);
}

.visual-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: end;
}

.visual-strip .visual-frame:nth-child(2) {
  margin-bottom: clamp(20px, 4vw, 54px);
}

.visual-strip--offset {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-blocks {
  display: grid;
  gap: clamp(38px, 6vw, 64px);
  padding: 0 0 clamp(68px, 8vw, 110px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(30px, 5vw, 52px) 0 0;
  border-top: 1px solid rgba(32, 32, 32, 0.16);
}

.block-title {
  margin: 0;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.block-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--quiet);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.text-stack {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.text-stack p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.18rem;
  line-height: 1.65;
}

.quiet-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  padding: 22px 0;
  border-top: 1px solid rgba(32, 32, 32, 0.12);
}

.quiet-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.item-label {
  color: var(--quiet);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.item-copy {
  color: var(--soft-ink);
  font-size: 1.12rem;
  line-height: 1.6;
}

.split-statement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 6vw, 72px);
}

.statement {
  padding: 0 0 22px;
  border-top: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.14);
  background: transparent;
  backdrop-filter: none;
}

.statement strong {
  display: block;
  margin-bottom: 14px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.18;
}

.statement span {
  display: block;
  color: var(--soft-ink);
  font-size: 1.08rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.team-card {
  display: grid;
  gap: 16px;
  align-content: start;
  cursor: pointer;
  transition:
    color 160ms ease,
    transform 180ms ease;
}

.team-card:hover,
.team-card:focus-visible {
  color: var(--accent);
  transform: translateY(-3px);
  outline: 0;
}

.team-card:focus-visible .team-photo {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.team-photo {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.16);
  background:
    linear-gradient(135deg, rgba(32, 32, 32, 0.08), rgba(32, 32, 32, 0)),
    var(--accent-soft);
}

.team-photo::before {
  display: block;
  padding-top: 112%;
  content: "";
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.team-photo--placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(2.3rem, 7vw, 4rem);
}

.team-photo--placeholder span {
  position: absolute;
}

.team-card h3 {
  margin: 0 0 6px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.08;
}

.team-role {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-card p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.04rem;
  line-height: 1.55;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  overflow-y: auto;
  background: rgba(32, 32, 32, 0.48);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.team-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.has-open-modal {
  overflow: hidden;
}

.team-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(620px, 100%);
  max-height: calc(100svh - 36px);
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.18);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.team-modal.is-open .team-modal__panel {
  opacity: 1;
  transform: translateY(0);
}

.team-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(32, 32, 32, 0.18);
  color: var(--ink);
  background: rgba(242, 242, 238, 0.86);
  cursor: pointer;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.team-modal__close:hover,
.team-modal__close:focus-visible {
  color: var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.team-modal__photo {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 42svh, 390px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 32, 32, 0.08), rgba(32, 32, 32, 0)),
    var(--accent-soft);
}

.team-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.team-modal__photo--placeholder {
  display: grid;
  min-height: 300px;
  place-items: center;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(4rem, 16vw, 8rem);
}

.team-modal__copy {
  padding: clamp(26px, 5vw, 42px);
  overflow-y: auto;
}

.team-modal__name {
  margin: 0 0 8px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.02;
}

.team-modal__role {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-modal__bio {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(32, 32, 32, 0.14);
}

.method-grid div {
  min-height: 190px;
  padding: 22px;
  background: rgba(242, 242, 238, 0.78);
  backdrop-filter: blur(12px);
}

.method-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.8rem;
  line-height: 1;
}

.method-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.method-grid p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.project-index {
  display: grid;
  gap: 0;
}

.project-index article {
  display: grid;
  grid-template-columns: minmax(70px, 100px) minmax(150px, 210px) minmax(0, 1fr) minmax(100px, 140px);
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-top: 1px solid rgba(32, 32, 32, 0.16);
}

.project-index article:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-index .meta {
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-index h2 {
  margin: 0 0 10px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
}

.project-index p {
  max-width: 620px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.12rem;
  line-height: 1.6;
}

.project-index .status {
  color: var(--soft-ink);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.92rem;
  text-align: right;
}

.project-thumb {
  position: relative;
  width: 100%;
  min-height: 132px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.16);
  background: rgba(242, 242, 238, 0.6);
}

.journal-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(32, 32, 32, 0.16);
}

.journal-card {
  display: grid;
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  align-content: space-between;
  background:
    linear-gradient(145deg, rgba(32, 32, 32, 0.04), rgba(32, 32, 32, 0)),
    rgba(242, 242, 238, 0.86);
}

.journal-card__meta,
.journal-card__status {
  color: var(--accent);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.journal-card h2 {
  margin: 42px 0 12px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.journal-card p {
  margin: 0 0 30px;
  color: var(--soft-ink);
  font-size: 1.12rem;
  line-height: 1.58;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
}

.contact-panel h2 {
  margin: 0 0 18px;
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
}

.contact-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.16rem;
  line-height: 1.65;
}

.contact-lines {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent-soft);
  color: var(--soft-ink);
}

.contact-lines b {
  color: var(--ink);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-weight: 500;
}

.video-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(32, 32, 32, 0.16);
}

.video-slot {
  position: relative;
  display: grid;
  min-height: 250px;
  padding: 20px;
  overflow: hidden;
  align-content: end;
  background:
    linear-gradient(145deg, rgba(32, 32, 32, 0.04), rgba(32, 32, 32, 0)),
    var(--paper);
}

.video-slot::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.02) 62%);
}

.video-slot span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-family: Oswald, Arial Narrow, sans-serif;
  font-size: 0.82rem;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonFadeIn {
  from {
    opacity: 0;
    transform: translateX(50%) translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateX(50%) translateY(0);
  }
}

@keyframes logoFadeOut {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes buttonFadeOut {
  to {
    opacity: 0;
    transform: translateX(50%) translateY(10px);
  }
}

@keyframes panelFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .intro {
    background-size: cover;
  }

  .site-header {
    min-height: 0;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 15px;
    font-size: 0.72rem;
  }

  .page-content {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 52px 0;
  }

  .section-label {
    font-size: 0.74rem;
    writing-mode: horizontal-tb;
  }

  .section-copy h1,
  .section-copy h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
    line-height: 0.98;
  }

  .section-copy p {
    margin-left: 0;
  }

  .editorial-note {
    padding: 22px 0 0;
    font-size: clamp(1.2rem, 6.5vw, 1.8rem);
  }

  .section-copy {
    align-self: auto;
  }

  .content-grid,
  .quiet-list li,
  .split-statement,
  .team-grid,
  .journal-shelf,
  .method-grid,
  .project-index article,
  .contact-panel,
  .video-shelf,
  .visual-strip,
  .visual-strip--offset {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-index .status {
    text-align: left;
  }

  .site-main::before {
    display: none;
  }

  .visual-frame {
    box-shadow: none;
  }

  .visual-strip .visual-frame:nth-child(2) {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
