/* =========================================================
   Dexdee Fountains New York — site styles
   Palette: #1A1919 (ink) | #FFFFFF (paper) | #FF2424 (accent)
   Type:    Manrope (display+body) | JetBrains Mono (tags)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #1A1919;
  --ink-2: #2a2828;
  --ink-3: #3a3838;
  --paper: #ffffff;
  --paper-2: #f5f3f0;
  --paper-3: #e8e5e0;
  --accent: #ff2424;
  --accent-deep: #d11a1a;
  --line: rgba(26, 25, 25, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 60px -20px rgba(0,0,0,0.25);

  --maxw: 1440px;
  --pad-x: clamp(20px, 4vw, 64px);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --t-fast: 220ms cubic-bezier(.4,0,.2,1);
  --t-med: 480ms cubic-bezier(.4,0,.2,1);
  --t-slow: 720ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.78); }
.eyebrow.on-dark::before { background: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}
.h-display em {
  font-style: normal;
  font-weight: 200;
  color: var(--accent);
}

.h-section {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(26,25,25,0.74);
  text-wrap: pretty;
  max-width: 60ch;
}
.lede.on-dark { color: rgba(255,255,255,0.74); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med);
  color: #fff;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-light {
  background: rgba(26,25,25,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 30%;
}
.brand-mark {
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 10%;
  object-fit: contain;
  transform: scale(1.05);
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-word .name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-word .loc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  padding: 6px 0;
  color: #fff;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right var(--t-fast);
}
.nav-main a:hover::after,
.nav-main a.active::after { right: 0; }

.nav-main a.nav-cta {
  padding: 12px 22px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* burger */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 80px var(--pad-x) 40px;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--t-med), visibility 0s linear var(--t-med);
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform var(--t-med), visibility 0s linear 0s;
}
.mobile-menu .close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 200;
  border: 1px solid var(--line-light);
  border-radius: 999px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu .mob-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-top: 30px;
}
.mobile-menu .mob-meta .col { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .7; line-height: 1.7; }

/* ---------- Floating socials (right rail) ---------- */
.side-rail {
  position: fixed;
  right: 18px; bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  --rail-fg: #ffffff;
  --rail-fg-soft: rgba(255,255,255,0.85);
  --rail-line: rgba(255,255,255,0.5);
  transition: --rail-fg var(--t-fast);
}
.side-rail.is-light {
  --rail-fg: #1A1919;
  --rail-fg-soft: rgba(26,25,25,0.85);
  --rail-line: rgba(26,25,25,0.35);
}
.side-rail .rail-line {
  width: 1px; height: 80px;
  background: var(--rail-line);
  margin-bottom: 8px;
  transition: background var(--t-fast);
}

