/* TRIENNALE CAPITAL — refined final version */
:root {
  --navy: #07111d;
  --navy-2: #101923;
  --charcoal: #0a0d11;
  --ivory: #f4f1ec;
  --ivory-2: #eee9e2;
  --text: #161b22;
  --muted: #5f6670;
  --gold: #b9905a;
  --gold-2: #c69a62;
  --white: #ffffff;
  --max: 1120px;
  --wide: 1280px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --hero-img: url("../assets/hero-main.png");
  --about-img: url("../assets/about-main.png");
  --cta-img: url("../assets/impact-main.png");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em; }
p { line-height: 1.75; }

.container { width: min(var(--max), calc(100vw - 80px)); margin: 0 auto; }
.section { scroll-margin-top: 92px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.link-arrow::after {
  content: "→";
  font-size: 21px;
  font-weight: 300;
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 92px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: rgba(7,17,29,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-solid {
  background: rgba(7,17,29,.94);
  border-bottom-color: rgba(185,144,90,.18);
}

.header-inner {
  width: min(var(--wide), calc(100vw - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 42px;
  padding-top: 26px;
}
.brand {
  color: var(--white);
  font-family: "Cinzel", Georgia, serif;
  line-height: 1;
  letter-spacing: .16em;
  font-size: 26px;
  font-weight: 500;
  text-shadow: 0 2px 15px rgba(0,0,0,.45);
}
.brand span {
  display: block;
  margin-top: 11px;
  padding-left: 4px;
  font-size: 14px;
  letter-spacing: .56em;
  text-align: center;
}
.nav-wrap { display: flex; justify-content: flex-end; align-items: center; gap: 34px; }
.main-nav { display: flex; gap: 35px; align-items: center; }
.main-nav a {
  position: relative;
  padding: 7px 0;
  color: rgba(255,255,255,.94);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.main-nav a.active::after, .main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 38px;
  height: 2px;
  background: var(--gold);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
}
.menu-btn span { margin: 5px auto; }
.mobile-panel { display: none; }

/* Hero */
.hero {
  min-height: 535px;
  height: min(53vw, 555px);
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(18,30,40,.90) 0%, rgba(18,30,40,.76) 29%, rgba(18,30,40,.40) 55%, rgba(18,30,40,.10) 100%),
    linear-gradient(180deg, rgba(5,8,12,.34), rgba(5,8,12,.10) 48%, rgba(5,8,12,.78)),
    var(--hero-img),
    url("../assets/hero-fallback.jpg");
  background-size: cover, cover, 108% auto, cover;
  background-position: center, center, 72% 48%, center;
}
.hero-inner {
  position: relative;
  height: 100%;
  width: min(var(--wide), calc(100vw - 80px));
  margin: 0 auto;
}
.hero-copy {
  position: absolute;
  left: 34px;
  top: 150px;
  width: 560px;
}
.hero h1 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(52px, 5.1vw, 71px);
  line-height: .95;
  margin-bottom: 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,.24);
}
.hero-rule {
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 24px;
}
.hero-subtitle {
  max-width: 432px;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.7;
}
.hero .link-arrow { margin-top: 34px; }
.artico-hero {
  position: absolute;
  right: 50px;
  bottom: 34px;
  width: 190px;
}
.artico-hero small {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.artico-hero img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.42));
}

/* About */
.about {
  background: var(--ivory);
  padding: 32px 0 10px;
}
.about-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy { padding-top: 0; }
.about h2 {
  color: #0d1219;
  font-size: 43px;
  line-height: 1.04;
  margin-bottom: 25px;
}
.about h2 em { font-style: italic; font-weight: 500; }
.about p {
  max-width: 358px;
  color: #2c3036;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-media {
  margin-top: 18px;
  height: 333px;
  overflow: hidden;
  background: #0d1116;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


.section-divider {
  background: var(--ivory);
  padding: 8px 0 8px;
}
.section-divider .divider-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(22,27,34,.10), rgba(22,27,34,.28), rgba(22,27,34,.10));
}

