/* IVY unified mark: retain the exact IVY shape from the approved reference */
header.wp-block-group .wp-block-paragraph > a[href$="#top"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 36px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

header.wp-block-group .wp-block-paragraph > a[href$="#top"]::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f4f1e8;
  -webkit-mask-image: url("https://ivy-work.com/wp-content/uploads/2026/09/ivy-logo-unified.png");
  mask-image: url("https://ivy-work.com/wp-content/uploads/2026/09/ivy-logo-unified.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ivy-hero-logo-media > * { display: none !important; }
.ivy-hero-logo-media::before {
  content: "";
  display: block;
  width: min(100%, 600px);
  aspect-ratio: 823 / 386;
  margin-inline: auto;
  background-color: #f4f1e8;
  -webkit-mask-image: url("https://ivy-work.com/wp-content/uploads/2026/09/ivy-logo-unified.png");
  mask-image: url("https://ivy-work.com/wp-content/uploads/2026/09/ivy-logo-unified.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  animation: ivy-logo-arrive .85s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes ivy-logo-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 781px) {
  header.wp-block-group .wp-block-paragraph > a[href$="#top"] {
    width: 66px;
    height: 32px;
  }
  #works > .wp-block-columns:first-child h2 {
    font-size: clamp(23px, 6.2vw, 25px) !important;
    line-height: 1.42 !important;
    letter-spacing: -0.035em !important;
    text-wrap: balance;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  #statement > h2,
  #flow > h2,
  #services h2 {
    font-size: clamp(26px, 7.4vw, 30px) !important;
    line-height: 1.42 !important;
    letter-spacing: -0.04em !important;
    text-wrap: balance;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ivy-hero-logo-media::before { animation: none; }
}


/* Strong mobile overrides after the established section styles */
@media (max-width: 781px) {
  body.home #statement > h2,
  body.home #flow > h2,
  body.home #services h2 {
    font-size: clamp(26px, 7.4vw, 30px) !important;
    line-height: 1.42 !important;
    letter-spacing: -0.04em !important;
    text-wrap: balance;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}


@media (max-width: 781px) {
  body.home .ivy-hero h1 { font-size: clamp(28px, 8vw, 32px) !important; line-height: 1.3 !important; }

@media (max-width: 781px) {
  body.home #works > .wp-block-columns:first-child h2 { width: calc(100% + 40px); max-width: none !important; font-size: clamp(22px, 6vw, 24px) !important; }
}

  body.home #flow > h2 { font-size: clamp(21px, 5.6vw, 23px) !important; line-height: 1.42 !important; }
}
/* IVY design system: refined foundation */
:root {
  --ivy-bg: #0b0d0c;
  --ivy-ink: #f4f1e8;
  --ivy-sage: #9db2a4;
  --ivy-line: rgba(244, 241, 232, 0.12);
}

html {
  scroll-behavior: smooth;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--ivy-sage);
  outline-offset: 3px;
}

#top,
#about,
#works,
#services,
#contact {
  scroll-margin-top: 96px;
}

/* Header */
body.home header.wp-block-group {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(244, 241, 232, 0.08);
  background: rgba(11, 13, 12, 0.96) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

body.admin-bar.home header.wp-block-group {
  top: 32px;
}

header .wp-block-navigation-item__content {
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

header .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ivy-sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

/* Hero */
.ivy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 70px);
  background-color: var(--ivy-bg) !important;
  background-image: none !important;
}

.ivy-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 70%, rgba(157, 178, 164, 0.16), transparent 38%),
    linear-gradient(90deg, transparent 0, transparent 49.95%, rgba(244, 241, 232, 0.045) 50%, transparent 50.05%),
    linear-gradient(0deg, transparent 0, transparent 49.95%, rgba(244, 241, 232, 0.035) 50%, transparent 50.05%);
  background-size: auto, 180px 180px, 180px 180px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 47%, rgba(0,0,0,0.72) 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 47%, rgba(0,0,0,0.72) 66%, transparent 100%);
}

