/* ============================================================
   RANIA BARHOUMI · movement artist & choreographer
   ============================================================ */

:root {
  --ink: oklch(0.13 0.008 60);
  --ink-2: oklch(0.22 0.008 60);
  --ink-3: oklch(0.42 0.006 60);
  --paper: oklch(0.96 0.008 80);
  --paper-2: oklch(0.92 0.01 80);
  --line: oklch(0.85 0.008 80);
  --rouge: oklch(0.52 0.21 25);
  --rouge-deep: oklch(0.38 0.16 25);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", ui-serif, Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

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

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

::selection { background: var(--rouge); color: var(--paper); }

/* ============================================================
   FRAME — top bar, bottom bar, side rail
   ============================================================ */

.frame-top {
  position: fixed; top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 32px;
  z-index: 100;
  mix-blend-mode: difference;
  color: var(--paper);
  pointer-events: none;
}
.frame-top > * { pointer-events: auto; }

.frame-top .brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-style: italic;
}
.frame-top .brand b { font-style: normal; font-weight: 500; }

.frame-top nav {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.frame-top nav a {
  position: relative;
  padding: 4px 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.frame-top nav a:hover { opacity: 1; }
.frame-top nav a.active { opacity: 1; }
.frame-top nav a.active::after {
  content: "";
  position: absolute; left: -10px; top: 50%;
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}

.frame-top .meta {
  justify-self: end;
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.frame-bottom {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 32px;
  z-index: 100;
  mix-blend-mode: difference;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.frame-bottom > * { pointer-events: auto; }
.frame-bottom .idx { opacity: 0.7; }
.frame-bottom .ticker {
  justify-self: center;
  opacity: 0.7;
  display: flex; gap: 14px;
  align-items: center;
}
.frame-bottom .ticker .dot {
  width: 6px; height: 6px;
  background: var(--rouge);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}
.frame-bottom .socials {
  justify-self: end;
  display: flex; gap: 18px;
  opacity: 0.7;
}
.frame-bottom .socials a:hover { opacity: 1; color: var(--paper); }

/* ============================================================
   SHARED LAYOUT
   ============================================================ */

.page {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 80px;
}

.page-transition-enter {
  animation: pageIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes pageIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-wrap: balance;
}

.display i { font-weight: 400; }

h1.display { font-size: clamp(64px, 11vw, 200px); }
h2.display { font-size: clamp(42px, 6vw, 96px); }
h3.display { font-size: clamp(28px, 3.4vw, 52px); }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: balance;
}

.body-copy {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.body-copy p + p { margin-top: 1em; }

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-stack {
  position: absolute; inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1) contrast(1.05);
  transition: opacity 1.2s ease;
  will-change: transform;
}
.hero-img.is-hidden { opacity: 0; }

.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 30%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.55) 100%);
}

.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

.hero-title {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 90px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
}

.hero-title .display {
  color: var(--paper);
  font-size: clamp(72px, 13vw, 240px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.88;
}

.hero-title .display .non-italic { font-style: normal; }

.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  max-width: 36ch;
  line-height: 1.6;
}

.hero-counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.6;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-counter .bar {
  display: inline-block;
  width: 80px; height: 1px;
  background: var(--paper);
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}
.hero-counter .bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  transform-origin: left;
  animation: barFill 5s linear infinite;
}
@keyframes barFill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute;
  left: 0; right: 0; top: -50%; height: 50%;
  background: var(--paper);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { top: -50%; }
  100% { top: 100%; }
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -4px); }
}

/* ============================================================
   HOME — MANIFESTO BAND
   ============================================================ */

.manifesto {
  padding: 18vh 0 16vh;
  background: var(--paper);
}

.manifesto .display {
  font-size: clamp(40px, 5.4vw, 88px);
}

.manifesto .sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.manifesto .sig::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--ink-3);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-word.is-visible > span {
  transform: translateY(0);
}

/* ============================================================
   HOME — WORK STRIP (parallax tile rail)
   ============================================================ */

