/* ==========================================================================
   PRISMA (مَنشور) — Architectural Limestone Strategy Partners
   Limestone #EDEAE4 · Stone #E2DDD4 · Ink #16181C · Signal #E4572E · Slate #4F6D7A
   Arch-Masked Low-Sun Window + 4-Beat Scroll Sculpture + Slide-Over Sprint Drawer
   ========================================================================== */

:root {
  --limestone: #EDEAE4;
  --stone: #E2DDD4;
  --ink: #16181C;
  --graphite: #2A2D34;
  --soft: #5D6168;
  --signal: #E4572E;
  --signal-hi: #C8441F;
  --slate: #4F6D7A;
  --line: rgba(42, 45, 52, 0.16);
  --line-2: rgba(42, 45, 52, 0.3);
  --font-serif: 'Amiri', Georgia, serif;
  --font-sans: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--limestone);
  color: var(--ink);
  scroll-behavior: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--limestone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: min(1260px, 100% - 48px);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Subtle Architectural Paper Grain Overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.75'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Sticky Glass Header (68px)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 70;
  background: rgba(237, 234, 228, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.nav.is-stuck {
  background: rgba(237, 234, 228, 0.94);
}

.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--soft);
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--line-2);
  letter-spacing: 0.1em;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--graphite);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--signal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--signal);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--soft);
  direction: ltr;
  white-space: nowrap;
}

.nav-back {
  font-size: 0.82rem;
  color: var(--soft);
  white-space: nowrap;
}

.nav-back:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--signal {
  background: var(--signal);
  color: #ffffff;
}

.btn--signal:hover { background: var(--signal-hi); }

.btn--ink {
  background: var(--ink);
  color: var(--limestone);
}

.btn--ink:hover { background: var(--signal); color: #ffffff; }

.btn--line {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--line:hover { border-color: var(--ink); background: rgba(22, 24, 28, 0.04); }

/* --------------------------------------------------------------------------
   HERO (#top — Asymmetric Limestone Grid + Arch-Masked Interactive Window)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 34px) 0 42px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-ghost {
  position: absolute;
  bottom: -24px;
  inset-inline-start: 2vw;
  z-index: -1;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 21vw, 19rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(42, 45, 52, 0.11);
  user-select: none;
  pointer-events: none;
  direction: ltr;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.2fr);
  gap: 32px;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(237, 234, 228, 0.65);
  color: var(--slate);
}

.chip i {
  width: 7px;
  height: 7px;
  background: var(--signal);
  transform: rotate(45deg);
  display: inline-block;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 6.4vw, 6.2rem);
  line-height: 1.06;
  color: var(--ink);
}

.hero-title em,
.h2 em {
  font-style: italic;
  color: var(--signal);
}

.hero-sub {
  margin: 0 0 28px;
  max-width: 44ch;
  font-size: 1.02rem;
  color: var(--soft);
  line-height: 1.72;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 16px;
}

.hero-stats div {
  padding-inline-end: 14px;
  border-inline-end: 1px solid var(--line);
}

.hero-stats div:last-child { border-inline-end: none; }

.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  direction: ltr;
  text-align: right;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--soft);
}

/* Arch-Masked Architectural Stone Window (.window) */
.window {
  position: relative;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  aspect-ratio: 1.06 / 1;
  max-height: 670px;
  width: 100%;
  background: #231f1b;
  box-shadow: 0 28px 70px -22px rgba(22, 24, 28, 0.28);
  cursor: crosshair;
}

.window-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.06) sepia(0.06);
  transition: transform 0.6s var(--ease);
}

.window-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.window-tag {
  position: absolute;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  pointer-events: none;
  direction: ltr;
  white-space: nowrap;
}

.tag-sun {
  top: 52%;
  left: 58%;
  background: rgba(22, 24, 28, 0.78);
  color: var(--limestone);
  backdrop-filter: blur(8px);
}

.tag-ptr {
  top: 60%;
  left: 34%;
  background: var(--signal);
  color: #ffffff;
  transition: left 0.14s ease-out, top 0.14s ease-out;
}

.window-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 4;
  padding: 28px 22px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 24, 28, 0.72) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(237, 234, 228, 0.88);
  direction: ltr;
}

.open-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.open-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
}

