@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/raleway-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-semibold.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-bold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display.ttf") format("truetype");
}

:root {
  --sh-lime: #8cc042;
  --sh-deep-lime: #4e6e23;
  --sh-charcoal: #1c201e;
  --sh-chalk: #fbf9f3;
  --sh-sand: #ece4d3;
  --sh-eucalyptus: #628172;
  --sh-rule: rgba(28, 32, 30, 0.18);
  --sh-shadow: 0 2px 10px rgba(28, 32, 30, 0.18);
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
a { text-underline-offset: 0.2em; }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--sh-lime);
  outline-offset: 3px;
}

.sh-header { border-bottom: 6px solid var(--sh-lime); }
.sh-header > .wp-block-group { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.sh-header .wp-block-site-logo img { width: auto; max-height: 58px; }
.sh-header a { text-decoration: none; }
.sh-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  font-size: 1.075rem;
  font-weight: 600;
}
.sh-header .wp-block-navigation-item__content:hover,
.sh-header .wp-block-navigation-item__content:focus-visible { color: var(--sh-lime); }
.sh-header .wp-block-navigation__submenu-icon { color: #fff; }
.sh-header .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-icon,
.sh-header .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-icon { color: var(--sh-lime); }
.sh-header .wp-block-navigation__submenu-container {
  min-width: 250px !important;
  padding: 6px !important;
  background: var(--sh-charcoal) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.sh-header .wp-block-navigation__submenu-container .wp-block-navigation-item {
  background: transparent !important;
  color: #fff !important;
}
.sh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  box-sizing: border-box;
  width: 100%;
  padding: .75rem 1rem !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
}
.sh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.sh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  background: var(--sh-lime) !important;
  color: var(--sh-charcoal) !important;
}
.sh-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--sh-charcoal) !important;
  color: #fff !important;
}

.sh-section { padding-block: clamp(4rem, 8vw, 7rem); }
.sh-section-compact { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.sh-section--sand { background: var(--sh-sand); }
.sh-section--chalk { background: var(--sh-chalk); }
.sh-section--dark { background: var(--sh-charcoal); color: #fff; }
.sh-section--lime { background: var(--sh-lime); color: var(--sh-charcoal); }
.sh-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sh-reading { width: min(800px, 100%); }

.sh-eyebrow {
  color: var(--sh-deep-lime);
  font-family: Raleway, Inter, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sh-section--dark .sh-eyebrow { color: var(--sh-lime); }
.sh-rule { width: 84px; border: 0; border-top: 5px solid var(--sh-lime); margin: 1.25rem 0 2rem; }

.sh-hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  background: var(--sh-charcoal);
  color: #fff;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.sh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sh-hero-image, none) center/cover no-repeat;
  opacity: 0.35;
}
.sh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.4) 100%);
}
.sh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sh-hero__grid > *, .sh-grid > *, .sh-gallery > * { min-width: 0; }
.sh-hero h1 { max-width: 760px; margin-top: 0; }
.sh-hero__image { width: 100%; max-width: 100%; }
.sh-hero__image img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--sh-lime); border-radius: 4px; box-shadow: var(--sh-shadow); }

.sh-grid { display: grid; gap: 24px; }
.sh-grid > * { margin-block-start: 0 !important; }
.sh-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.sh-grid--services .sh-card { display: flex; flex-direction: column; height: 100%; }
.sh-grid--services .sh-card > .sh-card__body { display: flex; flex: 1; flex-direction: column; width: 100%; box-sizing: border-box; }
.sh-grid--services .sh-card > .sh-card__body > :last-child { margin-top: auto; }
.sh-grid--projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-card { background: #fff; border: 1px solid var(--sh-rule); border-radius: 6px; overflow: clip; }
.sh-card__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.sh-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .25s ease; }
.sh-card:hover img { transform: scale(1.02); }
.sh-card h3 { margin-top: 0; }
.sh-card a { font-family: Raleway, Inter, Arial, sans-serif; font-weight: 700; }

