@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400&display=swap');

/* ===================== TOKENS ===================== */
:root {
  --tan:        #AF9879;
  --rust:       #A8604B;
  --tan-light:  #C8B49A;
  --tan-xlight: #E8DDD0;
  --rust-light: #C07260;
  --rust-deep:  #7A4234;
  --black:      #1A1410;
  --near-black: #231C17;
  --dark:       #2C2318;
  --white:      #FFFFFF;
  --off-white:  #FAF7F4;
  --cream:      #F4EFE8;
  --warm-mid:   #E6DDD2;
  --text-muted: #7A6E64;
  --text-soft:  #9A8E84;
  --serif:      'Poppins', system-ui, sans-serif;
  --sans:       'Poppins', system-ui, sans-serif;
  --radius:     20px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --grad-rust:  linear-gradient(135deg, var(--rust) 0%, var(--rust-deep) 100%);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--black); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===================== TYPOGRAPHY ===================== */
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.section-title em { color: var(--black); font-style: normal; font-weight: 600; }
.eyebrow { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rust); margin-bottom: 1rem; }

/* ===================== LAYOUT ===================== */
.container { width: min(1280px, 92vw); margin: 0 auto; }

/* ===================== BUTTONS ===================== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; background: var(--grad-rust); color: var(--white); border-radius: 100px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .22s; box-shadow: 0 4px 20px rgba(168,96,75,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(168,96,75,0.45); filter: brightness(1.08); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; color: var(--white); border: 1.5px solid rgba(255,255,255,0.28); border-radius: 100px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color .22s, background .22s, transform .22s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); transform: translateY(-2px); color: var(--white); }
.btn-link { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; transition: color .3s; }
.arrow-box { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); transition: all .35s ease; }
.btn-link:hover { color: var(--tan); }
.btn-link:hover .arrow-box { background: var(--rust); border-color: var(--rust); transform: rotate(45deg); }
.label-tag { display: inline-block; padding: 10px 18px; border-radius: 100px; background: rgba(168,96,75,.08); color: var(--rust); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 24px; }

/* ===================== HEADER ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 56px); background: transparent; margin-top: 20px; transition: margin-top .4s, background .4s; }
.site-header.scrolled { margin-top: 0; background: var(--rust); backdrop-filter: blur(20px); }
.site-header.light { background: rgba(26,20,16,0.92); backdrop-filter: blur(20px); margin-top: 0; }
.logo img { height: 52px; }
.desktop-nav { display: none; }
.header-cta { display: none; }
@media (min-width: 900px) {
  .desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); }
  .desktop-nav a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); transition: color .22s; }
  .desktop-nav a:hover { color: var(--tan); }
  .header-cta { display: inline-flex; padding: 10px 22px; font-size: 0.72rem; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), opacity .25s, width .25s; transform-origin: center; }
.nav-toggle span:nth-child(2) { width: 18px; }
.nav-toggle:hover span:nth-child(2) { width: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 26px; }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; background: var(--near-black); z-index: 1050; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3vh, 28px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 3.5rem); font-weight: 300; color: rgba(255,255,255,0.35); letter-spacing: .02em; text-transform: uppercase; transition: color .25s, transform .25s; padding: 6px 0; min-height: 44px; display: flex; align-items: center; }
.mobile-nav a:hover { color: var(--tan); transform: translateX(8px); }
.mobile-nav .nav-cta-mobile { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--white); font-family: var(--sans); padding: 1em 2em;}

/* ===================== HERO ===================== */
.hero-wrap { padding: 1.5em; }
.hero { position: relative; height: 94svh; min-height: 580px; display: flex; align-items: flex-end; padding: 0 clamp(20px, 5vw, 80px) clamp(40px, 8vh, 80px); overflow: hidden; border-radius: 32px; }
.hero-bg { position: absolute; inset: 0; background: url(images/Skyline/7.jpg) center/cover no-repeat; transform: scale(1.05); will-change: transform; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(150,150,150,0.582) 0%, rgba(255,255,255,0) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; backdrop-filter: blur(10px); padding: 1.5em; border-radius: 15px; box-shadow: 5px 5px 10px #00000050;}
.hero-content .eyebrow { color: var(--tan); }
.hero-title { font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 5rem); font-weight: 700; color: var(--white); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 1.4rem;  text-shadow: 1px 1px 2px #000;}
.hero-title em { font-style: italic; font-weight: 200; color: var(--tan); }
.hero-sub { color: rgb(255, 255, 255); font-size: clamp(.88rem, 1.8vw, 1rem); font-weight: 300; line-height: 1.75; max-width: 460px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 36px; right: clamp(20px, 5vw, 60px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 8px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: 500; }
.scroll-bar { width: 1px; height: 40px; background: rgba(175,152,121,0.2); overflow: hidden; position: relative; }
.scroll-bar::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--tan); animation: scrollDrop 2s ease infinite; }
@keyframes scrollDrop { 0%{top:-100%} 100%{top:100%} }

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* same overlay as your original .hero-bg::after */
/* .hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(150,150,150,0.582) 0%, rgba(255,255,255,0) 100%);
} */

/* dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 5vw, 80px);
  z-index: 2;
  display: flex;
  gap: 8px;
}

  
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.hero-dot.active {
  background: var(--tan);
  transform: scale(1.4);
}
/* ===================== MARQUEE ===================== */
.marquee-wrap { overflow: hidden; background: var(--rust); padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); font-weight: 500; padding: 0 44px; }
.marquee-track span::before { content: '◆'; margin-right: 44px; color: var(--tan-light); opacity: 0.8; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===================== ABOUT ===================== */
.about-mag { background: var(--off-white); overflow: hidden; min-height: 100vh; display: flex; align-items: stretch; border-bottom: 1px solid var(--rust); }
.about-mag-inner { width: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; min-height: 100vh; }
.about-col-stats { grid-column: 1; grid-row: 1 / 3; background: white; padding: clamp(40px,5vw,64px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.about-col-stats::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; }
.about-stats-top .eyebrow { color: rgb(0,0,0); }
.about-big-stat { font-family: var(--serif); font-size: clamp(5rem,8vw,7rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-top: 15px; }
.about-big-stat-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(0,0,0); }
.about-mini-stats { display: flex; flex-direction: column; gap: 24px; }
.about-mini-stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.about-mini-stat-lbl { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(0, 0, 0); }
.about-col-img { grid-column: 2; grid-row: 1 / 3; position: relative; overflow: hidden; }
.about-col-img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; display: block; transform-origin: center center; }
.about-img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(26,20,16,0.8)); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan); }
.about-col-text { grid-column: 3; grid-row: 1; padding: clamp(36px,4vw,60px); background: var(--white); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--warm-mid); }
.about-col-text h2 { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; text-transform: uppercase; }
.about-col-text h2 em { font-weight: 800; display: block; color: #2C2318; font-style: normal; }
.about-col-text p { font-size: 0.9rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.about-col-quote { grid-column: 3; grid-row: 2; padding: clamp(32px,4vw,52px); background: #000; display: flex; flex-direction: column; justify-content: center; }
.about-col-quote blockquote { font-family: var(--serif); font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 300; font-style: italic; color: rgb(255,255,255); line-height: 1.55; margin-bottom: 20px; }
.about-col-quote blockquote em { color: var(--rust); font-style: normal; }

/* ===================== STORY ===================== */
.story-section { height: 400vh; position: relative;  background: var(--white); }
.story-container { position: sticky; top: 2em; height: 97vh;  overflow: hidden; }
.image-wrapper { position: absolute; inset: 0; }
.story-image { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); will-change: transform, clip-path; }
.story-image:nth-child(2), .story-image:nth-child(3) { clip-path: inset(100% 0 0 0); }
.story-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(48deg, rgba(26,20,16,.65) 10%, transparent 55%); }
.story-content { position: relative; z-index: 5; height: 100%; display: flex; align-items: center; padding-left: clamp(24px, 5vw, 60px); max-width: min(520px, 90vw); }
.story-item { position: absolute; color: var(--white); opacity: 0; }
.story-item span { font-size: 10px; letter-spacing: 6px; color: var(--tan); font-weight: 600; display: block; margin-bottom: 6px; }
.story-item h2 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 700; line-height: 1.05; margin: 14px 0; letter-spacing: -0.02em; }
.story-item p { font-size: clamp(.88rem, 1.4vw, 0.98rem); font-weight: 300; line-height: 1.7; opacity: 1; max-width: 340px; color: rgb(255, 255, 255) !important;}

/* ===================== SERVICES GRID ===================== */

/* ===================== PROCESS — CLICK ACCORDION ===================== */
.process { background: #fff; padding: clamp(70px,10vh,120px) 0; }
.process-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: clamp(40px,6vh,64px); flex-wrap: wrap;
}
.process-head .section-title { color: var(--tan); }
.process-head .eyebrow { color: var(--tan); }
.process-head-note { max-width: 320px; font-size: .82rem; font-weight: 600; line-height: 1.7; color: var(--black); padding-bottom: 6px; }
 
/* --- panel row (desktop) --- */
.process-panels {
  display: flex;
  gap: 10px;
  height: 78vh;
  min-height: 480px;
  max-height: 680px;
}
.panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
  transition: flex-grow .7s var(--ease);
  outline: none;
}
.panel.is-active { flex-grow: 6; }
.panel:not(.is-active) { flex-grow: 1; }
.panel:focus-visible { box-shadow: 0 0 0 3px var(--rust); }
 
.panel-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(65%) brightness(.62);
  transform: scale(1.06);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.panel.is-active .panel-img { filter: grayscale(0%) brightness(.82); transform: scale(1); }
 
.panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,20,16,.92) 0%, rgba(26,20,16,.15) 55%, rgba(26, 20, 16, 0) 100%);
  transition: opacity .5s;
}
 
.panel-collapsed-face {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 26px 0;
  opacity: 1; transition: opacity .35s var(--ease);
}
.panel.is-active .panel-collapsed-face { opacity: 0; pointer-events: none; }
.panel-collapsed-num { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--tan-light); }
.panel-collapsed-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); white-space: nowrap;
}
.panel-collapsed-plus {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; font-weight: 300;
}
 
.panel-expanded-face {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px,3vw,44px);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s;
}
.panel.is-active .panel-expanded-face { opacity: 1; transform: translateY(0); pointer-events: all; }
.panel-expanded-face .kicker { font-size: .65rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--tan-light); display: block; margin-bottom: 12px; }
.panel-expanded-face h3 { font-family: var(--sans); font-size: clamp(1.3rem,2vw,1.9rem); font-weight: 600; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.panel-expanded-face p { font-size: .85rem; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.68); max-width: 320px; }
.panel-expanded-num {
  position: absolute; top: clamp(20px,3vw,32px); right: clamp(20px,3vw,32px); z-index: 2;
  font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 700; color: rgba(255,255,255,.18); letter-spacing: -.03em;
  opacity: 0; transition: opacity .5s var(--ease) .15s;
}
.panel.is-active .panel-expanded-num { opacity: 1; }
 
/* progress dots */
.process-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.process-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.18);
  cursor: pointer; transition: background .3s, width .3s;
}
.process-dots button.is-active { background: var(--rust); width: 24px; border-radius: 5px; }
 
/* ===================== MOBILE: click accordion, stacked ===================== */
@media (max-width: 860px) {
  .process-panels { flex-direction: column; height: auto; max-height: none; min-height: 0; }
  .panel { flex: none; height: 76px; transition: height .6s var(--ease); }
  .panel.is-active { height: 380px; flex-grow: 0; }
  .panel:not(.is-active) { flex-grow: 0; }
  .panel-collapsed-face { flex-direction: row; justify-content: space-between; padding: 0 20px; }
  .panel-collapsed-label { writing-mode: horizontal-tb; transform: none; }
  .process-dots { display: none; }
}
/* ===================== PROJECTS — UNIFIED PINNED SECTION =====================
   Height formula: 150 + (N × 220)vh
   2 projects = 590vh  ← current
   3 projects = 810vh  ← update here when adding
================================================================= */
.proj-section {
  height: 590vh;
  position: relative;
}
.proj-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* White intro overlay */
.proj-intro-overlay {
  position: absolute;
  inset: 0;
  background: var(--white);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  will-change: opacity;
  pointer-events: auto;
}
.proj-intro-content { max-width: 720px; will-change: opacity, transform; }
.proj-intro-content .label-tag { margin-bottom: 28px; }
.proj-intro-sub { font-size: 1.05rem; line-height: 1.9; color: var(--text-muted); font-weight: 300; margin-top: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* BG images */
.proj-bgs { position: absolute; inset: 0; }
.proj-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: opacity; }

/* Dark gradient over images */
.proj-scene-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(150deg, rgba(26,20,16,.5) 0%, rgba(26,20,16,.15) 45%, rgba(26,20,16,.7) 100%); */
  z-index: 1;
  will-change: opacity;
  pointer-events: none;
}

/* Info panels — bottom right */
.proj-info-wrap {
  position: absolute;
  bottom: 60px;
  right: 5%;
  width: 380px;
  z-index: 3;
}
.proj-info {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  will-change: opacity, transform;
  pointer-events: none;
  backdrop-filter: blur(10px);
  padding: 2em;
  box-shadow: 5px 5px 5px #00000050;
}
.proj-info-label { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--tan); margin-bottom: 10px; }
.proj-info-title { font-family: var(--serif); font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.1;text-shadow: 1px 1px 1px #000;  }
.proj-info-desc { font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,1); font-weight: 300; margin: 0 0 22px; text-shadow: 1px 1px 1px #000;}
.proj-info .btn-link { color: var(--white); }

/* Dots */
.proj-dots-wrap { position: absolute; bottom: 60px; left: 5%; display: flex; flex-direction: column; gap: 8px; z-index: 4; }
.proj-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s, transform .3s; }
.proj-dot.active { background: var(--white); transform: scale(1.5); }

/* Progress bar */
.proj-prog-bar { position: absolute; right: 0; top: 0; width: 3px; height: 100%; background: rgba(255,255,255,.08); z-index: 4; }
.proj-prog-fill { width: 100%; height: 0%; background: var(--rust); }



/* ===================== Gallery ===================== */

