/* BEHAAS V03 — system-font edition */
:root {
  --ink: #191919;
  --paper: #f5f4f1;
  --white: #ffffff;
  --pad: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  -webkit-font-smoothing: antialiased;
}

.brand-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(88px, 11vh, 118px);
  display: flex;
  align-items: center;
  padding: 18px var(--pad) 14px;
  pointer-events: none;
}
.brand-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.32), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity .35s ease;
}
.logo {
  position: absolute;
  left: var(--pad);
  top: 24px;
  width: clamp(205px, 18vw, 315px);
  height: auto;
  transition: opacity .25s ease;
}
.logo--white { opacity: 1; }
.logo--black { opacity: 0; }
body.header-dark .logo--white { opacity: 0; }
body.header-dark .logo--black { opacity: 1; }
body.header-dark .brand-header::after { opacity: 0; }

.section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.intro {
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: clamp(135px, 18vh, 190px) var(--pad) 72px;
}
.intro__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(460px, 1.6fr);
  column-gap: clamp(60px, 9vw, 160px);
  row-gap: 34px;
  align-items: start;
}
.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.intro h1 {
  grid-column: 1;
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}
.brief-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 710px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(17px, 1.42vw, 22px);
  line-height: 1.58;
  letter-spacing: .015em;
  color: rgba(255,255,255,.88);
}
.brief-copy p { margin: 0 0 1.15em; }
.scroll-cue {
  grid-column: 1 / -1;
  margin-top: clamp(18px, 6vh, 70px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .2em;
  opacity: .55;
}
.scroll-cue span { width: 52px; height: 1px; background: currentColor; }

.project { min-height: 100svh; background: #101010; }
.project__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}
.project--niloofar .project__image {
  background-image: url("assets/niloofar.webp");
  background-position: 50% 50%;
}
.project--shabtab .project__image {
  background-image: url("assets/shabtab.webp");
  background-position: 50% 50%;
}
.project__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.56), transparent 42%),
    linear-gradient(to bottom, rgba(0,0,0,.28), transparent 26%);
}
.project__meta {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(40px, 7vh, 82px);
  max-width: 520px;
  text-shadow: 0 2px 18px rgba(0,0,0,.38);
}
.project__index { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; opacity: .7; }
.project h2 {
  margin: 0 0 10px;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .035em;
}
.project__meta > p:not(.project__index):not(.project__note) {
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project__note {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .08em;
  opacity: .78;
  text-transform: uppercase;
}

.manifesto {
  min-height: 78svh;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 120px var(--pad);
}
.manifesto__inner { width: min(1180px, 100%); margin: 0 auto; }
.manifesto blockquote {
  margin: clamp(30px, 6vh, 70px) 0 0;
  max-width: 1100px;
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.02em;
}

.future {
  min-height: 58svh;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  padding: 120px var(--pad);
}
.future__inner { width: min(1180px, 100%); margin: 0 auto; }
.future__cta {
  margin-top: 28px;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(25,25,25,.28);
  border-bottom: 1px solid rgba(25,25,25,.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1;
  letter-spacing: -.015em;
}
.future__cta span { font-size: .75em; transition: transform .3s ease; }
.future__cta:hover span { transform: translateX(10px); }
.future__note { margin: 18px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  :root { --pad: 22px; }
  .brand-header { height: 84px; padding: 0 var(--pad); }
  .logo { left: var(--pad); top: 20px; width: 190px; }

  .intro { padding: 122px var(--pad) 54px; align-items: flex-start; }
  .intro__inner { display: block; margin: 0; }
  .eyebrow { font-size: 10px; }
  .intro h1 { margin-top: 26px; font-size: clamp(44px, 13vw, 66px); }
  .brief-copy { margin-top: 42px; font-size: 17px; line-height: 1.55; max-width: none; }
  .scroll-cue { margin-top: 42px; }

  .project__meta { left: var(--pad); right: var(--pad); bottom: 32px; }
  .project h2 { font-size: clamp(54px, 18vw, 82px); }
  .project__note { font-size: 9px; max-width: 330px; }
  .project--niloofar .project__image { background-position: 50% 50%; }
  .project--shabtab .project__image { background-position: 48% 50%; }

  .manifesto { min-height: 72svh; padding: 110px var(--pad) 72px; }
  .manifesto blockquote { font-size: clamp(48px, 14.7vw, 74px); }

  .future { min-height: 46svh; padding: 110px var(--pad) 70px; }
  .future__cta { font-size: clamp(40px, 11vw, 60px); align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .future__cta span { transition: none; }
}
