.site-main.container {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 90px);
}

.content-card h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.entry-content > * {
  max-width: 70ch;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--text);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after,
.page-shell .page-hero::before,
.page-shell .page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 14px, rgba(255, 255, 255, 0) 14px 34px);
  opacity: 0.7;
}

.page-shell::after {
  inset: auto -10% 6% auto;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 42% 58% 64% 36% / 44% 34% 66% 56%;
  filter: blur(4px);
  opacity: 0.55;
}

.page-shell--about {
  background: #f6f4ef;
}

.page-shell--services {
  background: #f6f4ef;
}

.page-shell--careers {
  background: #f6f4ef;
}

.page-shell--contact {
  background: #f6f4ef;
}

.page-shell--about::after {
  background:
    radial-gradient(circle at 30% 30%, rgba(71, 85, 105, 0.16), rgba(10, 132, 255, 0) 58%),
    linear-gradient(135deg, rgba(221, 214, 200, 0.32), rgba(255, 255, 255, 0));
}

.page-shell--services::after {
  background:
    radial-gradient(circle at 35% 35%, rgba(71, 85, 105, 0.18), rgba(15, 118, 110, 0) 56%),
    linear-gradient(135deg, rgba(221, 214, 200, 0.3), rgba(255, 255, 255, 0));
}

.page-shell--careers::after {
  background:
    radial-gradient(circle at 35% 35%, rgba(120, 113, 108, 0.2), rgba(249, 115, 22, 0) 56%),
    linear-gradient(135deg, rgba(221, 214, 200, 0.3), rgba(255, 255, 255, 0));
}

.page-shell--contact::after {
  background:
    radial-gradient(circle at 35% 35%, rgba(71, 85, 105, 0.18), rgba(20, 184, 166, 0) 56%),
    linear-gradient(135deg, rgba(221, 214, 200, 0.3), rgba(255, 255, 255, 0));
}

.page-shell--about .page-hero::before,
.page-shell--services .page-hero::before,
.page-shell--careers .page-hero::before,
.page-shell--contact .page-hero::before {
  inset: 0;
  opacity: 0.95;
}

.page-shell--about .page-hero::before {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
    linear-gradient(130deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0) 36%);
}

.page-shell--services .page-hero::before {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 0 2px, transparent 2px 120px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  background-size: 120px 100%, 100% 100%;
}

.page-shell--careers .page-hero::before {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 36%),
    repeating-linear-gradient(-24deg, rgba(124, 45, 18, 0.08) 0 20px, rgba(124, 45, 18, 0) 20px 54px);
}

.page-shell--contact .page-hero::before {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(29, 78, 216, 0.04));
}

.page-shell--about .page-hero::after,
.page-shell--services .page-hero::after,
.page-shell--careers .page-hero::after,
.page-shell--contact .page-hero::after {
  inset: auto auto 8% -6%;
  width: 26vw;
  height: 26vw;
  min-width: 220px;
  min-height: 220px;
  border-radius: 34% 66% 52% 48% / 52% 37% 63% 48%;
  opacity: 0.55;
  filter: blur(2px);
}

.page-shell--about .page-hero::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(10, 132, 255, 0.18));
}

.page-shell--services .page-hero::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(15, 118, 110, 0.22));
}

.page-shell--careers .page-hero::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(249, 115, 22, 0.24));
}

.page-shell--contact .page-hero::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(20, 184, 166, 0.24));
}

.page-hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 56px;
}

.page-hero__grid,
.page-art-stack,
.page-step-grid,
.page-mini-grid,
.page-inline-actions,
.page-hero__stats {
  display: grid;
  gap: 22px;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
}

.page-hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5.5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 16px;
  border: 1px solid rgba(219, 228, 240, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.page-inline-actions {
  margin-top: 28px;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: start;
  align-items: center;
}

.page-art-stack {
  align-items: stretch;
}

.page-visual-card,
.page-step-card,
.page-mini-card,
.editorial-card,
.quote-band {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.page-visual-card {
  overflow: hidden;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.page-visual-card--illustration {
  padding: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(242, 238, 230, 0.98));
  box-shadow: var(--shadow);
}

.page-photo,
.page-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.page-photo {
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.16);
}

.page-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(221, 214, 200, 0.56), rgba(242, 238, 230, 0.92));
}

.page-note__label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.page-note__value {
  color: var(--text);
  font-weight: 700;
}

.section-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 22px;
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
}

.careers-process-art {
  max-width: 840px;
  margin: 0 auto 28px;
}

.page-hero__stats {
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-mini-card {
  padding: 22px;
}

.page-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.page-mini-card span,
.page-step-card p,
.editorial-card p {
  color: var(--muted);
}

.page-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-step-card {
  padding: 28px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f2eee6, #e6e0d4);
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-links,
.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-links a,
.contact-links span {
  color: var(--muted);
  font-weight: 700;
}

.contact-links a:hover,
.contact-links a:focus {
  color: var(--primary);
}

.quote-band,
.editorial-card {
  padding: clamp(24px, 4vw, 34px);
}

.quote-band {
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(71, 85, 105, 0.08), transparent 30%), linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(242, 238, 230, 0.98));
}

.quote-band blockquote {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
}

.quote-band cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
}

.editorial-card h2 {
  margin-top: 0;
}

.editorial-card .entry-content > * {
  max-width: none;
}

.editorial-card .entry-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .page-hero__grid,
  .page-step-grid,
  .page-hero__stats {
    grid-template-columns: 1fr;
  }

  .page-inline-actions {
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: 64px;
  }

  .page-shell::before,
  .page-shell::after,
  .page-shell .page-hero::before,
  .page-shell .page-hero::after {
    display: none;
  }

  .pill-list {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .page-visual-card,
  .page-step-card,
  .page-mini-card,
  .editorial-card,
  .quote-band {
    padding: 22px;
    border-radius: 22px;
  }

  .page-hero__copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }

  .page-inline-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .pill-list {
    flex-direction: column;
  }
}
