:root {
  --sh-leaf: #8cb369;
  --sh-sun: #f4e285;
  --sh-orange: #f4a259;
  --sh-teal: #5b8e7d;
  --sh-berry: #bc4b51;
  --sh-forest: #173f38;
  --sh-ink: #18312d;
  --sh-cream: #fffdf7;
  --sh-paper: #ffffff;
  --sh-soft: #f7f3e8;
  --sh-border: #dce5d7;
  --sh-muted: #5e6e69;
  --sh-shadow: 0 18px 50px rgba(23, 63, 56, 0.12);
  --sh-shadow-small: 0 10px 26px rgba(23, 63, 56, 0.1);
  --sh-display: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --sh-body: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  --sh-radius: 24px;
  --sh-radius-small: 15px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sh-cream);
  color: var(--sh-ink);
  font-family: var(--sh-body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.scihelp-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sh-teal);
  text-underline-offset: 0.18em;
  transition: color 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--sh-berry);
}

:focus-visible {
  outline: 3px solid var(--sh-orange);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--sh-forest);
  font-family: var(--sh-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p,
li {
  text-wrap: pretty;
}

.wrap,
.wp-block-group.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.content-narrow {
  max-width: 780px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--sh-paper);
  color: var(--sh-forest);
}

.site-topbar {
  position: relative;
  z-index: 30;
  background: var(--sh-forest);
  color: var(--sh-paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 24px;
}

.site-topbar__contact {
  display: flex;
  gap: 24px;
}

.site-topbar a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 25;
  top: 0;
  background: rgba(255, 253, 247, 0.95);
  border-bottom: 1px solid rgba(23, 63, 56, 0.1);
  box-shadow: 0 5px 24px rgba(23, 63, 56, 0.05);
  backdrop-filter: blur(16px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(185px, 245px) 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.site-brand__logo {
  display: block;
  width: min(225px, 100%);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.primary-navigation {
  justify-self: end;
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: clamp(13px, 1.65vw, 25px);
  list-style: none;
}

.primary-menu a {
  position: relative;
  color: var(--sh-forest);
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.primary-menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--sh-orange);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-menu > li > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-menu .sub-menu {
  position: absolute;
  display: none;
  padding: 12px;
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius-small);
  box-shadow: var(--sh-shadow-small);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: grid;
}

.header-cta,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  background: var(--sh-berry);
  border: 2px solid var(--sh-berry);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(188, 75, 81, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  color: #fff;
  background: #a93e44;
  box-shadow: 0 12px 24px rgba(188, 75, 81, 0.24);
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--sh-forest);
  background: transparent;
  border-color: var(--sh-teal);
  box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: #fff;
  background: var(--sh-teal);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 13px;
  gap: 9px;
  color: var(--sh-forest);
  font: 800 0.9rem/1 var(--sh-body);
  background: transparent;
  border: 2px solid var(--sh-teal);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle__icon {
  display: grid;
  width: 19px;
  gap: 4px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.scihelp-section,
.scihelp-page-hero,
.scihelp-hero {
  position: relative;
  width: 100%;
  max-width: none !important;
  padding: clamp(76px, 9vw, 126px) 0;
  margin: 0 !important;
}

.scihelp-section--compact {
  padding-top: 45px;
  padding-bottom: 45px;
}

.scihelp-page-hero {
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 clamp(92px, 11vw, 145px);
  background:
    radial-gradient(circle at 83% 18%, rgba(244, 226, 133, 0.8) 0 9%, transparent 9.2%),
    radial-gradient(circle at 92% 68%, rgba(244, 162, 89, 0.42) 0 13%, transparent 13.2%),
    linear-gradient(135deg, #f7f3e8 0%, #edf3e6 100%);
}

.scihelp-page-hero::after,
.scihelp-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 58px;
  content: "";
  background: var(--sh-cream);
  clip-path: polygon(0 58%, 8% 44%, 16% 66%, 25% 40%, 34% 60%, 44% 30%, 55% 59%, 65% 37%, 76% 64%, 87% 40%, 100% 56%, 100% 100%, 0 100%);
}

.scihelp-page-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.scihelp-page-hero h1 {
  max-width: 850px;
  margin-top: 0.25rem;
  margin-bottom: 1.3rem;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
}

.scihelp-page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #385650;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.scihelp-hero {
  overflow: hidden;
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(112px, 13vw, 170px);
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 226, 133, 0.65) 0 7%, transparent 7.2%),
    radial-gradient(circle at 73% 15%, rgba(140, 179, 105, 0.3) 0 13%, transparent 13.2%),
    linear-gradient(135deg, #fffdf7 0%, #f6f3e6 100%);
}

.scihelp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.scihelp-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.5vw, 6.3rem);
}

