/* ==========================================================================
   Mash Media - shared styles
   Design tokens from design_handoff_mash_media_website/README.md
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #F4F2EE;
  --surface-hover: #EDE9E3;
  --ink: #0E0E10;
  --ink-78: rgba(14, 14, 16, 0.78);
  --ink-75: rgba(14, 14, 16, 0.75);
  --ink-70: rgba(14, 14, 16, 0.7);
  --ink-68: rgba(14, 14, 16, 0.68);
  --ink-66: rgba(14, 14, 16, 0.66);
  --ink-60: rgba(14, 14, 16, 0.6);
  --ink-55: rgba(14, 14, 16, 0.55);
  --ink-50: rgba(14, 14, 16, 0.5);
  --hairline: rgba(14, 14, 16, 0.12);
  --hairline-strong: rgba(14, 14, 16, 0.16);
  --grid-line: rgba(14, 14, 16, 0.13);
  --accent: #9B27C4;
  --accent-light: #C44FEE;
  --footer-text: rgba(255, 255, 255, 0.75);
  --footer-dim: rgba(255, 255, 255, 0.45);
  --gutter: clamp(16px, 4vw, 56px);
  --font-sans: 'Open Sans', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}

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

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.h2-section {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 0.92;
}

.link-underline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Buttons / pills
   -------------------------------------------------------------------------- */

.btn-solid {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  padding: 18px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}
.btn-solid:hover { background: var(--ink); color: #FFFFFF; }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(14, 14, 16, 0.28);
  padding: 18px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 14, 16, 0.1);
}

.site-header .logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-header .logo-link img {
  height: clamp(30px, 3.6vw, 40px);
  width: auto;
  display: block;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.desktop-nav .nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.desktop-nav .nav-link:hover { color: var(--accent); }
.desktop-nav .nav-link[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--ink); color: #FFFFFF; }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(14, 14, 16, 0.24);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 1080px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* About nav dropdown (desktop) */
.nav-dropdown {
  position: relative;
  /* padding-bottom + matching negative margin extends this element's hoverable
     box down to meet .nav-dropdown-menu with no gap, so moving the pointer
     straight down from the toggle to the menu never leaves :hover - without
     this, the visual gap below is a dead zone that closes the menu early. */
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}
.nav-dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.nav-dropdown-toggle.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #122451;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(14, 14, 16, 0.14);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 70;
}
.nav-dropdown-menu a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--accent); color: #FFFFFF; }
.nav-dropdown-menu a[aria-current="page"] { color: var(--accent-light); }

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }

/* Services mega-menu (desktop) - wider, multi-column variant of .nav-dropdown-menu */
.nav-dropdown-menu-mega {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px 28px;
  padding: 22px 26px;
  width: max-content;
  min-width: 700px;
  max-width: min(92vw, 820px);
  left: 50%;
  transform: translateX(-50%);
}
.nav-mega-col { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 0; }
.nav-dropdown-menu-mega a { white-space: normal; }
.nav-mega-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 14px 4px;
}

/* --------------------------------------------------------------------------
   Mobile menu overlay
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #FFFFFF;
  padding: 88px clamp(16px, 6vw, 56px) 32px;
  display: none;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
body.menu-open { overflow: hidden; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a {
  font-size: clamp(26px, 6.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu nav a:hover { color: var(--accent); }

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: clamp(26px, 6.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  color: var(--ink);
}
.mobile-nav-toggle:hover { color: var(--accent); }
.mobile-nav-toggle .glyph { font-size: 0.55em; font-weight: 400; }

.mobile-nav-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 14px 4px;
}
.mobile-nav-group[data-open="true"] .mobile-nav-submenu { display: flex; }
.mobile-nav-submenu a {
  font-size: clamp(17px, 3.6vw, 22px);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 0;
  border-bottom: none;
  color: var(--ink-70);
}
.mobile-nav-submenu a:hover { color: var(--accent); }
.mobile-nav-submenu a[aria-current="page"] { color: var(--accent); }

/* Services mega-menu (mobile) - grouped columns stacked inside the accordion */
.mobile-nav-submenu-mega { gap: 14px; }
.mobile-nav-col { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: 4px;
}

.mobile-menu .menu-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
}

/* --------------------------------------------------------------------------
   Home: hero
   -------------------------------------------------------------------------- */

.hero {
  padding: clamp(48px, 9vw, 130px) var(--gutter) clamp(32px, 5vw, 70px);
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 10.5vw, 150px);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 em,
.accent-word {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(28px, 4vw, 56px);
}

.hero-row .lead {
  margin: 0;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.4;
  max-width: 48ch;
  color: var(--ink-78);
  text-wrap: pretty;
}

.hero-row .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero with a background photo (temporary stock stand-in - see KNOWLEDGE.md) */
.hero-photo { overflow: hidden; }

.hero-photo .hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parallax hero (homepage only) - the image is oversized so it has room to
   shift via JS-driven transform without revealing empty space at the edges. */
.parallax-hero.hero-photo .hero-bg-img {
  inset: auto;
  top: -10%;
  left: 0;
  height: 120%;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-hero.hero-photo .hero-bg-img { top: 0; height: 100%; transform: none !important; }
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 36, 81, 0.9), rgba(18, 36, 81, 0.78));
}

.hero-photo h1,
.hero-photo .hero-row { position: relative; z-index: 2; }

.hero-photo h1 { color: #FFFFFF; }
.hero-photo h1 em { color: var(--accent-light); }
.hero-photo .lead { color: rgba(255, 255, 255, 0.88); }

.hero-photo .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}
.hero-photo .btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Image placeholder pattern (until real assets are supplied)
   -------------------------------------------------------------------------- */

.img-placeholder {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(115deg, rgba(14, 14, 16, 0.07) 0 2px, transparent 2px 11px);
  display: flex;
  align-items: flex-end;
}