/* ===================== FILLER SECTIONS ===================== */
/* So the pin effect is visible while scrolling into/out of the gallery */
.filler {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 8vh 6vw;
  border-bottom: 1px solid var(--warm-mid);
}
.filler h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 20ch;
  line-height: 1.3;
}
 
/* ===================== GALLERY WRAPPER ===================== */
/*
  .gallery-section is the PINNED element.
  When ScrollTrigger pins it, the wrapper stays fixed at top:0
  while the scroll distance inside plays out.
  The bg/text color transition happens on this element.
*/
.gallery-section {
  position: relative;
  /* initial state: white bg, dark text */
  background-color: var(--white);
  color: var(--black);
  /* smooth transition driven by GSAP, CSS transition just as fallback */
  will-change: background-color, color;
  overflow: hidden;
}
 
/* All text-colored children inherit so the tween on the wrapper propagates */
.gallery-section .eyebrow,
.gallery-section .section-title,
.gallery-section .row__index,
.gallery-section .box__label,
.gallery-section .gallery-header p {
  color: inherit;
}
 
/* ===================== GALLERY HEADER ===================== */
.gallery-header {
  padding: 6vh 6vw 4vh;
  border-bottom: 1px solid currentColor;
  opacity: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
 
.gallery-header .eyebrow {
  /* override the default rust color so it inherits */
  color: inherit;
  opacity: 1;
  margin-bottom: 0.5rem;
}
 
.gallery-header p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-family: monospace;
  color: inherit;
  opacity: 0.55;
}
 
/* ===================== GALLERY SCROLL TRACK ===================== */
.gallery-track {
  padding: 10vh 0 14vh;
  position: relative;
}
 
/* ===================== ROWS ===================== */
.row {
  display: flex;
  position: relative;
  margin-bottom: clamp(8vh, 10vh, 12vh);
  
}

.row:nth-child(1) { justify-content: flex-start; padding-left: 6vw; }
.row:nth-child(2) { justify-content: flex-end;   padding-right: 8vw; margin-bottom: -200px; }
.row:nth-child(3) { justify-content: flex-start; padding-left: 10vw;  margin-bottom: -100px; }
.row:nth-child(4) { justify-content: flex-end;   padding-right: 12vw; margin-bottom: -50px;  }
.row:nth-child(5) { justify-content: flex-start; padding-left: 8vw;  margin-top: 50px;}
.row:nth-child(6) { justify-content: flex-end;   padding-right: 6vw; margin-top: -200px; }
 
/* ===================== BOX (clip container) ===================== */
.box {
  position: relative;
  overflow: hidden;
    
  opacity: 0.18;
  border-radius: 15px;

  flex-shrink: 0;
  /* entrance clip */
  padding: 0 !important;

  
}
 
/* Different sizes */

.row:nth-child(1) .box {
  width: clamp(320px, 52vw, 700px);
  height: clamp(200px, 30vw, 420px);
}

.row:nth-child(2) .box {
  width: clamp(280px, 46vw, 620px);
  height: clamp(180px, 28vw, 380px);
}

.row:nth-child(3) .box {
  width: clamp(300px, 50vw, 680px);
  height: clamp(190px, 29vw, 400px);
}

.row:nth-child(4) .box {
  width: clamp(260px, 42vw, 580px);
  height: clamp(170px, 26vw, 360px);
}

.row:nth-child(5) .box {
  width: clamp(340px, 56vw, 760px);
  height: clamp(210px, 31vw, 430px);
}

.row:nth-child(6) .box {
  width: clamp(280px, 48vw, 640px);
  height: clamp(180px, 28vw, 390px);
}
/* .row:nth-child(1) .box { width: clamp(260px, 52vw, 660px); height: clamp(190px, 36vw, 460px); }
.row:nth-child(2) .box { width: clamp(200px, 38vw, 490px); height: clamp(240px, 42vw, 550px); }
.row:nth-child(3) .box { width: clamp(220px, 46vw, 580px); height: clamp(170px, 30vw, 400px); }
.row:nth-child(4) .box { width: clamp(190px, 34vw, 440px); height: clamp(220px, 38vw, 500px); }
.row:nth-child(5) .box { width: clamp(280px, 58vw, 740px); height: clamp(190px, 32vw, 420px); }
.row:nth-child(6) .box { width: clamp(200px, 42vw, 530px); height: clamp(210px, 36vw, 460px); } */
 
/* ===================== IMAGE ===================== */
.box__img {
  width: 100%;
  height: 140%;         /* taller than box = parallax travel room */
  object-fit: cover;
  display: block;
  will-change: transform;
  position: relative;
  top: 10%;            /* pre-shift so no gap at top */
}
 
/* ===================== BOX LABEL ===================== */
.box__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.55rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);   /* always white — over image */
}
 
/* ===================== ROW INDEX ===================== */
.row__index {
  position: absolute;
  top: 0;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  pointer-events: none;
  opacity: 0.28;
  color: inherit;
}
.row:nth-child(odd)  .row__index { right: calc(100% - 5vw); }
.row:nth-child(even) .row__index { left:  calc(100% - 5vw); }
 


