/* ==========================================================
   Gaurav Singhal — personal website
   Warm cream + signature yellow, inspired by editorial
   personal-brand sites.
   ========================================================== */

:root {
  --cream: #f6f2ea;
  --sand: #ece5d6;
  --paper: #ffffff;
  --ink: #151515;
  --ink-soft: #4a4740;
  --muted: #7a756a;
  --yellow: #ffd60a;
  --yellow-deep: #f2c200;
  --navy: #0f1b3d;
  --line: #ddd5c4;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(21, 21, 21, 0.08);
  --max: 1180px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--white {
  background: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--ink);
  color: #f3efe6;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--yellow);
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.section--dark .lead {
  color: #cfc9bc;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.highlight {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding: 0 4px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.btn--yellow:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.section--dark .btn--ghost {
  color: #fff;
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Header / floating pill nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
}

.nav-links a:hover {
  background: var(--sand);
}

.nav-links a[aria-current="page"] {
  background: var(--sand);
}

.nav-links .nav-cta {
  background: var(--yellow);
}

.nav-links .nav-cta:hover {
  background: var(--yellow-deep);
}

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.3rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 40px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lead {
  margin-bottom: 30px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  background: var(--yellow);
  border-radius: 28px;
  z-index: -1;
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--paper);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.3;
}

.hero-badge strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
}

/* Page hero (inner pages) */

.page-hero {
  padding: 56px 0 72px;
}

.page-hero h1 {
  max-width: 900px;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.stats--4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.section--dark .stat {
  background: #232323;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.section--dark .stat span {
  color: #bdb6a8;
}

/* ---------- Logo / name strip ---------- */

.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.trust-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-head {
  margin-bottom: 48px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}

.section--white .card {
  background: var(--cream);
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.card .card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

.icon-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.icon-dot svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Topic tiles */

.tile {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  text-align: center;
}

.section--sand .tile {
  background: var(--paper);
}

.tile .icon-dot {
  margin: 0 auto 14px;
  width: 44px;
  height: 44px;
}

.tile .icon-dot svg {
  width: 20px;
  height: 20px;
}

.tile h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.tile p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Feature image block */

.feature-img img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Quote */

.quote {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--sand);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.gallery.is-collapsed .gallery-item:nth-child(n + 13) {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px 16px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 78vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox p {
  color: #fff;
  font-weight: 600;
  margin: 16px 0 0;
  text-align: center;
}

.lightbox button {
  position: absolute;
  background: var(--yellow);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
}

.lightbox .lb-close {
  top: 18px;
  right: 18px;
}

.lightbox .lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 40px 48px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink);
}

.section--white .timeline li::before {
  border-color: var(--paper);
}

.timeline .when {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline h3 {
  margin: 4px 0 6px;
}

.timeline p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Ventures ---------- */

.venture {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.venture:last-child {
  border-bottom: 1px solid var(--line);
}

.venture .role {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.venture h3 {
  font-size: 1.7rem;
}

.venture p {
  color: var(--ink-soft);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.pill-list li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
}

.section--white .pill-list li {
  background: var(--sand);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--yellow);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  margin: 0;
  font-size: 1.1rem;
}

.cta-band .btn-row {
  justify-content: flex-end;
}

.cta-band .btn {
  background: var(--ink);
  color: #fff;
}

.cta-band .btn--ghost {
  background: transparent;
  color: var(--ink);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list .icon-dot {
  margin: 0;
  flex: none;
  width: 46px;
  height: 46px;
}

.contact-list small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 14px 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #d9d3c6;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: #8f897c;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================
   Full-screen layouts (home + photo heroes)
   ========================================================== */

:root {
  --charcoal: #3a3a3b;
}

/* Header that floats over a dark photo hero, turns cream on scroll */
.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  transition: background 0.25s ease, padding 0.25s ease;
}

.site-header--overlay .logo {
  color: #fff;
}

.site-header--overlay.is-scrolled {
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
}

.site-header--overlay.is-scrolled .logo {
  color: var(--ink);
}

/* Full-viewport photo hero */
.fs-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fs-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
}

.fs-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}

.fs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(58, 58, 59, 0.9) 0%, rgba(58, 58, 59, 0.55) 42%, transparent 62%);
  pointer-events: none;
}