.sh-band { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sh-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sh-process--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-step { border-top: 4px solid var(--sh-lime); padding: 1.5rem; background: rgba(255,255,255,.06); }
.sh-step__number { color: var(--sh-lime); font: 700 clamp(2.4rem, 4vw, 4.25rem)/1 Raleway, sans-serif; }

.sh-project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--sh-rule); border: 1px solid var(--sh-rule); }
.sh-project-meta > div { background: #fff; padding: 1.25rem; }
.sh-project-meta strong { display: block; font: 700 .75rem/1.2 Raleway, sans-serif; letter-spacing: .1em; color: var(--sh-deep-lime); margin-bottom: .5rem; }
.sh-gallery { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.sh-gallery img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 4px; }

.sh-quote { border: 0; border-left: 6px solid var(--sh-lime); margin: 0; padding: clamp(1.5rem, 4vw, 3rem); background: #fff; }
.sh-quote p { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.25; }
.sh-quote cite { font-family: Raleway, sans-serif; font-size: .9rem; font-style: normal; font-weight: 700; }

.sh-faq details { border-top: 1px solid var(--sh-rule); padding: 1.25rem 0; }
.sh-faq details:last-child { border-bottom: 1px solid var(--sh-rule); }
.sh-faq summary { cursor: pointer; font: 700 1.1rem/1.35 Raleway, sans-serif; }
.sh-faq details > p { max-width: 760px; }

.sh-form-placeholder { border: 2px dashed var(--sh-eucalyptus); padding: clamp(1.5rem, 4vw, 3rem); background: #fff; }
.sh-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sh-form-placeholder label { display: grid; gap: 8px; font-family: Raleway, sans-serif; font-weight: 700; }
.sh-form-placeholder input, .sh-form-placeholder textarea, .sh-form-placeholder select { width: 100%; box-sizing: border-box; border: 1px solid #757a77; border-radius: 2px; padding: .9rem; font: inherit; background: #fff; }
.sh-form-placeholder textarea { min-height: 160px; }

.sh-footer a { color: #fff; }
.sh-footer a:hover { color: var(--sh-lime); }
.sh-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.sh-footer__rule { border-color: var(--sh-lime); opacity: 1; }

.sh-legacy-content > * + * { margin-top: 1.25rem; }
.sh-legacy-content img { max-width: 100%; height: auto; }
.sh-legacy-content h2, .sh-legacy-content h3 { margin-top: 2.5rem; }

.sh-anchor-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.sh-anchor-nav a { font-family: Raleway, Inter, Arial, sans-serif; font-weight: 700; }
.sh-gallery-section { padding-block: clamp(2.75rem, 6vw, 5rem); border-top: 1px solid var(--sh-rule); }
.sh-gallery-section:first-child { border-top: 0; }
.sh-archive-gallery { margin-top: 2rem; }
.sh-archive-gallery .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.sh-archive-gallery figcaption { font-size: .875rem; }
.sh-content-stack > * + * { margin-block-start: 1.25rem; }
.sh-content-stack > h2, .sh-content-stack > h3 { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.sh-testimonial-list { display: grid; gap: 24px; }
.sh-testimonial-list .sh-quote p { font-size: clamp(1.2rem, 2vw, 1.7rem); }
.sh-form-field-preview { border: 1px solid #757a77; background: #fff; border-radius: 2px; padding: .9rem 1rem; color: #505552; }
.sh-advice-query { margin-top: clamp(2.5rem, 5vw, 4rem); }

@media (max-width: 900px) {
  .sh-hero__grid, .sh-gallery { grid-template-columns: 1fr; }
  .sh-hero { min-height: 0; }
  .sh-hero__image { max-width: 680px; }
  .sh-process, .sh-process--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-project-meta, .sh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .sh-container { width: min(100% - 32px, 1200px); }
  .sh-grid--services, .sh-grid--projects, .sh-process, .sh-process--six, .sh-project-meta, .sh-footer__grid, .sh-form-grid { grid-template-columns: 1fr; }
  .sh-section { padding-block: 3.5rem; }
  .sh-hero { padding-block: 3.5rem; }
  .sh-card__body { padding: 1.25rem; }
  .sh-hero h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); overflow-wrap: break-word; }
  .sh-hero__copy, .sh-hero__image { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
