:root {
  --p4-ink: #102d3d;
  --p4-copy: #4d6776;
  --p4-blue: #0b5f8f;
  --p4-blue-deep: #073e61;
  --p4-blue-pale: #eef8fc;
  --p4-gold: #c78b22;
  --p4-gold-pale: #fff8e9;
  --p4-cream: #fbfaf6;
  --p4-white: #ffffff;
  --p4-line: #dce8ee;
  --p4-green: #176c55;
  --p4-red: #a63a35;
  --p4-radius-sm: 14px;
  --p4-radius-md: 20px;
  --p4-radius-lg: 30px;
  --p4-radius-xl: 42px;
  --p4-shadow: 0 24px 70px rgba(14, 50, 70, 0.11);
  --p4-shadow-soft: 0 14px 38px rgba(14, 50, 70, 0.07);
}

.sshi-phase4-page {
  background: var(--p4-cream);
  color: var(--p4-ink);
}

.sshi-phase4-page .entry-header,
.sshi-phase4-page .page-header,
.sshi-phase4-page .entry-title,
.sshi-phase4-page .page-title {
  display: none;
}

.sshi-phase4-page .entry-content,
.sshi-phase4-page .page-content,
.sshi-phase4-page main {
  margin: 0;
  padding: 0;
  max-width: none;
}

.sshi-p4-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sshi-p4-narrow {
  width: min(790px, calc(100% - 40px));
}

.sshi-p4-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 142px) 0 clamp(72px, 9vw, 124px);
  border-bottom: 1px solid rgba(11, 95, 143, 0.12);
  background:
    radial-gradient(circle at 82% 16%, rgba(199, 139, 34, 0.18), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(11, 95, 143, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5fbfe 58%, #fffaf0 100%);
}

.sshi-p4-hero::before {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(11, 95, 143, 0.1);
  border-radius: 50%;
  content: "";
}

.sshi-p4-hero::after {
  position: absolute;
  right: 80px;
  bottom: -210px;
  width: 390px;
  height: 390px;
  border: 46px solid rgba(199, 139, 34, 0.07);
  border-radius: 50%;
  content: "";
}

.sshi-p4-hero.compact {
  padding-block: clamp(68px, 8vw, 105px);
}

.sshi-p4-hero .sshi-p4-shell {
  position: relative;
  z-index: 2;
}

.sshi-p4-hero h1 {
  max-width: 15ch;
  margin: 0 0 24px;
  color: var(--p4-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.sshi-p4-hero.compact h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
}

.sshi-p4-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--p4-copy);
  font-size: clamp(1.04rem, 1.6vw, 1.26rem);
  line-height: 1.78;
}

.sshi-p4-eyebrow,
.sshi-p4-kicker,
.sshi-p4-card > span,
.sshi-p4-location-card > span,
.sshi-p4-heading > span,
.sshi-p4-route-panel > span,
.sshi-p4-cta > div > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--p4-blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sshi-p4-eyebrow::before,
.sshi-p4-kicker::before {
  width: 28px;
  height: 2px;
  background: var(--p4-gold);
  content: "";
}

.sshi-p4-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.sshi-p4-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid var(--p4-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--p4-blue-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sshi-p4-button:hover,
.sshi-p4-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 95, 143, 0.14);
  text-decoration: none;
}

.sshi-p4-button.is-primary {
  border-color: var(--p4-blue);
  background: var(--p4-blue);
  color: #fff;
}

.sshi-p4-button.is-primary:hover,
.sshi-p4-button.is-primary:focus-visible {
  background: var(--p4-blue-deep);
}

.sshi-p4-section {
  padding: clamp(78px, 9vw, 122px) 0;
  background: #fff;
}

.sshi-p4-section.is-tint,
.sshi-p4-section:nth-of-type(even) {
  background: var(--p4-blue-pale);
}

.sshi-p4-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.sshi-p4-heading h2,
.sshi-p4-section h2,
.sshi-p4-cta h2,
.sshi-p4-route-list h2 {
  margin: 0 0 18px;
  color: var(--p4-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.sshi-p4-section p,
.sshi-p4-card p,
.sshi-p4-location-card p,
.sshi-p4-boundary p,
.sshi-p4-policy p {
  color: var(--p4-copy);
  line-height: 1.72;
}

.sshi-p4-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sshi-p4-card,
.sshi-p4-location-card {
  position: relative;
  display: flex;
  min-height: 325px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--p4-line);
  border-radius: var(--p4-radius-lg);
  background: #fff;
  box-shadow: var(--p4-shadow-soft);
}

.sshi-p4-card::after,
.sshi-p4-location-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(11, 95, 143, 0.055);
  content: "";
}

.sshi-p4-card h3,
.sshi-p4-location-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--p4-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 650;
  line-height: 1.1;
}

.sshi-p4-card a,
.sshi-p4-location-card a,
.sshi-p4-boundary a,
.sshi-p4-related a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--p4-blue);
  font-weight: 800;
  text-decoration: none;
}

.sshi-p4-card a:hover,
.sshi-p4-card a:focus-visible,
.sshi-p4-location-card a:hover,
.sshi-p4-location-card a:focus-visible,
.sshi-p4-boundary a:hover,
.sshi-p4-related a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sshi-p4-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sshi-p4-location-card {
  min-height: 350px;
}

