/* =====================
   BASE / RESET
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Saans';
  src: url('../fonts/SaansCollectionVF-Trial.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

html, body {
  overscroll-behavior: none;
}


:root {
  --margin: clamp(16px, 2.78vw, 40px);
  --gap: clamp(16px, 2.78vw, 40px);
  --bg: #111111;
  --card: #1a1a1a;
  --meta: #2d2d2d;
  --text: #ffffff;
  --muted: #888888;
  --radius: 16px;
  --hero-radius: 32px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--card);
  color: var(--text);
  font-family: 'Saans', sans-serif;
  font-size: clamp(13px, 1.15vw, 28px);
  line-height: 1.6;
  overflow-x: hidden;
    background: var(--bg);

  
}

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

/* =====================
   NAVBAR
   ===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(8px, 1vw, 20px) clamp(16px, 2.78vw, 40px);
  background-color: #232323;
}

.nav-left {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: #fafafa;
}

.navTime { color: #fafafa; }

.nav-center {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  font-weight: 480;
  font-size: clamp(13px, 1.15vw, 28px);
  margin-left: clamp(12px, 10vw, 160px);
}

.nav-center a {
  color: #fafafa !important;
}


.nav-center a:hover { color: var(--text); }

.nav-right .nav-cta {
  background: #090909;
  color: #FAFAFA;
  border: none;
  padding: clamp(12px, 0.9vw, 24px) clamp(14px, 1.1vw, 30px);
  border-radius: 999px;
  font-family: 'Saans', sans-serif;
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
    line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-right .nav-cta:hover { opacity: 0.85; }

.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.15em;
  line-height: 1.15;
}

.mask .text-top,
.mask .text-bottom {
  display: block;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.mask .text-bottom {
  margin-top: -1.15em;
  transform: translateY(100%);
}

.nav-hover:hover .mask .text-top {
  transform: translateY(-100%);
}

.nav-hover:hover .mask .text-bottom {
  transform: translateY(0%);
}


/* =====================
   HERO WRAPPER
   ===================== */
.hero-wrapper {
  position: relative;
  margin-bottom: var(--gap);
  overflow: hidden;
  background-color: #ddd;
}

/* =====================
   HERO SECTION
   ===================== */

.hero-section {
  position: relative;
  z-index: 2;
  background: var(--card);
  border-radius: 0 0 var(--hero-radius) var(--hero-radius);
}

.hero-content {
  text-align: center;
  padding: clamp(32px, 4vw, 64px) var(--margin) clamp(48px, 6vw, 96px);
  background-color: #232323;
}

.hero-title {
  font-size: clamp(56px, 10vw, 180px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}

.hero-subtitle {
  margin-top: clamp(8px, 0.8vw, 16px);
  font-size: clamp(10px, 1.15vw, 20px);
  font-weight: 480;
  color: var(--muted);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 var(--margin);
  background: var(--meta);
  height: clamp(80px, 7.465vw, 160px);
background-color: #2d2d2d;
}

.hero-meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta-col:nth-child(1) { align-items: flex-start; }
.hero-meta-col:nth-child(2) {
  align-items: flex-start;
  justify-self: start;
  padding-left: 50%;
}
.hero-meta-col:nth-child(3) {
  align-items: flex-start;
  justify-self: end;
}

.meta-label {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: #fff;
  letter-spacing: 0em;
}

.meta-value {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: var(--muted);
  letter-spacing: 0em;
}

/* =====================
   IMAGE BAND
   ===================== */
.hero-image-band {
  position: relative;
  overflow: hidden;
  width: 100%;
    height: clamp(400px, 48vw, 1200px);
  z-index: 1;
}

.hero-image-band img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  display: block;
}

/* =====================
   TEXT SECTION (summary only)
   ===================== */
.text-section {
  background: var(--card);
  border-radius: var(--hero-radius);
  padding: var(--gap) var(--margin);
  margin-top: -80px;
  overflow: hidden;
}
.text-item-label {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0em !important;
}