/* Areas */
.areas {
  background: var(--ivory);
  padding: 22px 0 58px;
}
.areas-head {
  text-align: center;
  margin-bottom: 24px;
}
.areas-head .eyebrow { margin-bottom: 12px; }
.areas h2 {
  font-size: 33px;
  line-height: 1.1;
  color: #0f1319;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 10px;
}
.area-item {
  min-height: 175px;
  padding: 18px 30px 0;
  text-align: center;
  border-right: 1px solid rgba(18,24,31,.12);
}
.area-item:last-child { border-right: 0; }
.area-icon {
  height: 44px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.area-icon svg { width: 42px; height: 42px; stroke-width: 1.25; }
.area-item h3 {
  font-family: var(--sans);
  color: #0e1116;
  font-size: 13px;
  line-height: 1.17;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.area-item p {
  color: #3f454d;
  font-size: 13px;
  line-height: 1.6;
}

/* CTA Band */
.impact {
  min-height: 142px;
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(8,10,12,.97), rgba(8,10,12,.78), rgba(8,10,12,.92)),
    var(--cta-img),
    url("../assets/cta-fallback.jpg");
  background-size: cover, cover, cover;
  background-position: center, center center, center;
}
.impact-inner {
  width: min(var(--max), calc(100vw - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 68px;
  align-items: center;
}
.quote-wrap {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: start;
  gap: 20px;
}
.quote-mark {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: .8;
}
.impact blockquote {
  color: #fff;
  font-size: 33px;
  line-height: 1.05;
}
.impact-side p {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.65;
  max-width: 430px;
}
.impact-side .link-arrow { margin-top: 18px; }

/* Footer */
.footer {
  background: #090b0e;
  color: #fff;
  padding: 32px 0 22px;
}
.footer-inner { width: min(var(--max), calc(100vw - 80px)); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr .95fr .75fr .9fr;
  gap: 34px;
  padding-bottom: 34px;
}
.footer-brand { max-width: 270px; }
.footer-logo {
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: .18em;
  margin-bottom: 18px;
}
.footer-logo span {
  display: block;
  margin-top: 10px;
  padding-left: 4px;
  font-size: 13px;
  letter-spacing: .60em;
  text-align: center;
}
.footer-tagline {
  color: var(--gold);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 17px;
}
.footer-artico small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer-artico img { width: 145px; }
.footer-col h4 {
  font-family: var(--sans);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 19px;
}
.footer-col a, .footer-col p {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.77);
  font-size: 13px;
  line-height: 1.45;
}
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 18px; margin-top: 18px; }
.socials a { color: #fff; width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
}
.footer-bottom div { display: flex; gap: 22px; }

/* Responsive */
@media (max-width: 1020px) {
  .site-header { height: 84px; }
  .header-inner {
    width: min(var(--wide), calc(100vw - 32px));
    grid-template-columns: auto auto auto;
    align-items: center;
    padding-top: 0;
  }
  .main-nav { display: none; }
  .nav-wrap { justify-content: center; }
  .menu-btn { display: block; justify-self: end; }
  .mobile-panel.open {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 16px 22px;
    background: rgba(8,15,24,.96);
    border: 1px solid rgba(255,255,255,.10);
  }
  .mobile-panel a {
    padding: 13px 0;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .mobile-panel a:last-child { border-bottom: 0; }

  .hero {
    height: auto;
    min-height: 720px;
    background-size: cover, cover, cover, cover;
    background-position: center, center, 64% center, center;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    padding-top: 135px;
    width: min(100%, 560px);
  }
  .hero-inner { width: min(var(--wide), calc(100vw - 32px)); }
  .artico-hero { right: 16px; bottom: 32px; }
  .about-grid, .impact-inner, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media { height: 360px; }
  .about p { max-width: none; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-item:nth-child(2) { border-right: 0; }
  .area-item { border-bottom: 1px solid rgba(18,24,31,.12); padding-bottom: 28px; }
  .area-item:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 680px) {
  .container, .footer-inner, .impact-inner { width: min(var(--max), calc(100vw - 32px)); }
  .brand { font-size: 20px; }
  .brand span { font-size: 11px; }
  .hero h1 { font-size: 45px; }
  .hero-subtitle { font-size: 16px; }
  .artico-hero {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }
  .about { padding-top: 54px; }
  .about h2 { font-size: 37px; }
  .areas h2, .impact blockquote { font-size: 31px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-item, .area-item:nth-child(2), .area-item:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid rgba(18,24,31,.12);
  }
  .area-item:last-child { border-bottom: 0; }
  .quote-wrap { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom, .footer-bottom div { flex-direction: column; gap: 8px; }
}