/* ===================== MEDIA ===================== */
.media-section { background: var(--white); padding: clamp(80px,10vh,130px) 0; }
.media-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.media-header .section-title { color: var(--black); margin-top: 8px; }
.instagram-handle { display: inline-flex; align-items: center; gap: 8px; color: var(--rust); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: transform .2s; }
.instagram-handle:hover { transform: translateX(4px); color: var(--rust-light); }
.media-sub-label { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.media-sub-label .eyebrow { margin-bottom: 0; color: var(--tan); }
.media-sub-label::after { content: ''; flex: 1; height: 1px; background: rgba(175,152,121,0.12); }
.media-reels-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.reel-item { position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; max-height: 500px; }
.reel-badge { position: absolute; top: 14px; left: 14px; background: rgba(168,96,75,0.9); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; z-index: 3; backdrop-filter: blur(6px); }
.reel-item-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; cursor: pointer; transition: opacity .3s; }
.reel-item-thumb .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(26,20,16,0.3); transition: background .3s; }
.reel-item-thumb .play-btn:hover { background: rgba(26,20,16,0.15); }
.reel-item-thumb .play-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(168,96,75,0.9); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: transform .3s, background .3s; }
.reel-item-thumb:hover .play-icon { transform: scale(1.1); background: var(--rust); }
.media-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-item { position: relative; border-radius: 20px; overflow: hidden; background: #111; cursor: pointer; display: flex; flex-direction: column; }
.bento-item-img { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; flex-shrink: 0; }
.bento-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.19,1,.22,1); display: block; }
.bento-item:hover .bento-item-img img { transform: scale(1.06); }
.bento-item-caption { padding: 14px 18px 16px; background: #161210; border-top: 1px solid rgba(175,152,121,0.08); }
.bento-item-caption span { color: rgba(255,255,255,0.55); font-size: 0.78rem; font-weight: 300; line-height: 1.5; display: block; }
.bento-item:hover .bento-item-caption span { color: rgba(255,255,255,0.8); transition: color .3s; }

/* ===================== FAQ ===================== */
.faq-v2 { background: var(--near-black); padding: clamp(80px,12vh,140px) 0; }
.faq-v2-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(48px,7vw,100px); align-items: start; }
.faq-v2-left { position: sticky; top: 100px; }
.faq-v2-left .eyebrow { color: var(--tan); }
.faq-v2-left .section-title { color: var(--white); margin-bottom: 22px; }
.faq-v2-left p { color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 32px; font-size: 0.9rem; font-weight: 300; }
.faq-v2-item { border-top: 1px solid rgba(175,152,121,0.1); }
.faq-v2-item:last-child { border-bottom: 1px solid rgba(175,152,121,0.1); }
.faq-v2-btn { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; text-align: left; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.65); gap: 20px; transition: color .2s; }
.faq-v2-btn:hover { color: var(--white); }
.faq-v2-icon { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(175,152,121,0.25); display: flex; align-items: center; justify-content: center; color: var(--tan); font-size: 1.1rem; flex-shrink: 0; transition: border-color .3s, transform .4s, background .3s; }
.faq-v2-answer { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.faq-v2-answer p { padding: 0 0 26px; max-width: 600px; color: rgba(255,255,255,0.4); line-height: 1.8; font-size: 0.88rem; font-weight: 300; }
.faq-v2-item.active .faq-v2-answer { max-height: 300px; }
.faq-v2-item.active .faq-v2-icon { transform: rotate(45deg); background: rgba(168,96,75,0.18); border-color: var(--rust); color: var(--rust); }
.faq-v2-item.active .faq-v2-btn { color: var(--white); }

/* ===================== CONTACT ===================== */
.contact-v2 { background: var(--off-white); padding: clamp(80px,12vh,140px) 0; }
.contact-v2-head { text-align: center; max-width: 800px; margin: 0 auto clamp(60px,8vh,100px); }
.contact-v2-head .section-title { margin-bottom: 20px; }
.contact-v2-head p { color: var(--text-muted); line-height: 1.8; max-width: 540px; margin: 0 auto; font-weight: 300; font-size: 0.95rem; }

.contact-v2-form-wrap { background: var(--white); border: 1.5px solid var(--warm-mid); border-radius: 28px; padding: clamp(28px,4vw,44px); }
.contact-v2-form-wrap h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 26px; letter-spacing: -0.02em; }
.contact-v2-form { display: flex; flex-direction: column; gap: 16px; }
.contact-v2-form input, .contact-v2-form textarea { width: 100%; background: var(--off-white); border: 1.5px solid var(--warm-mid); border-radius: 12px; padding: 14px 18px; color: var(--black); font-family: var(--sans); font-size: 0.88rem; transition: border-color .2s, box-shadow .2s; }
.contact-v2-form input:focus, .contact-v2-form textarea:focus { outline: none; border-color: var(--rust); background: var(--white); box-shadow: 0 0 0 3px rgba(168,96,75,0.08); }
.contact-v2-form input::placeholder, .contact-v2-form textarea::placeholder { color: var(--text-soft); }
.contact-v2-form textarea { resize: none; }
.contact-v2-map { border-radius: 28px; overflow: hidden; border: 1.5px solid var(--warm-mid); min-height: 500px; }
.contact-v2-map iframe { width: 100%; height: 100%; border: none; filter: sepia(25%) contrast(1.05) saturate(0.85); }
.cv2-plaque {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(150deg, var(--near-black) 0%, var(--dark) 100%);
  border-radius: 26px;
  padding: 46px 12px;
  margin-top: 10px;
}

