:root {
  --navy: #00182a;
  --slate: #495d6f;
  --green: #16a672;
  --green-bright: #28c995;
  --ink: #0b2438;
  --muted: #627180;
  --line: rgba(10, 39, 58, 0.13);
  --shadow: 0 20px 60px rgba(0, 24, 42, 0.12);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

/* Motion system ----------------------------------------------------------- */
.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  filter: blur(4px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform .9s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    filter .7s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.motion-ready .visual-card.motion-reveal {
  transform: translate3d(54px, 24px, 0) scale(.96);
}

.motion-ready .visual-card.motion-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .hero-content>*,
.motion-ready .page-hero .container>* {
  opacity: 0;
  transform: translate3d(0, 52px, 0) skewY(2deg);
  filter: blur(6px);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1),
    transform 1s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease;
}

.motion-ready .hero-carousel-nav {
  opacity: 0;
  transform: translate3d(34px, 18px, 0);
  filter: blur(6px);
  transition: opacity .9s ease .3s, transform 1s cubic-bezier(.22, 1, .36, 1) .3s, filter .8s ease .3s;
}

.motion-ready .hero-entered .hero-content>*,
.motion-ready .hero-entered.page-hero .container>* {
  opacity: 1;
  transform: translate3d(0, 0, 0) skewY(0);
  filter: blur(0);
}

.motion-ready .hero-entered .hero-carousel-nav {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.motion-ready .hero-entered .hero-content> :nth-child(1),
.motion-ready .hero-entered.page-hero .container> :nth-child(1) {
  transition-delay: .08s;
}

.motion-ready .hero-entered .hero-content> :nth-child(2),
.motion-ready .hero-entered.page-hero .container> :nth-child(2) {
  transition-delay: .18s;
}

.motion-ready .hero-entered .hero-content> :nth-child(3),
.motion-ready .hero-entered.page-hero .container> :nth-child(3) {
  transition-delay: .31s;
}

.motion-ready .hero-entered .hero-content> :nth-child(4) {
  transition-delay: .42s;
}

.motion-ready .hero-entered .hero-content> :nth-child(5) {
  transition-delay: .52s;
}

.motion-ready .hero .pillar-card {
  opacity: 0;
  transform: translate3d(0, 54px, 0) scale(.96);
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, background .3s ease;
}

.motion-ready .hero-entered .pillar-card {
  opacity: 1;
  transform: none;
}

.motion-ready .hero-entered .pillar-card:nth-child(1) {
  transition-delay: .5s;
}

.motion-ready .hero-entered .pillar-card:nth-child(2) {
  transition-delay: .62s;
}

.motion-ready .hero-entered .pillar-card:nth-child(3) {
  transition-delay: .74s;
}

.motion-ready .hero-settled .pillar-card {
  transition-delay: 0s;
}

@keyframes fingerprint-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg) scale(1.05);
  }

  50% {
    transform: translate3d(-14px, 10px, 0) rotate(-3deg) scale(1.075);
  }
}

@keyframes header-arrive {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-ready .header-inner>* {
  animation: header-arrive .7s cubic-bezier(.22, 1, .36, 1) both;
}

.motion-ready .header-inner> :nth-child(2) {
  animation-delay: .08s;
}

.motion-ready .header-inner> :nth-child(3) {
  animation-delay: .14s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 40px);
  margin: 0 auto;
  padding-inline: 20px;
}

.narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-inline: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 18px;
  background: var(--hawthorne-brand-motif-image) center / contain no-repeat;
  flex: 0 0 auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -.035em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.65rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 650;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 650;
}

p {
  color: var(--muted);
}

.section-dark p {
  color: rgba(255, 255, 255, .72);
}

/* Neve removes bullets from every list and only restores them inside its own
   content wrapper, which these templates don't use. Restore them for List
   blocks added in the editor. Kept at class-level specificity so designed
   lists further down (such as .detail-points) still win. */
:where(ul, ol).wp-block-list {
  padding-left: 1.4em;
  color: var(--muted);
  list-style-type: disc;
}

:where(ol).wp-block-list {
  list-style-type: decimal;
}