.scihelp-accent-text {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.scihelp-accent-text::before {
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.05em;
  left: -0.06em;
  height: 0.35em;
  content: "";
  background: var(--sh-sun);
  border-radius: 65% 45% 55% 40%;
  transform: rotate(-1.5deg);
}

.scihelp-lede {
  max-width: 720px;
  color: #385650;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.scihelp-rating {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  margin-bottom: 22px;
  gap: 9px;
  color: var(--sh-forest);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 63, 56, 0.1);
  border-radius: 999px;
  box-shadow: var(--sh-shadow-small);
}

.scihelp-stars {
  color: var(--sh-orange);
  letter-spacing: 0.09em;
}

.hero-actions {
  margin-top: 30px;
  gap: 12px;
}

.scihelp-hero-media {
  position: relative;
  min-height: 520px;
}

.scihelp-hero-media::before,
.scihelp-hero-media::after {
  position: absolute;
  z-index: 0;
  content: "";
}

.scihelp-hero-media::before {
  top: 2%;
  right: -10%;
  width: 74%;
  aspect-ratio: 1;
  background: var(--sh-orange);
  border-radius: 46% 54% 62% 38% / 54% 36% 64% 46%;
  opacity: 0.92;
  transform: rotate(14deg);
}

.scihelp-hero-media::after {
  bottom: -5%;
  left: -9%;
  width: 58%;
  aspect-ratio: 1;
  background: var(--sh-leaf);
  border-radius: 50%;
  opacity: 0.9;
}

.scihelp-hero-image {
  position: relative;
  z-index: 1;
  height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--sh-teal);
  border: 10px solid #fff;
  border-radius: 42% 58% 43% 57% / 55% 38% 62% 45%;
  box-shadow: var(--sh-shadow);
  transform: rotate(1.5deg);
}

.scihelp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}

.scihelp-badge {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 1;
  margin: 0;
  color: var(--sh-forest);
  font: 800 1rem/1.15 var(--sh-display);
  text-align: center;
  background: var(--sh-sun);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: var(--sh-shadow-small);
  transform: rotate(7deg);
}