/* corner rivets — the plaque's hardware */
.rivet {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--tan-light) 0%, var(--tan) 45%, var(--rust-deep) 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.rivet.tl { top: 16px; left: 16px; }
.rivet.tr { top: 16px; right: 16px; }
.rivet.bl { bottom: 16px; left: 16px; }
.rivet.br { bottom: 16px; right: 16px; }

.cv2-plaque-item {
  position: relative;
  padding: 0 30px;
  text-align: left;
}
.cv2-plaque-item + .cv2-plaque-item { border-left: 1px solid rgba(232,221,208,0.14); }

.cv2-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tan-light);
  font-weight: 700;
  margin-bottom: 14px;
}

.cv2-plaque-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.cv2-plaque-item p,
.cv2-plaque-item > a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--tan-light);
  transition: color .2s;
}
.cv2-plaque-item > a:hover { color: var(--rust-light); }

.cv2-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cv2-social a {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--tan-light);
  border: 1px solid rgba(232,221,208,0.25);
  border-radius: 999px;
  padding: 6px 13px;
  transition: color .2s, border-color .2s, background .2s;
}
.cv2-social a:hover {
  color: var(--near-black);
  background: var(--tan-light);
  border-color: var(--tan-light);
}

@media (max-width: 860px) {
  .cv2-plaque { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .cv2-plaque-item:nth-child(odd) { border-left: none; }
  .cv2-plaque-item:nth-child(-n+4) { padding: 0 24px; }
}
@media (max-width: 560px) {
  .cv2-plaque { grid-template-columns: 1fr; row-gap: 30px; }
  .cv2-plaque-item { border-left: none !important; padding: 0 8px; }
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--near-black); color: rgba(255,255,255,.45); }
.footer-inner { padding: clamp(48px, 8vh, 72px) clamp(20px, 5vw, 80px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(175,152,121,0.1); margin-bottom: 28px; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: .82rem; font-weight: 300; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(175,152,121,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--tan); border-color: var(--tan); }
.footer-links-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col h4 { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(175,152,121,0.4); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.42); transition: color .2s; }
.footer-col a:hover { color: var(--tan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .72rem; font-weight: 300; color: rgba(255,255,255,.22); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .about-mag-inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .about-col-stats { grid-column: 1; grid-row: 1; }
  .about-col-img { grid-column: 2; grid-row: 1; min-height: 400px; }
  .about-col-text { grid-column: 1; grid-row: 2; }
  .about-col-quote { grid-column: 2; grid-row: 2; }
  .faq-v2-inner { grid-template-columns: 1fr; }
  .faq-v2-left { position: static; }
  .media-bento { grid-template-columns: 1fr 1fr; }
  .media-reels-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .about-mag-inner { grid-template-columns: 1fr; }
  .about-col-stats, .about-col-img, .about-col-text, .about-col-quote { grid-column: 1; grid-row: auto; }
  .about-col-img { min-height: 280px; }
  .contact-v2-grid { grid-template-columns: 1fr; }
  .contact-v2-map { min-height: 320px; }
  .contact-v2-info { grid-template-columns: repeat(2,1fr); }
  .media-bento { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links-grid { grid-template-columns: repeat(2,1fr); }
  .proj-info-wrap { width: 280px; }
}
@media (max-width: 600px) {
  .hero-wrap { padding: 1em; }
  .hero { border-radius: 20px; padding: 0 20px 36px; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .hero-sub { font-size: 0.86rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }
  .story-section { height: 350vh; padding: 1em; }
  .story-container { border-radius: 18px; height: 92vh; }
  .contact-v2-info { grid-template-columns: 1fr; }
  .media-bento { grid-template-columns: 1fr; }
  .media-reels-row { grid-template-columns: 1fr; }
  .reel-item { max-height: 420px; }
  .services-grid { grid-template-columns: 1fr; }
  .proj-info-wrap { width: 90%; right: 5%; }
}
@media (max-width: 480px) {
  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: clamp(1.7rem, 8.5vw, 2.4rem) !important; }
  .container { width: 94vw; }
}



/* about page */
/* about page */
/* =========================================================
   ABOUT PAGE — extends style-2.css tokens (--tan, --rust, etc.)
========================================================= */

/* ===================== CUSTOM CURSOR ===================== */
.av-cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.av-cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--white); }
.av-cursor-ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; margin: -19px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s; }
.av-cursor-ring.is-active { width: 68px; height: 68px; margin: -34px; border-color: var(--tan); }
@media (max-width: 900px), (hover: none) { .av-cursor { display: none; } }