:where(.wp-block-list) :where(ul).wp-block-list {
  list-style-type: circle;
}

:where(.section-dark) :where(ul, ol).wp-block-list {
  color: rgba(255, 255, 255, .72);
}

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  max-width: 720px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 0;
  transition: background-color .25s ease;
  color: #fff;
}

.site-header.scrolled {
  background: rgba(0, 24, 42, .92);
  backdrop-filter: blur(18px);
  border-bottom: 0;
}

.header-inner {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
}

.container.header-inner {
  width: calc(100% - 64px);
  max-width: none;
  padding-inline: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 auto;
}

.logo img {
  width: 168px;
  height: auto;
  transition: width .28s cubic-bezier(.22, 1, .36, 1);
}

.site-header.scrolled .logo img {
  width: 120px;
}

.logo img,
.footer-brand img {
  background: transparent;
}

.logo {
  line-height: 0;
}

.nav-wrap {
  display: contents;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
  grid-column: 2;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 12px 34px rgba(0, 8, 18, .2);
  backdrop-filter: blur(18px) saturate(135%);
}

.header-cta {
  grid-column: 3;
  justify-self: end;
}

.nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 10% 52%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  pointer-events: none;
}

.nav a {
  position: relative;
  z-index: 1;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 650;
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.nav a.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(40, 201, 149, .34), rgba(22, 166, 114, .2));
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 4px 14px rgba(0, 0, 0, .14);
}

.header-cta,
.btn {
  --button-border: rgba(255, 255, 255, .72);
  --button-fill: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 25px;
  border: 0;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--button-border);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.header-cta::after,
.btn::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 1px;
  background: var(--button-fill);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .25s ease;
}

.header-cta::before,
.btn::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  right: 1px;
  bottom: 1px;
  z-index: -1;
  background: var(--green);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transform: scaleX(.018);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}

.header-cta:hover,
.btn:hover {
  --button-border: var(--green-bright);
  color: white;
}

.header-cta:hover::before,
.btn:hover::before {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  z-index: 103;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transform-origin: center;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), opacity .16s ease;
}

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

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

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

.menu-backdrop {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
  margin: 0;
  padding: 160px 0 58px;
  border-radius: 0;
  box-shadow: none;
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.08);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1s ease, transform 6.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.035);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 10, 20, .34) 0%, rgba(0, 15, 27, .02) 57%, rgba(0, 10, 20, .2) 100%),
    linear-gradient(180deg, rgba(0, 15, 27, .03) 0%, transparent 42%, rgba(0, 10, 20, .8) 100%),
    radial-gradient(circle at 73% 32%, rgba(40, 201, 149, .09), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 22% 78%, rgba(40, 201, 149, .04));
  pointer-events: none;
}

.hero>.container {
  width: min(1680px, calc(100% - 80px));
  padding-inline: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 34px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1120px;
}

.hero .eyebrow {
  color: #b8c7d3;
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(4.6rem, 7.7vw, 8.8rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero-statement {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}

.hero-carousel-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-bottom: 0;
}

.hero-carousel-nav button {
  position: relative;
  padding: 8px 14px 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .58);
  text-align: center;
  font-size: clamp(.62rem, .8vw, .76rem);
  line-height: 1.35;
  letter-spacing: .035em;
  font-weight: 600;
  cursor: pointer;
  transition: color .25s ease;
}

.hero-carousel-nav button::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, var(--green-bright));
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}

.hero-carousel-nav button:hover {
  color: rgba(255, 255, 255, .86);
}

.hero-carousel-nav button.is-active {
  color: #fff;
}

.hero-carousel-nav button.is-active::after {
  width: calc(100% - 28px);
}

.pillar-section {
  padding: 70px 0 88px;
  background: var(--navy);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: calc(100% - 20px);
  margin-inline: auto;
  align-items: stretch;
  margin-top: 0;
}

.pillar-grid.is-layout-flow>.pillar-card,
.service-grid.is-layout-flow>.service-item {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Otter Section/Column markup used by the editable card layouts. */
.pillar-grid.wp-block-themeisle-blocks-advanced-columns,
.service-grid.wp-block-themeisle-blocks-advanced-columns {
  display: block;
}

.pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
.service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: none;
}

