:root {
  --ink: #0c0a08;
  --panel: #141110;
  --panel-raised: #1b1815;
  --ivory: #f7f4ec;
  /* --ivory-dim:#d3c9b6; */
  --ivory-dim: #e9e5de;
  --gold: #d8b45f;
  --gold-soft: #c2a06a;
  --gold-line: rgba(216, 180, 95, 0.35);
  --hairline: rgba(247, 244, 236, 0.14);
  --display: "Fraunces", serif;
  --body: "Work Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}
body::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(./images/bg.jpg);
  background-attachment: fixed;
  opacity: 0.4;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- utility labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.chapter-mark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- nav ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(24, 20, 16, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(212, 175, 120, 0.16);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.02em;
}
.brand span {
  color: var(--gold);
}
nav.links {
  display: flex;
  gap: 34px;
}
nav.links a {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.25s;
  padding-bottom: 6px;
}
nav.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.links a:hover {
  color: var(--gold);
}
nav.links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav.links a.active {
  color: var(--gold);
}
nav.links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 120, 0.4);
  background: rgba(212, 175, 120, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  color: var(--gold);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(212, 175, 120, 0.35);
}
.nav-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease,
    background 0.25s;
}
.nav-toggle span:nth-child(1) {
  top: 10px;
}
.nav-toggle span:nth-child(2) {
  top: 16px;
}
.nav-toggle span:nth-child(3) {
  top: 22px;
}
.nav-toggle.open span {
  background: var(--gold);
}
.nav-toggle.open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.nav-toggle.open span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

.mobile-links {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(24, 20, 16, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(212, 175, 120, 0.16);
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.mobile-links.open {
  max-height: 520px;
  opacity: 1;
}
.mobile-links a {
  padding: 18px 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.25s, background 0.25s, padding-left 0.25s;
}
.mobile-links a:hover {
  color: var(--gold);
  background: rgba(212, 175, 120, 0.06);
  padding-left: 48px;
}
.mobile-links a.mobile-cta {
  color: var(--gold);
  border-bottom: none;
  margin-top: 6px;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  top: -8%;
  right: 2%;
  width: 440px;
  height: 440px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy .eyebrow {
  margin-bottom: 26px;
}
.hero-copy h1 {
  font-size: clamp(42px, 6vw, 85px);
  line-height: 1.02;
  color: var(--ivory);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}
.hero-role {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero-role span {
  color: var(--gold);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s, background 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #dcb862;
}
.hero-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ivory-dim);
}
.hero-contact a {
  color: var(--ivory);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-contact a:hover {
  color: var(--gold);
}
.hero-contact a i {
  color: var(--gold);
  font-size: 12px;
  width: 16px;
  text-align: center;
}

.hero-social {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 15px;
  transition: all 0.25s;
}
.hero-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-portrait {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid var(--gold-line);
}
.hero-portrait .frame-inner {
  /* position:absolute; inset:18px 18px 0 18px; */
  padding: 24px 24px 0 24px;

  /* radial-gradient(circle at 30% 20%, rgba(201,162,75,0.18), transparent 60%),
    linear-gradient(160deg, #1c1712, #0c0a08 70%); */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  /* position: relative; */
  z-index: 0;
}

/* .hero-portrait .frame-inner::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: url(./images/vv.png);
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 100%;
} */

.hero-portrait .frame-inner::after {
  content: "";
  position: absolute;
  /* top:0;
  left: 0;
  width:100%;
  height:100%; */
  inset: 20px;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(201, 162, 75, 0.18),
      transparent 60%
    ),
    linear-gradient(160deg, #1c1712, #0c0a08 70%);
  z-index: -1;
}

.monogram {
  font-family: var(--display);
  font-weight: 400;
  font-size: 150px;
  color: var(--gold-soft);
  opacity: 0.5;
  letter-spacing: -0.02em;
  line-height: 0.8;
  padding-bottom: 30px;
}
.hero-portrait .tag {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
}

/* ---------- section shell ---------- */
section {
  padding: 130px 0;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: start;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--ivory);
}
.section-head .lede {
  max-width: 640px;
  color: var(--ivory-dim);
  font-size: 16px;
  margin-top: 18px;
}

/* ---------- welcome / intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.intro-copy p {
  color: var(--ivory-dim);
  font-size: 16px;
  margin-bottom: 20px;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}
.stat-row {
  display: flex;
  gap: 60px;
  margin: 36px 0 40px;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
}
.stat span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding-left: 26px;
  margin: 36px 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ivory);
}
.intro-portrait {
  /*aspect-ratio: 4/5;*/
  border: 1px solid var(--gold-line);
  position: relative;
}
.intro-portrait .frame-inner {
  /* position: absolute; */
  inset: 16px 16px 0 16px;
  background: linear-gradient(150deg, #1c1712, #0c0a08 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .intro-portrait .frame-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: url(./images/030.png);
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 100%;
} */

.intro-portrait .monogram {
  font-size: 100px;
  opacity: 0.4;
}
.signature-line {
  margin-top: 24px;
  font-family: var(--display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 15px;
}

/* ---------- values ---------- */
.purpose-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.values-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.value-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.value-row .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-soft);
  padding-top: 4px;
}
.value-row h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ivory);
  margin-bottom: 6px;
}
.value-row p {
  color: var(--ivory-dim);
  font-size: 14.5px;
  max-width: 480px;
}