.ivy-hero > * {
  position: relative;
  z-index: 1;
}

.ivy-hero > .wp-block-image img {
}

.ivy-hero > p:first-of-type {
  font-size: 0.75rem !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase;
}

.ivy-hero h1 {
  max-width: 11em;
  font-size: clamp(3rem, 5.1vw, 4.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
  text-wrap: balance;
}

.ivy-hero .wp-block-column:nth-child(2) > .wp-block-group {
  padding: 28px 28px 24px;
  border: 1px solid rgba(244, 241, 232, 0.12);
  border-top-color: rgba(157, 178, 164, 0.52);
  background: linear-gradient(135deg, rgba(244, 241, 232, 0.045), rgba(244, 241, 232, 0.012));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.ivy-hero .wp-block-buttons {
  gap: 12px;
}

.wp-element-button,
.wp-block-button__link,
button[type="submit"] {
  min-height: 54px;
  letter-spacing: 0.035em;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact input[type="checkbox"] {
  inline-size: 20px;
  block-size: 20px;
  min-width: 20px;
  flex: 0 0 20px;
  margin-right: 8px;
  accent-color: var(--ivy-sage);
  vertical-align: middle;
}

#contact a {
  text-underline-offset: 0.18em;
}

@media (hover: hover) and (pointer: fine) {
  header .wp-block-navigation-item__content:hover {
    color: var(--ivy-sage);
  }

  header .wp-block-navigation-item__content:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .wp-element-button:hover,
  .wp-block-button__link:hover,
  button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .ivy-hero .wp-block-button:first-child .wp-block-button__link:hover {
    background: var(--ivy-sage) !important;
  }

  .ivy-hero .wp-block-button:nth-child(2) .wp-block-button__link:hover {
    border-color: var(--ivy-sage) !important;
    color: var(--ivy-sage) !important;
  }
}

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

@media (max-width: 781px) {
  body.home header.wp-block-group {
    padding-block: 10px !important;
  }

  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .ivy-hero {
    min-height: auto;
  }

  .ivy-hero::before {
    background-size: 120px 120px;
    opacity: 0.7;
  }

  .ivy-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.35rem) !important;
    line-height: 1.14 !important;
  }

  .ivy-hero .wp-block-column:nth-child(2) > .wp-block-group {
    padding: 24px 22px 20px;
  }

  #contact .wp-block-button,
  #contact button[type="submit"] {
    width: 100%;
  }

  #contact button[type="submit"] {
    justify-content: center;
  }
}

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

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

/* IVY selected works: editorial showcase */
.ivy-works {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(140px, 11vw, 176px) !important;
}

.ivy-works::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -14%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(38, 78, 56, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 178, 164, 0.14), transparent 67%);
  pointer-events: none;
}

#works > .wp-block-columns:first-child {
  padding-bottom: clamp(36px, 4vw, 54px);
  border-bottom: 1px solid rgba(21, 24, 22, 0.18);
}

#works > .wp-block-columns:nth-child(2) {
  align-items: flex-start;
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(44px, 5vw, 68px);
}

#works > .wp-block-columns:nth-child(2) > .wp-block-column {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

#works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2) {
  transform: translateY(34px);
}

#works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(3) {
  transform: translateY(68px);
}

#works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 28px 24px 26px !important;
  border: 1px solid rgba(21, 24, 22, 0.13);
  border-top: 3px solid #315c46;
  background: rgba(250, 249, 244, 0.94) !important;
  box-shadow: 0 18px 48px rgba(25, 34, 29, 0.07);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

#works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #315c46, #9db2a4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

#works > .wp-block-columns:nth-child(2) .wp-block-group > p:first-child {
  font-size: 0.72rem !important;
  font-weight: 650;
  letter-spacing: 0.15em !important;
  color: #315c46 !important;
}