.pillar-grid .wp-block-themeisle-blocks-advanced-column,
.service-grid .wp-block-themeisle-blocks-advanced-column {
  min-width: 0;
  margin: 0;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 215px;
  width: calc(100% - 20px);
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: polygon(0 var(--brand-cut), var(--brand-cut) 0, 100% 0, 100% 100%, 0 100%);
  padding: 16px 16px 26px;
  border: 1px solid rgba(235, 247, 252, .44);
  background: linear-gradient(145deg, rgba(245, 250, 252, .34), rgba(218, 234, 241, .15));
  backdrop-filter: blur(22px) saturate(130%);
  border-radius: 0;
  box-shadow: inset 0 1px rgba(255, 255, 255, .48), inset 0 -1px rgba(255, 255, 255, .09), 0 20px 46px rgba(0, 7, 16, .22);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, background .3s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .13), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(40, 201, 149, .14), transparent 34%);
  pointer-events: none;
}

.pillar-card:hover {
  transform: none;
  border-color: rgba(40, 201, 149, .65);
  background: linear-gradient(145deg, rgba(250, 253, 254, .4), rgba(194, 229, 224, .18));
  box-shadow: inset 0 1px rgba(255, 255, 255, .58), inset 0 -1px rgba(255, 255, 255, .11), 0 24px 54px rgba(0, 8, 18, .3), 0 0 32px rgba(40, 201, 149, .08);
}

.motion-ready .hero-entered .pillar-card:hover {
  transform: none;
}

.pillar-card h3 {
  min-height: 2.1em;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 0;
}

.pillar-card::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 78px;
  height: 3px;
  background: linear-gradient(90deg, var(--slate) 0 34%, var(--green) 34% 100%);
  opacity: .9;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: .95fr 1.05fr;
}

