/* =============================================
   BLOCKHAUS FOUNDATION — style.css
   ============================================= */

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

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5AA;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #181818;
  --dark3: #222222;
  --white: #F5F3EE;
  --white-dim: rgba(245, 243, 238, 0.62);
  --white-dimmer: rgba(245, 243, 238, 0.3);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 4rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.96) 0%, transparent 100%);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 0.5px solid transparent;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
  border-color: rgba(201, 169, 110, 0.2);
}

.logo {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.nlinks {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nlinks a {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nlinks a:hover {
  color: var(--gold);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 75% at 78% 50%, rgba(201,169,110,0.05) 0%, transparent 70%);
}

.hero-vline {
  position: absolute;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}

.htitle {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1.02;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.9s 0.55s forwards;
}

.htitle em {
  font-style: italic;
  color: var(--gold-light);
}

.hsub {
  margin-top: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0;
  animation: fadeUp 0.9s 0.85s forwards;
}

.hscroll {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}

.hscroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.hscroll span {
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dimmer);
}

/* ── GOLD DIVIDER ── */
.gd {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.18;
}

/* ── SECTION BASE ── */
.s {
  padding: 7rem 4rem;
}

.slabel {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.slabel::after {
  content: '';
  width: 50px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.35;
}

.stitle {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  color: var(--white);
}

.stitle em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--dark);
  border-top: 0.5px solid rgba(201, 169, 110, 0.15);
  border-bottom: 0.5px solid rgba(201, 169, 110, 0.15);
}

.ap {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.88;
  color: var(--white-dim);
  margin-top: 1rem;
}

.ap strong {
  color: var(--white);
  font-weight: 400;
}

.sgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat {
  background: var(--dark2);
  padding: 2.5rem 2rem;
  border: 0.5px solid rgba(201, 169, 110, 0.1);
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.stat:hover {
  border-color: rgba(201, 169, 110, 0.32);
  background: var(--dark3);
}

.sn {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.sl {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 0.4rem;
}

/* ── FILMS ── */
.films {
  background: var(--black);
}

.fi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  align-items: end;
}

.fb {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.82;
  color: var(--white-dim);
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fc {
  position: relative;
  overflow: hidden;
  background: var(--dark2);
  cursor: default;
}

.fc.portrait {
  aspect-ratio: 2/3;
}

.fc.wide {
  grid-column: span 2;
  aspect-ratio: 16/6;
}

.fc.future {
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(201, 169, 110, 0.12);
}

.fc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.65);
  transition: filter 0.6s, transform 0.7s;
  display: block;
}

.fc:hover img {
  filter: grayscale(0%) brightness(0.82);
  transform: scale(1.04);
}

.fo {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.04) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem 1.6rem;
}

.ftag {
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.ftitle {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

.fdir {
  margin-top: 0.4rem;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.fut-inner {
  text-align: center;
  padding: 2rem;
}

.fut-n {
  font-family: var(--serif);
  font-size: 3rem;
  color: rgba(201, 169, 110, 0.18);
  margin-bottom: 0.8rem;
}

.fut-l {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dimmer);
}

.fut-s {
  font-size: 0.65rem;
  color: var(--gold);
  margin-top: 0.8rem;
  letter-spacing: 0.1em;
}

/* ── PILLARS ── */
.pillars {
  background: var(--dark);
  border-top: 0.5px solid rgba(201, 169, 110, 0.15);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.pillar {
  background: var(--dark2);
  padding: 2.75rem 2rem;
  border: 0.5px solid rgba(201, 169, 110, 0.08);
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.pillar:hover {
  border-color: rgba(201, 169, 110, 0.25);
  background: var(--dark3);
}

.pn {
  font-family: var(--serif);
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.65;
}

.pt {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.pp {
  font-size: 0.73rem;
  line-height: 1.82;
  color: var(--white-dim);
}

/* ── LETTER / UPDATE ── */
.update {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  background: var(--black);
}

.letter {
  background: var(--dark);
  border: 0.5px solid rgba(201, 169, 110, 0.22);
  padding: 3.25rem;
}

.lfrom {
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.lname {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
}

.lrole {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--white-dimmer);
  margin-top: 0.2rem;
}

.ldiv {
  height: 0.5px;
  background: rgba(201, 169, 110, 0.15);
  margin: 1.6rem 0;
}

.lbody {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--white-dim);
}

.lbody p {
  margin-bottom: 1rem;
}

.lsig {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 0.5px solid rgba(201, 169, 110, 0.1);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.hiwrap {
  padding-top: 0.5rem;
}

.hi {
  border-left: 1px solid rgba(201, 169, 110, 0.22);
  padding: 1.75rem 0 1.75rem 1.9rem;
  border-bottom: 0.5px solid rgba(201, 169, 110, 0.07);
  transition: border-left-color 0.3s;
  cursor: default;
}

.hi:hover {
  border-left-color: var(--gold);
}

.hi:last-child {
  border-bottom: none;
}

.hitag {
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hih {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.hit {
  font-size: 0.73rem;
  line-height: 1.78;
  color: var(--white-dim);
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 0.5px solid rgba(201, 169, 110, 0.2);
  padding: 3.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.flogo {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
}

.flogo span {
  color: var(--gold);
}

.ftag2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--white-dimmer);
  margin-top: 0.35rem;
}

.flinks {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.flinks a {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dimmer);
  text-decoration: none;
  transition: color 0.3s;
}

.flinks a:hover {
  color: var(--gold);
}

.fcopy {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--white-dimmer);
  text-align: right;
  line-height: 1.8;
}

/* ── REVEAL ANIMATION ── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.rv.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 1.4rem 2rem; }
  .nlinks { display: none; }
  .s { padding: 5rem 2rem; }
  .hero { padding: 0 2rem; }
  .hero-vline { left: 2rem; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .fi { grid-template-columns: 1fr; gap: 2rem; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fc.wide { grid-column: span 2; aspect-ratio: 16/8; }
  .fc.future { aspect-ratio: 1/1; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .update { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; text-align: center; }
  .fcopy { text-align: center; }
}

@media (max-width: 480px) {
  .fgrid { grid-template-columns: 1fr; }
  .fc.wide { grid-column: span 1; aspect-ratio: 16/9; }
  .fc.portrait { aspect-ratio: 4/3; }
  .pgrid { grid-template-columns: 1fr; }
}