/* --------------------------------------------------------------------------
   SCROLL CHAPTER (#process — 4-Beat Interactive Architectural Sculpture)
   -------------------------------------------------------------------------- */
.chapter {
  position: relative;
  height: 290svh;
  background: var(--stone);
  border-block: 1px solid var(--line);
}

.chapter-stick {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--stone);
  transition: background 0.5s ease, color 0.5s ease;
}

.chapter-stick.is-dark {
  background: var(--ink);
  color: var(--limestone);
}

#pr-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.beat-layer {
  position: relative;
  z-index: 4;
  width: min(1240px, 100% - 48px);
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.beat-card {
  position: absolute;
  max-width: 460px;
  padding: 28px 30px;
  border-radius: 4px;
  background: rgba(237, 234, 228, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--signal);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s ease;
  pointer-events: none;
}

.chapter-stick.is-dark .beat-card {
  background: rgba(22, 24, 28, 0.82);
  border-color: rgba(237, 234, 228, 0.16);
  color: var(--limestone);
}

.beat-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.beat-card.is-end {
  inset-inline-end: 0;
}

.beat-kicker {
  color: var(--signal);
  margin: 0 0 8px;
}

.beat-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.beat-card p {
  margin: 0;
  font-size: 0.94rem;
  opacity: 0.82;
}

.chapter-rail {
  position: absolute;
  bottom: 24px;
  inset-inline: max(24px, calc(50% - 620px));
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-bar {
  height: 2px;
  background: rgba(42, 45, 52, 0.2);
  overflow: hidden;
}

.chapter-stick.is-dark .rail-bar {
  background: rgba(237, 234, 228, 0.18);
}

.rail-fill {
  height: 100%;
  width: 0%;
  background: var(--signal);
}

.rail-ticks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--soft);
}

.chapter-stick.is-dark .rail-ticks {
  color: rgba(237, 234, 228, 0.65);
}

.rail-ticks span.is-cur {
  color: var(--signal);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   COMMON SECTIONS (Capabilities, Manifesto, Sprint, Work, Partners)
   -------------------------------------------------------------------------- */
.sec {
  padding: clamp(74px, 9vw, 130px) 0;
}

.sec-stone {
  background: var(--stone);
  border-block: 1px solid var(--line);
}

.sec-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 48px;
}

.kicker {
  color: var(--slate);
  margin: 0 0 10px;
}

.kicker b {
  color: var(--signal);
  font-weight: 600;
}

.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
  line-height: 1.08;
}

.lead {
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  max-width: 46ch;
}

/* Capabilities 3-Column Architectural Cards + <details> */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cap-visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 3px;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.cap-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cap-idx {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 4px 9px;
  background: rgba(237, 234, 228, 0.9);
  border: 1px solid var(--line);
  color: var(--signal);
}

.cap-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.cap-card > p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--soft);
}

.cap-more {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}

.cap-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink);
}

.cap-more summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--signal);
}

.cap-more[open] summary::after {
  content: '−';
}

.cap-dl {
  margin: 14px 0 4px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
}

.cap-dl dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate);
}

.cap-dl dd {
  margin: 0;
  color: var(--graphite);
}

/* Manifesto Dark Stone Band */
.band {
  background: var(--ink);
  color: var(--limestone);
  padding: clamp(88px, 11vw, 150px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.band-inner {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 24px;
}

.band h2 {
  margin: 14px 0 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.9rem);
  line-height: 1.1;
}

.band h2 em {
  color: var(--signal);
  font-style: italic;
}

.band p {
  margin: 0 auto 44px;
  max-width: 52ch;
  color: rgba(237, 234, 228, 0.72);
}

.band-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(237, 234, 228, 0.16);
  padding-top: 28px;
  gap: 20px;
}

.band-counters strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  color: var(--limestone);
  direction: ltr;
}

.band-counters span {
  font-size: 0.84rem;
  color: rgba(237, 234, 228, 0.64);
}

/* The Sprint (#sprint — 4 Hairline Steps + Sticky Offer Card) */
.sprint-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 44px;
  align-items: start;
}

.steps-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.step-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  color: var(--signal);
  padding-top: 5px;
}

.step-row h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.step-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--soft);
}

.step-meta {
  color: var(--slate);
  white-space: nowrap;
}