.visual-card {
  min-height: 520px;
  width: calc(100% - 20px);
  margin-left: 0;
  clip-path: polygon(0 26px, 26px 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, transparent 0 38%, rgba(0, 24, 42, .12) 38% 39%, transparent 39% 52%, rgba(22, 166, 114, .18) 52% 53%, transparent 53%),
    linear-gradient(130deg, #cfd9df, #f5f7f8 45%, #9eabb5 46%, #d9e0e4 62%, #263d4d 63%, #8aa0af);
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 48%, transparent 61%);
  transform: translateX(-55%) rotate(8deg);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.visual-card:hover::before {
  transform: translateX(45%) rotate(8deg);
}

.visual-card::after {
  content: none;
  position: absolute;
  left: 30px;
  bottom: 30px;
  max-width: 210px;
  color: #fff;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.7;
}

.copy-block h2 {
  margin-bottom: 24px;
}

.copy-block .btn {
  margin-top: 16px;
}

.service-section {
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 45%;
  height: 100%;
  opacity: .12;
  background: linear-gradient(135deg, transparent 0 30%, rgba(94, 120, 140, .2) 30% 32%, transparent 32% 58%, rgba(22, 166, 114, .24) 58% 60%, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.section-title-row p {
  max-width: 420px;
  margin-bottom: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: calc(100% - 20px);
  margin-inline: auto;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: calc(100% - 20px);
  margin-inline: auto;
  color: inherit;
  text-decoration: none;
  padding: 16px 16px 26px;
  border: 1px solid rgba(235, 247, 252, .44);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(245, 250, 252, .33), rgba(218, 234, 241, .14));
  box-shadow: inset 0 1px rgba(255, 255, 255, .48), inset 0 -1px rgba(255, 255, 255, .09), 0 22px 54px rgba(0, 8, 18, .26);
  backdrop-filter: blur(22px) saturate(130%);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, background .3s ease;
}

.service-item:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.service-item:hover {
  transform: none;
  border-color: rgba(40, 201, 149, .62);
  background: linear-gradient(145deg, rgba(250, 253, 254, .39), rgba(194, 229, 224, .17));
  box-shadow: inset 0 1px rgba(255, 255, 255, .58), inset 0 -1px rgba(255, 255, 255, .11), 0 28px 62px rgba(0, 7, 16, .34), 0 0 36px rgba(40, 201, 149, .07);
}

.motion-ready .motion-reveal.is-visible.service-item:hover {
  transform: none;
}

.service-item h3,
.service-item .text-link {
  transition: color .25s ease;
}

.service-item:hover h3 {
  color: var(--green-bright);
  transform: none;
}

.service-item:hover .text-link {
  color: var(--green-bright);
}

.service-visual {
  position: relative;
  height: 236px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(40, 201, 149, .34);
  border-radius: 0;
  background-color: #062238;
  background-image:
    linear-gradient(180deg, transparent 34%, rgba(0, 13, 24, .85)),
    var(--hawthorne-fingerprint-image);
  background-size: cover, 135%;
  background-position: center, center;
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 14px 30px rgba(0, 6, 14, .2);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease, border-color .3s ease, box-shadow .3s ease;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(112deg, transparent 37%, rgba(255, 255, 255, .16) 49%, transparent 61%);
  opacity: 0;
  transform: translateX(-55%) rotate(7deg);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.service-item:hover .service-visual::before {
  opacity: 1;
  transform: translateX(48%) rotate(7deg);
}

.service-item:hover .service-visual {
  transform: scale(1.018);
  filter: brightness(1.08) saturate(1.06);
  border-color: rgba(40, 201, 149, .68);
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 18px 38px rgba(0, 6, 14, .32);
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 18%, rgba(40, 201, 149, .24), transparent 32%);
}

.service-visual span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-number {
  color: var(--green-bright);
  font-size: .76rem;
  letter-spacing: .15em;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-item h3 {
  min-height: 2.5em;
  margin-bottom: 18px;
}

.service-item p {
  min-height: 5.1em;
  font-size: .95rem;
  color: rgba(255, 255, 255, .76);
}

.service-item .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.text-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-weight: 700;
  font-size: .92rem;
}

.credentials {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.credential-list {
  display: grid;
  gap: 16px;
}

.credential {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.credential-icon {
  --tile-border: var(--line);
  --tile-fill: #fff;
  width: 56px;
  height: 48px;
  border: 0;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tile-border);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  color: var(--green);
  flex: 0 0 auto;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), color .3s ease;
}

.credential-icon::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: var(--tile-fill);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background-color .3s ease;
}

.credential:hover .credential-icon {
  --tile-border: var(--green-bright);
  --tile-fill: var(--green);
  transform: rotate(-8deg) scale(1.08);
  color: #fff;
}

.credential p {
  margin: 4px 0 0;
  font-size: .9rem;
}

.page-hero {
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(0, 24, 42, .98) 0 50%, rgba(0, 24, 42, .82) 100%), linear-gradient(135deg, #5E788C 0 26%, #DEE1E3 26% 65%, #9EB3BE 65% 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 10px;
  width: min(50vw, 680px);
  aspect-ratio: 1 / 1;
  opacity: .22;
  background: var(--hawthorne-fingerprint-image) center / cover no-repeat;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 65% 55%, #000 24%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .5) 68%, transparent 88%);
  mask-image: radial-gradient(ellipse at 65% 55%, #000 24%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .5) 68%, transparent 88%);
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) rotate(-5deg) scale(1.05);
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
  animation: fingerprint-float 18s ease-in-out infinite;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.35rem);
  max-width: 820px;
  margin-bottom: 20px;
}

.page-hero .lead {
  color: rgba(255, 255, 255, .72);
}

.detail-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .14);
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr 46px;
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: var(--navy);
  clip-path: polygon(0 16px, 16px 0, 100% 0, 100% 100%, 0 100%);
}

.detail-row {
  transition: background .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.detail-row:hover {
  background: #04243a;
  transform: translateX(5px);
}

.motion-ready .motion-reveal.is-visible.detail-row:hover {
  transform: translateX(5px);
}

.detail-row .arrow {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
}

.detail-row:hover .arrow {
  transform: rotate(-35deg);
  border-color: var(--green-bright);
}

.detail-row h3 {
  font-size: 1.1rem;
  margin: 0;
}

.detail-row p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
}

