/* ==========================================================================
   RANK JOCKEY — Single Master Stylesheet
   Design System: newyorkseo.company aesthetic × rankjockey.com content
   Fonts: Space Grotesk (display) | Inter Tight (body) | IBM Plex Mono (mono)
   ========================================================================== */

/* ── CSS Custom Properties ────────────────────────────────────────────────── */
:root {
  /* Colours */
  --ink:       #09090b;
  --paper:     #f8f6f0;
  --bone:      #edeae2;
  --lime:      #ccff00;
  --flame:     #1750A2;
  --ink-soft:  #3f3f46;
  --ink-muted: #71717a;
  --border:    rgba(9,9,11,0.12);
  --border-dark: rgba(248,246,240,0.15);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter Tight', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Layout */
  --container:    1280px;
  --container-sm: 820px;
  --header-h:     68px;
  --ticker-h:     36px;
  --radius:       0px; /* Brutalist — no radius */

  /* Shadows (brutalist hard drop) */
  --shadow-sm:  3px 3px 0 var(--ink);
  --shadow:     5px 5px 0 var(--ink);
  --shadow-lg:  8px 8px 0 var(--ink);
  --shadow-lime: 5px 5px 0 var(--lime);

  /* Transitions */
  --ease: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Paper Grain Overlay (newyorkseo.company exact) ────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Container ─────────────────────────────────────────────────────────────── */
.container       { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.container-narrow { max-width: var(--container-sm); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.4rem); }

p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; font-weight: 300; color: var(--flame); }

.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
}

.eyebrow-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid var(--ink);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--flame); border-color: var(--flame); transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  box-shadow: var(--shadow-sm);
}
.btn-lime:hover { background: #b8e600; border-color: #b8e600; transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(248,246,240,0.4);
}
.btn-ghost:hover { background: rgba(248,246,240,0.1); border-color: var(--paper); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-arrow { font-size: 1.1em; }

/* ── Section Backgrounds ───────────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.bg-paper { background: var(--paper); }
.bg-bone  { background: var(--bone); }
.bg-ink   { background: var(--ink); }
.text-paper { color: var(--paper); }
.text-paper p { color: rgba(248,246,240,0.78); }
.text-paper h2 { color: var(--paper); }

/* ── Eyebrow Numbering System (exact newyorkseo.company) ───────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.eyebrow-dark { color: rgba(248,246,240,0.5); }
.eyebrow-num  { color: var(--flame); font-weight: 700; white-space: nowrap; }
.eyebrow-dark .eyebrow-num { color: var(--lime); }
.eyebrow-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.dark-line { background: var(--border-dark); }
.eyebrow-text { white-space: nowrap; }

.section-head-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 768px) {
  .section-head-grid { grid-template-columns: 1fr; }
}

/* ── Top Ticker ─────────────────────────────────────────────────────────────── */
.ticker-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--ticker-h);
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(248,246,240,0.08);
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  gap: 0;
  padding-block: 0;
  height: 100%;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(248,246,240,0.75);
  padding-inline: 1.5rem;
}
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
}
.ticker-sep {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.6;
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--ticker-h);
  z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.brand-img { height: 36px; width: auto; }