#works > .wp-block-columns:nth-child(2) figure {
  overflow: hidden;
  border: 1px solid rgba(21, 24, 22, 0.08);
  background: #0b0d0c;
}

#works > .wp-block-columns:nth-child(2) figure img {
  display: block;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

#works > .wp-block-columns:nth-child(2) h3 {
  max-width: 11em;
  font-size: clamp(1.6rem, 2.15vw, 2rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
}

#works > .wp-block-columns:nth-child(2) h3 + p {
  line-height: 1.95 !important;
}

#works > .wp-block-columns:nth-child(2) .wp-block-buttons {
  width: 100%;
  margin-top: auto !important;
  padding-top: 22px;
}

#works > .wp-block-columns:nth-child(2) .wp-block-button {
  width: 100%;
}

#works > .wp-block-columns:nth-child(2) .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding-inline: 20px;
}

@media (min-width: 782px) {
  #works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2) {
    transform: translateY(34px) !important;
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(3) {
    transform: translateY(68px) !important;
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group {
    padding: 28px 24px 26px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  #works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group:hover {
    transform: translateY(-10px);
    border-color: rgba(49, 92, 70, 0.38);
    box-shadow: 0 30px 70px rgba(25, 34, 29, 0.15);
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group:hover::after {
    transform: scaleX(1);
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group:hover figure img {
    transform: scale(1.035);
    filter: saturate(1.06) contrast(1.02);
  }
}

@media (max-width: 781px) {
  .ivy-works {
    padding-bottom: 104px !important;
  }

  .ivy-works::before {
    top: 4%;
    right: -85%;
    width: 420px;
    height: 420px;
  }

  #works > .wp-block-columns:first-child {
    padding-bottom: 30px;
  }

  #works > .wp-block-columns:nth-child(2) {
    gap: 28px;
    margin-top: 36px;
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2),
  #works > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(3) {
    transform: none !important;
  }

  #works > .wp-block-columns:nth-child(2) > .wp-block-column > .wp-block-group {
    padding: 24px 20px 22px !important;
  }

  #works > .wp-block-columns:nth-child(2) h3 {
    font-size: clamp(1.55rem, 8vw, 1.9rem) !important;
  }
}

/* IVY statement: editorial manifesto */
#statement {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #14261d !important;
  background-image:
    radial-gradient(circle at 88% 18%, rgba(157, 178, 164, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 42%);
}

#statement::before {
  content: "";
  position: absolute;
  right: clamp(-120px, -4vw, -40px);
  top: clamp(48px, 7vw, 96px);
  width: clamp(260px, 32vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 241, 232, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(244, 241, 232, 0.018),
    0 0 0 88px rgba(244, 241, 232, 0.012);
  pointer-events: none;
  z-index: -1;
}

#statement::after {
  content: "03";
  position: absolute;
  right: clamp(4vw, 7vw, 120px);
  bottom: clamp(-56px, -3vw, -20px);
  color: rgba(244, 241, 232, 0.025);
  font-size: clamp(12rem, 24vw, 24rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: -1;
}

#statement > * {
  position: relative;
  z-index: 1;
}

#statement > .wp-block-paragraph:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
  letter-spacing: 0.16em;
}

#statement > .wp-block-paragraph:first-child::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(157, 178, 164, 0.65);
}

#statement > h2 {
  max-width: 760px;
  letter-spacing: -0.045em;
  line-height: 1.22 !important;
  text-wrap: balance;
}

#statement > .wp-block-columns {
  align-items: stretch !important;
  gap: clamp(42px, 7vw, 112px) !important;
  margin-top: clamp(52px, 6vw, 78px) !important;
}

#statement .wp-block-column {
  position: relative;
}

#statement .wp-block-column:first-child {
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(244, 241, 232, 0.13);
  border-top: 2px solid rgba(157, 178, 164, 0.9);
  background: rgba(244, 241, 232, 0.035);
  box-shadow: 0 28px 70px rgba(4, 10, 7, 0.18);
}