.detail-row .arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 0;
  clip-path: polygon(0 8px, 8px 0, 100% 0, 100% 100%, 0 100%);
  display: grid;
  place-items: center;
}

.detail-points {
  grid-column: 2 / 4;
  margin: 4px 0 4px;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, .67);
  font-size: .9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  list-style: disc outside;
}

.detail-points li {
  padding-left: .15rem;
}

.detail-points li::marker {
  color: rgba(255, 255, 255, .72);
  font-size: .82em;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 68px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-item .small-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green);
}

.contact-item a {
  color: var(--ink);
  text-decoration: none;
}

.contact-form {
  padding: 34px;
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 0 100%);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f9fa);
  box-shadow: var(--shadow);
  border-radius: 0;
}

label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccd5da;
  background: #fff;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: .2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 166, 114, .12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: min(46vw, 600px);
  aspect-ratio: 1 / 1;
  opacity: .18;
  background: var(--hawthorne-fingerprint-image) center / cover no-repeat;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 64% 56%, #000 24%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .5) 68%, transparent 88%);
  mask-image: radial-gradient(ellipse at 64% 56%, #000 24%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .5) 68%, transparent 88%);
  transform: rotate(-4deg) scale(1.05);
  animation: fingerprint-float 18s ease-in-out infinite reverse;
  pointer-events: none;
}

.cta-inner {
  min-height: 330px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  max-width: 700px;
  margin: 0;
}

.site-footer {
  background: #001522;
  color: #fff;
  padding: 64px 0 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 380px;
  height: 380px;
  background: var(--hawthorne-brand-motif-image) center / 180px no-repeat;
  opacity: .06;
  transform: rotate(0deg) scale(2.2);
  /* Decorative only: it overlaps the bottom row and would block its links. */
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 24px;
}

.footer-brand p,
.site-footer p {
  color: rgba(255, 255, 255, .6);
  font-size: .86rem;
}

.footer-sa-badge {
  display: flex;
  align-items: center;
  width: min(100%, 285px);
  margin-top: 24px;

}

.footer-brand .footer-sa-badge img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .67);
  text-decoration: none;
  margin: 8px 0;
  font-size: .88rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.footer-bottom p {
  margin: 0;
}