/* ===================== INDEX RAIL ===================== */
.av-rail { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 400; display: flex; flex-direction: column; gap: 16px; }
.av-rail-item { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 9px; border-radius: 20px; background: rgba(20,15,11,0.35); backdrop-filter: blur(8px); color: rgba(255,255,255,0.55); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; transition: background .3s, color .3s, padding .3s; }
.av-rail-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.av-rail-item.is-active { color: var(--white); background: var(--rust); padding-right: 16px; }
@media (max-width: 1100px) { .av-rail { display: none; } }

/* ===================== LINE-MASK TEXT REVEAL (reusable utility) ===================== */
.av-line-mask { display: block; overflow: hidden; }
.av-line { display: block; transform: translateY(112%); will-change: transform; }
.av-magnetic { will-change: transform; }

/* header needs a solid background from the start — no hero to sit over */
body.no-hero .site-header { background: var(--near-black); backdrop-filter: blur(20px); margin-top: 0; }

/* ===================== FOUNDATION — asymmetric bento ===================== */
.av-foundation { background: var(--off-white); padding: clamp(130px,16vh,190px) 0 clamp(70px,9vh,110px); }
.av-found-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(60px,7vw,110px); align-items: start; }
.av-found-visual { position: relative; }
.av-found-img-main { border-radius: var(--radius); overflow: hidden; height: clamp(360px,42vw,560px); }
.av-found-img-main img { width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.av-found-img-chip { position: absolute; bottom: -54px; left: -36px; width: 44%; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 6px solid var(--off-white); box-shadow: 0 24px 46px rgba(26,20,16,0.22); }
.av-found-img-chip img { width: 100%; height: 100%; object-fit: cover; }
.av-found-text { position: relative; padding-top: 24px; }
.av-found-watermark { position: absolute; top: -54px; right: -6px; font-family: var(--serif); font-size: clamp(6rem,11vw,10rem); font-weight: 800; color: var(--warm-mid); line-height: 1; z-index: -1; user-select: none; }
.av-found-text .section-title { margin: 14px 0 24px; }
.av-found-text p { font-size: .93rem; font-weight: 300; line-height: 1.85; color: var(--text-muted); margin-bottom: 18px; max-width: 46ch; }
.av-found-stats { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 40px; border-top: 1px solid var(--warm-mid); padding-top: 30px; }
.av-found-stats li { display: flex; align-items: baseline; gap: 16px; }
.av-found-stats strong { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--rust); min-width: 74px; letter-spacing: -0.02em; }
.av-found-stats span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 900px) {
  .av-found-grid { grid-template-columns: 1fr; }
  .av-found-img-chip { width: 52%; left: 0; bottom: -34px; }
  .av-found-text { margin-top: 60px; }
  .av-found-watermark { top: -30px; }
}

/* ===================== PHILOSOPHY — pinned horizontal pan ===================== */
/* background matches the hero section tone (--near-black) */
.av-philosophy { height: 320vh; position: relative; background: var(--near-black); }
.av-phil-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.av-phil-header { position: absolute; top: clamp(90px,12vh,130px); left: clamp(24px,6vw,80px); z-index: 4; display: flex; align-items: center; gap: 24px; }
.av-phil-header .eyebrow { color: var(--tan); margin-bottom: 0; }

.av-phil-track { display: flex; height: 100%; width: 300%; will-change: transform; }
.av-phil-panel { width: 40%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 8vw; }

/* photo text-clip removed — plain solid-color heading on the section background */
.av-phil-text {
  font-family: var(--serif); font-weight: 800; text-align: center;
  font-size: clamp(2rem,5.6vw,4.6rem); line-height: 1.18; letter-spacing: -0.02em;
  max-width: 15ch; margin: 0 auto;
  color: var(--white);
}

.av-phil-progress { position: absolute; bottom: clamp(28px,5vh,52px); left: 50%; transform: translateX(-50%); width: min(280px,60vw); height: 2px; background: rgba(255,255,255,.15); z-index: 4; }
.av-phil-progress-fill { width: 0%; height: 100%; background: var(--tan); }

@media (max-width: 700px) {
  .av-phil-text { font-size: clamp(1.7rem,9vw,2.6rem); max-width: 13ch; }
  .av-phil-panel { padding: 0 6vw; }
}