#statement .wp-block-column:first-child::before {
  content: "LISTEN FIRST";
  display: block;
  margin-bottom: 22px;
  color: #9db2a4;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

#statement .wp-block-column:last-child {
  padding: 10px 0 10px clamp(32px, 4.5vw, 72px);
  border-left: 1px solid rgba(244, 241, 232, 0.14);
}

#statement .wp-block-column:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 82px;
  background: #9db2a4;
}

#statement .wp-block-column:last-child::after {
  content: "LISTEN  /  ORGANIZE  /  SHAPE";
  display: block;
  margin-top: 28px;
  color: rgba(157, 178, 164, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

#statement .wp-block-column p {
  margin: 0 !important;
}

@media (max-width: 781px) {
  #statement {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }

  #statement::before {
    right: -150px;
    top: 110px;
    width: 300px;
  }

  #statement::after {
    right: 18px;
    bottom: -20px;
    font-size: 10rem;
  }

  #statement > .wp-block-paragraph:first-child {
    gap: 14px;
  }

  #statement > .wp-block-paragraph:first-child::after {
    width: 42px;
  }

  #statement > h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
    letter-spacing: -0.055em;
  }

  #statement > .wp-block-columns {
    gap: 30px !important;
    margin-top: 42px !important;
  }

  #statement .wp-block-column:first-child {
    padding: 26px 22px;
  }

  #statement .wp-block-column:last-child {
    padding: 30px 0 0;
    border-top: 1px solid rgba(244, 241, 232, 0.14);
    border-left: 0;
  }

  #statement .wp-block-column:last-child::before {
    top: -1px;
    left: 0;
    width: 82px;
    height: 2px;
  }

  #statement .wp-block-column:last-child::after {
    line-height: 1.7;
  }
}


/* IVY journey + pricing: premium editorial flow */
#flow,
#services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 96px;
}

#flow {
  background-color: #ffffff !important;
  background-image:
    radial-gradient(circle at 90% 12%, rgba(157, 178, 164, 0.13), transparent 25%),
    linear-gradient(180deg, rgba(247, 245, 239, 0.42), transparent 38%);
}

#flow::after,
#services::after {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(-38px, -2vw, -12px);
  color: rgba(20, 38, 29, 0.035);
  font-size: clamp(11rem, 22vw, 22rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: -1;
}

#flow::after {
  content: "04";
}

#services::after {
  content: "05";
}

#flow > *,
#services > * {
  position: relative;
  z-index: 1;
}

#flow > .wp-block-paragraph:first-child,
#services > .wp-block-paragraph:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
  letter-spacing: 0.16em;
}

#flow > .wp-block-paragraph:first-child::after,
#services > .wp-block-paragraph:first-child::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(20, 64, 45, 0.42);
}

#flow > h2,
#services h2 {
  letter-spacing: -0.045em;
  line-height: 1.2 !important;
  text-wrap: balance;
}

#flow > h2 {
  max-width: 12em;
}

#flow > .wp-block-columns {
  position: relative;
  align-items: stretch !important;
  gap: clamp(14px, 1.7vw, 24px) !important;
}

#flow > .wp-block-columns > .wp-block-column {
  position: relative;
  display: flex;
}

#flow > .wp-block-columns > .wp-block-column > .wp-block-group {
  position: relative;
  width: 100%;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid rgba(20, 64, 45, 0.12);
  border-top: 2px solid rgba(20, 64, 45, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 239, 0.94)) !important;
  box-shadow: 0 18px 45px rgba(20, 38, 29, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#flow > .wp-block-columns > .wp-block-column > .wp-block-group::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(20, 64, 45, 0.09);
  border-radius: 50%;
}

#flow > .wp-block-columns > .wp-block-column > .wp-block-group > p:first-child {
  color: #245a43 !important;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem) !important;
  font-weight: 400;
  letter-spacing: -0.04em;
}

