/* ---------- Tokens ---------- */
:root {
  --bg-dark: #0b0b0c;
  --bg-dark-alt: #131314;
  --fg-dark: #f2f1ee;
  --fg-dark-dim: rgba(242, 241, 238, 0.6);
  --fg-dark-faint: rgba(242, 241, 238, 0.36);

  --bg-light: #f7f6f3;
  --fg-light: #101012;
  --fg-light-dim: rgba(16, 16, 18, 0.62);
  --fg-light-faint: rgba(16, 16, 18, 0.34);

  --line: #ff4b1f;
  --line-dark: rgba(242, 241, 238, 0.16);
  --line-light: rgba(16, 16, 18, 0.14);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --nav-h: 78px;
  --edge: clamp(1.5rem, 5vw, 4.75rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--fg-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--line); color: #0b0b0c; }

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

/* ---------- Theme blocks ---------- */
.theme-dark { background: var(--bg-dark); color: var(--fg-dark); }
.theme-light { background: var(--bg-light); color: var(--fg-light); }

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress line ---------- */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 250;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.btn--primary {
  background: var(--fg-dark);
  color: var(--bg-dark);
  transition: transform 0.4s var(--ease);
}

.btn--primary span { position: relative; z-index: 1; }

.btn--primary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { transform: scaleX(1); }
.btn--primary:active { transform: translateY(0); }

/* ---------- Section title (light sections) ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(11, 11, 12, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--fg-dark);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.nav[data-theme="light"] {
  background: rgba(247, 246, 243, 0.68);
  color: var(--fg-light);
  border-bottom-color: var(--line-light);
}

.nav__grid {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.nav__cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  padding: 0 clamp(1.1rem, 2.2vw, 1.9rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-left: 1px solid var(--line-dark);
  transition: color 0.3s var(--ease), border-color 0.5s var(--ease);
}

.nav[data-theme="light"] .nav__cell { border-left-color: var(--line-light); }

.nav__cell--logo {
  border-left: none;
  margin-right: auto;
  padding-left: var(--edge);
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.nav__logo-bracket {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
}

.nav__logo-bracket::before,
.nav__logo-bracket::after {
  content: "";
  position: absolute;
  border-color: var(--line);
  border-style: solid;
  width: 7px;
  height: 7px;
}
.nav__logo-bracket::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.nav__logo-bracket::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.nav__cell--logo:hover .nav__logo-bracket { transform: rotate(90deg); }

.nav__cell:not(.nav__cell--logo):not(.nav__cell--accent):hover { color: var(--fg-dark); }
.nav[data-theme="light"] .nav__cell:not(.nav__cell--logo):not(.nav__cell--accent) { color: var(--fg-light-dim); }
.nav[data-theme="light"] .nav__cell:not(.nav__cell--logo):not(.nav__cell--accent):hover { color: var(--fg-light); }
.nav:not([data-theme="light"]) .nav__cell:not(.nav__cell--logo):not(.nav__cell--accent) { color: var(--fg-dark-dim); }

.nav__corner {
  position: absolute;
  bottom: 10px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid var(--fg-dark-faint);
  border-right: 1px solid var(--fg-dark-faint);
}

.nav[data-theme="light"] .nav__corner { border-color: var(--fg-light-faint); }

.nav__cell--accent {
  padding-right: var(--edge);
  color: var(--line);
  font-weight: 600;
}

.nav__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.nav__cell--accent:hover .nav__arrow { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

/* Sits exactly at a sticky section's natural top edge so scroll-based
   observers (nav theme-sync) read real scroll position, not the pinned box. */
.theme-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 14rem;
  overflow: hidden;
}

.hero__bar { flex: 0 0 auto; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: contrast(1.08) brightness(0.92);
  transform: scale(1.08);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0.1) 26%, rgba(11, 11, 12, 0.3) 58%, rgba(11, 11, 12, 0.95) 100%);
}

/* Ruler-frame chrome: ticks + corner plus-marks over the video */
.hero__frame {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero__ticks {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(242, 241, 238, 0.32) 0 1px, transparent 1px 9px);
}

.hero__ticks--top { top: 22px; }

.hero__plus {
  position: absolute;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(242, 241, 238, 0.4);
}

.hero__plus--tl { left: calc(var(--edge) - 0.4rem); }
.hero__plus--tr { right: calc(var(--edge) - 0.4rem); }

.hero__credit {
  position: absolute;
  top: 36px;
  right: var(--edge);
  z-index: 6;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--fg-dark-faint);
}

/* Cursor coordinate readout */
.hero__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transform: translate(-999px, -999px);
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
}

.hero__cursor.is-active { opacity: 1; }

.hero__cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--line);
  box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.22);
}

.hero__cursor-coord {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--line);
  white-space: nowrap;
}

@media (hover: none) {
  .hero__cursor { display: none; }
}

/* Touch/mobile GPUs choke on a fixed, blurred nav sitting above the
   scrolling hero video every frame — trade the glass effect for a
   solid fill here instead of paying that cost on every scroll. */