/* Quick links sit in the third column, leaving space after the brand. */
@media (min-width: 981px) {
  .footer-grid>.footer-col-links {
    grid-column: 3;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-menu a,
.footer-credit a {
  color: rgba(255, 255, 255, .67);
  font-size: .8rem;
  text-decoration: none;
}

.footer-legal-menu a:hover,
.footer-credit a:hover {
  color: #fff;
}

/* Keeps the credit on the right when there are no legal links yet. */
.site-footer .footer-credit {
  margin: 0 0 0 auto;
  font-size: .8rem;
}

.legal-page {
  padding-top: 150px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.legal-note {
  padding: 18px;
  border-left: 3px solid var(--green);
  background: #f3f8f6;
  margin: 30px 0;
}

@media (max-width: 980px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .container.header-inner {
    width: calc(100% - 40px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    display: flex;
    flex-direction: column;
    animation: none !important;
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    width: min(420px, 82vw);
    height: 100dvh;
    padding: 128px 38px 38px;
    overflow-y: auto;
    background: #f7faf9;
    color: var(--navy);
    box-shadow: -24px 0 70px rgba(0, 10, 20, .28);
    /* Clear the shadow's reach too, or it shows as a grey band on the right. */
    transform: translate3d(calc(100% + 100px), 0, 0);
    will-change: transform;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.55, 0, 1, .45);
  }

  .nav-wrap.open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    transition: transform .46s cubic-bezier(.22, 1, .36, 1);
  }

  .nav {
    display: grid;
    gap: 10px;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    clip-path: none;
    overflow: visible;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav::before,
  .nav::after {
    display: none;
  }

  .nav a {
    padding: 15px 16px;
    border-radius: 0;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease, padding-left .3s cubic-bezier(.22, 1, .36, 1);
  }

  .nav a:hover {
    color: var(--green);
    background: rgba(22, 166, 114, .07);
    padding-left: 22px;
  }

  .nav a.active {
    color: var(--navy);
    background: linear-gradient(90deg, rgba(40, 201, 149, .2), rgba(40, 201, 149, .04));
    box-shadow: inset 4px 0 var(--green);
  }

  .header-cta {
    grid-column: auto;
    justify-self: stretch;
    margin-top: auto;
    width: 100%;
    --button-border: var(--navy);
    --button-fill: #f7faf9;
    color: var(--navy);
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    z-index: 99;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 12, 22, .66);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    background: transparent;
    backdrop-filter: none;
  }

  body.menu-open .menu-toggle {
    color: var(--navy);
    background: transparent;
  }

  .hero {
    min-height: 100svh;
    margin: 0;
    padding: 132px 0 44px;
    border-radius: 0;
  }

  .hero>.container {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(4rem, 10vw, 6.4rem);
  }

  .hero-carousel-nav {
    width: 100%;
  }

  .pillar-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: 200px;
  }

  .split,
  .split.reverse,
  .credentials,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .visual-card {
    min-height: 420px;
  }

  .service-item,
  .service-item:first-child,
  .service-item:last-child {
    padding: 16px 16px 26px;
    border: 1px solid rgba(255, 255, 255, .14);
  }

  .service-item h3,
  .service-item p {
    min-height: 0;
  }

  .service-visual {
    height: 260px;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row p {
    margin-top: 20px;
  }

  .detail-row {
    grid-template-columns: 1fr 42px;
  }

  .detail-row p {
    grid-column: 1 / -1;
  }

  .detail-points {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .container,
  .narrow {
    width: 100%;
    padding-inline: 14px;
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    height: 78px;
  }

  .container.header-inner {
    width: calc(100% - 28px);
  }

  .logo img {
    width: 158px;
  }

  .nav-wrap {
    width: min(360px, 84vw);
    padding: 108px 24px 26px;
  }

  .hero {
    min-height: 100svh;
    margin: 0;
    padding: 116px 0 34px;
    border-radius: 0;
  }

  .hero-slide {
    background-position: 60% center;
  }

  .hero>.container {
    width: calc(100% - 28px);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
    line-height: .9;
  }

  .hero-carousel-nav button {
    padding-inline: 5px;
    font-size: .58rem;
  }

  .hero-carousel-nav button::after {
    left: 5px;
  }

  .hero-carousel-nav button.is-active::after {
    width: calc(100% - 10px);
  }

  .page-hero::after {
    right: -50px;
  }

  .pillar-grid {
    margin-top: 0;
  }

  .service-visual {
    height: 190px;
  }

  .contact-form {
    padding: 22px;
  }

  .cta-inner {
    min-height: 300px;
    display: block;
    padding: 70px 0;
  }

  .cta-inner .btn {
    margin-top: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* WordPress integration -------------------------------------------------- */
body.hawthorne-site {
  padding: 0;
}

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

.site-main,
.site-main>.alignfull,
.entry-content,
.wp-site-blocks {
  margin: 0;
}

.site-main>* {
  max-width: none;
}

/* A stray empty paragraph after the last section is easy to add in the
   editor and left a white strip above the footer. */
.site-main>p:empty {
  display: none;
}

/* WordPress adds flow-layout margins to Group block children. These
   components already own their spacing, so keep every repeated card equal. */
.pillar-card.is-layout-flow>*,
.service-item.is-layout-flow>* {
  margin-block-start: 0;
  margin-block-end: 0;
}

.nav ul,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav li {
  margin: 0;
}

.nav .current-menu-item>a,
.nav .current_page_item>a,
.nav .current-menu-ancestor>a {
  color: #fff;
  background: linear-gradient(180deg, rgba(40, 201, 149, .34), rgba(22, 166, 114, .2));
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 4px 14px rgba(0, 0, 0, .14);
}

.logo .custom-logo-link,
.footer-brand .custom-logo-link {
  display: inline-flex;
}

.logo .custom-logo {
  width: 168px;
  height: auto;
  max-height: none;
}

.site-header.scrolled .logo .custom-logo {
  width: 120px;
}

.footer-brand .custom-logo {
  width: 190px;
  height: auto;
}

.footer-heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col .menu a {
  margin: 8px 0;
}

.screen-reader-text {
  position: absolute;
  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 {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--navy);
}

.hawthorne-posts {
  padding-top: 150px;
}

.hawthorne-posts article {
  margin-bottom: 56px;
}

.hawthorne-posts .entry-title a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav ul {
    display: grid;
    gap: 10px;
  }

  .nav .current-menu-item>a,
  .nav .current_page_item>a,
  .nav .current-menu-ancestor>a {
    color: var(--navy);
    background: linear-gradient(90deg, rgba(40, 201, 149, .2), rgba(40, 201, 149, .04));
    box-shadow: inset 4px 0 var(--green);
  }
}

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

/* Native-block and Otter layout equivalents for the original static markup. */
.credential-icon,
.contact-item .small-icon,
.contact-item>.wp-block-group p,
.credential>.wp-block-group p,
.service-visual>p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.service-visual>p {
  position: relative;
  z-index: 1;
}

.hero-carousel-nav.wp-block-buttons {
  flex-wrap: nowrap;
  gap: 0;
}

.hero-carousel-nav .wp-block-button {
  width: 100%;
}

.hero-carousel-nav .wp-block-button__link {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 14px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .58);
  text-align: left;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s ease;
  text-align: center;
}

.hero-carousel-nav .wp-block-button__link::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, var(--green-bright));
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
  text-align: center;
}

.hero-carousel-nav .wp-block-button__link:hover {
  color: rgba(255, 255, 255, .86);
}

.hero-carousel-nav .wp-block-button.is-active .wp-block-button__link {
  color: #fff;
}

.hero-carousel-nav .wp-block-button.is-active .wp-block-button__link::after {
  width: calc(100% - 28px);
}

@media (max-width: 600px) {
  .hero-carousel-nav .wp-block-button__link {
    padding-inline: 5px;
    font-size: .58rem;
  }

  .hero-carousel-nav .wp-block-button__link::after {
    left: 5px;
  }

  .hero-carousel-nav .wp-block-button.is-active .wp-block-button__link::after {
    width: calc(100% - 10px);
  }
}

/* Native Gutenberg/Otter page structure --------------------------------- */
.pillar-grid.wp-block-themeisle-blocks-advanced-columns,
.service-grid.wp-block-themeisle-blocks-advanced-columns,
.split.wp-block-themeisle-blocks-advanced-columns,
.credentials.wp-block-themeisle-blocks-advanced-columns,
.contact-layout.wp-block-themeisle-blocks-advanced-columns,
.section-title-row.wp-block-themeisle-blocks-advanced-columns,
.cta-inner.wp-block-themeisle-blocks-advanced-columns,
.detail-row.wp-block-themeisle-blocks-advanced-columns {
  display: flex;
}

.pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
.service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
  display: flex;
  width: 100%;
  max-width: none;
}

.pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
  align-items: stretch;
}

.pillar-grid .wp-block-themeisle-blocks-advanced-column,
.service-grid .wp-block-themeisle-blocks-advanced-column {
  display: flex;
  min-width: 0;
}

.pillar-grid>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column {
  align-self: stretch;
}

.pillar-grid>.innerblocks-wrap>.wp-block-themeisle-blocks-advanced-column>.pillar-card {
  flex: 0 0 calc(100% - 20px);
  width: calc(100% - 20px);
  margin-inline: auto;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 54px;
  margin: 0 0 30px;
  border: 1px solid rgba(40, 201, 149, .38);
  background: rgba(40, 201, 149, .075);
  clip-path: polygon(0 10px, 10px 0, 100% 0, 100% 100%, 0 100%);
}

.pillar-icon img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.visual-card::after {
  content: none;
}

.visual-card-label {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
  max-width: 240px;
  margin: 0;
  color: #fff;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.7;
}

.service-visual.wp-block-cover {
  height: auto;
  padding: 0;
}

.service-visual .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(0, 13, 24, .02) 32%, rgba(0, 13, 24, .82));
  opacity: 1;
}

.service-visual .wp-block-cover__inner-container {
  align-self: stretch;
  min-height: inherit;
  position: relative;
}

.service-visual-label {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

/* Stretch the existing Learn more link across its service card. The editor
   remains directly editable because this is scoped to the front end only. */
body.hawthorne-site .service-item .text-link a::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  cursor: pointer;
}

