:root {
  --ac-paper: #fbf8ef;
  --ac-paper-soft: #fffdf7;
  --ac-paper-deep: #efe6d3;
  --ac-ink: #241916;
  --ac-muted: #71645d;
  --ac-green: #496646;
  --ac-green-deep: #243a2b;
  --ac-sage: #dce6d1;
  --ac-cacao: #6d3f34;
  --ac-plum: #5a3447;
  --ac-gold: #b48745;
  --ac-rose: #d9a59a;
  --ac-line: rgba(35, 26, 23, 0.13);
  --ac-shadow: 0 24px 70px rgba(59, 44, 35, 0.14);
  --ac-serif: Georgia, "Times New Roman", serif;
  --ac-sans: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(125deg, rgba(220, 230, 209, 0.76), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0%, var(--ac-paper) 48%, #fffaf2 100%);
  color: var(--ac-ink);
  font-family: var(--ac-sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(73, 102, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 102, 70, 0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration-color: rgba(109, 63, 52, 0.34);
  text-underline-offset: 0.18em;
}

.wp-site-blocks {
  overflow: clip;
}

.wp-block-template-part:first-child {
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 239, 0.84);
  border-bottom: 1px solid var(--ac-line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.wp-block-template-part:first-child .alignwide {
  gap: 1rem;
  max-width: 1180px;
}

.wp-block-site-title {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 500 !important;
  letter-spacing: 0;
}

.wp-block-navigation__container {
  gap: clamp(0.2rem, 0.8vw, 0.55rem);
  justify-content: flex-end;
}

.wp-block-navigation-item__content {
  border-radius: 999px;
  color: var(--ac-muted);
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
  font-weight: 720;
  padding: 0.5rem 0.64rem !important;
  transition: background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.wp-block-navigation-item__content:hover,
.current-menu-item .wp-block-navigation-item__content {
  background: rgba(73, 102, 70, 0.11);
  color: var(--ac-green-deep);
  text-decoration: none !important;
}

main.wp-block-group {
  margin-top: 0 !important;
}

main > .wp-block-group.alignfull {
  padding-top: clamp(2.5rem, 5vw, 5rem) !important;
}

.wp-block-post-title,
.wp-block-heading,
h1,
h2,
h3 {
  color: var(--ac-ink);
  font-family: var(--ac-serif);
  font-weight: 500;
  letter-spacing: 0;
}

.wp-block-post-title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  margin-bottom: clamp(1.4rem, 4vw, 3rem);
  margin-inline: auto;
  max-width: 980px;
  text-align: center;
}

.home .wp-block-post-title {
  display: none;
}

h4.wp-block-heading {
  color: var(--ac-cacao);
  font-family: var(--ac-sans);
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.35;
  max-width: 760px;
}

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

.wp-block-post-content > p,
.wp-block-post-content li {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.72;
}

.wp-element-button,
.wp-block-button__link {
  background: var(--ac-green-deep) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(36, 58, 43, 0.2);
  color: #fffaf2 !important;
  font-size: 0.94rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.03em;
  padding: 0.98rem 1.35rem !important;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wp-block-post-content .wp-block-buttons {
  justify-content: center !important;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.wp-block-post-content .wp-block-buttons .wp-block-button {
  margin-inline: auto;
}

.wp-block-post-content .wp-block-buttons .wp-block-button.has-custom-width,
.wp-block-post-content .wp-block-buttons .wp-block-button.wp-block-button__width-100 {
  max-width: min(100%, 22rem);
  width: auto !important;
}

.wp-block-post-content .wp-block-buttons .wp-block-button.has-custom-width .wp-block-button__link,
.wp-block-post-content .wp-block-buttons .wp-block-button__link {
  max-width: 100%;
  width: auto !important;
}

.wp-block-post-content .wp-block-buttons + .wp-block-image,
.wp-block-post-content .wp-block-buttons + figure {
  margin-top: clamp(0.5rem, 2vw, 1rem);
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.ac-button:hover,
.ac-start-card:hover,
.ac-product-card:hover {
  transform: translateY(-2px);
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.ac-button:hover {
  background: var(--ac-cacao) !important;
  box-shadow: 0 18px 42px rgba(109, 63, 52, 0.22);
  text-decoration: none;
}

.wp-block-cover,
.wp-block-image img,
.wp-block-gallery img {
  border-radius: 22px;
  box-shadow: var(--ac-shadow);
  overflow: hidden;
}

.wp-block-image img.wp-image-977 {
  border-radius: 0;
  box-shadow: none;
  display: block;
  max-width: 92px;
  object-fit: contain;
  overflow: visible;
}

.wp-block-image:has(img.wp-image-972) {
  margin-top: 1.45rem;
}

.wp-block-group:has(img.wp-image-977) {
  align-items: center;
  gap: clamp(1rem, 3vw, 1.8rem) !important;
}

.wp-block-group:has(img.wp-image-977) .wp-block-image {
  flex: 0 0 auto;
  margin: 0;
}

.wp-block-cover {
  min-height: clamp(320px, 44vw, 560px);
}

.wp-block-cover__background,
.wp-block-cover__background.has-background-dim {
  background: linear-gradient(
    180deg,
    rgba(36, 58, 43, 0.52) 0%,
    rgba(36, 58, 43, 0.78) 100%
  ) !important;
  opacity: 1 !important;
}

.wp-block-cover .wp-block-cover__inner-container {
  align-items: flex-end;
  display: flex;
  justify-content: stretch;
  margin: 0;
  min-height: 100%;
  padding: 0;
  width: 100%;
}

.wp-block-cover__inner-container p {
  background: var(--ac-green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 20px 20px;
  box-sizing: border-box;
  color: #fffaf2 !important;
  font-family: var(--ac-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem) !important;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
  max-width: none;
  padding: 0.72rem clamp(1rem, 3vw, 1.35rem);
  text-align: center;
  text-shadow: none;
  width: 100%;
}

.wp-block-cover__inner-container p.has-large-font-size,
.wp-block-cover__inner-container .has-large-font-size {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem) !important;
  line-height: 1.2;
}

/* Jetpack slideshow: Swiper JS is stripped in static export — show all slides */
.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container {
  opacity: 1 !important;
  overflow: visible;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_swiper-wrapper {
  aspect-ratio: auto !important;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  height: auto !important;
  max-height: none !important;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_slide {
  display: block !important;
  height: auto !important;
  width: auto !important;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_slide:not(:first-of-type) {
  height: auto !important;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) figure {
  display: block;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_image {
  border-radius: 18px;
  box-shadow: var(--ac-shadow);
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: min(420px, 70vh);
  object-fit: cover;
  width: 100%;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_caption.gallery-caption {
  background: transparent;
  color: var(--ac-ink);
  display: block;
  font-family: var(--ac-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-top: 0.65rem;
  opacity: 1;
  padding: 0;
  position: static;
  text-align: center;
}

.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_button-prev,
.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_button-next,
.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_button-pause,
.ac-redesign .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_pagination {
  display: none !important;
}

.wp-block-separator {
  border-color: var(--ac-line) !important;
  margin-block: clamp(2rem, 5vw, 5rem) !important;
}

.wp-block-columns {
  gap: clamp(1.25rem, 4vw, 3rem) !important;
}

.wp-block-post-content > p.is-style-text-display {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(3.15rem, 7.4vw, 5.6rem) !important;
  font-weight: 500;
  line-height: 0.94 !important;
  margin-block: clamp(1.25rem, 4vw, 2.8rem) clamp(1rem, 3vw, 1.9rem);
}

.wp-block-post-content > p.is-style-text-subtitle {
  color: var(--ac-cacao);
  font-family: var(--ac-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem) !important;
  line-height: 1.08 !important;
  margin-block: clamp(1rem, 3vw, 2rem) 0.75rem;
}

.wp-block-post-content > p.ac-contribution-heading {
  align-items: center;
  color: var(--ac-green-deep);
  display: flex;
  gap: 0.8rem;
  font-size: clamp(1.75rem, 3.6vw, 2.45rem) !important;
  margin-top: clamp(1.35rem, 3vw, 2.3rem);
}

.ac-contribution-heading strong {
  font-weight: 500;
}

.ac-contribution-icon {
  align-items: center;
  background: var(--ac-sage);
  border: 1px solid rgba(73, 102, 70, 0.18);
  border-radius: 50%;
  color: var(--ac-green-deep);
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ac-contribution-icon svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}

.ac-professionals-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 clamp(2rem, 5vw, 4rem);
}

.ac-professional-card {
  align-items: center;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--ac-line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 132px;
  padding: 1rem;
}

.ac-professional-photo {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ac-sage);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 88px;
}

.ac-professional-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ac-professional-photo.is-initials span {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: 2rem;
  line-height: 1;
}

.ac-professional-card em {
  color: var(--ac-cacao);
  display: block;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.ac-professional-card h3 {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1;
  margin: 0 0 0.4rem;
}

.ac-professional-card p {
  color: var(--ac-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}

.ac-professional-card a {
  color: var(--ac-green-deep);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  margin-top: 0.55rem;
}

.home {
  background: linear-gradient(180deg, #fffdf8 0%, #f7eee4 100%);
}

.home::before {
  display: none;
}

.home .wp-block-template-part:first-child {
  background: rgba(255, 253, 248, 0.92);
}

.ac-native-home-hidden {
  display: none !important;
}

.ac-simple-home {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 470px;
  min-height: calc(100vh - 91px);
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem;
  text-align: center;
}

.ac-simple-portrait {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(58, 43, 33, 0.14);
  height: 152px;
  object-fit: cover;
  width: 152px;
}

.ac-simple-home h1 {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(3rem, 9vw, 4.9rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 1.35rem 0 0.75rem;
}

.ac-simple-home p {
  color: var(--ac-cacao);
  font-size: 1.08rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.ac-simple-links {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.ac-simple-link {
  align-items: center;
  border-radius: 999px;
  display: flex;
  font-size: 0.96rem;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ac-simple-link.primary {
  background: var(--ac-green-deep);
  color: #fffaf2;
}

.ac-simple-link.secondary {
  background: #fffdf8;
  border: 1px solid var(--ac-line);
  color: var(--ac-green-deep);
}

.ac-simple-link.text {
  color: var(--ac-green-deep);
  min-height: 38px;
}

.ac-simple-link:hover {
  transform: translateY(-1px);
}

.ac-simple-link.primary:hover {
  background: var(--ac-cacao);
}

.ac-simple-link.secondary:hover {
  border-color: rgba(36, 58, 43, 0.32);
}

.ac-home-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: clamp(1.25rem, 3vw, 3rem) auto 0;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 86px));
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2.4rem, 5vw, 4.5rem);
}

.ac-hero-copy h1 {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(4.2rem, 10.5vw, 9.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0 0 1.35rem;
  max-width: 760px;
}

.ac-hero-copy p {
  color: var(--ac-cacao);
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  line-height: 1.6;
  margin: 0 0 1.8rem;
  max-width: 650px;
}

.ac-hero-actions,
.ac-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ac-button {
  align-items: center;
  background: var(--ac-green-deep);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(36, 58, 43, 0.2);
  color: #fffaf2;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 48px;
  padding: 0.88rem 1.22rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ac-button.secondary {
  background: transparent;
  border: 1px solid rgba(36, 58, 43, 0.24);
  box-shadow: none;
  color: var(--ac-green-deep);
}

.ac-hero-paths {
  border-top: 1px solid var(--ac-line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.8rem, 4vw, 3rem);
  max-width: 720px;
}

.ac-hero-path {
  border-right: 1px solid var(--ac-line);
  padding: 1rem 1rem 0.2rem 0;
}

.ac-hero-path:last-child {
  border-right: 0;
  padding-left: 1rem;
}

.ac-hero-path:nth-child(2) {
  padding-left: 1rem;
}

.ac-hero-path span {
  color: var(--ac-gold);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.ac-hero-path strong {
  color: var(--ac-green-deep);
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.ac-hero-path em {
  color: var(--ac-muted);
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.45;
}

.ac-hero-media {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 1fr 0.8fr;
  min-height: 580px;
  position: relative;
}

.ac-hero-media img {
  border-radius: 30px;
  box-shadow: var(--ac-shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ac-hero-media img:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.ac-hero-media img:nth-child(2) {
  align-self: end;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  height: 72%;
  margin: 0 0 -1.5rem -1.25rem;
  outline: 10px solid var(--ac-paper);
  position: relative;
  width: 92%;
}

.ac-hero-note {
  background: rgba(255, 250, 242, 0.93);
  border: 1px solid rgba(35, 26, 23, 0.1);
  border-radius: 18px;
  bottom: 1.2rem;
  box-shadow: 0 20px 50px rgba(35, 26, 23, 0.13);
  color: var(--ac-cacao);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.35;
  max-width: 240px;
  padding: 1rem;
  position: absolute;
  right: -0.6rem;
}

.ac-discovery-nav {
  background: rgba(255, 253, 247, 0.72);
  border-block: 1px solid var(--ac-line);
  display: flex;
  gap: 1px;
  justify-content: center;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  position: sticky;
  top: 78px;
  z-index: 20;
}

.ac-discovery-nav a {
  color: var(--ac-green-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 0.92rem clamp(0.75rem, 3vw, 2.2rem);
  text-decoration: none;
  text-transform: uppercase;
}

.ac-discovery-nav a:hover {
  background: rgba(73, 102, 70, 0.1);
}

.ac-native-home-links {
  display: none;
}

.wp-block-post-content .ac-product-section-title {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(1.95rem, 4.2vw, 3rem) !important;
  font-weight: 500;
  line-height: 1.05 !important;
  margin: 0 0 clamp(0.65rem, 2vw, 1rem);
  max-width: 980px;
}

main:has(.ac-product-section) .wp-block-post-title {
  margin-bottom: clamp(0.75rem, 2vw, 1.35rem);
}

main:has(.ac-product-section) > .wp-block-group.alignfull {
  padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.ac-product-section h4.wp-block-heading {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
}

.ac-product-section > .wp-block-group {
  margin: 0;
  padding: 0;
}

.ac-product-section > .wp-block-separator {
  display: none;
}

.ac-start-section,
.ac-library-section,
.ac-content-section,
.ac-story-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
}

.ac-product-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.wp-block-post-content > .ac-product-section:first-of-type {
  padding-top: clamp(0.35rem, 1.5vw, 0.85rem);
}

.wp-block-post-content > .ac-product-section + .ac-product-section {
  padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.ac-section-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
}

.ac-section-heading h2,
.ac-content-copy h2,
.ac-story-band h2 {
  font-size: clamp(2.55rem, 5.7vw, 5.3rem);
  line-height: 0.94;
  margin: 0;
  max-width: 760px;
}

.ac-section-heading p,
.ac-content-copy p,
.ac-story-band p {
  color: var(--ac-muted);
  line-height: 1.62;
  margin: 0;
  max-width: 390px;
}

.ac-start-grid,
.ac-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ac-start-card,
.ac-product-card {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(59, 44, 35, 0.08);
  color: inherit;
  min-height: 250px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ac-start-card:hover,
.ac-product-card:hover {
  border-color: rgba(73, 102, 70, 0.34);
  box-shadow: 0 22px 60px rgba(59, 44, 35, 0.13);
  text-decoration: none;
}

.ac-start-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.ac-start-card span {
  display: none;
}

.ac-start-card strong {
  color: var(--ac-green-deep);
  display: block;
  font-family: var(--ac-serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.ac-start-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

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

.ac-product-card {
  min-height: 420px;
}

.ac-product-card img {
  height: 225px;
  object-fit: cover;
  width: 100%;
}

.ac-product-card div {
  padding: 1.25rem;
}

.ac-product-card h3 {
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 0 0 0.65rem;
}

.ac-product-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.ac-content-section {
  align-items: stretch;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.ac-content-copy {
  background: var(--ac-green-deep);
  border-radius: 24px;
  color: #fffaf2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.ac-content-copy h2,
.ac-content-copy p {
  color: #fffaf2;
}

.ac-content-copy p {
  color: rgba(255, 250, 242, 0.74);
  margin-top: 1.2rem;
}

.ac-content-copy .ac-button,
.ac-content-copy .ac-button.secondary {
  background: #fffaf2;
  color: var(--ac-green-deep);
}

.ac-topic-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-topic-item {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  min-height: 250px;
  padding: 1.25rem;
}

.ac-topic-item strong {
  color: var(--ac-plum);
  display: block;
  font-family: var(--ac-serif);
  font-size: 1.62rem;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.ac-topic-item span {
  color: var(--ac-muted);
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ac-story-band {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
}

.ac-story-band img {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  box-shadow: var(--ac-shadow);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ac-story-band p {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  margin: 1.2rem 0 1.6rem;
}

.ac-story-band a {
  color: var(--ac-green-deep);
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ac-library-strip {
  background: var(--ac-green-deep);
  border-radius: 24px;
  color: #fffaf2;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  overflow: hidden;
}

.ac-library-item {
  background: rgba(255, 255, 255, 0.055);
  min-height: 160px;
  padding: 1.3rem;
}

.ac-library-item strong {
  color: #fffaf2;
  display: block;
  font-family: var(--ac-serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.ac-library-item span {
  color: rgba(255, 250, 242, 0.72);
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ac-history-breadcrumb {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
}

.ac-history-breadcrumb a {
  align-items: center;
  background: var(--ac-green-deep);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fffaf2;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.62rem 1.05rem 0.62rem 0.9rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.ac-history-breadcrumb a:hover {
  background: var(--ac-cacao);
  text-decoration: none;
  transform: translateY(-1px);
}

body.ac-history-story .wp-block-post-content figure.ac-gallery-grid {
  display: block !important;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
  max-width: min(100%, 1180px);
  width: 100%;
}

body.ac-history-story figure.ac-gallery-grid ul.blocks-gallery-grid {
  display: grid !important;
  flex-wrap: unset !important;
  gap: 0.55rem !important;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

body.ac-history-story figure.ac-gallery-grid .blocks-gallery-item {
  display: block !important;
  flex: unset !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  width: auto !important;
}

body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button {
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button:focus-visible {
  outline: 2px solid var(--ac-green-deep);
  outline-offset: 2px;
}

body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button figure {
  margin: 0;
}

body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button img {
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(36, 58, 43, 0.1);
  display: block;
  height: auto;
  max-height: 118px;
  object-fit: cover;
  transition: transform 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button:hover img {
  box-shadow: 0 12px 28px rgba(36, 58, 43, 0.16);
  transform: scale(1.03);
}

body.ac-lightbox-open {
  overflow: hidden;
}

.ac-gallery-lightbox {
  align-items: center;
  background: rgba(17, 24, 20, 0.94);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  position: fixed;
  z-index: 100000;
}

.ac-gallery-lightbox.is-open {
  display: flex;
}

.ac-gallery-lightbox-stage {
  align-items: center;
  display: flex;
  height: min(78vh, 900px);
  justify-content: center;
  max-width: min(96vw, 1200px);
  touch-action: pan-y;
  width: 100%;
}

.ac-gallery-lightbox-image {
  display: block;
  max-height: min(78vh, 900px);
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  width: auto;
}

.ac-gallery-lightbox-close,
.ac-gallery-lightbox-nav {
  align-items: center;
  background: rgba(255, 250, 242, 0.14);
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 999px;
  color: #fffaf2;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--ac-sans);
  justify-content: center;
  line-height: 1;
  position: absolute;
  transition: background 160ms ease, transform 160ms ease;
  z-index: 2;
}

.ac-gallery-lightbox-close {
  font-size: 1.75rem;
  height: 44px;
  right: clamp(0.75rem, 3vw, 1.5rem);
  top: clamp(0.75rem, 3vw, 1.5rem);
  width: 44px;
}

.ac-gallery-lightbox-nav {
  font-size: 1.35rem;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.ac-gallery-lightbox-nav:hover,
.ac-gallery-lightbox-close:hover {
  background: rgba(255, 250, 242, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.ac-gallery-lightbox-close:hover {
  transform: scale(1.04);
}

.ac-gallery-lightbox-prev {
  left: clamp(0.5rem, 3vw, 1.25rem);
}

.ac-gallery-lightbox-next {
  right: clamp(0.5rem, 3vw, 1.25rem);
}

.ac-gallery-lightbox-counter {
  bottom: clamp(2.5rem, 6vw, 3.5rem);
  color: #fffaf2;
  font-family: var(--ac-sans);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  left: 50%;
  margin: 0;
  position: absolute;
  transform: translateX(-50%);
}

.ac-gallery-lightbox-hint {
  bottom: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 250, 242, 0.72);
  font-family: var(--ac-sans);
  font-size: 0.82rem;
  left: 50%;
  margin: 0;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: min(92vw, 520px);
}

@media (max-width: 720px) {
  body.ac-history-story figure.ac-gallery-grid ul.blocks-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  }

  body.ac-history-story figure.ac-gallery-grid .ac-gallery-tile-button img {
    max-height: 96px;
  }

  .ac-gallery-lightbox-hint {
    display: none;
  }
}

.ac-history-hub {
  margin-top: 0.5rem;
}

.ac-history-hub-title {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 1rem;
}

.ac-history-intro {
  margin: 0 0 clamp(1.8rem, 4vw, 2.8rem);
  max-width: 42rem;
}

.ac-history-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-history-card {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(59, 44, 35, 0.08);
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ac-history-card:hover {
  border-color: rgba(73, 102, 70, 0.34);
  box-shadow: 0 22px 60px rgba(59, 44, 35, 0.13);
  text-decoration: none;
  transform: translateY(-2px);
}

.ac-history-card img {
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.ac-history-card > div {
  padding: 1.2rem 1.25rem 1.35rem;
}

.ac-history-card h2 {
  color: var(--ac-green-deep);
  font-family: var(--ac-serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.45rem;
}

.ac-history-period {
  color: var(--ac-cacao);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
}

.ac-history-card p:last-child {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

footer.wp-block-template-part {
  background: var(--ac-green-deep);
  color: #fffaf2;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.ac-footer-inner {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-inline: auto;
  max-width: 1180px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.ac-footer-brand {
  color: #fffaf2;
  font-family: var(--ac-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  text-decoration: none;
}

.ac-footer-inner p {
  color: rgba(255, 250, 242, 0.72);
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

@media (max-width: 980px) {
  .ac-home-hero,
  .ac-content-section,
  .ac-story-band,
  .ac-footer-inner {
    grid-template-columns: 1fr;
  }

  .ac-start-grid,
  .ac-product-grid,
  .ac-history-grid,
  .ac-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-professionals-grid {
    grid-template-columns: 1fr;
  }

  .ac-content-copy {
    min-height: 420px;
  }

  .ac-footer-inner {
    align-items: start;
  }
}

@media (max-width: 860px) {
  .ac-hero-media {
    min-height: 460px;
  }

  .ac-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .ac-discovery-nav {
    overflow-x: auto;
    justify-content: start;
    top: 70px;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--ac-paper) !important;
  }
}

@media (max-width: 680px) {
  .ac-home-hero {
    display: block;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .ac-hero-copy,
  .ac-hero-copy p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .ac-hero-copy p,
  .ac-hero-actions {
    max-width: min(100%, 350px);
  }

  .ac-hero-copy h1 {
    font-size: clamp(3.65rem, 18vw, 5.35rem);
  }

  .ac-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ac-hero-actions .ac-button {
    width: 100%;
  }

  .ac-hero-paths,
  .ac-start-grid,
  .ac-product-grid,
  .ac-history-grid,
  .ac-topic-list,
  .ac-library-strip {
    grid-template-columns: 1fr;
  }

  .ac-hero-path,
  .ac-hero-path:nth-child(2),
  .ac-hero-path:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--ac-line);
    padding-left: 0;
  }

  .ac-hero-media {
    margin-top: 2rem;
    max-width: min(100%, 350px);
    min-height: 360px;
    width: 100%;
  }

  .ac-hero-note {
    left: 1rem;
    right: 1rem;
  }

  .ac-discovery-nav a {
    white-space: nowrap;
  }

  .ac-start-card,
  .ac-topic-item {
    min-height: 210px;
  }

  .wp-block-post-title {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }

  .ac-professional-card {
    align-items: start;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 0.85rem;
  }

  .ac-professional-photo {
    width: 72px;
  }

  .ac-contribution-icon {
    height: 38px;
    width: 38px;
  }

  .ac-contribution-icon svg {
    height: 21px;
    width: 21px;
  }
}