.nav-menu {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  list-style: none;
  height: 100%;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flame);
  transition: width var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--flame); }
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* ── Desktop Services Dropdowns ─────────────────────────────────────────────── */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 18px;
  display: none;
}
.has-dropdown:hover::after {
  display: block;
}
.nav-arrow {
  display: inline-block;
  font-size: 0.5rem;
  margin-left: 0.3rem;
  transition: transform var(--ease);
  vertical-align: middle;
  opacity: 0.65;
}
.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--flame);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 310px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.4rem 0;
  z-index: 300;
  list-style: none;
  margin: 0;
}
.nav-dropdown-wide {
  width: 530px;
}
.dropdown-align-right .nav-dropdown {
  left: auto;
  right: 0;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  display: block;
}
.has-dropdown:hover > .nav-dropdown.nav-dropdown-wide,
.has-dropdown:focus-within > .nav-dropdown.nav-dropdown-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.5rem;
  gap: 0.2rem 0.4rem;
}
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
  border-bottom: 1px solid rgba(9, 9, 11, 0.05);
}
.nav-dropdown-wide .dropdown-link {
  border-bottom: none;
  border-radius: 2px;
  padding: 0.45rem 0.65rem;
}
.dropdown-link:last-child {
  border-bottom: none;
}
.dropdown-link:hover {
  background: var(--lime);
  color: var(--ink);
}
.dropdown-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.12rem 0.4rem;
  background: var(--bone);
  border: 1px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Mobile Drawer Navigation ───────────────────────────────────────────────── */
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-row .mobile-nav-link {
  border-bottom: none;
  flex: 1;
}
.mobile-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: transform var(--ease), color var(--ease);
}
.mobile-has-sub.open .mobile-toggle-btn {
  transform: rotate(45deg);
  color: var(--flame);
}
.mobile-sub-list {
  display: none;
  list-style: none;
  padding: 0.4rem 0.5rem 0.5rem 1rem;
  margin: 0;
  background: var(--bone);
  border-left: 3px solid var(--ink);
}
.mobile-has-sub.open .mobile-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ease);
}
.mobile-sub-link:hover {
  color: var(--flame);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Drawer ──────────────────────────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,9,11,0.7);
  z-index: 140;
}
.mobile-overlay.open { display: block; }
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: var(--paper);
  z-index: 150;
  border-left: 3px solid var(--ink);
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-close {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: 2px solid var(--ink);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 2rem;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { background: var(--lime); }

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: contrast(1.12) brightness(0.88);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0.55) 0%, rgba(9,9,11,0.28) 40%, rgba(9,9,11,0.9) 100%);
}
.hero-glow {
  position: absolute;
  left: -10%;
  bottom: 5%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.38), transparent 65%);
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: screen;
}
.hero-side-label {
  position: absolute;
  top: 50%;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: rgba(248,246,240,0.45);
  z-index: 5;
  white-space: nowrap;
}
.hero-side-left  { left: 1.5rem;  transform: translateY(-50%) rotate(-90deg) translateX(-50%); transform-origin: left center; }
.hero-side-right { right: 1.5rem; transform: translateY(-50%) rotate(90deg) translateX(50%); transform-origin: right center; }
@media (max-width: 1024px) { .hero-side-label { display: none; } }

.hero-content {
  position: relative;
  z-index: 5;
  padding-block: clamp(6rem, 10vw, 8rem);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(248,246,240,0.7);
  background: rgba(9,9,11,0.6);
  border: 1px solid rgba(248,246,240,0.2);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 2.5rem;
}
.hero-title em { color: var(--lime); font-style: italic; font-weight: 300; }
.hero-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 768px) { .hero-subrow { grid-template-columns: 1fr; } }
.hero-desc p { color: rgba(248,246,240,0.82); font-size: 1.08rem; max-width: 46ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Terminal Box */
.hero-terminal {
  background: rgba(9,9,11,0.85);
  border: 2px solid rgba(248,246,240,0.15);
  padding: 1.5rem;
}
.terminal-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.terminal-status { animation: pulse 2s infinite; }
.terminal-body { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.8; color: #a1a1aa; }
.terminal-line { padding: 0; }
.t-lime  { color: var(--lime); }
.t-green { color: #22c55e; }
.terminal-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(248,246,240,0.35);
  border-top: 1px dashed rgba(248,246,240,0.12);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Marquee Strip ──────────────────────────────────────────────────────────── */
.marquee-strip {
  background: var(--lime);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  gap: 0;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-inline: 1.5rem;
}
.msep { color: var(--flame) !important; padding-inline: 0.25rem !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Hairline Grid (exact newyorkseo.company) ───────────────────────────────── */
.hairline-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
}
.hairline-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
}
.hairline-cell {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--ease);
}
.hairline-cell:hover { background: var(--bone); }
.bg-ink .hairline-cell { background: #111113; }
.bg-ink .hairline-cell:hover { background: #1a1a1e; }
.bg-ink .hairline-grid-2,
.bg-ink .hairline-grid-3 { background: rgba(248,246,240,0.12); border-color: rgba(248,246,240,0.12); }
.cell-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--flame);
  letter-spacing: 0.2em;
}
.bg-ink .cell-num { color: var(--lime); }
.cell-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.25rem;
}
.bg-ink .cell-title { color: var(--paper); }
.cell-body { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 0; }
.bg-ink .cell-body { color: rgba(248,246,240,0.65); }
.cell-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--flame);
  margin-top: auto;
  transition: color var(--ease);
}
.cell-link:hover { color: var(--ink); }
.bg-ink .cell-link { color: var(--lime); }