.img-placeholder .caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* --------------------------------------------------------------------------
   Home: capabilities marquee
   -------------------------------------------------------------------------- */

@keyframes mashMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker {
  margin: 0 0 clamp(36px, 6vw, 90px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: mashMarquee 34s linear infinite;
}

.ticker-run {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker-run span {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: clamp(20px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #FFFFFF;
}

.ticker-run span::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-play-state: paused; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Home: what we do (hairline card grid - stacks to one column on mobile)
   -------------------------------------------------------------------------- */

.services-section { padding: 0 var(--gutter) clamp(48px, 8vw, 110px); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--grid-line);
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: #FFFFFF;
  padding: clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.service-card:hover { background: #122451; }

.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.card-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex-shrink: 0;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* "What we do" icon pulse (homepage only) - scoped to .what-we-do so the
   other reuses of .card-icon (service detail pages, About's values) stay
   as they are. */
.what-we-do .card-icon { width: 46px; height: 46px; animation: iconPulse 2.6s ease-in-out infinite; }
.what-we-do .service-card:nth-child(2) .card-icon { animation-delay: 0.2s; }
.what-we-do .service-card:nth-child(3) .card-icon { animation-delay: 0.4s; }
.what-we-do .service-card:nth-child(4) .card-icon { animation-delay: 0.6s; }

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .what-we-do .card-icon { animation: none; }
}

.row-name .card-icon { align-self: center; }

.service-card .card-icon {
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  padding: 10px;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-68);
  text-wrap: pretty;
}

.service-card .learn-more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(14, 14, 16, 0.8);
}
.service-card .learn-more:hover { color: var(--accent); }

.service-card:hover .num,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .check-list li,
.service-card:hover .learn-more { color: #FFFFFF; }
.service-card:hover .check-list li::before { color: var(--accent-light); }
.service-card .check-list + .learn-more { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Home: stats band
   -------------------------------------------------------------------------- */

.stats-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 100px) var(--gutter);
  color: var(--accent-light);
}
.stats-band .stats-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 36, 81, 0.88), rgba(18, 36, 81, 0.82));
}
.stats-band.purple-overlay::before {
  background: linear-gradient(180deg, rgba(155, 39, 196, 0.88), rgba(155, 39, 196, 0.82));
}