.text-block.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  padding: var(--gap) 0;
}

.text-col-label {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: var(--muted);
  letter-spacing: -0.02em;
  padding-top: 4px;
}

.text-col-content p {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  line-height: 1.71;
  letter-spacing: -0.02em;
  color: #ccc;
  max-width: 52ch;
}

/* =====================
   GRAY BAND
   ===================== */
.gray-band {
  background-color: #2d2d2d;
  padding: var(--margin) var(--margin) var(--margin);
}

.text-block.challenge-direction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  margin-bottom: var(--gap);
}

.text-col-left,
.text-col-right {
  display: flex;
  flex-direction: column;
}

.text-block-title {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: -0.02em;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: calc(var(--gap) / 1.2);  /* was var(--gap), now halved */
}

.text-item {
  margin-bottom: var(--gap);
}

.text-item-label {
  display: block;
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.text-item p {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: #ccc;
  line-height: 1.6;
  max-width: 48ch;
}

/* =====================
   GALLERY SECTION
   ===================== */
.gallery-section {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.gallery-row {
  width: 100%;
}

.gallery-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.gallery-row.full {
  display: block;
}

.gallery-item {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.gallery-item.square .gallery-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery-item.full-width .gallery-placeholder {
  width: 100%;
  aspect-ratio: 1648 / 989;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: clamp(10px, 1.5vw, 24px);
  overflow: hidden;
}

.gallery-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── FOOTER ─── */
.footer-spacer {
  height: 6vh;
  background-color: #ffffff;
  margin-bottom: -5px;
}

.site-footer {
  margin: 0;
  border-radius: 0;
  background-color: #ffffff;
  padding: clamp(16px, 5vw, 40px) clamp(16px, 2.78vw, 40px);
  display: grid;
  grid-template-columns: clamp(180px, 20vw, 340px) 1fr 1fr;
  grid-template-rows: auto auto;
  row-gap: 60px;
  column-gap: clamp(40px, 8vw, 220px);
}

.footer-main {
  display: contents;
}

.footer-bottom {
  display: contents;
}

.footer-image {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  position: relative;
  top: -60px;
}

.footer-image img {
  width: clamp(180px, 20vw, 340px);
  height: auto;
  aspect-ratio: 367 / 519;
  object-fit: contain;
  display: block;
}

.footer-bottom-left {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
  white-space: nowrap;
}

.footer-bottom-left p {
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
}

.footer-bottom-left p:first-child {
  font-style: italic;
}

.footer-nav {
  grid-column: 2;
  grid-row: 1;
}

.footer-label {
  display: block;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav ul li a {
  font-size: clamp(22px, 3.6vw, 92px);
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  line-height: 1.15;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-bottom-mid {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 160%;
}

.footer-bottom-mid a {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-info {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}

.footer-info p {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom-right {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.back-to-top {
  background: none;
  border: none;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.footer-bottom-right span {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}

/* ─── MASK HOVER ANIMATION ─── */
.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}

.mask .text-top,
.mask .text-bottom {
  display: block;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.mask .text-bottom {
  transform: translateY(100%);
  margin-top: -1.15em;
}

.nav-hover:hover .mask .text-top {
  transform: translateY(-100%);
}

.nav-hover:hover .mask .text-bottom {
  transform: translateY(0%);
}

/* ─── REVEAL SYSTEM ─── */
.approach-line-wrapper {
  display: block;
  overflow: hidden;
}

.approach-line {
  display: block;
  transform: translateY(105%);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.approach-line.visible {
  transform: translateY(0%);
}

/* ─── PRE-HIDE — stops flash before JS runs ─── */
.hero-title,
.hero-subtitle,
.hero-meta-col .meta-label,
.hero-meta-col .meta-value {
  opacity: 0;
}

/* JS removes this class to unblock */
body.js-loading .nav-left,
body.js-loading .nav-center a,
body.js-loading .nav-cta {
  opacity: 0;
}