.scihelp-eyebrow,
.eyebrow {
  margin-bottom: 10px !important;
  color: var(--sh-berry);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scihelp-section-head {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.scihelp-section-head.is-centred {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.scihelp-section-head h2 {
  margin-top: 0;
  margin-bottom: 17px;
}

.scihelp-grid-2,
.scihelp-grid-3,
.scihelp-grid-4,
.scihelp-split,
.scihelp-contact-grid {
  display: grid;
  align-items: stretch;
  gap: clamp(20px, 3vw, 32px);
}

.scihelp-grid-2,
.scihelp-split,
.scihelp-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.scihelp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scihelp-split,
.scihelp-contact-grid {
  align-items: center;
  gap: clamp(42px, 8vw, 90px);
}

.scihelp-card,
.scihelp-price-card,
.scihelp-review-card,
.scihelp-panel {
  position: relative;
  height: 100%;
  padding: clamp(24px, 3.2vw, 36px);
  overflow: hidden;
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
  box-shadow: 0 8px 30px rgba(23, 63, 56, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.scihelp-card::before,
.scihelp-review-card::before {
  position: absolute;
  top: -22px;
  right: -20px;
  width: 88px;
  aspect-ratio: 1;
  content: "";
  background: var(--sh-sun);
  border-radius: 48% 52% 44% 56%;
  opacity: 0.52;
}

.scihelp-card:hover,
.scihelp-price-card:hover,
.scihelp-review-card:hover {
  border-color: rgba(91, 142, 125, 0.5);
  box-shadow: var(--sh-shadow);
  transform: translateY(-7px);
}

.scihelp-card h3,
.scihelp-price-card h3,
.scihelp-review-card h3 {
  margin-top: 0;
}

.scihelp-card p:last-child,
.scihelp-review-card p:last-child {
  margin-bottom: 0;
}

.scihelp-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 22px !important;
  color: var(--sh-forest);
  font-size: 1.65rem;
  background: var(--sh-sun);
  border-radius: 17px 22px 16px 25px;
  transform: rotate(-3deg);
}

.scihelp-card:nth-child(3n + 2) .scihelp-card-icon {
  background: rgba(244, 162, 89, 0.65);
  transform: rotate(3deg);
}

.scihelp-card:nth-child(3n + 3) .scihelp-card-icon {
  background: rgba(140, 179, 105, 0.62);
  transform: rotate(-1deg);
}

.scihelp-soft {
  background: var(--sh-soft);
}

.scihelp-sun {
  background: #fff7cf;
}

.scihelp-teal {
  color: #fff;
  background: var(--sh-forest);
}

.scihelp-teal h2,
.scihelp-teal h3,
.scihelp-teal h4,
.scihelp-teal p,
.scihelp-teal li,
.scihelp-teal a:not(.wp-element-button) {
  color: inherit;
}

.scihelp-teal .scihelp-eyebrow {
  color: var(--sh-sun);
}

.scihelp-wave-top,
.scihelp-paper-top {
  margin-top: 38px !important;
}

.scihelp-wave-top::before,
.scihelp-paper-top::before {
  position: absolute;
  z-index: 1;
  top: -38px;
  right: 0;
  left: 0;
  height: 40px;
  content: "";
  background: inherit;
}

.scihelp-wave-top::before {
  clip-path: polygon(0 78%, 6% 35%, 13% 66%, 20% 23%, 28% 62%, 36% 30%, 44% 72%, 52% 20%, 60% 64%, 68% 32%, 77% 76%, 85% 26%, 93% 60%, 100% 22%, 100% 100%, 0 100%);
}

.scihelp-paper-top::before {
  clip-path: polygon(0 55%, 4% 38%, 9% 63%, 15% 42%, 22% 59%, 30% 34%, 37% 60%, 45% 39%, 53% 64%, 61% 40%, 69% 58%, 76% 36%, 83% 65%, 91% 43%, 96% 60%, 100% 44%, 100% 100%, 0 100%);
}

.scihelp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px;
  gap: 8px;
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
}

.scihelp-stat {
  padding: 22px 15px;
  text-align: center;
  border-right: 1px solid var(--sh-border);
}

.scihelp-stat:last-child {
  border-right: 0;
}

.scihelp-stat strong {
  display: block;
  color: var(--sh-berry);
  font: 850 clamp(1.7rem, 3.4vw, 2.7rem)/1 var(--sh-display);
}

.scihelp-stat span {
  display: block;
  margin-top: 8px;
  color: var(--sh-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.scihelp-photo {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 31% 69% 48% 52% / 54% 36% 64% 46%;
  box-shadow: var(--sh-shadow);
  transform: rotate(-1.2deg);
}

.scihelp-photo img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.scihelp-pills {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.scihelp-pills .wp-block-list-item,
.scihelp-pills > li {
  padding: 8px 13px;
  margin: 0;
  color: var(--sh-forest);
  font-size: 0.84rem;
  font-weight: 750;
  background: rgba(244, 226, 133, 0.94);
  border: 1px solid rgba(244, 226, 133, 0.55);
  border-radius: 999px;
}

.scihelp-teal .scihelp-pills .wp-block-list-item,
.scihelp-teal .scihelp-pills > li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.scihelp-review-card .scihelp-stars {
  margin-bottom: 12px;
}

.scihelp-review-card h3 {
  color: var(--sh-berry);
}

.scihelp-price-grid {
  align-items: stretch;
}

.scihelp-price-card {
  display: flex;
  flex-direction: column;
}

.scihelp-price-card .wp-block-buttons {
  margin-top: auto;
}

.scihelp-price-card.is-featured {
  color: #fff;
  background: var(--sh-forest);
  border-color: var(--sh-forest);
  transform: translateY(-10px);
}

.scihelp-price-card.is-featured:hover {
  transform: translateY(-16px);
}

.scihelp-price-card.is-featured h3,
.scihelp-price-card.is-featured p,
.scihelp-price-card.is-featured li {
  color: inherit;
}

.scihelp-price {
  margin: 12px 0 22px !important;
  color: var(--sh-berry);
  font: 850 clamp(2.2rem, 4vw, 3.5rem)/1 var(--sh-display);
}

.is-featured .scihelp-price {
  color: var(--sh-sun);
}

.scihelp-price small {
  font: 700 0.9rem/1.2 var(--sh-body);
}

.scihelp-check-list {
  padding-left: 1.35rem;
  margin-bottom: 28px;
}

.scihelp-check-list li {
  margin-bottom: 8px;
}

.scihelp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius-small);
}

.scihelp-table-wrap table,
.wp-block-table.scihelp-rate-table table {
  width: 100%;
  margin: 0;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
}

.scihelp-rate-table th,
.scihelp-rate-table td {
  padding: 16px 18px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--sh-border);
}

.scihelp-rate-table th {
  color: #fff;
  background: var(--sh-teal);
}

.scihelp-rate-table tr:last-child td {
  border-bottom: 0;
}

.scihelp-timeline {
  position: relative;
  padding-left: 24px;
  margin: 0;
  list-style: none;
  border-left: 3px solid rgba(91, 142, 125, 0.32);
}

.scihelp-timeline li {
  position: relative;
  padding: 0 0 27px 12px;
}

.scihelp-timeline li::before {
  position: absolute;
  top: 8px;
  left: -31px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--sh-orange);
  border: 3px solid var(--sh-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--sh-orange);
}

.scihelp-timeline strong,
.scihelp-timeline span {
  display: block;
}

.scihelp-timeline span {
  color: var(--sh-muted);
  font-size: 0.95rem;
}

.scihelp-contact-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.scihelp-contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.scihelp-contact-list strong {
  color: var(--sh-sun);
}

.scihelp-form-slot {
  color: var(--sh-ink);
}

.scihelp-form-slot .wp-block-shortcode {
  margin: 0;
}

.scihelp-form-preview,
.scihelp-form-slot .forminator-ui {
  padding: clamp(24px, 4vw, 42px) !important;
  background: #fff !important;
  border: 1px solid var(--sh-border) !important;
  border-radius: var(--sh-radius) !important;
  box-shadow: var(--sh-shadow) !important;
}

.scihelp-form-preview label,
.scihelp-form-slot .forminator-label {
  display: grid;
  margin-bottom: 17px;
  gap: 7px;
  color: var(--sh-forest) !important;
  font-size: 0.87rem !important;
  font-weight: 800 !important;
}

.scihelp-form-preview input,
.scihelp-form-preview textarea,
.scihelp-form-slot .forminator-input,
.scihelp-form-slot .forminator-textarea,
.scihelp-form-slot .forminator-select2 .select2-selection {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px !important;
  color: var(--sh-ink) !important;
  font: inherit !important;
  background: #fbfcf8 !important;
  border: 1px solid #bacbc5 !important;
  border-radius: 10px !important;
}

.scihelp-form-preview textarea,
.scihelp-form-slot .forminator-textarea {
  resize: vertical;
}

.scihelp-form-preview__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scihelp-form-preview__editor-note {
  padding: 12px 14px;
  color: var(--sh-forest);
  font-size: 0.84rem;
  background: #fff7cf;
  border-left: 4px solid var(--sh-orange);
  border-radius: 8px;
}

.scihelp-form-preview__message {
  margin: 15px 0 0;
  color: var(--sh-muted);
  font-size: 0.86rem;
}

.scihelp-form-preview button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.scihelp-form-slot .forminator-button-submit {
  min-height: 48px !important;
  padding: 0.8rem 1.35rem !important;
  color: #fff !important;
  font-weight: 800 !important;
  background: var(--sh-berry) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.site-main > .wp-block-group:first-child {
  margin-top: 0;
}

.site-footer {
  position: relative;
  padding: 80px 0 25px;
  color: rgba(255, 255, 255, 0.82);
  background: #102f2a;
}

.site-footer::before {
  position: absolute;
  top: -36px;
  right: 0;
  left: 0;
  height: 38px;
  content: "";
  background: #102f2a;
  clip-path: polygon(0 67%, 7% 31%, 14% 63%, 22% 40%, 30% 72%, 38% 30%, 46% 61%, 55% 36%, 64% 70%, 72% 28%, 81% 61%, 90% 38%, 100% 65%, 100% 100%, 0 100%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1fr;
  gap: clamp(36px, 8vw, 100px);
}

.site-brand--footer {
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
}

.site-brand--footer .site-brand__logo {
  width: 215px;
}

.site-footer h2 {
  margin-top: 0;
  color: var(--sh-sun);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer__byline {
  color: var(--sh-sun);
  font-weight: 800;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 55px;
  gap: 20px;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.scihelp-archive,
.scihelp-singular,
.scihelp-error-page {
  min-height: 60vh;
  padding: clamp(70px, 9vw, 120px) 0;
}

.scihelp-error-page {
  text-align: center;
}

.scihelp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scihelp-post-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: minmax(170px, 210px) 1fr auto;
    gap: 18px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .admin-bar .site-header {
    top: 32px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: fixed;
    z-index: -1;
    top: 116px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    height: calc(100dvh - 116px);
    padding: 28px 20px 60px;
    overflow-y: auto;
    background: var(--sh-cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .admin-bar .primary-navigation {
    top: 148px;
    height: calc(100dvh - 148px);
  }

  .menu-is-open .primary-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-is-open .menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-is-open .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-is-open .menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-menu,
  .primary-menu ul {
    display: grid;
    align-items: stretch;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    gap: 0;
  }

  .primary-menu a {
    display: block;
    padding: 16px 8px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--sh-border);
  }

  .primary-menu > li > a::after {
    display: none;
  }

  .primary-menu .sub-menu {
    position: static;
    display: grid;
    padding: 0 0 0 18px;
    box-shadow: none;
  }

  .scihelp-hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 42px;
  }

  .scihelp-hero-media,
  .scihelp-hero-image {
    min-height: 450px;
    height: 450px;
  }

  .scihelp-grid-3,
  .scihelp-grid-4,
  .scihelp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .primary-navigation {
    top: 162px;
    height: calc(100dvh - 162px);
  }

  .site-topbar__inner {
    justify-content: center;
  }

  .site-topbar__inner > span,
  .site-topbar__contact a:first-child {
    display: none;
  }

  .scihelp-hero-grid,
  .scihelp-split,
  .scihelp-contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .scihelp-hero-media {
    width: min(570px, 94%);
    min-height: 500px;
    height: 500px;
    margin: 0 auto;
  }

  .scihelp-hero-image {
    min-height: 500px;
    height: 500px;
  }

  .scihelp-split .scihelp-photo {
    order: 0;
  }

  .scihelp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .scihelp-stat:nth-child(2) {
    border-right: 0;
  }

  .scihelp-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--sh-border);
  }

  .scihelp-price-card.is-featured,
  .scihelp-price-card.is-featured:hover {
    transform: none;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .wp-block-group.wrap {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .site-brand__logo {
    width: 170px;
    max-height: 60px;
  }

  .primary-navigation {
    top: 110px;
    height: calc(100dvh - 110px);
  }

  .admin-bar .primary-navigation {
    top: 156px;
    height: calc(100dvh - 156px);
  }

  .scihelp-section,
  .scihelp-page-hero,
  .scihelp-hero {
    padding-top: 68px;
    padding-bottom: 82px;
  }

  .scihelp-hero {
    padding-bottom: 120px;
  }

  .scihelp-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .scihelp-grid-2,
  .scihelp-grid-3,
  .scihelp-grid-4,
  .scihelp-post-grid {
    grid-template-columns: 1fr;
  }

  .scihelp-hero-media,
  .scihelp-hero-image {
    min-height: 390px;
    height: 390px;
  }

  .scihelp-badge {
    right: -5px;
    bottom: -8px;
    width: 96px;
  }

  .scihelp-photo,
  .scihelp-photo img {
    min-height: 380px;
  }

  .scihelp-card,
  .scihelp-price-card,
  .scihelp-review-card,
  .scihelp-panel {
    padding: 25px 22px;
  }

  .scihelp-contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .scihelp-form-preview__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-actions,
  .hero-actions .wp-block-button {
    width: 100%;
  }

  .hero-actions .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .scihelp-card:hover,
  .scihelp-price-card:hover,
  .scihelp-review-card:hover,
  .wp-element-button:hover,
  .wp-block-button__link:hover {
    transform: none;
  }
}