#flow > .wp-block-columns > .wp-block-column > .wp-block-group h3 {
  letter-spacing: -0.025em;
}

#flow > .wp-block-paragraph.has-text-align-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(20, 64, 45, 0.72) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#flow > .wp-block-paragraph.has-text-align-right::before {
  content: "";
  width: min(24vw, 240px);
  height: 1px;
  background: rgba(20, 64, 45, 0.22);
}

#flow > .wp-block-group:last-child {
  border: 1px solid rgba(20, 64, 45, 0.1);
  border-left: 3px solid rgba(20, 64, 45, 0.58);
  background: rgba(157, 178, 164, 0.1) !important;
}

#services {
  background-color: #f7f5ef !important;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(157, 178, 164, 0.15), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 48%);
}

#services > .wp-block-columns:nth-of-type(2) {
  align-items: stretch !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column {
  display: flex;
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column > .wp-block-group {
  position: relative;
  width: 100%;
  min-height: 356px;
  overflow: hidden;
  border: 1px solid rgba(20, 64, 45, 0.1);
  border-top: 3px solid #245a43;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(213, 226, 218, 0.9)) !important;
  box-shadow: 0 22px 54px rgba(20, 38, 29, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) > .wp-block-group {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(198, 216, 205, 0.88)) !important;
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column > .wp-block-group::after {
  position: absolute;
  right: 22px;
  bottom: 6px;
  color: rgba(20, 64, 45, 0.055);
  font-size: 6.5rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) > .wp-block-group::after {
  content: "01";
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) > .wp-block-group::after {
  content: "02";
}

#services > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(3) > .wp-block-group::after {
  content: "03";
}

#services > .wp-block-columns:nth-of-type(2) h3 {
  letter-spacing: -0.04em;
}

#services > .wp-block-columns:nth-of-type(2) strong {
  color: #143c2d;
}

@media (hover: hover) and (pointer: fine) {
  #flow > .wp-block-columns > .wp-block-column > .wp-block-group:hover,
  #services > .wp-block-columns:nth-of-type(2) > .wp-block-column > .wp-block-group:hover {
    transform: translateY(-7px);
    border-color: rgba(20, 64, 45, 0.28);
    box-shadow: 0 30px 70px rgba(20, 38, 29, 0.13);
  }
}

@media (max-width: 781px) {
  #flow,
  #services {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }

  #flow::after,
  #services::after {
    right: 16px;
    bottom: -8px;
    font-size: 9rem;
  }

  #flow > .wp-block-paragraph:first-child,
  #services > .wp-block-paragraph:first-child {
    gap: 14px;
  }

  #flow > .wp-block-paragraph:first-child::after,
  #services > .wp-block-paragraph:first-child::after {
    width: 42px;
  }

  #flow > h2,
  #services h2 {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
    letter-spacing: -0.055em;
  }

  #flow > .wp-block-columns,
  #services > .wp-block-columns:nth-of-type(2) {
    gap: 18px !important;
  }

  #flow > .wp-block-columns > .wp-block-column > .wp-block-group,
  #services > .wp-block-columns:nth-of-type(2) > .wp-block-column > .wp-block-group {
    min-height: 0;
  }

  #flow > .wp-block-paragraph.has-text-align-right {
    justify-content: flex-start;
    text-align: left !important;
    line-height: 1.7;
  }

  #flow > .wp-block-paragraph.has-text-align-right::before {
    width: 44px;
    flex: 0 0 44px;
  }
}


/* IVY section numbers: 01 and 02 */
#about,
#works {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#about::after,
#works::after {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(-38px, -2vw, -12px);
  color: rgba(20, 38, 29, 0.035);
  font-size: clamp(11rem, 22vw, 22rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: -1;
}

#about::after {
  content: "01";
}

#works::after {
  content: "02";
}

#about > *,
#works > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 781px) {
  #about::after,
  #works::after {
    right: 16px;
    bottom: -8px;
    font-size: 9rem;
  }
}