@media (hover: none), (max-width: 768px) {
  .nav {
    background: rgba(11, 11, 12, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav[data-theme="light"] {
    background: rgba(247, 246, 243, 0.94);
  }
}

/* Bottom block bar: headline / description / discover-more */
.hero__bar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(19rem, 1.7fr) minmax(14rem, 1fr) minmax(9rem, 0.55fr);
  align-items: stretch;
  border-top: 1px solid var(--line-dark);
  background: rgba(11, 11, 12, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__bar::before, .hero__bar::after {
  content: "+";
  position: absolute;
  top: -0.58em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(242, 241, 238, 0.4);
}
.hero__bar::before { left: calc(var(--edge) - 0.4rem); }
.hero__bar::after { right: calc(var(--edge) - 0.4rem); }

.hero__bar-cell {
  padding: clamp(1.75rem, 4.5vh, 2.75rem) clamp(1.4rem, 3vw, 2.25rem);
  border-left: 1px solid var(--line-dark);
  transition-delay: 0.1s;
}

.hero__bar-cell:first-child { border-left: none; padding-left: var(--edge); }
.hero__bar-cell:last-child { padding-right: var(--edge); }
.hero__bar-cell:nth-child(2) { transition-delay: 0.2s; }
.hero__bar-cell:nth-child(3) { transition-delay: 0.3s; }

.hero__bar-cell--headline h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.hero__bar-cell--desc {
  display: flex;
  align-items: center;
}

.hero__bar-cell--desc p {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  color: var(--fg-dark-dim);
  line-height: 1.6;
  max-width: 30ch;
}

.hero__bar-cell--desc strong { color: var(--fg-dark); font-weight: 600; }

.hero__bar-cell--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__bar-arrow {
  font-size: 1.4rem;
  transition: transform 0.35s var(--ease);
}

.hero__bar-cell--cta:hover .hero__bar-arrow { transform: translate(4px, -4px); }

/* ---------- Statement (light) ---------- */
.statement {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) var(--edge);
}

.statement__inner {
  max-width: 58rem;
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.statement__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.statement__rule {
  display: block;
  width: 4.5rem;
  height: 2px;
  background: var(--line);
}

.statement__body {
  max-width: 40rem;
  margin-left: clamp(0rem, 8vw, 9rem);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--fg-light-dim);
  line-height: 1.75;
}

/* ---------- Work (light, full-bleed column spread) ---------- */
.work { position: relative; padding: clamp(4rem, 10vh, 6rem) 0 0; }

.work__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding: 0 var(--edge) clamp(2.5rem, 7vh, 4rem);
}

.work__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.work__lead {
  max-width: 30rem;
  margin-left: auto;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--fg-light-dim);
  line-height: 1.65;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.work__ruler {
  position: relative;
  height: clamp(2rem, 5vh, 3rem);
}

.work__ticks {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, var(--fg-light-faint) 0 1px, transparent 1px 9px);
}

.work__plus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  color: var(--fg-light-faint);
}

.work__plus--l { left: calc(var(--edge) - 0.4rem); }
.work__plus--r { right: calc(var(--edge) - 0.4rem); }

.commission {
  position: relative;
  padding: clamp(1.5rem, 3vh, 2rem) clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vh, 2.5rem);
  border-left: 1px solid var(--line-light);
}

.commission:last-child { border-right: 1px solid var(--line-light); }

.commission__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: clamp(1rem, 2.5vh, 1.5rem);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--fg-light-faint);
}

.commission__coord {
  font-weight: 600;
  color: var(--fg-light-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.commission__index { flex: 0 0 auto; }

.commission__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.commission__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.98);
}

.commission__photo::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
}

.commission__rule {
  display: block;
  margin: clamp(1.25rem, 3vh, 1.75rem) 0;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--line-light) 0 5px, transparent 5px 10px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.commission__rule--head { margin-top: 0; }

.commission.is-visible .commission__rule { transform: scaleX(1); }

.commission__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.commission__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-light-dim);
  line-height: 1.55;
}

.commission__meta {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--fg-light-faint);
}

/* ---------- Momentum (dark, single kinetic figure) ---------- */
.momentum {
  position: sticky;
  top: 0;
  padding: clamp(6rem, 16vh, 10rem) var(--edge);
  text-align: center;
}

.momentum__inner { max-width: 40rem; margin: 0 auto; }

.momentum__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.momentum__line {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: 2px;
  margin: 1.75rem auto 0;
  background: var(--line-dark);
  position: relative;
  overflow: hidden;
}

.momentum__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease);
}

.momentum__line.is-filled::after { transform: scaleX(1); }