.offer-card {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  background: var(--limestone);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
}

.offer-top {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.offer-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.06);
}

.offer-body {
  padding: 26px;
}

.offer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}

.offer-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
}

.offer-price {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--signal);
  direction: ltr;
}

.offer-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--graphite);
}

.offer-list li::before {
  content: '—';
  color: var(--signal);
  margin-inline-end: 8px;
}

.offer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Selected Work (#work — Filter Chips + 6 Cases with Comparison Bars) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.flt-btn {
  padding: 8px 15px;
  border-radius: 3px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 0.84rem;
  color: var(--graphite);
  cursor: pointer;
  transition: all 0.2s ease;
}

.flt-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--limestone);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.case-card {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.case-card:nth-child(3n) { border-inline-end: none; }
.case-card.is-hidden { display: none; }

.case-cat { color: var(--slate); }

.case-card h3 {
  margin: 8px 0 4px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.case-client {
  color: var(--signal);
  margin-bottom: 10px;
}

.case-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--soft);
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.bar-row {
  display: grid;
  grid-template-columns: 54px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--soft);
}

.bar-track {
  height: 6px;
  background: rgba(42, 45, 52, 0.12);
}

.bar-track i {
  display: block;
  height: 100%;
  background: var(--graphite);
}

.bar-track.is-after i {
  background: var(--signal);
}

/* Partners (#team) */
.team-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.team-plinth {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
}

.people-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.person {
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--line);
}

.person h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.person .role {
  font-size: 0.86rem;
  color: var(--graphite);
}

.person .prev {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--slate);
}

/* Closing Dark Band + 3-City Live Clock Footer */
.close-band {
  background: var(--ink);
  color: var(--limestone);
  padding: clamp(84px, 10vw, 140px) 0 70px;
}

.close-band h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.98;
}

.close-band h2 em {
  color: var(--signal);
  font-style: italic;
}

.close-band p {
  margin: 0 0 28px;
  max-width: 48ch;
  color: rgba(237, 234, 228, 0.7);
}

.decision-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-link {
  padding: 11px 22px;
  border-radius: 3px;
  border: 1px solid rgba(237, 234, 228, 0.28);
  color: var(--limestone);
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.22s ease;
}

.chip-link:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #ffffff;
}

.pr-foot {
  background: var(--ink);
  color: var(--limestone);
  border-top: 1px solid rgba(237, 234, 228, 0.14);
  padding: 64px 0 34px;
  overflow: hidden;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.city h4 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.city-time {
  color: var(--signal);
  margin-bottom: 8px;
  display: block;
  direction: ltr;
  text-align: right;
}

.city p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(237, 234, 228, 0.62);
}

.foot-word {
  margin: 44px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(4.6rem, 18vw, 16rem);
  line-height: 0.85;
  color: rgba(237, 234, 228, 0.1);
  letter-spacing: -0.02em;
  direction: ltr;
  user-select: none;
}

.foot-word span {
  color: var(--signal);
}

.foot-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(237, 234, 228, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(237, 234, 228, 0.6);
}

.foot-bottom a:hover { color: var(--signal); }

/* Slide-Over Sprint Booking Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.drawer.is-open { display: block; }

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 28, 0.56);
  backdrop-filter: blur(8px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(490px, 100vw);
  background: var(--limestone);
  color: var(--ink);
  padding: 32px 28px;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.drawer-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
}

.drawer-sum {
  padding: 14px 16px;
  background: var(--stone);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.dfield {
  margin-bottom: 16px;
}

.dfield label {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
}

.dfield input,
.dfield select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #f6f4ef;
  outline: none;
}

.dfield input:focus,
.dfield select:focus {
  border-color: var(--signal);
}

.drawer-msg {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--signal);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .sec-head,
  .sprint-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .caps-grid,
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }

  .nav-clock,
  .brand-sub {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-title { font-size: 2.65rem; }
  .caps-grid,
  .cases-grid,
  .people-grid,
  .band-counters,
  .foot-top {
    grid-template-columns: 1fr;
  }
  .case-card { border-inline-end: none; }
  .step-row { grid-template-columns: 42px 1fr; }
  .step-meta { grid-column: 2; }
  .offer-card { position: static; }
}