.side-rail a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--rail-fg-soft);
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--rail-fg-soft);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.side-rail.is-light a {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.side-rail a:hover { background: var(--accent) !important; border-color: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.btn .arrow {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  flex: 0 0 auto;
}
.btn .arrow::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--paper);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 3l6 5-6 5' fill='none' stroke='black' stroke-width='1.5'/></svg>") center/10px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 3l6 5-6 5' fill='none' stroke='black' stroke-width='1.5'/></svg>") center/10px no-repeat;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn--primary .arrow::after { background: var(--accent); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost .arrow { background: #fff; }
.btn--ghost .arrow::after { background: #fff; }
.btn--ghost:hover .arrow { background: var(--ink); }
.btn--ghost:hover .arrow::after { background: var(--ink); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #000; }
.btn--dark .arrow::after { background: var(--ink); }

.link-arrow {
  width: 90%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color var(--t-fast), border-color var(--t-fast), padding var(--t-fast);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.link-arrow.on-dark:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- HERO CAROUSEL ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s linear;
  overflow: hidden;
}
.hero-slide .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,25,25, 0.45) 0%, rgba(26,25,25, 0.85) 70%, rgba(26,25,25, 0.95) 100%);
  z-index: 1;
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) clamp(80px, 10vh, 140px);
}
.hero-content .hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow .num { color: var(--accent); }
.hero-eyebrow .dot { width: 4px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 999px; display: inline-block; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 0.96;
  max-width: 18ch;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* hero photo placeholders */
.placeholder-img {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  color: rgba(255,255,255,0.85);
}
.placeholder-img::before { display: none; }
.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-img::after {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.placeholder-img .ph-label {
  position: absolute;
  left: 22px; bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 10px;
  z-index: 2;
}
.placeholder-img .ph-corner {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  z-index: 2;
}

/* hero variant placeholders give different tonal feels per slide */
.ph-fountain-night, .ph-fountain-day, .ph-fountain-red, .ph-fountain-pool, .ph-indoor, .ph-marble { background: var(--ink); }
.ph-marble { color: var(--ink); background: var(--paper-3); }
.ph-marble .ph-label,
.ph-marble .ph-corner { color: rgba(26,25,25,0.85); border-color: rgba(26,25,25,0.2); background: rgba(255,255,255,0.4); }

/* hero water motion overlay */
.hero-slide .water-motion {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(255,255,255,0.08), transparent 60%);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

/* hero controls */
.hero-controls {
  position: absolute;
  z-index: 5;
  bottom: 28px;
  right: var(--pad-x);
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  margin-right: 22px;
}
.hero-counter b { color: var(--accent); font-weight: 500; }
.hero-arrow {
  width: 48px; height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center;
  color: #fff;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow svg { width: 14px; height: 14px; }

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 38px;
  left: var(--pad-x);
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 0;
  transition: background var(--t-fast), width var(--t-fast);
}
.hero-dots button.active {
  background: var(--accent);
  width: 56px;
}

.hero-meta {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: var(--pad-x);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

/* ---------- Section headers (numbered) ---------- */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
}
.section-light { background: var(--paper); color: var(--ink); }
.section-dark { background: var(--ink); color: #fff; }
.section-cream { background: var(--paper-2); color: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 16px;
  opacity: 0.7;
}
.section-head .head-title {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 18px;
}
.section-head .head-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 200;
}
.section-head .head-aside {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(26,25,25,0.7);
  text-wrap: pretty;
  max-width: 56ch;
}
.section-dark .section-head .head-aside { color: rgba(255,255,255,0.7); }

/* ---------- Brand strip ---------- */
.brands {
  background: var(--paper-2);
  padding: 70px 0 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brands-head {
  text-align: center;
  margin-bottom: 50px;
}
.brands-head .eyebrow { justify-content: center; }
.brands-head h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-top: 16px;
  color: rgba(26,25,25,0.78);
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}
.brands-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: brandscroll 40s linear infinite;
}
@keyframes brandscroll {
  to { transform: translateX(-50%); }
}
.brand-logo {
  height: 38px;
  width: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: rgba(26,25,25,0.42);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  transition: all var(--t-fast);
  flex: 0 0 auto;
  filter: grayscale(1);
  opacity: 0.6;
}
.brand-logo img {
  max-height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}
.brand-logo:hover { color: #000; filter: grayscale(0); opacity: 1; }
.brand-logo .bdot { width: 8px; height: 8px; background: currentColor; border-radius: 999px; opacity: 0.6; }
.brand-logo .blsq { width: 12px; height: 12px; background: currentColor; opacity: 0.7; }
.brand-logo .bdmd { width: 12px; height: 12px; background: currentColor; transform: rotate(45deg); opacity: 0.7; }
.brand-logo .bln { width: 24px; height: 1.5px; background: currentColor; opacity: 0.6; }
.brand-logo i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Why Dexdee — editorial split ---------- */
.why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-left { padding-right: 0; position: sticky; top: 100px; }
.why-left h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 22px;
  margin-bottom: 30px;
}
.why-left h2 em { font-style: normal; color: var(--accent); }
.why-left p {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255,255,255,0.74);
  max-width: 50ch;
  margin-bottom: 16px;
}
.why-left .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-right .ph-tile {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}
.ph-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-right .ph-tile.tall { grid-row: span 2; aspect-ratio: 3 / 7; }
.why-right .ph-tile.wide { aspect-ratio: 5 / 4; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--line-light);
}
.section-light .stat-row { border-top-color: var(--line); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .num em { font-style: normal; color: var(--accent); }
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0.7;
  display: block;
}

/* ---------- Water Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-card {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
}
.feature-card .ph-bg { position: absolute; inset: 0; transition: transform var(--t-slow); }
.feature-card .ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card:hover .ph-bg { transform: scale(1.04); }
.feature-card .feature-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
}
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}
.feature-card .feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.feature-card .feature-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.feature-card .feature-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.feature-card .feature-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 38ch;
}
.feature-card .feature-cta {
  width: 50px; height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.feature-card:hover .feature-cta { background: var(--accent); border-color: var(--accent); }

/* ---------- Partner block ---------- */
.partner {
  background: var(--ink);
  color: #fff;
  padding: 70px 0;
  border-top: 1px solid var(--line-light);
}
.partner-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 50px;
  align-items: center;
}
.partner-mark {
	display:flex;
	justify-content: center;
}
.partner-mark img { width:55%; display:block; filter: brightness(0) invert(1);}
.partner-text {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
  max-width: 58ch;
}
.partner-text em { font-style: normal; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin-top: 22px;
  margin-bottom: 28px;
}
.contact-left h2 em { font-style: normal; color: var(--accent); }
.contact-left p {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 48ch;
  margin-bottom: 14px;
}

.locations {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.location {
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
}
.location h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.location address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}
.location address a:hover { color: var(--accent); }

/* form */
.form-card {
  background: #fff;
  color: var(--ink);
  padding: 44px;
  border-radius: 4px;
}
.form-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.form-row.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(26,25,25,0.6);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  outline: none;
  transition: border-color var(--t-fast);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%231A1919' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; background-size: 14px; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(26,25,25,0.35); }

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 14px; flex-wrap: wrap; }
.form-actions .legal { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,25,25,0.5); max-width: 30ch; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 30px;
  border-top: 1px solid var(--line-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.footer-brand .footer-logo .brand-mark { width: 20%; }
.footer-brand .footer-logo .brand-mark img { width: 100%; }
.footer-brand .footer-logo .name { font-size: 18px; font-weight: 600; }
.footer-brand .footer-logo .loc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; margin-top: 2px; }
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 36ch;
}