.img-cell { overflow: hidden; padding: 0; }
.cell-full-img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* ── Photo Mosaic ───────────────────────────────────────────────────────────── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.photo-main { overflow: hidden; }
.photo-stack { display: flex; flex-direction: column; gap: 1px; }
.mosaic-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-mosaic:hover .mosaic-img { transform: scale(1.04); }

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.stat-box {
  background: var(--paper);
  padding: 1.75rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--flame);
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}

/* ── Manifesto Quote ───────────────────────────────────────────────────────── */
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--paper);
  border-left: 4px solid var(--lime);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  margin-block: 2rem;
}
.manifesto-attr {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248,246,240,0.55);
  margin-top: 1.5rem;
}
.attr-line { width: 2rem; height: 1px; background: var(--lime); }

/* ── Services List ─────────────────────────────────────────────────────────── */
.services-list-block {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-icon {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  background: var(--ink);
  padding: 0.4rem 0.6rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}
.service-item-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.service-row p { font-size: 0.9rem; margin-bottom: 0; }

/* ── Two Column Grid ────────────────────────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .two-col-grid { grid-template-columns: 1fr; } }
.img-showcase { display: flex; flex-direction: column; gap: 1rem; }
.showcase-img {
  width: 100%;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 16/10;
}
.benefit-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
}
.benefit-check {
  font-size: 1.1rem;
  color: var(--lime);
  background: var(--ink);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.benefit-item strong { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.88rem; margin-bottom: 0; }

/* ── Client Logos ───────────────────────────────────────────────────────────── */
.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  margin-top: 2rem;
}
.client-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: invert(1);
  transition: opacity var(--ease);
}
.client-logo:hover { opacity: 1; }

/* ── Review Cards ───────────────────────────────────────────────────────────── */
.review-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--ease), transform var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { color: var(--flame); font-size: 1rem; letter-spacing: 0.1em; }
.review-text { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; font-style: italic; margin: 0; flex: 1; }
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.author-name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; }
.author-role { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }
.clutch-badge-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.clutch-badge { height: 28px; width: auto; }
.clutch-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }

/* ── Borough Cards ─────────────────────────────────────────────────────────── */
.borough-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.borough-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--paper);
  transition: transform var(--ease), box-shadow var(--ease);
}
.borough-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.borough-img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.borough-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.borough-card:hover .borough-img { transform: scale(1.05); }
.borough-body { padding: 1.25rem; }
.borough-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-block: 0.4rem 0.4rem; }
.borough-body p { font-size: 0.85rem; margin-bottom: 0; color: var(--ink-muted); }

/* ── Blog Grid ──────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); border-bottom: 2px solid var(--ink); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--flame);
}
.blog-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.blog-card-body p { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }

/* ── CTA Grid (07 Begin) ────────────────────────────────────────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 768px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.cta-title em { color: var(--lime); }
.cta-desc { color: rgba(248,246,240,0.75); margin-bottom: 1.75rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-detail-row { display: flex; gap: 0.75rem; align-items: baseline; }
.cd-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lime);
  min-width: 70px;
  flex-shrink: 0;
}
.cd-value { font-size: 0.9rem; color: rgba(248,246,240,0.8); }
.cd-value a { color: rgba(248,246,240,0.8); transition: color var(--ease); }
.cd-value a:hover { color: var(--lime); }

/* Contact Form */
.cta-form-box {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(248,246,240,0.15);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.cta-form-box h3 { color: var(--paper); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248,246,240,0.75);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(248,246,240,0.15);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: border-color var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(248,246,240,0.35); }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--lime); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(248,246,240,0.65);
}
#form-msg {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.5rem;
  text-align: center;
}
#form-msg.success { color: var(--lime); }
#form-msg.error   { color: var(--flame); }

/* Editorial Photo Block */
.editorial-photo-block {
  position: relative;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.editorial-full-img { width: 100%; height: 420px; object-fit: cover; display: block; }
.editorial-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9,9,11,0.75);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(248,246,240,0.7);
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 2px solid rgba(248,246,240,0.1);
  overflow: hidden;
}
/* Giant brand typography — exact match newyorkseo.company */
.footer-brand-giant {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: rgba(248,246,240,0.95);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  margin-bottom: 2.5rem;
}
.f-lime { color: var(--lime); font-weight: 300; }

/* Pills row — exact match newyorkseo.company */
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(248,246,240,0.1);
  border-bottom: 1px solid rgba(248,246,240,0.1);
  margin-bottom: 2.5rem;
}
.fpill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248,246,240,0.55);
  transition: color var(--ease);
}
.fpill:hover { color: var(--lime); }