.work-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 14vh 0;
  position: relative;
  overflow: hidden;
}

.work-strip .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 80px;
}
.work-strip .head .eyebrow { color: var(--paper-2); }
.work-strip .head .display { color: var(--paper); }

.work-rail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.work-tile {
  display: block;
  position: relative;
  cursor: pointer;
  perspective: 1200px;
  will-change: transform;
}

.work-tile .frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-tile .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
  will-change: transform;
}

.work-tile:hover .frame img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.work-tile.tall .frame { aspect-ratio: 3 / 4.4; transform: translateY(40px); }
.work-tile.short .frame { aspect-ratio: 3 / 3.4; transform: translateY(0); }

.work-tile .caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-tile .caption .title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.1;
}
.work-tile .caption .meta { opacity: 0.55; }

/* ============================================================
   HOME — CAMPAIGN BAND (professional card fund)
   ============================================================ */

.campaign {
  padding: 14vh 0;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.campaign .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85;
  color: var(--rouge);
  letter-spacing: -0.04em;
}

.campaign .num small {
  font-style: normal;
  font-size: 0.18em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: 1em;
  color: var(--ink-3);
  font-family: var(--mono);
}

.campaign h2 {
  margin-top: 18px;
  margin-bottom: 28px;
}

.campaign .progress {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.campaign .progress .track {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.campaign .progress .track::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--rouge);
}
.campaign .progress .row {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  margin-top: 36px;
}
.cta:hover { background: var(--rouge); transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta.ghost:hover { background: var(--ink); color: var(--paper); }
.cta .arrow { transition: transform 0.25s ease; }
.cta:hover .arrow { transform: translateX(4px); }

/* ============================================================
   PROJECTS INDEX
   ============================================================ */

.page-head {
  padding: 22vh 0 10vh;
}

.page-head .title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.page-head .filter {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-head .filter button {
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
  transition: color 0.2s ease;
}
.page-head .filter button.active,
.page-head .filter button:hover {
  color: var(--ink);
}
.page-head .filter button.active {
  position: relative;
}
.page-head .filter button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--rouge);
}

.work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 120px 200px 100px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-row:hover { padding-left: 16px; }

.work-row .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.work-row .title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.work-row .summary {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 36ch;
}
.work-row .type,
.work-row .year,
.work-row .arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work-row .arrow {
  text-align: right;
  transition: transform 0.4s ease;
}
.work-row:hover .arrow {
  color: var(--rouge);
  transform: translateX(6px);
}