body.hawthorne-site .service-item:focus-within {
  border-color: var(--green-bright);
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.hawthorne-button .wp-block-button__link {
  --button-border: rgba(255, 255, 255, .72);
  --button-fill: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 25px;
  border: 0;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--button-border);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease;
}

.hawthorne-button .wp-block-button__link::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 1px;
  background: var(--button-fill);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.hawthorne-button .wp-block-button__link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: var(--green);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transform: scaleX(.018);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}

.hawthorne-button .wp-block-button__link:hover {
  --button-border: var(--green-bright);
}

.hawthorne-button .wp-block-button__link:hover::before {
  transform: scaleX(1);
}

.hawthorne-button.is-style-dark .wp-block-button__link {
  --button-border: rgba(0, 24, 42, .42);
  --button-fill: #fff;
  color: var(--navy);
}

.hawthorne-button.is-style-dark .wp-block-button__link::before {
  background: var(--navy);
}

.hawthorne-button.is-style-dark .wp-block-button__link:hover {
  --button-border: var(--navy);
  color: #fff;
}

.detail-row-wrap {
  background: var(--navy);
  scroll-margin-top: 120px;
}

.detail-row.wp-block-themeisle-blocks-advanced-columns {
  grid-template-columns: none;
}

.detail-row .detail-points {
  margin-top: 18px;
}

.detail-row .arrow {
  margin: 0;
}

.contact-layout .wp-block-gravityforms-form {
  min-width: 0;
}

.contact-form .gform_wrapper {
  margin: 0;
}

@media (max-width: 959px) {

  .motion-ready .visual-card.motion-reveal {
    transform: translate3d(0, 24px, 0) scale(1);
  }

  .pillar-grid.wp-block-themeisle-blocks-advanced-columns,
  .service-grid.wp-block-themeisle-blocks-advanced-columns,
  .split.wp-block-themeisle-blocks-advanced-columns,
  .pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .split.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .pillar-grid .wp-block-themeisle-blocks-advanced-column,
  .service-grid .wp-block-themeisle-blocks-advanced-column,
  .split .wp-block-themeisle-blocks-advanced-column,
  .pillar-card,
  .service-item {
    min-width: 0;
    max-width: 100%;
  }

  .pillar-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap,
  .split.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
    flex-direction: column;
  }

  .pillar-grid .wp-block-themeisle-blocks-advanced-column,
  .service-grid .wp-block-themeisle-blocks-advanced-column,
  .split .wp-block-themeisle-blocks-advanced-column {
    flex: 0 0 100%;
    width: 100% !important;
    margin-inline: 0 !important;
    align-items: flex-start;
  }

  .split.wp-block-themeisle-blocks-advanced-columns {
    width: calc(100% - 20px);
    margin-inline: auto;
  }

  .split.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
    display: flex;
    width: 100%;
    align-items: stretch;
  }

  .service-grid.wp-block-themeisle-blocks-advanced-columns>.innerblocks-wrap {
    align-items: stretch;
  }

  .split .copy-block,
  .split .visual-card {
    width: calc(100% - 20px);
    margin-inline: auto;
  }

  /* Otter keeps the desktop column gutters once the columns stack, which
     pushed the copy off-centre. Drop them so copy and image share one width. */
  .split .wp-block-themeisle-blocks-advanced-column {
    padding-inline: 0 !important;
  }

  .split .visual-card {
    margin-inline: auto !important;
  }

  /* The heading min-height only evens out side-by-side cards. Stacked, it
     gave one-line headings a gap that wrapped headings did not get. */
  .pillar-card.is-layout-flow>h3 {
    min-height: 0;
    margin-block-end: 10px;
  }
}

@media (max-width: 640px) {
  .hero-statement {
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
  }
}