.stats-heading { position: relative; z-index: 2; text-align: center; color: #FFFFFF; margin-bottom: clamp(24px, 4vw, 40px); }

.stats-lead {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: calc(-1 * clamp(24px, 4vw, 40px) + 8px) auto clamp(24px, 4vw, 40px);
  max-width: 60ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.stats-lead p + p { margin-top: 12px; }

.stats-followup {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: clamp(32px, 5vw, 56px) 0 0;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 2px solid #26355b;
  padding-bottom: 24px;
}

.stats-grid-columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.stats-grid-3col { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .stats-grid-3col { grid-template-columns: repeat(3, 1fr); }
}
.stats-grid-3col .stat { align-items: center; text-align: center; }

.amazing-right.specialties-teaser .btn-solid { background: var(--accent); }
.amazing-right.specialties-teaser .btn-solid:hover { background: var(--ink); }

.organic-paid-row { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); align-items: center; margin: clamp(24px, 4vw, 40px) 0; }
@media (min-width: 700px) {
  .organic-paid-row { grid-template-columns: 1fr 1fr; }
  .organic-paid-row-reverse .organic-paid-img { order: 2; }
}
.organic-paid-img { display: block; width: 100%; height: auto; }
.organic-paid-label { font-weight: 700; margin: 0 0 4px; }

.organic-paid-white.about-intro { background: #FFFFFF; animation: none; }
.organic-paid-white.about-intro h2 { color: var(--ink); margin-bottom: 20px; }
.organic-paid-white.about-intro p { color: var(--ink-75); }
.organic-paid-white.about-intro .organic-paid-label { color: var(--ink); margin-top: 16px; }
.organic-paid-white.about-intro .check-list li { color: var(--ink); }
.organic-paid-white.about-intro .check-list li::before { color: var(--accent); }
.organic-paid-white.about-intro .check-list { margin-bottom: 20px; }

.custom-strategy-light.about-intro { background: #EFEFEF; animation: none; }
.custom-strategy-light.about-intro h2 { color: var(--ink); margin-bottom: 20px; }
.custom-strategy-light.about-intro p { color: var(--ink-75); }
.custom-strategy-light.about-intro .check-list li { color: var(--ink); }
.custom-strategy-light.about-intro .check-list li::before { color: var(--accent); }

.packages-section { padding-top: clamp(48px, 8vw, 110px); }

.packages-rows { display: flex; flex-direction: column; }
.packages-rows .service-row {
  padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  border-radius: 8px;
  margin-bottom: 4px;
  border: none;
}
.packages-rows .service-row:first-child { border-top: none; }
.packages-rows .row-name { display: flex; flex-direction: column; gap: 8px; }
.packages-rows h3 { margin: 0; font-size: clamp(22px, 3vw, 36px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 1; }
.packages-rows .price { font-family: var(--font-mono); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.packages-rows .tags { display: flex; flex-wrap: wrap; gap: 8px; }

.packages-rows .service-row { background: var(--accent); }
.packages-rows .service-row h3,
.packages-rows .service-row .price { color: #FFFFFF; }
.packages-rows .service-row .tag-pill { border-color: rgba(255, 255, 255, 0.5); color: #FFFFFF; }
.packages-rows .service-row.pkg-navy { background: #122451; }
.packages-rows .service-row.pkg-light-purple { background: var(--accent-light); }
.packages-rows .service-row.pkg-black { background: var(--ink); }
.packages-rows .service-row.pkg-slate { background: #1a2f5c; }
.organic-paid-white.about-intro .organic-paid-content > p { max-width: none; }
.stats-column { display: flex; flex-direction: column; gap: 24px; }
.stats-column h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
}
.stats-column img { display: block; width: 100%; border-radius: 8px; }
.stats-column-list { display: flex; flex-direction: column; gap: 20px; }
.stats-column-list .stat:last-child { border-bottom: none; padding-bottom: 0; }
.stats-column-list .stat { flex-direction: row; align-items: baseline; gap: 14px; }
.stats-column-list .stat .value { font-size: clamp(24px, 3vw, 36px); flex: 0 0 auto; }
.stats-column-list .stat .label { flex: 1 1 auto; max-width: none; }
.stats-band .cta-actions { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }
.stats-band .cta-actions .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #FFFFFF; }
.stats-band .cta-actions .btn-outline:hover { background: #FFFFFF; color: var(--ink); }

.stat .value {
  display: inline-block;
  overflow: visible;
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.5;
  padding: 0.25em 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-repeat: repeat-x;
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: statGradient 6s linear infinite;
}

@keyframes statGradient {
  from { background-position: 0% center; }
  to { background-position: -200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .stat .value, .icon-gradient { animation: none; }
}

.stats-band.purple-overlay .stat .value {
  background: none;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  animation: none;
}
.stats-band.purple-overlay .stat { border-bottom-color: rgba(255, 255, 255, 0.3); }

.stat .label {
  font-size: 15px;
  line-height: 1.45;
  color: #FFFFFF;
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   Home: selected work
   -------------------------------------------------------------------------- */

.work-section { padding: clamp(48px, 8vw, 110px) var(--gutter); }

.services-section .h2-section { margin-bottom: clamp(24px, 4vw, 48px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.section-head .h2-section { margin-bottom: 0; }

.section-lead {
  margin: calc(-1 * clamp(24px, 4vw, 44px) + 8px) 0 clamp(24px, 4vw, 44px);
  max-width: none;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-75);
}
.section-lead + .section-lead { margin-top: 0; }
.packages-outro { margin-top: clamp(24px, 4vw, 44px); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

.work-card { display: flex; flex-direction: column; gap: 14px; }

.work-card .img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  padding: 18px;
}
.work-card:hover .img-placeholder { background-color: var(--surface-hover); }

.work-card .work-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto; /* beats the height attribute so aspect-ratio controls the crop */
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background-color: var(--surface);
}
.work-card:hover .work-img { opacity: 0.92; }

.work-card .discipline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.work-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.work-card h3 {
  margin: 0;
  min-width: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.work-card .year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
}

.work-card .summary {
  margin: 0;
  font-size: 15px;
  color: var(--ink-66);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Home: strategy meets the story
   -------------------------------------------------------------------------- */

.story-section {
  padding: clamp(48px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background: #FAFAFA;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 80px);
}

.story-grid .story-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-top: clamp(20px, 3vw, 32px);
}

.story-grid h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 0.94;
}

.story-grid .story-copy {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--ink-75);
  text-wrap: pretty;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--grid-line);
  align-self: start;
}

.process-list li {
  background: #FAFAFA;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.process-list .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 5px;
}

.process-list h3 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.process-footnote {
  margin: clamp(28px, 4vw, 40px) 0 0;
  max-width: 90ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-75);
}

/* Horizontal variant - number stacked above each step, steps laid out in a row */
.process-list-horizontal {
  flex-direction: column;
}
@media (min-width: 700px) {
  .process-list-horizontal { flex-direction: row; flex-wrap: wrap; }
}
.process-list-horizontal li {
  flex: 1 1 0;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 24px 18px;
}
@media (min-width: 700px) {
  .process-list-horizontal li { flex: 1 1 220px; }
}
.process-list-horizontal .icon-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-size: 200% auto;
  animation: statGradient 6s linear infinite;
}
.process-list-horizontal .icon-circle .card-icon {
  width: 52px;
  height: 52px;
  color: #FFFFFF;
  margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .process-list-horizontal .icon-circle { animation: none; }
}
.process-list-horizontal .num {
  padding-top: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}
.specialties-teaser .process-list { background: transparent; }
.specialties-teaser .process-list li { background: transparent; }
.specialties-teaser .process-list-horizontal .num { color: #FFFFFF; }
.process-list-horizontal .learn-more {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(14, 14, 16, 0.8);
}
.process-list-horizontal .learn-more:hover { color: var(--accent); }
.specialties-teaser .process-list-horizontal .learn-more { color: rgba(255, 255, 255, 0.85); }
.specialties-teaser .process-list-horizontal .learn-more:hover { color: #FFFFFF; }
.occasion-list li {
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.occasion-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.specialties-teaser.navy-overlay .process-list-horizontal .learn-more { color: var(--accent-light); }
.specialties-teaser.navy-overlay .process-list-horizontal .learn-more:hover { color: #FFFFFF; }

.process-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-66);
}

/* --------------------------------------------------------------------------
   CTA band (every page)
   -------------------------------------------------------------------------- */

.cta-band {
  padding: clamp(48px, 9vw, 130px) var(--gutter);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: left;
  gap: 26px;
  background:
    linear-gradient(rgba(18, 36, 81, 0.88), rgba(18, 36, 81, 0.88)),
    url("../assets/cta-office-building-night.jpg") center / cover no-repeat;
  color: #FFFFFF;
}
@media (min-width: 800px) {
  .cta-band { flex-direction: row; justify-content: space-between; gap: clamp(32px, 5vw, 64px); }
}

.cta-band-content { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }

.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.9;
}

.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }

.cta-band-img { display: none; }
@media (min-width: 800px) {
  .cta-band-img { display: block; width: 100%; max-width: 420px; height: auto; flex-shrink: 0; }
}

.hosting-cta {
  background:
    linear-gradient(rgba(155, 39, 196, 0.88), rgba(155, 39, 196, 0.88)),
    url("../assets/cta-office-building-night.jpg") center / cover no-repeat;
}

.faq-heading { text-align: left; padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(24px, 4vw, 40px); }

.faq-contact {
  padding: clamp(28px, 4vw, 60px) var(--gutter) clamp(48px, 8vw, 110px);
  text-align: center;
}
.faq-contact-inner { max-width: 640px; margin: 0 auto; }
.faq-contact h2 { margin: 0 0 12px; }
.faq-contact .faq-contact-lead { margin: 0 0 clamp(24px, 4vw, 40px); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; }
.faq-contact:not(.specialties-teaser) .faq-contact-lead { color: var(--ink-75); }
.faq-contact .contact-form { text-align: left; gap: 10px; }
.faq-contact.specialties-teaser .form-field label { color: rgba(255, 255, 255, 0.85); }
.faq-contact.specialties-teaser .form-status { color: #FFFFFF; }

.portfolio-preview { padding-top: clamp(48px, 8vw, 110px); background: #EFEFEF; }
.portfolio-preview-grid img { display: block; width: 100%; max-width: 604px; height: auto; margin: 0 auto; border-radius: 8px; }
.graphic-portfolio-grid figure { margin: 0; }
.graphic-portfolio-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.graphic-portfolio-grid figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.landing-portfolio-grid img,
.woocommerce-portfolio-grid img,
.shopify-portfolio-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }
.social-work-grid img { aspect-ratio: 4 / 3; object-position: top; }
.social-work-grid { margin-top: clamp(28px, 4vw, 40px); }

.landing-portfolio-grid,
.woocommerce-portfolio-grid,
.shopify-portfolio-grid,
.portfolio-preview-grid,
.graphic-portfolio-grid,
.wow-revamp-grid,
.social-work-grid { background: transparent; }
.shopify-portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  background: none;
}
.shopify-portfolio-grid img { width: 280px; max-width: 100%; }

.wow-revamp-grid { max-width: 1100px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); }
.wow-revamp-grid figure { margin: 0; }
.wow-revamp-grid img { display: block; width: 100%; border-radius: 8px; }
.wow-revamp-grid figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.portfolio-preview .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.landing-portfolio-section .cta-actions { justify-content: flex-start; margin-top: clamp(24px, 4vw, 40px); }

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}
.cta-band .btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  background: var(--ink);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(24px, 4vw, 48px);
}
@media (min-width: 700px) {
  .site-footer { grid-template-columns: 1.8fr 1fr 1fr; }
}

.site-footer .footer-brand { display: flex; flex-direction: column; gap: 10px; }

.site-footer .footer-brand img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  align-self: flex-start;
}

.site-footer .footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 40ch;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 8px;
}
.site-footer nav a { font-size: 14px; color: var(--footer-text); }
.site-footer nav a:hover { color: var(--accent-light); }

.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--footer-text);
}
.site-footer .footer-contact a:hover { color: var(--accent-light); }
.site-footer .footer-contact .location { color: rgba(255, 255, 255, 0.5); }