.work-row .peek {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%) scale(0.7);
  width: 180px;
  height: 220px;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 2;
  filter: grayscale(0.4);
}
.work-row:hover .peek {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ============================================================
   PROJECT DETAIL
   ============================================================ */

.project-hero {
  padding: 22vh 0 0;
  position: relative;
}

.project-hero .credits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.project-hero .credits-row dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.project-hero .credits-row dd {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.project-media {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.project-media .full {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.project-media .full img { width: 100%; height: 100%; object-fit: cover; }

.project-media .half {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.project-media .half img { width: 100%; height: 100%; object-fit: cover; }

.project-statement {
  padding: 14vh 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.project-statement .lede { padding-right: 24px; }

.next-project {
  border-top: 1px solid var(--line);
  padding: 14vh 0;
}

.next-project a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.next-project .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.next-project .title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.next-project a:hover .title { color: var(--rouge); }
.next-project .arrow {
  font-family: var(--mono);
  font-size: 24px;
  transition: transform 0.4s ease;
}
.next-project a:hover .arrow { transform: translateX(12px); color: var(--rouge); }

/* ============================================================
   SCHEDULE
   ============================================================ */

.schedule {
  display: flex;
  flex-direction: column;
}

.sched-section {
  padding: 6vh 0;
  border-top: 1px solid var(--line);
}

.sched-section h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 36px;
}

.sched-row {
  display: grid;
  grid-template-columns: 110px 180px 1fr 180px 120px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.3s ease;
}
.sched-row:last-child { border-bottom: none; }
.sched-row:hover { padding-left: 12px; }

.sched-row .date {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
.sched-row .date small {
  font-family: var(--mono);
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--ink-3);
}

.sched-row .kind {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sched-row .kind .pip {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--rouge);
  margin-right: 8px;
  vertical-align: 1px;
}
.sched-row .kind.passed .pip { background: var(--line); }

.sched-row .title {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.sched-row .venue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sched-row .status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: var(--ink-3);
}
.sched-row .status.live { color: var(--rouge); }

.sched-row.past {
  opacity: 0.55;
}
.sched-row.past .date { font-style: normal; font-size: 22px; }

/* ============================================================
   ABOUT
   ============================================================ */

.about-hero {
  padding: 22vh 0 8vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.about-hero .portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}
.about-hero .portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 10vh 0;
  border-top: 1px solid var(--line);
}

.about-body h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: sticky;
  top: 100px;
}

.about-cv {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cv-block .year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.cv-block .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cv-block .row .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}
.cv-block .row .where {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-hero {
  padding: 22vh 0 6vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-bottom: 10vh;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  outline: none;
  font-style: italic;
  transition: border-color 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
  opacity: 0.55;
}
.field textarea { resize: vertical; min-height: 100px; font-style: normal; font-size: 16px; font-family: var(--sans); line-height: 1.5; }

.field .error {
  color: var(--rouge);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-left: 1px solid var(--line);
  padding-left: 56px;
}
.contact-aside .block h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.contact-aside .block .big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s ease;
}
.contact-aside .block .big:hover { color: var(--rouge); }

.success-state {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.success-state .display { color: var(--rouge); }

/* ============================================================
   SUPPORT RAIL (persistent, bottom-right "supporters" pill)
   ============================================================ */

.support-rail {
  position: fixed;
  right: 24px;
  bottom: 56px;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.support-rail:hover { transform: translateY(-3px); background: var(--rouge); }
.support-rail .swatch {
  width: 28px; height: 28px;
  background: var(--rouge);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}
.support-rail strong { color: var(--paper); font-weight: 500; letter-spacing: 0.16em; }

/* ============================================================
   FUND MODAL
   ============================================================ */

.fund-modal-bg {
  position: fixed; inset: 0;
  background: rgba(20, 18, 16, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fund-modal {
  background: var(--paper);
  color: var(--ink);
  max-width: 560px;
  width: 100%;
  padding: 56px 48px 48px;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.fund-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--ink-3);
  font-family: var(--serif);
}
.fund-close:hover { color: var(--rouge); }

.fund-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.fund-modal h3 {
  font-size: 40px;
  margin-bottom: 24px;
}

.fund-modal p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.fund-modal p:last-of-type { margin-bottom: 0; }
.fund-modal em { font-style: italic; color: var(--rouge); }

.fund-actions {
  display: flex; gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.fund-actions .cta { margin-top: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .frame-top { grid-template-columns: 1fr; gap: 12px; padding: 14px 20px; }
  .frame-top nav { display: none; }
  .frame-top .meta { justify-self: start; gap: 16px; }
  .frame-bottom { grid-template-columns: 1fr 1fr; padding: 12px 20px; }
  .frame-bottom .ticker { display: none; }
  .container { padding: 0 20px; }
  .work-rail { grid-template-columns: 1fr; gap: 40px; }
  .work-tile.tall .frame, .work-tile.short .frame { transform: none; }
  .campaign-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about-body { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
  .project-statement { grid-template-columns: 1fr; gap: 40px; }
  .project-media { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 30px 1fr 60px; gap: 12px; }
  .work-row .summary, .work-row .type, .work-row .year { display: none; }
  .sched-row { grid-template-columns: 80px 1fr 80px; gap: 12px; }
  .sched-row .kind, .sched-row .venue { display: none; }
  .hero-title { left: 20px; right: 20px; bottom: 80px; }
  .support-rail { right: 12px; bottom: 56px; }
}
