/* ==========================================================================
   KARIM CONSULTANT LLC — Editorial Tech Advisory Stylesheet
   Full-screen layout, architectural hairline grids, Bauhaus geometric accents
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f2f3f5;
  --surface-alt: #f7f8fa;
  --ink: #111113;
  --ink-muted: #5a5d66;
  --ink-light: #8a8d96;
  --line: #e6e8ec;
  --cobalt: #2948ff;
  --cobalt-light: #6983ff;
  --lime: #e2ff32;
  --coral: #ff4e4e;
  --coral-soft: #ff8e7e;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.5rem, 5vw, 5.5rem);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 232, 236, 0.6);
}

.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.menu-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.6px;
  background-color: var(--ink);
  transition: transform var(--transition), width var(--transition);
}

.menu-toggle:hover span:last-child {
  width: 16px;
}

/* Full-screen Navigation Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-inner {
  width: 100%;
  height: 100%;
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-overlay-header .brand-wordmark {
  color: #ffffff;
}

.menu-close {
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nav-overlay-links .nav-link {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.nav-overlay-links .nav-link:hover {
  color: var(--lime);
  transform: translateX(12px);
}

.nav-overlay-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.45rem;
}

.nav-meta-value,
.nav-meta-link {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.nav-meta-link:hover {
  color: var(--lime);
}

/* ==========================================================================
   Shared Pill Button
   ========================================================================== */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--ink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  transition: transform var(--transition), background-color 0.25s ease, box-shadow 0.25s ease;
}

.pill-btn:hover {
  background-color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(41, 72, 255, 0.22);
}

.pill-arrow {
  transition: transform 0.25s ease;
}

.pill-btn:hover .pill-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Full-Screen Hero Section
   ========================================================================== */
.hero {
  width: 100%;
  min-height: 100vh;
  padding: 6.5rem var(--gutter) 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 440px;
  margin-bottom: 2.25rem;
}

/* 4x4 Signature Geometric Collage */
.hero-collage {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1.04;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0;
}

.tile {
  position: relative;
  overflow: hidden;
}

.tile-empty {
  background: transparent;
}

.tile-lime-quarter-tr {
  background: var(--lime);
  border-bottom-left-radius: 100%;
}

.tile-monogram {
  background: #0d0d10;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-monogram span {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 7.5vw, 7rem);
  line-height: 1;
  transform: translateY(-4%);
}

.tile-blue-quarter-bl {
  background: radial-gradient(circle at 20% 20%, #748bff, var(--cobalt));
  border-bottom-left-radius: 100%;
}

.tile-gray-quarter-tl {
  background: #eef0f3;
  border-top-left-radius: 100%;
}

.tile-photo-tall {
  grid-row: 2 / 4;
  grid-column: 2 / 3;
  border-bottom-left-radius: 120px;
}

.tile-photo-tall img,
.tile-photo-corner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08);
}

.tile-lime-quarter-tl {
  background: var(--lime);
  border-top-left-radius: 100%;
}

