/* Rich content layouts — articles, projects, forms */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #333;
}

.prose-wide {
  max-width: 960px;
}

.prose .lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--yellow);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--black);
  margin: 2.75rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--black);
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--grey-bg);
  border-left: 4px solid var(--red);
  font-style: italic;
  color: #444;
}

.prose figure {
  margin: 2.5rem 0;
}

.prose figure img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.prose figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
}

.prose .highlight-box {
  background: #fffbea;
  border: 1px solid rgba(249, 212, 35, 0.5);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.prose .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.prose .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.prose .stat-row .stat {
  background: var(--black);
  color: var(--white);
  padding: 1.25rem;
  text-align: center;
}

.prose .stat-row .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.35rem;
}

.page-main {
  padding: 3.5rem 0 5rem;
}

.page-main--grey {
  background: var(--grey-bg);
}

/* Insights / Projects grids */
.archive-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.archive-card {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.archive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.archive-card .thumb {
  height: 200px;
  overflow: hidden;
}

.archive-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.archive-card:hover .thumb img {
  transform: scale(1.06);
}

.archive-card .body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-card .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.archive-card h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.archive-card h2 a {
  color: inherit;
}

.archive-card h2 a:hover {
  color: var(--red);
}

.archive-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.archive-card .read-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* Quote form */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.quote-process h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.quote-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.quote-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  counter-increment: step;
}

.quote-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-form-wrap {
  background: var(--white);
  padding: 2rem 2.25rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--yellow);
}

.quote-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  background: #fafafa;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form .form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  margin-bottom: 1rem;
}

.form-success.visible {
  display: block;
}

/* Homepage v2 sections */
.home-marquee {
  background: var(--yellow);
  overflow: hidden;
  padding: 0.65rem 0;
}

.home-marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}

.home-marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
}

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

.home-pillars {
  padding: 5rem 0;
  background: var(--white);
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #eee;
}

.home-pillar {
  padding: 2.5rem 2rem;
  border-right: 1px solid #eee;
  transition: background 0.35s;
}

.home-pillar:last-child {
  border-right: none;
}

.home-pillar:hover {
  background: var(--grey-bg);
}

.home-pillar .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.home-pillar h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.home-split-dark {
  background: var(--black);
  color: var(--white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-split-light {
  background: var(--grey-bg);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-insights-preview,
.home-projects-preview {
  padding: 5rem 0;
}

.home-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3vw;
}

.home-preview-head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-route-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-route-dots span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  animation: routePulse 3s ease-in-out infinite;
}

.hero-route-dots span:nth-child(1) { top: 35%; left: 20%; animation-delay: 0s; }
.hero-route-dots span:nth-child(2) { top: 55%; left: 45%; animation-delay: 0.6s; }
.hero-route-dots span:nth-child(3) { top: 40%; left: 70%; animation-delay: 1.2s; }
.hero-route-dots span:nth-child(4) { top: 65%; left: 85%; animation-delay: 1.8s; }

@keyframes routePulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(249, 212, 35, 0.6); }
  50% { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 0 12px rgba(249, 212, 35, 0); }
}

/* Homepage section polish */
.home-page .gateway-item {
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.home-page .gateway-item:hover {
  transform: translateY(-6px);
}

.home-page .gateway-icon {
  transition: transform 0.45s var(--ease), color 0.3s;
}

.home-page .gateway-item:hover .gateway-icon {
  transform: scale(1.1);
  color: var(--red);
}

.home-page .home-split-dark {
  position: relative;
  overflow: hidden;
}

.home-page .home-split-dark::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  top: 0;
  left: -100%;
  animation: splitLineSweep 6s ease-in-out infinite;
}

@keyframes splitLineSweep {
  0%, 100% { left: -100%; opacity: 0.3; }
  50% { left: 0; opacity: 1; }
}


.home-page .home-insights-preview .archive-card,
.home-page .home-projects-preview .archive-card {
  animation: cardRise 0.7s var(--ease) backwards;
}

.home-page .home-insights-preview .archive-card:nth-child(1) { animation-delay: 0.1s; }
.home-page .home-insights-preview .archive-card:nth-child(2) { animation-delay: 0.2s; }
.home-page .home-insights-preview .archive-card:nth-child(3) { animation-delay: 0.3s; }
.home-page .home-projects-preview .archive-card:nth-child(1) { animation-delay: 0.15s; }
.home-page .home-projects-preview .archive-card:nth-child(2) { animation-delay: 0.25s; }
.home-page .home-projects-preview .archive-card:nth-child(3) { animation-delay: 0.35s; }

@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