.momentum__caption {
  margin-top: 1.75rem;
  color: var(--fg-dark-dim);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Studio (light, asymmetric bleed) ---------- */
.studio { position: relative; padding: clamp(5rem, 10vh, 7rem) 0 clamp(5rem, 10vh, 7rem) var(--edge); }

.studio__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 30%) auto 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.studio__text p {
  margin-top: 1.75rem;
  max-width: 28rem;
  color: var(--fg-light-dim);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.studio__rule {
  display: block;
  width: 2px;
  height: clamp(10rem, 34vh, 22rem);
  background: var(--line);
  justify-self: center;
}

.studio__media { position: relative; }

.studio__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 55% 45%;
  filter: grayscale(1) contrast(1.22) brightness(1.02);
}

.studio__credit {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fg-light-faint);
}

/* ---------- Contact (dark bookend) ---------- */
.contact {
  position: relative;
  padding: clamp(7rem, 18vh, 11rem) var(--edge);
  text-align: center;
}

.contact__inner {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.contact__subtitle {
  color: var(--fg-dark-dim);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 30rem;
}

.contact .btn { margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
}

.footer__wordmark {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vh, 2.75rem) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.footer__giant-stage {
  position: relative;
  width: 100%;
}

.footer__giant {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 27vw, 22rem);
  line-height: 0.78;
  text-align: center;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-dark);
  text-transform: uppercase;
  user-select: none;
  transition: opacity 0.4s var(--ease);
}

.footer__giant-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.footer__giant-stage.is-live .footer__giant { opacity: 0; }
.footer__giant-stage.is-live .footer__giant-canvas { opacity: 1; }

.footer__cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.footer__cursor.is-active { opacity: 1; }

.footer__ticks {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--fg-dark-faint) 0 1px, transparent 1px 9px);
}

.footer__ticks--top { top: 0.7rem; }
.footer__ticks--bottom { bottom: 0.7rem; }

.footer__plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  color: var(--fg-dark-faint);
}

.footer__plus--tl { top: 0.5rem; left: calc(var(--edge) - 0.4rem); }
.footer__plus--tr { top: 0.5rem; right: calc(var(--edge) - 0.4rem); }
.footer__plus--bl { bottom: 0.5rem; left: calc(var(--edge) - 0.4rem); }
.footer__plus--br { bottom: 0.5rem; right: calc(var(--edge) - 0.4rem); }

.footer__inner {
  position: relative;
  padding: 2.25rem var(--edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  font-size: 0.82rem;
  color: var(--fg-dark-dim);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg-dark);
  margin-right: auto;
  text-transform: uppercase;
}

.footer__social { display: flex; gap: 1.25rem; }

.footer__social a { position: relative; padding-left: 0.9rem; }
.footer__social a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--line);
  transform: translateY(-50%);
  transition: width 0.3s var(--ease);
}
.footer__social a:hover::before { width: 0.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .work__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }
  .work__lead { max-width: none; margin-left: 0; }

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

  .commission:nth-child(2n+1) { border-left: 1px solid var(--line-light); }
  .commission:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .commission:nth-child(2n) { border-right: 1px solid var(--line-light); }

  .studio__grid { grid-template-columns: 1fr; }
  .studio__rule { width: 100%; height: 2px; }
  .studio__media { order: -1; }
}

@media (max-width: 860px) {
  .hero__bar {
    grid-template-columns: 1fr;
  }
  .hero__bar-cell {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding: 1.5rem var(--edge) !important;
  }
  .hero__bar-cell:first-child { border-top: none; }
  .hero__bar-cell--headline h1 { max-width: 20ch; }
  .hero__bar-cell--cta { flex-direction: row; align-items: center; justify-content: space-between; }

  .hero__frame, .hero__credit { display: none; }
}

@media (max-width: 640px) {
  .nav__cell { padding: 0 0.85rem; font-size: 0.7rem; }
  .nav__cell--logo { font-size: 0.88rem; padding-right: 1.1rem; }
  .statement__body { margin-left: 0; }

  .work__grid { grid-template-columns: 1fr; }
  .commission,
  .commission:nth-child(2n+1),
  .commission:nth-child(2n) {
    border-left: none;
    border-right: none;
  }
  .commission:nth-child(n+2) { border-top: 1px solid var(--line-light); }
  .commission__photo { max-width: 16rem; }
}

/* ---------- Cookie banner (compact, bottom-right) ---------- */
.cookie {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 400;
  width: min(21rem, calc(100vw - 3rem));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  color: var(--fg-dark);
  transform: translateY(calc(100% + 1.5rem));
  transition: transform 0.5s var(--ease);
}

.cookie.is-visible { transform: translateY(0); }

.cookie__text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fg-dark-dim);
}

.cookie__link {
  color: var(--fg-dark);
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 3px;
}

.cookie__actions { display: flex; gap: 0.65rem; }

.cookie__btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--line-dark);
}

.cookie__btn--accept {
  background: var(--line);
  border-color: var(--line);
  color: var(--bg-dark);
}

.cookie__btn--reject {
  background: transparent;
  color: var(--fg-dark-dim);
}

.cookie__btn--reject:hover { color: var(--fg-dark); border-color: var(--fg-dark-faint); }

@media (max-width: 640px) {
  .cookie { right: 1rem; bottom: 1rem; width: calc(100vw - 2rem); }
}