.tile-coral-quarter-tr {
  background: radial-gradient(circle at 30% 65%, #ff3d3d, #ff9b8f);
  border-top-left-radius: 100%;
}

.tile-gray-quarter-tl-tall {
  background: #eef0f3;
  border-top-left-radius: 100%;
}

.tile-coral-dot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-coral-dot::before {
  content: "";
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8274, #ff3e3e);
}

.tile-coral-quarter-tl {
  background: radial-gradient(circle at 70% 70%, #ff4141, #ff998a);
  border-top-left-radius: 100%;
}

.tile-lime-dot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-lime-dot::before {
  content: "";
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: var(--lime);
}

.tile-blue-quarter-tl-wide {
  background: linear-gradient(135deg, #2140f5 0%, #6d86ff 100%);
  border-top-left-radius: 100%;
}

.tile-photo-corner {
  border-top-right-radius: 100%;
}

/* ==========================================================================
   Full-Width Service Marquee
   ========================================================================== */
.ticker-bar {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.15rem 0;
  background: var(--bg);
}

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

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.ticker-star {
  color: var(--ink);
  font-size: 0.85rem;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Editorial Statement Section
   ========================================================================== */
.statement-section {
  width: 100%;
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.statement-right {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 540px;
}

.statement-right p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-muted);
}

/* ==========================================================================
   Architectural Grid Callout Section
   ========================================================================== */
.grid-callout {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--gutter);
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  grid-template-rows: 100px 1fr 110px;
  pointer-events: none;
}

.grid-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.grid-cell:nth-child(3n) {
  border-right: none;
}

.grid-cell:nth-child(n + 7) {
  border-bottom: none;
}

.grid-node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  top: -3px;
}

.grid-node-tl {
  left: -3px;
}

.grid-node-tr {
  right: -3px;
}

.grid-cell-accent {
  overflow: hidden;
}

.blue-quarter-accent {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2746ff 0%, #6d85ff 100%);
  border-top-left-radius: 120px;
}

.grid-callout-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.callout-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ==========================================================================
   Capabilities & Partner Section
   ========================================================================== */
.capabilities-section {
  width: 100%;
  padding: clamp(5rem, 9vw, 8.5rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.capabilities-artwork {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.art-cell {
  overflow: hidden;
}

.art-purple-coral {
  background: linear-gradient(135deg, #9f7aea 0%, #ff5a5f 100%);
  border-bottom-left-radius: 100%;
}

.art-coral-solid {
  background: radial-gradient(circle at 70% 70%, #ff4646, #ff8b78);
  border-top-left-radius: 100%;
}

.art-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capabilities-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.accordion-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.accordion-plus::before,
.accordion-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion-plus::before {
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  transform: translateY(-50%);
}

.accordion-plus::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 14px;
  transform: translateX(-50%);
}

.accordion-item.is-open .accordion-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.is-open .accordion-panel {
  max-height: 220px;
}

.accordion-panel p {
  padding: 0 0 1.35rem 2.15rem;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

/* ==========================================================================
   Trusted By / Clients Section
   ========================================================================== */
.clients-section {
  width: 100%;
  padding: clamp(4rem, 7vw, 6.5rem) var(--gutter);
  text-align: center;
}

.clients-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 3rem;
  color: var(--ink);
}

.clients-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.25rem 1.5rem;
}

.client-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #555861;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.client-mark:hover {
  color: var(--ink);
}

.client-mark svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ==========================================================================
   Insights Carousel Section
   ========================================================================== */
.insights-section {
  width: 100%;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.insights-header {
  padding: 0 var(--gutter);
  margin-bottom: 2.5rem;
}

.insights-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
}

.carousel-viewport {
  width: 100%;
  padding-left: var(--gutter);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card {
  flex: 0 0 min(78vw, 860px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  min-height: 360px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
}

.insight-card-text {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.insight-card-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.24;
  color: var(--ink);
}

.insight-card-text p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.insight-card-media {
  overflow: hidden;
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-card-media img {
  transform: scale(1.04);
}

.carousel-controls {
  padding: 1.75rem var(--gutter) 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

/* ==========================================================================
   Pre-Footer CTA Section
   ========================================================================== */
.cta-section {
  width: 100%;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}

.cta-frame {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 5rem);
  display: flex;
  justify-content: center;
}

.cta-badge {
  position: absolute;
  top: -42px;
  right: clamp(1.5rem, 12vw, 10rem);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
}

.cta-badge span {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--ink);
  transform: translateY(-4%);
}

.cta-inner {
  width: 100%;
  max-width: 580px;
}

.cta-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Signature Cobalt-Blue Footer
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #2541f5 0%, #4b68ff 100%);
  color: #ffffff;
  border-top-right-radius: clamp(80px, 12vw, 170px);
  padding: clamp(4rem, 7vw, 6rem) var(--gutter) 2.5rem;
  overflow: hidden;
}

.footer-orb {
  position: absolute;
  left: 4%;
  top: 28%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(165, 185, 255, 0.35), rgba(37, 65, 245, 0));
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 4.5rem;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.footer-address a {
  display: inline-block;
  margin-top: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-address a:hover {
  border-bottom-color: #ffffff;
}

.footer-nav {
  display: flex;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: flex-start;
  padding-top: 0.6rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav-col a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-note {
  max-width: 540px;
  line-height: 1.55;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   Modals (Contact & Article Reader)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 15, 20, 0.58);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.modal-card-wide {
  max-width: 680px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  margin-bottom: 0.35rem;
}

.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
}

.modal-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-muted);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface-alt);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: #ffffff;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.direct-email-link {
  font-size: 0.84rem;
  color: var(--ink-muted);
  text-decoration: underline;
}

.form-status {
  font-size: 0.88rem;
  color: #166534;
  min-height: 1.2rem;
}

.modal-office-info {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.article-modal-body img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.article-modal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-modal-body p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7.5rem;
  }

  .hero-collage {
    justify-self: center;
    max-width: 480px;
  }

  .statement-section,
  .capabilities-section,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .grid-lines {
    grid-template-columns: 1fr;
    grid-template-rows: 60px 1fr 80px;
  }

  .insight-card {
    flex: 0 0 86vw;
    grid-template-columns: 1fr;
  }

  .insight-card-media {
    height: 210px;
  }

  .cta-badge {
    width: 66px;
    height: 66px;
    top: -33px;
  }

  .cta-badge span {
    font-size: 2.2rem;
  }
}