.site-footer .copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--footer-dim);
}

.credit-bar {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px var(--gutter);
  display: flex;
  justify-content: center;
}

.credit-bar .credit-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.credit-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.credit-bar a:hover { color: var(--accent-light); }

/* --------------------------------------------------------------------------
   Interior pages: shared page hero (About / Services / Work / Insights /
   FAQ / Contact) - smaller display size than the home hero.
   -------------------------------------------------------------------------- */

.page-hero { padding: clamp(48px, 9vw, 130px) var(--gutter) clamp(28px, 4vw, 60px); }

.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 180px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero .lead {
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.4;
  max-width: 46ch;
  color: var(--ink-78);
  text-wrap: pretty;
}

.page-hero .case-hero-kicker + h1 { font-size: clamp(32px, 6vw, 72px); }
.case-client-intro > div { max-width: 70ch; }

.case-challenge-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 100px;
  align-items: start;
}
.case-section.alt.case-challenge-intro { background: var(--accent); }
.case-section.case-challenge-intro h2 {
  margin: 0;
  font-size: clamp(26px, 4.8vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #FFFFFF;
}
.case-section.case-challenge-intro p { color: #FFFFFF; }
.case-section.case-challenge-intro p a { text-decoration: underline; }
.case-section.case-challenge-intro p a:hover { color: rgba(255, 255, 255, 0.8); }
.case-challenge-intro p { margin: 0; }
.page-hero:has(.case-hero-kicker) .cta-actions { margin-top: clamp(20px, 3vw, 32px); }

.article-kicker {
  display: block;
  margin: 0 0 clamp(12px, 2vw, 20px);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-hero .article-kicker + h1 { font-size: clamp(32px, 6vw, 72px); }
.page-hero .article-kicker ~ .lead { max-width: 70ch; }
.page-hero:has(.article-kicker) { background: #122451; }
.page-hero:has(.article-kicker) h1 { color: #FFFFFF; }
.page-hero:has(.article-kicker) .lead { color: rgba(255, 255, 255, 0.85); }

.back-to-blog { padding: 0 var(--gutter) clamp(28px, 4vw, 48px); }
.back-to-blog .link-underline { font-size: 14px; }

.article-body.article-body-wide { max-width: 980px; }

.page-hero.privacy-hero { background: #122451; }
.page-hero.privacy-hero h1 { color: #FFFFFF; }
.page-hero.privacy-hero .lead { color: rgba(255, 255, 255, 0.85); }

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) var(--gutter) clamp(48px, 8vw, 90px);
}
.article-body h2 {
  margin: clamp(36px, 5vw, 56px) 0 16px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--ink-78);
}
.article-body p:last-child { margin-bottom: 0; }
.article-body a { text-decoration: underline; color: var(--accent); }
.article-body a:hover { color: var(--ink); }
.error-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: clamp(60px, 10vw, 120px) var(--gutter);
  background: linear-gradient(135deg, #1a2f5c, #0d1a35, #1a2f5c);
  background-size: 200% 200%;
  animation: aboutIntroGradient 12s ease infinite;
}
@media (prefers-reduced-motion: reduce) { .error-404 { animation: none; } }
.error-404 .error-code {
  font-family: var(--font-mono);
  font-size: clamp(80px, 20vw, 220px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent-light);
}
.error-404 h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(26px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.error-404 p {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.error-404 .cta-actions { margin-top: 12px; }

.article-body img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: clamp(24px, 4vw, 40px) 0;
}

.case-hero-kicker {
  display: block;
  margin: 0 0 clamp(12px, 2vw, 20px);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-section { padding: clamp(40px, 7vw, 90px) var(--gutter); border-top: 1px solid var(--hairline); }
.case-section.alt { background: #EFEFEF; }
.case-section h2 { margin: 0 0 clamp(16px, 2.5vw, 24px); font-size: clamp(24px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.case-section p { max-width: 70ch; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; color: var(--ink-78); margin: 0 0 16px; }
.case-section p:last-child { margin-bottom: 0; }

.page-hero.case-hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 900px) { .page-hero.case-hero { grid-template-columns: 1.1fr 1fr; } }

.case-hero-photo { padding: 0; }
.case-hero-photo img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; display: block; }
@media (min-width: 900px) { .case-hero-photo img { max-height: none; aspect-ratio: 4 / 3; } }

.wide-photo { padding: 0 var(--gutter) clamp(28px, 4vw, 60px); }
.wide-photo .img-placeholder {
  aspect-ratio: 21 / 9;
  min-height: 200px;
  border-radius: 6px;
  overflow: hidden;
  padding: clamp(16px, 3vw, 36px);
}

/* --------------------------------------------------------------------------
   About: value columns + team band
   -------------------------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(48px, 8vw, 110px) var(--gutter);
}

@media (min-width: 700px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-col { border-top: 2px solid var(--accent); padding-top: 16px; }
.value-col.value-col-header { grid-column: 1 / -1; border-top: none; padding-top: 0; }

.video-testimonials-grid .value-col {
  border-top: none;
  padding-top: 0;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 16px;
}

.value-col h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.value-col p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-68); }

/* "Our values" styled like the homepage service-card (see .service-card) - scoped to
   .values-cards so this doesn't affect the other reuse of .value-grid/.value-col
   (Client Love's video-testimonials section). No hover effect, unlike .service-card. */
.values-cards {
  gap: 1px;
  background: #FFFFFF;
}
.values-cards .values-heading {
  grid-column: 1 / -1;
  background: var(--bg);
  padding-bottom: clamp(20px, 3vw, 32px);
  text-align: center;
}
.values-cards .value-col {
  border-top: none;
  padding: clamp(22px, 3vw, 38px);
  background: #FFFFFF;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.values-cards .value-col h3 { margin: 0; }
.values-cards .card-icon {
  width: 46px;
  height: 46px;
  animation: iconPulse 2.6s ease-in-out infinite;
}
/* +1 in each index below: .values-heading is child 1, so the first .value-col is child 2 */
.values-cards .value-col:nth-child(3) .card-icon { animation-delay: 0.2s; }
.values-cards .value-col:nth-child(4) .card-icon { animation-delay: 0.4s; }
.values-cards .value-col:nth-child(5) .card-icon { animation-delay: 0.6s; }
.values-cards .value-col:nth-child(6) .card-icon { animation-delay: 0.8s; }
.values-cards .value-col:nth-child(7) .card-icon { animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .values-cards .card-icon { animation: none; }
}

.team-band { background: var(--surface); padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(48px, 8vw, 110px); }
.team-band .h2-section { margin-bottom: clamp(24px, 4vw, 48px); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.5vw, 28px);
}
@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card { display: flex; flex-direction: column; gap: 10px; }

.team-card .team-img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.team-card h3 {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.team-card .role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-img-placeholder {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 4px;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(115deg, rgba(14, 14, 16, 0.07) 0 2px, transparent 2px 11px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-img-placeholder .initials {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink-55);
}

/* --------------------------------------------------------------------------
   About: intro / why us / vision & mission / teaser bands / testimonials
   -------------------------------------------------------------------------- */

.about-intro {
  padding: clamp(40px, 7vw, 90px) var(--gutter);
  background: linear-gradient(135deg, #1a2f5c, #0d1a35, #1a2f5c);
  background-size: 200% 200%;
  animation: aboutIntroGradient 12s ease infinite;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 8vw, 100px);
}
@keyframes aboutIntroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .about-intro { animation: none; }
}
.about-intro h2 { margin: 0; color: #FFFFFF; }
.about-intro p {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: #FFFFFF;
  text-wrap: pretty;
}
.about-intro p + p { margin-top: 16px; }
.about-intro .check-list + p { margin-top: 16px; }
.about-intro .check-list { margin-top: 16px; }
.about-intro .check-list li { color: #FFFFFF; }
.about-intro .check-list li::before { color: var(--accent-light); }
.about-intro .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.about-intro-logo { display: block; width: 100%; max-width: 420px; height: auto; margin-top: 20px; }
.about-intro-logo-badge { width: auto; max-width: 161px; background: #FFFFFF; padding: 10px 14px; border-radius: 8px; }

.competitive-advantage h2 { margin-bottom: 20px; }

.winning-combo h2 { margin-bottom: 20px; }
.winning-combo .winning-combo-img { aspect-ratio: 4 / 5; object-fit: cover; }

.delight-results h2 { margin-bottom: 20px; }

.success-fb-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}
@media (min-width: 700px) {
  .success-fb-row { grid-template-columns: 1fr 1fr; }
}
.success-fb-text { text-align: left; }
.success-fb-text h2 { color: #FFFFFF; margin: 0 0 16px; text-align: left; }
.success-fb-text p { color: rgba(255, 255, 255, 0.85); text-align: left; max-width: none; margin: 0; }
.success-fb-text p + p { margin-top: 12px; }
.success-fb-row .stats-grid { grid-template-columns: 1fr; }
@media (min-width: 500px) {
  .success-fb-row .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.success-fb-stats .stats-followup { text-align: left; margin-top: 24px; }
.success-fb-stats .cta-actions { flex-direction: column; align-items: stretch; justify-content: flex-start; margin-top: 16px; gap: 20px; }
.success-fb-stats .cta-actions .btn-solid,
.success-fb-stats .cta-actions .btn-outline { text-align: center; }
.success-fb-stats .cta-actions .btn-solid { background: #122451; }
.success-fb-stats .cta-actions .btn-solid:hover { background: var(--ink); }
@media (min-width: 700px) {
  .success-fb-stats .cta-actions { flex-direction: row; align-items: normal; }
}

.amazing-insights.about-intro { padding-bottom: clamp(24px, 3vw, 40px); }
.amazing-insights.about-intro h2 { margin-bottom: 20px; }
.amazing-insights.about-intro .winning-combo-img { max-width: 640px; }
.delight-results .winning-combo-img { justify-self: start; margin-left: 0; margin-right: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.social-mgmt-intro h2 { margin-bottom: 20px; }

/* Reusable pattern: heading + image stacked in the first .about-intro column,
   image below the heading. Apply this class whenever building that layout so
   spacing/alignment stays consistent without repeating overrides per section. */
.heading-img-left h2 { margin-bottom: 20px; }
.heading-img-left .winning-combo-img { justify-self: start; margin-left: 0; margin-right: auto; }
.social-mgmt-intro .winning-combo-img { justify-self: start; margin-left: 0; margin-right: auto; }

.pillars-section.services-section { padding-top: 0; background: #EFEFEF; }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .pillars-grid { grid-template-columns: 1.2fr 1fr; }
}
.pillars-text .card-grid { grid-template-columns: 1fr; margin-top: clamp(20px, 3vw, 32px); }
.pillars-text .service-card { min-height: 0; }
.pillars-img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }

.process-list.grid-3x2 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .process-list.grid-3x2 { grid-template-columns: repeat(3, 1fr); }
}
.process-list.grid-2x2 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .process-list.grid-2x2 { grid-template-columns: repeat(2, 1fr); }
}
.included-grid { border: 1px solid var(--hairline); }
.included-grid .service-card { box-shadow: 0 2px 10px rgba(14, 14, 16, 0.06); }
@media (min-width: 800px) {
  .competitive-advantage { grid-template-columns: 0.8fr 1.2fr; }
}

.about-intro p.about-intro-sublead { font-weight: 700; margin-bottom: 12px; }

.fundamentals-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.fundamentals-list li { color: #FFFFFF; font-size: 16px; line-height: 1.6; }
.fundamentals-list strong { color: var(--accent-light); }

.black-hat-content { text-align: center; }
.black-hat-content > h2,
.black-hat-content > p { margin-left: auto; margin-right: auto; }
.black-hat-content .black-hat-columns { text-align: left; }

.black-hat-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}
@media (min-width: 800px) {
  .black-hat-columns { grid-template-columns: 1fr auto 1fr; gap: 40px; }
}
.about-intro-hat-img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; }
.winning-combo-img { display: block; width: 100%; max-width: 480px; height: auto; align-self: center; justify-self: center; }

.about-intro-charts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.about-intro-charts img { width: 500px; max-width: calc(50% - 10px); height: auto; border-radius: 8px; }

.why-us {
  padding: clamp(48px, 8vw, 110px) var(--gutter);
  background: #FAFAFA;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 64px);
}
.why-us .why-copy h2 { margin: 0 0 16px; }
.why-us .why-copy p { margin: 0 0 14px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; color: var(--ink-75); }
.why-us .why-copy p:first-of-type { font-weight: 700; color: var(--ink); }
.why-us .why-copy .check-list { margin-top: 10px; }

.why-us .why-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 16px;
  font-weight: 600;
}
.check-list li::before { content: '\2713'; color: var(--accent); font-weight: 800; }

.vision-mission {
  padding: clamp(44px, 7vw, 100px) var(--gutter);
  background: #122451;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.vision-mission .vm-col { border-bottom: 2px solid #26355b; padding-bottom: 24px; }
.vision-mission .card-icon { width: 64px; height: 64px; color: var(--accent-light); margin-bottom: 12px; }

/* Animated gradient icons - same moving gradient as the homepage stats (.stat .value),
   applied via a CSS mask (SVG glyphs can't use background-clip:text like the stat numbers
   can) so the icon silhouette reveals the animated gradient behind it. */
.card-icon.icon-gradient svg { stroke: transparent; }
.card-icon.icon-gradient {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-repeat: repeat-x;
  background-size: 200% auto;
  animation: statGradient 6s linear infinite;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.card-icon.icon-vision {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.card-icon.icon-mission {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v18'/%3E%3Cpath d='M5 4h13l-3 4 3 4H5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v18'/%3E%3Cpath d='M5 4h13l-3 4 3 4H5'/%3E%3C/svg%3E");
}
.vision-mission h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--accent-light);
}
.vision-mission p { margin: 0; font-size: 15px; line-height: 1.55; color: #FFFFFF; }

.teaser-band { padding: clamp(40px, 7vw, 90px) var(--gutter); border-top: 1px solid var(--hairline); }
.teaser-band h2 { margin: 0 0 16px; }
.teaser-band p {
  margin: 0 0 24px;
  max-width: 90ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--ink-75);
}
.specialties-teaser.text-left { text-align: left; }
.specialties-teaser.text-left p { margin-left: 0; margin-right: 0; }

.specialties-teaser {
  position: relative;
  overflow: hidden;
  text-align: left;
  border-top: none;
}
@media (min-width: 700px) {
  .specialties-teaser { text-align: center; }
}
.specialties-teaser .specialties-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialties-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(155, 39, 196, 0.88), rgba(155, 39, 196, 0.82));
}
.specialties-teaser.navy-overlay::before {
  background: linear-gradient(180deg, rgba(18, 36, 81, 0.9), rgba(18, 36, 81, 0.82));
}
.specialties-teaser h2,
.specialties-teaser p,
.specialties-teaser .value-grid,
.specialties-teaser .btn-solid,
.specialties-teaser > * { position: relative; z-index: 2; }
.specialties-teaser h2 { color: #FFFFFF; }
.specialties-teaser p { color: rgba(255, 255, 255, 0.88); margin-left: 0; margin-right: 0; }
@media (min-width: 700px) {
  .specialties-teaser p { margin-left: auto; margin-right: auto; }
}
.specialties-teaser .btn-solid { background: #122451; }
.specialties-teaser .btn-solid:hover { background: var(--ink); }
.specialties-teaser .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #FFFFFF; }
.specialties-teaser .btn-outline:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.hosting-cta .btn-solid { background: #122451; }
.hosting-cta .btn-solid:hover { background: var(--ink); }

.team-teaser {
  background: #FAFAFA;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.team-teaser .teaser-copy p,
.team-teaser .teaser-copy h2 { max-width: none; }
.team-teaser .teaser-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.teaser-band .value-grid { padding: clamp(24px, 4vw, 40px) 0 0; }
@media (min-width: 700px) {
  /* override the 3-column rule where .value-grid is reused for a 2-item layout (Client Love video testimonials) */
  .teaser-band .value-grid { grid-template-columns: repeat(2, 1fr); }
}

.video-placeholder { aspect-ratio: 16 / 9; min-height: 160px; border-radius: 6px; overflow: hidden; padding: clamp(16px, 3vw, 28px); margin-bottom: 14px; }

.testimonial-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #000;
}

.specialties-teaser h3 { color: #FFFFFF; }

.strategy-results {
  padding: clamp(48px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--hairline);
}
.strategy-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 800px) {
  .strategy-results-grid { grid-template-columns: 1fr 1fr; }
}
.strategy-results .h2-section { margin: 0 0 clamp(24px, 4vw, 40px); }
.strategy-results-copy { display: flex; flex-direction: column; gap: 16px; }
.strategy-results-copy p { margin: 0; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; }
.strategy-results .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.strategy-results-text { text-align: left; }
.strategy-results-text .strategy-results-copy p { margin-left: 0; margin-right: 0; }
.strategy-results-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.testimonials-section { padding: clamp(48px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--hairline); }
.testimonials-section .h2-section { margin-bottom: 12px; }
.testimonials-section .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.testimonials-lead {
  margin: 0 0 clamp(28px, 4vw, 48px);
  max-width: 60ch;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ink-75);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
}
@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.website-portfolio-grid {
  column-count: 1;
  column-gap: 14px;
}
@media (min-width: 600px) { .website-portfolio-grid { column-count: 2; } }
@media (min-width: 900px) { .website-portfolio-grid { column-count: 3; } }
@media (min-width: 1300px) { .website-portfolio-grid { column-count: 4; } }
.website-portfolio-grid .item-preview {
  display: block;
  width: 100%;
  height: 320px;
  margin-bottom: 14px;
  break-inside: avoid;
  border-radius: 8px;
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  transition: background-position 2s ease-in-out;
}
.website-portfolio-grid .item-preview:hover { background-position: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
  .website-portfolio-grid .item-preview { transition: none; }
}

.testimonial-slider { margin: 0 auto; }
.testimonial-slider .work-slider-btn.prev { left: -30px; }
.testimonial-slider .work-slider-btn.next { right: -30px; }
@media (min-width: 900px) {
  .testimonial-slider .work-slider-btn.prev { left: -50px; }
  .testimonial-slider .work-slider-btn.next { right: -50px; }
}
.testimonial-slider .work-slider-viewport { background: transparent; border: none; }
.testimonial-slider .work-slider-track { align-items: stretch; }
.testimonial-slider .work-slider-track > .testimonial-card { flex: 0 0 calc(100% - 16px); margin: 0 8px; }
@media (min-width: 700px) {
  .testimonial-slider .work-slider-track > .testimonial-card { flex: 0 0 calc(50% - 16px); }
}
@media (min-width: 1000px) {
  .testimonial-slider .work-slider-track > .testimonial-card { flex: 0 0 calc(33.333% - 16px); }
}
.testimonial-card {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.testimonial-card .testimonial-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.testimonial-card .testimonial-body {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.testimonial-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-75); }
.testimonial-card .attribution { margin-top: auto; }
.testimonial-card .attribution .name { display: block; font-weight: 800; font-size: 14px; }
.testimonial-card .attribution .role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testimonials-navy .testimonial-card { background: #122451; padding: clamp(28px, 4vw, 40px); }
.testimonials-navy .testimonial-card p { color: #FFFFFF; }
.testimonials-navy .testimonial-card .attribution .name { color: var(--accent-light); }
.testimonials-navy .testimonial-card .attribution .role { color: var(--accent-light); }

/* --------------------------------------------------------------------------
   Services: stacked hairline rows
   -------------------------------------------------------------------------- */

.service-rows { padding: 0 var(--gutter) clamp(48px, 8vw, 110px); }

.service-row {
  padding: clamp(24px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.service-row:first-child { border-top: 1px solid var(--hairline); }
.service-row:hover { background: var(--accent); }
.service-row:hover .num,
.service-row:hover h2,
.service-row:hover .desc { color: #FFFFFF; }
.service-row:hover .tag-pill {
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}
.service-row:hover .tag-pill:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.service-row .row-name { display: flex; align-items: baseline; gap: 14px; }
.service-row .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

.service-row h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1;
}

.service-row .desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-68);
  align-self: center;
}

.service-row .tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-self: center;
  gap: 8px;
}

.tag-pill {
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Work: case cards (16:11 image + two result figures)
   -------------------------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  padding: 0 var(--gutter) clamp(48px, 8vw, 110px);
}
@media (min-width: 700px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.case-card .case-img,
.case-card .img-placeholder {
  aspect-ratio: 16 / 11;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background-color: var(--surface);
}

.case-card:hover h3 { color: var(--accent); }

.case-card .case-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
}
@media (min-width: 700px) {
  .case-card .case-head { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }
}

.case-card h3 {
  margin: 0;
  min-width: 0;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.case-card .year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.case-card .detail { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-68); }

.case-results { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); }
.case-results .result { display: flex; flex-direction: column; gap: 6px; }

.case-results .figure {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.case-results .result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-55);
}

/* --------------------------------------------------------------------------
   Insights: stacked hairline rows
   -------------------------------------------------------------------------- */

.insight-rows { padding: 0 var(--gutter) clamp(48px, 8vw, 110px); }

/* Extra breathing room below the new photo heroes on services/insights pages -
   the base .services-section/.service-rows/.insight-rows rules have
   padding-top: 0, which worked fine under the old plain .page-hero but leaves
   no gap under the new full-bleed photo hero. */
.hero-adjacent { padding-top: clamp(48px, 8vw, 110px) !important; }

.insight-row {
  padding: clamp(24px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(12px, 2.5vw, 28px);
}
.insight-row:first-child { border-top: 1px solid var(--hairline); }
.insight-row:hover { background: var(--surface); }

.insight-row .cat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.insight-row h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.insight-row .excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-68); align-self: center; }

.insight-row .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-55);
  align-self: center;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   FAQ: accordion
   -------------------------------------------------------------------------- */

.faq-list { padding: 0 var(--gutter) clamp(48px, 8vw, 110px); }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: clamp(20px, 3vw, 32px) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  color: var(--ink);
}
.faq-trigger:hover h2 { color: var(--accent); }
.faq-item[data-open="true"] .faq-trigger h2,
.faq-item[data-open="true"] .faq-trigger .glyph { color: var(--accent); }

.faq-trigger h2 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.02em;
  max-width: 42ch;
  line-height: 1.2;
}

.faq-trigger .glyph {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-item[data-open="true"] .faq-answer { max-height: 1000px; }

.faq-answer p {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  max-width: 70ch;
  color: var(--ink-75);
}

/* --------------------------------------------------------------------------
   Contact: detail column + form
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding: clamp(28px, 4vw, 60px) var(--gutter) clamp(48px, 8vw, 110px);
}

.contact-details .lead-copy {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--ink-75);
  max-width: 40ch;
}
.offices-heading { font-size: clamp(22px, 3vw, 32px); margin: clamp(32px, 5vw, 48px) 0 4px; }

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.detail-row:first-of-type { border-top: 1px solid var(--hairline); }

.detail-row a,
.detail-row .value {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form[hidden] { display: none; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-60);
}

.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid rgba(14, 14, 16, 0.18);
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--ink);
  padding: 15px 16px;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); outline: none; }
.form-field textarea { resize: vertical; min-height: 130px; }

.form-field.has-error input,
.form-field.has-error textarea { border-color: #B3261E; }

.form-error {
  font-size: 13px;
  color: #B3261E;
  min-height: 16px;
}

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 14px; color: var(--accent); margin: 0; }
.form-status[hidden] { display: none; }

/* Sample-work slider (inside .service-card on service pages) */
.work-slider { position: relative; margin-top: 4px; }
.work-slider-viewport { overflow: hidden; border-radius: 8px; border: 1px solid var(--hairline); background: var(--surface); }
.work-slider-track { display: flex; transition: transform 0.45s ease; }
.work-slider-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FFFFFF; }
.work-slider-track figure { flex: 0 0 100%; margin: 0; }
.work-slider-track figure img { flex: none; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #FFFFFF; display: block; }
.work-slider-track figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
}

/* Recent-work slider (website-design.html) - cap to the images' native size so they never scale up and blur */
section[aria-label="Recent website design work"] h2 { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.value-grid .work-slider { max-width: 1024px; margin-left: auto; margin-right: auto; }
.value-grid .work-slider-track figure { aspect-ratio: 1024 / 443; }

.card-grid-photos .service-card h3 { text-align: center; }

.service-card .card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 6px;
  margin-bottom: 4px;
}
.work-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline);
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease;
}
.work-slider-btn:hover { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.work-slider-btn.prev { left: 8px; }
.work-slider-btn.next { right: 8px; }
.work-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.work-slider-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--hairline-strong); cursor: pointer;
}
.work-slider-dots button[aria-current="true"] { background: var(--accent); }
.service-card:hover .work-slider-dots button:not([aria-current="true"]) { background: rgba(255, 255, 255, 0.35); }

/* Cards with no clickable link inside shouldn't hint at interactivity on hover */
.service-card:not(:has(a)):hover { background: #FFFFFF; }
.service-card:not(:has(a)):hover .num { color: var(--accent); }
.service-card:not(:has(a)):hover h3,
.service-card:not(:has(a)):hover p,
.service-card:not(:has(a)):hover .check-list li { color: var(--ink); }
.service-card:not(:has(a)):hover .check-list li::before { color: var(--accent); }