/* ---------- mission band ---------- */
.mission {
  background: linear-gradient(120deg, #b8923a, #d9b464 55%, #b8923a);
  color: var(--ink);
  padding: 90px 0;
  border-top: none;
}
.mission .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mission .eyebrow {
  color: rgba(12, 10, 8, 0.6);
}
.mission .eyebrow::before {
  background: rgba(12, 10, 8, 0.6);
}
.mission h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 18px 0 20px;
  color: var(--ink);
}
.mission p.lede {
  font-size: 15.5px;
  color: rgba(12, 10, 8, 0.78);
  max-width: 480px;
}
.mission ul {
  list-style: none;
  margin-top: 10px;
}
.mission li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(12, 10, 8, 0.18);
  font-size: 15px;
  color: rgba(12, 10, 8, 0.85);
}
.mission li:last-child {
  border-bottom: 1px solid rgba(12, 10, 8, 0.18);
}
.mission li .check {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  padding-top: 1px;
}

/* ---------- network ---------- */
.network-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.network-portrait {
  /* aspect-ratio:4/5; */
  border: 1px solid var(--gold-line);
  position: relative;
}

.network-portrait .frame-inner {
  /* position:absolute; inset:16px 16px 0 16px; */
  padding: 25px 25px 0 25px;
  background: linear-gradient(150deg, #1c1712, #0c0a08 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .network-portrait  .frame-inner::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: url(./images/002-683x1024.png);
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: 100%;
} */

.network-portrait .monogram {
  font-size: 100px;
  opacity: 0.4;
}

/* ---------- achievements ---------- */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.ach-card {
  background: var(--panel);
  padding: 38px 30px;
}
.ach-card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-soft);
  margin-bottom: 26px;
  display: block;
}
.ach-card p {
  font-family: var(--display);
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--ivory);
}

/* ---------- ventures ---------- */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.venture-card {
  background: #ece3e0;
  padding: 34px 24px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.25s;
}
.venture-card:hover {
  background: #ffffff;
}
.venture-card .vnum {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}
.venture-card .vname {
  font-family: var(--display);
  font-size: 19px;
  color: var(--ivory);
  margin-top: 20px;
}
.venture-card .vtype {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 6px;
}

.venture-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.venture-grid .reveal img {
    margin: auto;
    max-width: 170px;
}