/* Footer column layout */
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}
.footer-col-brand p {
  color: rgba(248,246,240,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  max-width: 36ch;
}
.footer-logo { height: 32px; width: auto; }
.footer-logo-wrap { display: inline-block; margin-bottom: 0.5rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fbadge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.65rem;
  border: 1px solid;
}
.fbadge-lime  { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.fbadge-outline { border-color: rgba(248,246,240,0.3); color: rgba(248,246,240,0.7); background: transparent; }

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a {
  font-size: 0.88rem;
  color: rgba(248,246,240,0.65);
  transition: color var(--ease), transform var(--ease);
  display: inline-block;
}
.footer-links li a:hover { color: #fff; transform: translateX(3px); }
.footer-links strong { color: rgba(248,246,240,0.85); font-size: 0.82rem; }
.footer-links li { font-size: 0.85rem; color: rgba(248,246,240,0.6); line-height: 1.5; }

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(248,246,240,0.1);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(248,246,240,0.45);
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: rgba(248,246,240,0.45); transition: color var(--ease); }
.footer-social a:hover { color: var(--lime); }
.footer-status { display: flex; align-items: center; gap: 0.4rem; }

/* Badges */
.badge-sm {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
  border: 1px solid;
}
.badge-flame { background: var(--flame); color: #fff; border-color: var(--flame); }
.badge-lime  { background: var(--lime);  color: var(--ink); border-color: var(--lime); }
.badge-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.badge-outline-light { border-color: rgba(248,246,240,0.4); color: rgba(248,246,240,0.8); background: transparent; }

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
}

/* ── Page Hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 2px solid rgba(248,246,240,0.1);
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--paper); margin-bottom: 1rem; }
.page-hero p { color: rgba(248,246,240,0.75); max-width: 52ch; }

/* ── About Page Specific ─────────────────────────────────────────────────── */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-img-block { position: relative; }
.about-main-img {
  width: 100%;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-img-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
}
.faq-accordion { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  background: none;
  color: var(--ink);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--ease), background var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--flame); color: #fff; border-color: var(--flame); }
.faq-answer { display: none; padding-bottom: 1.25rem; color: var(--ink-soft); }
.faq-item.open .faq-answer { display: block; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--paper);
}
.team-photo-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--ink); }
.team-photo { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.4s ease, transform 0.4s ease; }
.team-card:hover .team-photo { filter: grayscale(0%); transform: scale(1.05); }
.team-info { padding: 1.1rem; }
.team-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-role { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--flame); margin-bottom: 0.5rem; }
.team-spec { font-size: 0.8rem; color: var(--ink-muted); }

/* ── Services Page ───────────────────────────────────────────────────────── */
.service-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-tier-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--flame);
}
.tier-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.tier-features { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.tier-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.tier-feature::before { content: '→'; color: var(--flame); font-weight: 700; flex-shrink: 0; }

/* ── Blog Page ───────────────────────────────────────────────────────────── */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.blog-archive-hero {
  grid-column: 1 / -1;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
}
.blog-hero-img-wrap { overflow: hidden; }
.blog-hero-img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; opacity: 0.8; }
.blog-hero-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.blog-hero-title { color: var(--paper); font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; margin-block: 0.75rem; }
.blog-hero-content p { color: rgba(248,246,240,0.7); font-size: 0.9rem; }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--lime);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Single Blog / Service Layout ─────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}
.article-toc {
  position: sticky;
  top: calc(var(--header-h) + var(--ticker-h) + 1.5rem);
  border: 2px solid var(--border);
  padding: 1.25rem;
  background: var(--bone);
}
.toc-title { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; color: var(--ink-muted); }
.toc-list { display: flex; flex-direction: column; gap: 0.4rem; }
.toc-link { font-size: 0.82rem; color: var(--ink-muted); transition: color var(--ease); display: block; padding: 0.2rem 0; border-left: 2px solid transparent; padding-left: 0.5rem; }
.toc-link:hover, .toc-link.active { color: var(--flame); border-color: var(--flame); }