.fs-hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
}

.fs-hero__content > * {
  max-width: 640px;
}

.fs-hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  margin-bottom: 22px;
}

.fs-hero .lead {
  color: #e4e0d8;
  font-size: 1.25rem;
  margin-bottom: 34px;
}

.fs-hero .tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.fs-hero .highlight {
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  padding: 0 10px;
}

.fs-hero .btn--ghost {
  color: #fff;
  border-color: #fff;
}

.fs-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fs-hero__scroll::after {
  content: "";
  width: 2px;
  height: 34px;
  background: var(--yellow);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* Video hero: video fills the right ~64% of a full-screen section */
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}



/* Shorter photo hero for inner pages */
.fs-hero--page {
  min-height: 78vh;
}

/* Yellow scrolling marquee */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.marquee__track span::after {
  content: "✦";
  margin-left: 48px;
  color: var(--yellow);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .fs-hero__scroll::after {
    animation: none;
  }
}

/* Edge-to-edge split: text panel + full-height photo */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
}

.split__text > * {
  max-width: 560px;
}

.split__photo {
  position: relative;
  min-height: 420px;
}

.split__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.split--yellow .split__text {
  background: var(--yellow);
}

.split--yellow .eyebrow,
.split--yellow .lead {
  color: var(--ink);
}

.split--dark .split__text {
  background: #141414;
  color: #f3efe6;
}

.split--dark .eyebrow {
  color: var(--yellow);
}

.split--dark .lead {
  color: #cfc9bc;
}

.split--reverse .split__photo {
  order: -1;
}

.split .quote {
  text-align: left;
  margin: 0 0 20px;
}

.split .btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Big numbers row */
.big-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}

.big-stats div {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
}

.big-stats div:last-child {
  border-right: 0;
}

.big-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1;
  margin-bottom: 10px;
}

.big-stats span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Gallery teaser strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.photo-strip a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-strip a:hover img {
  transform: scale(1.06);
}

/* Full-width closing CTA */
.cta-full {
  background: var(--yellow);
  text-align: center;
  padding: clamp(80px, 12vw, 150px) 0;
}

.cta-full h2 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 900px;
  margin: 0 auto 18px;
}

.cta-full p {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-full .btn {
  background: var(--ink);
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .big-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .big-stats div:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 880px) {
  /* Photo heroes stack: photo on top, text below */
  .fs-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .fs-hero::before {
    display: none;
  }

  .fs-hero__photo {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 420px;
  }

  .fs-hero__photo img,
  .video-bg {
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  }

  .fs-hero--video .fs-hero__photo {
    height: 56vh;
  }


  .fs-hero__content {
    padding: 0 0 72px;
    margin-top: -90px;
  }

  .fs-hero__scroll {
    display: none;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split__photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  /* Overlay header: keep the menu toggle visible on the dark hero */
  .site-header--overlay .nav-links a {
    color: var(--ink);
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 18px;
  }

  .hero-grid,
  .grid-2,
  .contact-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-badge {
    left: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .venture {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-band .btn-row {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat strong {
    font-size: 2rem;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4--cards {
    grid-template-columns: 1fr;
  }

  .big-stats {
    grid-template-columns: 1fr 1fr;
  }

  .big-stats div {
    padding: 28px 16px;
    border-bottom: 1px solid var(--line);
  }

  .big-stats div:nth-child(even) {
    border-right: 0;
  }

  .big-stats div:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .marquee__track {
    font-size: 1.05rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item figcaption {
    font-size: 0.72rem;
    padding: 28px 10px 8px;
  }

  .lightbox .lb-prev,
  .lightbox .lb-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-photo::before {
    inset: 18px -10px -10px 18px;
  }
}