.footer-bigtext {
  font-family: var(--font-display);
  font-size: clamp(64px, 16vw, 220px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.85;
  white-space: nowrap;
  overflow: hidden;
  margin: 60px 0 30px;
  color: rgba(255,255,255,0.06);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 30px 0;
}
.footer-bigtext em { font-style: normal; color: rgba(255,36,36,0.32); }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-top: 24px;
}
.footer-base a:hover { color: var(--accent); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 200px 0 110px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 90% 20%, rgba(255,36,36,0.12), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(255,255,255,0.04), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
}
.page-hero .crumbs .sep { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 0.96;
  max-width: 16ch;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); font-weight: 300; }
.page-hero .lede { color: rgba(255,255,255,0.78); max-width: 64ch; }

/* ---------- About page specific ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-intro .copy p {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(26,25,25,0.78);
  margin-bottom: 18px;
}
.about-intro .copy p.first {
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.4;
}

.timeline {
  list-style: none;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline .yr {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
}
.timeline .ev {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.timeline .desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(26,25,25,0.7);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--paper);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}
.value-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: auto;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.value-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(26,25,25,0.7);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card .ph-tile { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.team-card .nm {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ---------- Gallery page ---------- */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
  margin-bottom: 40px;
  overflow: hidden;
}
.gallery-filter button {
  padding: 16px 4px;
  margin-right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,25,25,0.55);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.gallery-filter button:hover { color: var(--ink); }
.gallery-filter button.active { color: var(--ink); border-bottom-color: var(--accent); }
.gallery-filter button .count { color: var(--accent); margin-left: 6px; font-size: 10px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  grid-auto-rows: 120px;
}
.gallery-grid .gx {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-fast);
}
.gallery-grid .gx:hover { transform: translateY(-2px); }
.gallery-grid .gx::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.gallery-grid .gx .meta {
  position: absolute;
  bottom: 16px; left: 18px;
  z-index: 2;
  color: #fff;
}
.gallery-grid .gx .meta .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.gallery-grid .gx .meta .nm {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.gallery-grid .gx-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.4);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.18);
}

/* gallery item sizes */
.gx-1, .gx-2, .gx-3, .gx-4, .gx-5, .gx-6, .gx-7, .gx-8, .gx-9, .gx-10 { grid-column: span 4; grid-row: span 3; }

/* ---------- Contact page ---------- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}
.channel {
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.channel:hover { border-color: var(--accent); }
.channel .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.channel .val {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 300;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.channel .sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(26,25,25,0.6);
  margin-top: auto;
}

.locations-light {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.locations-light .location {
  border-top: none;
  padding-top: 0;
}
.locations-light .location h4 { color: var(--accent); }
.locations-light .location address { color: var(--ink); }

.map-block {
  height: 360px;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--line);
}
.map-block .map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(26,25,25,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, rgba(26,25,25,0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper-2);
}
.map-block .map-pin {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,36,36,0.2), 0 0 0 14px rgba(255,36,36,0.08);
  transform: translate(-50%, -50%);
}
.map-block .map-pin::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map-block .map-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 6px 10px;
  border: 1px solid var(--line);
  transform: translate(8px, -38px);
}
.map-block .map-coords {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(26,25,25,0.5);
}

/* ---------- Utility ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 5px 10px;
  color: rgba(26,25,25,0.7);
}
.tag.dark { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.7); }
.tag.accent { border-color: var(--accent); color: var(--accent); }

.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why { grid-template-columns: 1fr; gap: 50px; }
  .why-left { position: static; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partner-inner { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 50px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .timeline li { grid-template-columns: 80px 1fr; }
  .timeline .desc { grid-column: 1 / -1; padding-left: 110px; }
}

/* Hide mobile chrome on desktop explicitly */
@media (min-width: 721px) {
  .nav-burger { display: none !important; }
  .mobile-menu { display: none !important; }
}

@media (max-width: 720px) {
  .nav-main { display: none; }
  .nav-burger { display: flex; }
  .side-rail { display: none; }
  .hero-meta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .locations-light { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .gx-1 { grid-column: span 6; grid-row: span 3; }
  .gx-2, .gx-3, .gx-4, .gx-5, .gx-6, .gx-7, .gx-8, .gx-9, .gx-10 { grid-column: span 6; grid-row: span 2; }
  .timeline li { grid-template-columns: 80px 1fr; }
  .timeline .desc { padding-left: 0; grid-column: 2 / 3; }
  .hero-controls { right: 16px; bottom: 22px; }
  .hero-counter { display: none; }
  .hero-dots { left: 16px; bottom: 32px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .partner-mark { font-size: 28px; }
  .partner-inner {text-align:center;}
  .link-arrow-cont {display:flex; justify-content: center;}
  .link-arrow{width: 70%;}
  .partner-mark img {width: 40%;}
}