/* ===================== MANIFESTO — pinned, scroll-scrubbed sequence ===================== */
.av-manifesto-section { height: 340vh; position: relative; }
.av-manifesto-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.av-manifesto-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(35%); transform: scale(1.08); will-change: transform; }
.av-manifesto-overlay { position: absolute; inset: 0; background: rgba(15,11,8,0.87); }
.av-manifesto-watermark { position: absolute; z-index: 1; right: 4%; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 24vw; font-weight: 800; color: rgba(255,255,255,0.035); letter-spacing: -0.04em; user-select: none; pointer-events: none; }
.av-manifesto-content { position: relative; z-index: 2; width: 100%; height: 100%; }
/* top:50% + yPercent:-50 (set in JS) centers each line vertically instead of sitting at the bottom */
.av-m-line {
  position: absolute; top: 50%; left: clamp(24px,8vw,110px);
  opacity: 0;
  width: min(760px, 78vw); text-align: left;
  font-family: var(--serif); will-change: transform, opacity;
}
.av-m-muted { font-size: clamp(1rem,1.8vw,1.3rem); font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.75; }
.av-m-lead { font-size: clamp(1.7rem,3.8vw,2.8rem); font-weight: 300; color: var(--white); line-height: 1.45; letter-spacing: -0.01em; }
.av-m-lead em { color: var(--tan); font-style: italic; font-weight: 400; }
.av-m-sign { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 300; color: rgba(255,255,255,0.9); line-height: 1.65; }
.av-m-sign em { color: var(--rust-light); font-style: italic; }
.av-manifesto-progress { position: absolute; bottom: clamp(28px,5vh,52px); left: clamp(24px,8vw,110px); width: min(220px,50vw); height: 2px; background: rgba(255,255,255,.15); z-index: 3; }
.av-manifesto-progress-fill { width: 0%; height: 100%; background: var(--tan); }
@media (max-width: 600px) { .av-manifesto-watermark { font-size: 34vw; } }

/* ===================== CLOSING CTA — diagonal split ===================== */
.av-cta { padding: 0; background: var(--off-white); }
.av-cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 68vh; }
.av-cta-text { display: flex; flex-direction: column; justify-content: center; padding: 9vh clamp(28px,6vw,80px); }
.av-cta-text .section-title { margin: 16px 0 18px; }
.av-cta-text p { color: var(--text-muted); line-height: 1.8; font-weight: 300; font-size: .95rem; margin-bottom: 30px; max-width: 46ch; }
/* button scaled down — was inheriting an oversized default from .btn-primary */
.av-cta-text .btn-primary {
  align-self: flex-start;
  padding: 12px 26px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.av-cta-visual { position: relative; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%); }
.av-cta-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .av-cta-grid { grid-template-columns: 1fr; min-height: 0; }
  .av-cta-visual { clip-path: none; height: 320px; order: -1; }
}
.mobile-nav{
    position:fixed;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.nav-close{
    position:absolute;
    top:30px;
    right:30px;
    width:48px;
    height:48px;
    border:none;
    background:none;
    color:#111;
    font-size:42px;
    line-height:1;
    cursor:pointer;
    z-index:1001;
}





/* =========================================
   NILKANTH GROUP — INSTAGRAM FEED
========================================= */

.instagram-section {
  padding: 70px 0 90px;
  background: #f8f7f5;
  overflow: hidden;
}

.instagram-section .container {
  max-width: 1320px;
  margin: 0 auto;
}

.instagram-section h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -1.2px;
  color: #24221f;
  margin-bottom: 32px;
}

/* Responsive grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

/* Individual post */
.instagram-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e6e1;
  text-decoration: none;
}

.instagram-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1),
              opacity 0.4s ease;
}

/* Hover effect */
.instagram-card:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.instagram-card::after {
  content: "View on Instagram ↗";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(20, 20, 18, 0.38);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.instagram-card:hover::after {
  opacity: 1;
}

/* Instagram CTA */
.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 13px 22px;
  border: 1px solid #24221f;
  color: #24221f;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background 0.3s ease, color 0.3s ease;
}

.instagram-follow-btn:hover {
  background: #24221f;
  color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .instagram-section {
    padding: 55px 0 65px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .instagram-section {
    padding: 45px 0 55px;
  }

  .instagram-section h2 {
    margin-bottom: 22px;
  }

  .instagram-card::after {
    content: "View post ↗";
    font-size: 11px;
  }
}



.instagram-heading {
  margin-bottom: 30px;
}

.instagram-heading .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #8b7868;
}

.instagram-heading h2 {
  margin-bottom: 12px;
}

.instagram-heading h2 em {
  font-style: italic;
}

.instagram-description {
  max-width: 500px;
  margin: 0;
  color: #77736e;
  font-size: 14px;
  line-height: 1.8;
}

.instagram-footer {
  display: flex;
  justify-content: center;
}