.sshi-p4-location-card > strong {
  display: block;
  margin-top: 12px;
  color: var(--p4-blue-deep);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sshi-p4-hero-grid,
.sshi-p4-two {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.sshi-p4-route-panel,
.sshi-p4-boundary {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(11, 95, 143, 0.18);
  border-radius: var(--p4-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--p4-shadow-soft);
}

.sshi-p4-route-panel > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--p4-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.sshi-p4-boundary {
  border-color: rgba(199, 139, 34, 0.35);
  background: var(--p4-gold-pale);
}

.sshi-p4-boundary h3 {
  margin: 0 0 15px;
  color: var(--p4-ink);
  font-size: 1.35rem;
}

.sshi-p4-checks,
.sshi-p4-steps {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.sshi-p4-checks li,
.sshi-p4-steps li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border: 1px solid var(--p4-line);
  border-radius: var(--p4-radius-sm);
  background: #fff;
  color: var(--p4-ink);
  font-weight: 700;
  line-height: 1.45;
}

.sshi-p4-checks li::before,
.sshi-p4-steps li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--p4-blue-pale);
  color: var(--p4-blue);
  font-size: 0.72rem;
  font-weight: 900;
  content: "✓";
}

.sshi-p4-steps {
  counter-reset: p4step;
}

.sshi-p4-steps li {
  counter-increment: p4step;
}

.sshi-p4-steps li::before {
  content: counter(p4step);
}

.sshi-p4-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--p4-radius-xl);
  background: linear-gradient(135deg, var(--p4-blue-deep), var(--p4-blue));
  box-shadow: var(--p4-shadow);
  color: #fff;
}

.sshi-p4-cta h2,
.sshi-p4-cta > div > span {
  color: #fff;
}

.sshi-p4-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sshi-p4-related a {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
}

.sshi-p4-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--p4-line);
  border-radius: var(--p4-radius-xl);
  background: #fff;
  box-shadow: var(--p4-shadow);
}

.sshi-p4-form h3 {
  margin: 12px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--p4-line);
  color: var(--p4-ink);
  font-size: 1.25rem;
}

.sshi-p4-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sshi-p4-form label {
  display: grid;
  gap: 8px;
  color: var(--p4-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.sshi-p4-form input,
.sshi-p4-form select,
.sshi-p4-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c7d9e2;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--p4-ink);
  font: inherit;
  font-weight: 550;
}

.sshi-p4-form textarea {
  min-height: 132px;
  resize: vertical;
}

.sshi-p4-form input:focus,
.sshi-p4-form select:focus,
.sshi-p4-form textarea:focus {
  outline: 3px solid rgba(11, 95, 143, 0.16);
  border-color: var(--p4-blue);
  background: #fff;
}

.sshi-p4-consent {
  grid-template-columns: 22px 1fr !important;
  gap: 12px !important;
  align-items: start;
  padding: 16px;
  border-radius: 14px;
  background: var(--p4-blue-pale);
  color: var(--p4-copy) !important;
  font-size: 0.82rem !important;
  line-height: 1.55;
}

.sshi-p4-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.sshi-p4-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.sshi-p4-notice {
  padding: 16px 18px;
  border: 1px solid var(--p4-line);
  border-radius: 14px;
  background: #fff;
  color: var(--p4-ink);
  font-weight: 750;
}

.sshi-p4-notice.is-success {
  border-color: rgba(23, 108, 85, 0.3);
  background: #effaf6;
  color: var(--p4-green);
}

.sshi-p4-notice.is-error {
  border-color: rgba(166, 58, 53, 0.3);
  background: #fff3f2;
  color: var(--p4-red);
}

.sshi-p4-route-list {
  margin-top: 44px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--p4-line);
  border-radius: var(--p4-radius-lg);
  background: #fff;
  box-shadow: var(--p4-shadow-soft);
}

.sshi-p4-route-list h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.sshi-p4-route-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--p4-line);
}

.sshi-p4-route-list strong {
  color: var(--p4-ink);
}

.sshi-p4-route-list span {
  color: var(--p4-copy);
  font-weight: 700;
}

.sshi-p4-route-list em {
  color: var(--p4-blue);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.sshi-p4-policy {
  display: grid;
  gap: 20px;
  max-width: 900px;
}

.sshi-p4-policy article {
  padding: 28px;
  border: 1px solid var(--p4-line);
  border-radius: var(--p4-radius-md);
  background: #fff;
}

.sshi-p4-policy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
}

.sshi-p4-policy p {
  margin: 0;
}

.sshi-p4-gap {
  margin-top: 54px !important;
}

@media (max-width: 1020px) {
  .sshi-p4-grid,
  .sshi-p4-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sshi-p4-hero-grid,
  .sshi-p4-two {
    grid-template-columns: 1fr;
  }

  .sshi-p4-route-panel,
  .sshi-p4-boundary {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .sshi-p4-shell,
  .sshi-p4-narrow {
    width: min(100% - 24px, 680px);
  }

  .sshi-p4-hero {
    padding-block: 66px 76px;
  }

  .sshi-p4-hero h1,
  .sshi-p4-hero.compact h1 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  .sshi-p4-grid,
  .sshi-p4-location-grid,
  .sshi-p4-form-grid {
    grid-template-columns: 1fr;
  }

  .sshi-p4-card,
  .sshi-p4-location-card {
    min-height: 0;
    padding: 25px;
  }

  .sshi-p4-actions,
  .sshi-p4-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .sshi-p4-actions .sshi-p4-button,
  .sshi-p4-cta .sshi-p4-button,
  .sshi-p4-form .sshi-p4-button {
    width: 100%;
  }

  .sshi-p4-route-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sshi-p4-route-panel,
  .sshi-p4-boundary,
  .sshi-p4-form {
    padding: 24px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sshi-p4-button {
    transition: none;
  }
}