/* ── Contact Page ─────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info-box { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 2px solid var(--border);
  background: var(--bone);
}
.info-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.info-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-muted); margin-bottom: 0.25rem; }
.info-value { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.contact-form-box {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
}
.contact-form-box label { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box input[type="url"],
.contact-form-box textarea,
.contact-form-box select {
  width: 100%;
  background: var(--bone);
  border: 2px solid var(--border);
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  transition: border-color var(--ease), background var(--ease);
  margin-top: 0.35rem;
}
.contact-form-box input[type="text"]:focus,
.contact-form-box input[type="email"]:focus,
.contact-form-box input[type="tel"]:focus,
.contact-form-box input[type="url"]:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus { outline: none; border-color: var(--flame); background: #fff; }
.contact-form-box textarea { resize: vertical; min-height: 110px; }

/* Choice pills for Company Type */
.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.choice-pill {
  position: relative;
  cursor: pointer;
}
.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-pill span {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--bone);
  color: var(--ink);
  transition: all var(--ease);
  user-select: none;
}
.choice-pill:hover span {
  border-color: var(--ink);
  background: #fff;
}
.choice-pill input:checked + span {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 700;
}

/* Checkbox Chip Grid for Services Needed */
.checkbox-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .checkbox-chip-grid { grid-template-columns: 1fr; }
}
.checkbox-chip {
  position: relative;
  cursor: pointer;
}
.checkbox-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-chip span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--bone);
  color: var(--ink);
  transition: all var(--ease);
  user-select: none;
}
.checkbox-chip span::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: transparent;
  flex-shrink: 0;
  transition: background var(--ease);
}
.checkbox-chip:hover span {
  border-color: var(--ink);
  background: #fff;
}
.checkbox-chip input:checked + span {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 700;
}
.checkbox-chip input:checked + span::before {
  background: var(--flame);
  border-color: var(--flame);
}

/* Agreement checkbox */
.form-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.form-consent-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--flame);
  cursor: pointer;
}

/* Form status feedback */
.form-status-msg {
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  display: none;
}
.form-status-msg.success {
  display: block;
  background: rgba(204, 255, 0, 0.25);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.form-status-msg.error {
  display: block;
  background: rgba(255, 59, 25, 0.15);
  border-color: var(--flame);
  color: var(--flame);
}

/* ── Comparison Table ─────────────────────────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.comparison-table th {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 1.1rem 1.4rem;
  text-align: left;
}
.comparison-table th:first-child { background: var(--ink); color: var(--paper); width: 28%; }
.comparison-table th:nth-child(2) { background: #1c1c24; color: rgba(248,246,240,0.7); }
.comparison-table th:nth-child(3) { background: var(--flame); color: #fff; }
.comparison-table td { padding: 1rem 1.4rem; font-size: 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table td:first-child { font-family: var(--font-display); font-weight: 700; background: var(--bone); }
.comparison-table td:nth-child(2) { color: var(--ink-muted); }
.comparison-table td:nth-child(3) { font-weight: 600; background: rgba(255,59,25,0.04); }

/* ── Spotlight / Case Study ─────────────────────────────────────────────── */
.spotlight-img-box {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  margin-bottom: 2rem;
}
.spotlight-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.spotlight-img-box:hover img { transform: scale(1.03); }
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  margin-block: 1.75rem;
}
.metric-cell {
  background: var(--paper);
  padding: 1.25rem;
  text-align: center;
}
.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--flame);
  margin-bottom: 0.25rem;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

/* ── Service Page Feature Cards & Check Lists ────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 1.5rem;
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feat-card:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.feat-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.feat-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.5;
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.bg-lime .check-icon {
  background: var(--ink);
  color: var(--lime);
}

/* ── In-Text Contextual Internal Links ──────────────────────────────────── */
.intext-link,
a.intext-link {
  color: var(--flame);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--ease), text-decoration-color var(--ease);
}
.intext-link:hover,
a.intext-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}
.bg-ink .intext-link,
.bg-ink a.intext-link,
.text-paper .intext-link,
.text-paper a.intext-link {
  color: var(--lime);
  text-decoration-color: var(--lime);
}
.bg-ink .intext-link:hover,
.bg-ink a.intext-link:hover,
.text-paper .intext-link:hover,
.text-paper a.intext-link:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.bg-lime .intext-link,
.bg-lime a.intext-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--ink);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .mega-menu-inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .mega-cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tier-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
}

@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .hairline-grid-3 { grid-template-columns: 1fr 1fr; }
  .hairline-grid-2 { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .borough-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { grid-template-columns: 1fr; }
  .photo-stack { flex-direction: row; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hairline-grid-3 { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .borough-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr; }
  .blog-archive-hero { grid-template-columns: 1fr; }
  .blog-hero-img-wrap { min-height: 200px; }
  .service-tier-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-brand-giant { font-size: clamp(2rem, 10vw, 4.5rem); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .footer-brand-giant { font-size: clamp(1.8rem, 9vw, 3.5rem); }
}
section.section.bg-ink ul li {
    color: #fff;
}