/* ---------- gallery ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gal-tile {
  aspect-ratio: 4/5;
  border: 1px solid var(--gold-line);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gal-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #241d16, #0c0a08 65%);
  transform: scale(1.05);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  filter: saturate(0.9) brightness(0.9);
}
.gal-tile:hover .gal-media {
  transform: scale(1.16) rotate(0.4deg);
  filter: saturate(1.15) brightness(1.05);
}
/* .gal-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(216, 180, 95, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 90%,
      rgba(216, 180, 95, 0.18),
      transparent 50%
    );
  mix-blend-mode: screen;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.5s;
} */
.gal-tile:hover::before {
  opacity: 1;
}
.gal-tile-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: var(--display);
  font-size: 46px;
  color: rgba(216, 180, 95, 0.35);
  letter-spacing: 0.02em;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.gal-tile:hover .gal-tile-icon {
  transform: scale(0.8);
  opacity: 0;
}
.gal-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 16px 16px;
  background: linear-gradient(
    0deg,
    rgba(12, 10, 8, 0.92),
    rgba(12, 10, 8, 0.55) 70%,
    transparent
  );
  /* transform:translateY(60%); */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gal-tile:hover .gal-caption {
  transform: translateY(0);
}
.gal-caption .cap-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.gal-caption .cap-sub {
  font-family: var(--display);
  font-size: 14px;
  color: var(--ivory);
  margin-top: 3px;
}
.gal-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.gal-tile:hover::after {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(216, 180, 95, 0.25),
    inset 0 0 30px rgba(216, 180, 95, 0.08);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger .reveal:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-stagger .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger .reveal:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-stagger .reveal:nth-child(5) {
  transition-delay: 0.32s;
}
.reveal-stagger .reveal:nth-child(6) {
  transition-delay: 0.4s;
}
.reveal-stagger .reveal:nth-child(7) {
  transition-delay: 0.48s;
}
.reveal-stagger .reveal:nth-child(8) {
  transition-delay: 0.56s;
}
.reveal-stagger .reveal:nth-child(9) {
  transition-delay: 0.64s;
}
.reveal-stagger .reveal:nth-child(10) {
  transition-delay: 0.72s;
}
.reveal-stagger .reveal:nth-child(11) {
  transition-delay: 0.8s;
}
.reveal-stagger .reveal:nth-child(12) {
  transition-delay: 0.92s;
}
.reveal-stagger .reveal:nth-child(13) {
  transition-delay: 1.2s;
}
.reveal-stagger .reveal:nth-child(14) {
  transition-delay: 1.5s;
}

.reveal-stagger .reveal:nth-child(15) {
  transition-delay: 1.8s;
}

.reveal-stagger .reveal:nth-child(16) {
  transition-delay: 2s;
}

.reveal-stagger .reveal:nth-child(17) {
  transition-delay: 2.2s;
}

.load-in {
  opacity: 0;
  transform: translateY(22px);
  animation: loadIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loadIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.load-in.d1 {
  animation-delay: 0.05s;
}
.load-in.d2 {
  animation-delay: 0.2s;
}
.load-in.d3 {
  animation-delay: 0.35s;
}
.load-in.d4 {
  animation-delay: 0.5s;
}

/* scroll progress rail */
.gal-tile:nth-child(1) .gal-media {
  background: linear-gradient(155deg, #2a2117, #0c0a08 70%);
}
.gal-tile:nth-child(2) .gal-media {
  background: linear-gradient(200deg, #241c13, #0c0a08 65%);
}
.gal-tile:nth-child(3) .gal-media {
  background: linear-gradient(120deg, #2e2318, #0c0a08 70%);
}
.gal-tile:nth-child(4) .gal-media {
  background: linear-gradient(170deg, #221a11, #0c0a08 60%);
}
.gal-tile:nth-child(5) .gal-media {
  background: linear-gradient(140deg, #2b2116, #0c0a08 70%);
}
.gal-tile:nth-child(6) .gal-media {
  background: linear-gradient(190deg, #261e14, #0c0a08 65%);
}
.gal-tile:nth-child(7) .gal-media {
  background: linear-gradient(110deg, #302418, #0c0a08 70%);
}
.gal-tile:nth-child(8) .gal-media {
  background: linear-gradient(160deg, #231c12, #0c0a08 60%);
}
.gal-tile:nth-child(9) .gal-media {
  background: linear-gradient(210deg, #2c2216, #0c0a08 70%);
}

.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  z-index: 200;
  transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .load-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .gal-media,
  .gal-caption,
  .gal-tile-icon {
    transition: none !important;
  }
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.contact-list {
  margin-top: 36px;
}
.contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.contact-item:last-child {
  border-bottom: 1px solid var(--hairline);
}
.contact-item .ico {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 13px;
  padding-top: 2px;
}
.contact-item h5 {
  font-family: var(--display);
  font-size: 16.5px;
  color: var(--ivory);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 14px;
  color: var(--ivory-dim);
}
.contact-item a {
  color: var(--ivory-dim);
  transition: color 0.25s;
}
.contact-item a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: 48px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 10px;
}
.field input:not(.form-submit),
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 15px;
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.25s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field textarea {
  resize: none;
  height: 90px;
}
.form-submit {
  margin-top: 10px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 34px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.form-submit:hover {
  background: #dcb862;
  transform: translateY(-2px);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
}
footer .socials {
  display: flex;
  gap: 20px;
  font-size: 15px;
}
footer .socials a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
footer .socials a:hover {
  color: var(--gold);
}

/* ---------- responsive ---------- */


@media (max-width: 980px) {
  .nav-inner {
    padding: 0 24px;
  }
  .wrap {
    padding: 0 24px;
  }
  nav.links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-links {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-portrait {
    max-width: 340px;
    margin: 0 auto;
  }
  .intro-grid,
  .purpose-grid,
  .network-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .intro-portrait,
  .network-portrait {
    max-width: 340px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .venture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .mission,
  section {
    padding: 80px 0;
  }
  .mission .wrap {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    gap: 35px;
  }
  .hero {
    padding-top: 140px;
  }
  .network-grid{
      gap: 35px;
  }
}
@media (max-width: 767px) {
  .mission,
  section {
    padding: 50px 0;
  }
  .ach-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .contact-list {
    margin-top: 0;
  }
  .section-head h2 br {
    display: none;
}
}
