.main-page__title {
  margin-block-end: 30px;
  text-align: center;
}

@media (--destop) {
  .main-page__title {
    margin-block-end: 20px;
  }
}

/* AnnieGarden Story — isolated from other standard pages */
.ag-story {
  --ag-forest: #173f2d;
  --ag-forest-deep: #102b20;
  --ag-cream: #f7f4ed;
  --ag-paper: #fffdf8;
  --ag-brass: #a97a32;
  --ag-sage: #dfe8df;
  --ag-line: rgba(23, 63, 45, 0.16);
  color: var(--ag-forest);
  background: var(--ag-cream);
  overflow: hidden;
}

.ag-story *,
.ag-story *::before,
.ag-story *::after {
  box-sizing: border-box;
}

.ag-story h1,
.ag-story h2,
.ag-story h3,
.ag-story p {
  margin: 0;
}

.ag-story h1,
.ag-story h2,
.ag-story blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ag-story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-story__eyebrow {
  color: var(--ag-brass);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ag-story__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  min-height: min(780px, 76vh);
  background: var(--ag-paper);
}

.ag-story__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 144px) clamp(40px, 7vw, 128px);
}

.ag-story__hero h1 {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ag-forest);
  font-size: clamp(54px, 5.4vw, 94px);
  line-height: 0.98;
}

.ag-story__lead {
  max-width: 650px;
  margin-top: 34px !important;
  color: rgba(23, 63, 45, 0.72);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.72;
}

.ag-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
}

.ag-story__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid var(--ag-forest);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ag-story__button--primary {
  color: #fff;
  background: var(--ag-forest);
}

.ag-story__button:hover {
  color: #fff;
  background: var(--ag-forest-deep);
  transform: translateY(-2px);
}

.ag-story__text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ag-forest);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.ag-story__hero-media {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.ag-story__hero-media img {
  object-position: center 47%;
}

.ag-story__hero-note {
  position: absolute;
  right: 26px;
  bottom: 26px;
  max-width: 320px;
  padding: 15px 20px;
  color: var(--ag-forest);
  background: rgba(255, 253, 248, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.ag-story__intro {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(96px, 10vw, 176px) 32px;
  text-align: center;
}

.ag-story__intro h2,
.ag-story__section-heading h2,
.ag-story__detail h2,
.ag-story__closing h2 {
  color: var(--ag-forest);
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 1.06;
}

.ag-story__intro h2 {
  margin-top: 24px;
}

.ag-story__intro > p:last-child {
  max-width: 820px;
  margin: 32px auto 0;
  color: rgba(23, 63, 45, 0.72);
  font-size: 20px;
  line-height: 1.8;
}

.ag-story__worlds {
  padding: 0 clamp(22px, 4vw, 72px) clamp(100px, 10vw, 176px);
}

.ag-story__section-heading {
  max-width: 840px;
  margin-bottom: 44px;
}

.ag-story__section-heading h2 {
  margin-top: 18px;
}

.ag-story__world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
}

.ag-story__world-card {
  color: var(--ag-forest);
  background: var(--ag-paper);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ag-story__world-card:hover {
  color: var(--ag-forest);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(16, 43, 32, 0.1);
}

.ag-story__world-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.ag-story__world-media img {
  transition: transform 500ms ease;
}

.ag-story__world-card:hover img {
  transform: scale(1.025);
}

.ag-story__world-copy {
  min-height: 260px;
  padding: 30px;
}

.ag-story__world-copy > span,
.ag-story__principle-grid article > span {
  color: var(--ag-brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ag-story__world-copy h3 {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}

.ag-story__world-copy p {
  margin-top: 16px;
  color: rgba(23, 63, 45, 0.7);
  font-size: 16px;
  line-height: 1.65;
}

.ag-story__world-copy strong {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ag-story__detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--ag-sage);
}

.ag-story__detail-media {
  min-height: 720px;
  background: #fff;
}

.ag-story__detail-media img {
  object-fit: contain;
  padding: clamp(26px, 4vw, 72px);
}

.ag-story__detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 142px);
}

.ag-story__detail h2 {
  margin-top: 22px;
}

.ag-story__detail-copy > p:not(.ag-story__eyebrow) {
  margin-top: 26px;
  color: rgba(23, 63, 45, 0.74);
  font-size: 18px;
  line-height: 1.75;
}

.ag-story__detail-copy .ag-story__text-link {
  align-self: flex-start;
  margin-top: 32px;
}

.ag-story__principles {
  padding: clamp(100px, 10vw, 176px) clamp(22px, 6vw, 112px);
  background: var(--ag-paper);
}

.ag-story__principles .ag-story__section-heading {
  max-width: 920px;
}

.ag-story__principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--ag-line);
  border-bottom: 1px solid var(--ag-line);
}

.ag-story__principle-grid article {
  min-height: 270px;
  padding: 38px clamp(24px, 3vw, 52px);
  border-right: 1px solid var(--ag-line);
}

.ag-story__principle-grid article:last-child {
  border-right: 0;
}

.ag-story__principle-grid h3 {
  margin-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.ag-story__principle-grid p {
  margin-top: 18px;
  color: rgba(23, 63, 45, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.ag-story__statement {
  padding: clamp(100px, 11vw, 190px) 32px;
  color: #fff;
  background: var(--ag-forest);
  text-align: center;
}

.ag-story__statement .ag-story__eyebrow {
  color: #d9b775;
}

.ag-story__statement blockquote {
  margin: 26px 0 0;
  color: #fff;
  font-size: clamp(50px, 6.5vw, 108px);
  line-height: 1;
}

.ag-story__statement > p:last-child {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.ag-story__closing {
  padding: clamp(100px, 10vw, 168px) 32px;
  text-align: center;
  background: var(--ag-cream);
}

.ag-story__closing h2 {
  max-width: 900px;
  margin: 22px auto 0;
}

.ag-story__closing .ag-story__button {
  margin-top: 38px;
}

@media (max-width: 1100px) {
  .ag-story__hero {
    grid-template-columns: 1fr 1fr;
  }

  .ag-story__hero-copy {
    padding: 72px 42px;
  }

  .ag-story__hero-media {
    min-height: 610px;
  }

  .ag-story__detail-copy {
    padding: 70px 46px;
  }

  .ag-story__detail-media {
    min-height: 610px;
  }
}

@media (max-width: 767px) {
  .ag-story__eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .ag-story__hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .ag-story__hero-copy {
    padding: 58px 22px 46px;
  }

  .ag-story__hero h1 {
    margin-top: 17px;
    font-size: clamp(44px, 13vw, 62px);
    line-height: 1;
  }

  .ag-story__lead {
    margin-top: 24px !important;
    font-size: 17px;
    line-height: 1.65;
  }

  .ag-story__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
  }

  .ag-story__button {
    width: 100%;
  }

  .ag-story__hero-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .ag-story__hero-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    padding: 13px 16px;
    font-size: 16px;
  }

  .ag-story__intro {
    padding: 86px 22px;
    text-align: left;
  }

  .ag-story__intro h2,
  .ag-story__section-heading h2,
  .ag-story__detail h2,
  .ag-story__closing h2 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.08;
  }

  .ag-story__intro > p:last-child {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.7;
  }

  .ag-story__worlds {
    padding: 0 16px 88px;
  }

  .ag-story__section-heading {
    margin-bottom: 30px;
    padding-inline: 6px;
  }

  .ag-story__world-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ag-story__world-media {
    aspect-ratio: 1 / 1.08;
  }

  .ag-story__world-copy {
    min-height: auto;
    padding: 24px 22px 28px;
  }

  .ag-story__world-copy h3 {
    font-size: 32px;
  }

  .ag-story__detail {
    grid-template-columns: 1fr;
  }

  .ag-story__detail-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .ag-story__detail-media img {
    padding: 28px;
  }

  .ag-story__detail-copy {
    padding: 66px 22px 72px;
  }

  .ag-story__detail-copy > p:not(.ag-story__eyebrow) {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.7;
  }

  .ag-story__principles {
    padding: 86px 22px;
  }

  .ag-story__principle-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .ag-story__principle-grid article {
    min-height: 0;
    padding: 30px 4px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--ag-line);
  }

  .ag-story__principle-grid article:last-child {
    border-bottom: 0;
  }

  .ag-story__principle-grid h3 {
    margin-top: 20px;
    font-size: 29px;
  }

  .ag-story__statement {
    padding: 94px 22px;
  }

  .ag-story__statement blockquote {
    font-size: clamp(46px, 14vw, 66px);
  }

  .ag-story__statement > p:last-child {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.6;
  }

  .ag-story__closing {
    padding: 90px 22px 100px;
  }
}

/* AnnieGarden Story hero — atmosphere option B, 2026-08-08 */
.ag-story__hero--atmosphere {
  position: relative;
  display: block;
  min-height: clamp(650px, 76vh, 820px);
  overflow: hidden;
  background: #18372a;
}

.ag-story__hero--atmosphere::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 49, 34, 0.92) 0%, rgba(17, 53, 38, 0.78) 33%, rgba(21, 47, 35, 0.36) 58%, rgba(20, 38, 30, 0.08) 78%, rgba(20, 38, 30, 0.12) 100%);
  pointer-events: none;
}

.ag-story__hero--atmosphere .ag-story__hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
}

.ag-story__hero--atmosphere .ag-story__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.9) contrast(0.96) brightness(0.92);
}

.ag-story__hero--atmosphere .ag-story__hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 58vw);
  min-height: inherit;
  box-sizing: border-box;
  padding: clamp(78px, 8vw, 128px) clamp(42px, 7vw, 116px);
  color: #fffaf0;
}

.ag-story__hero--atmosphere .ag-story__eyebrow {
  color: #f0c9a2;
}

.ag-story__hero--atmosphere h1 {
  max-width: 660px;
  color: #fffaf0;
  font-size: clamp(58px, 5.2vw, 92px);
}

.ag-story__hero--atmosphere .ag-story__lead {
  max-width: 620px;
  color: rgba(255, 250, 240, 0.87);
}

.ag-story__hero--atmosphere .ag-story__button--primary {
  border-color: #f3dfca;
  color: var(--ag-forest) !important;
  background: #f3dfca;
}

.ag-story__hero--atmosphere .ag-story__button--primary:hover {
  border-color: #fffaf0;
  color: var(--ag-forest-deep) !important;
  background: #fffaf0;
}

.ag-story__hero--atmosphere .ag-story__text-link {
  color: #fffaf0;
}

@media (max-width: 767px) {
  .ag-story__hero--atmosphere {
    display: block;
    min-height: min(790px, calc(100svh - 72px));
  }

  .ag-story__hero--atmosphere::before {
    background: linear-gradient(180deg, rgba(12, 42, 29, 0.08) 0%, rgba(12, 42, 29, 0.17) 36%, rgba(9, 32, 22, 0.9) 100%);
  }

  .ag-story__hero--atmosphere .ag-story__hero-media {
    position: absolute;
    min-height: 0;
    aspect-ratio: auto;
  }

  .ag-story__hero--atmosphere .ag-story__hero-media img {
    object-position: 58% center;
    filter: saturate(0.92) contrast(0.96) brightness(0.93);
  }

  .ag-story__hero--atmosphere .ag-story__hero-copy {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 270px 20px 30px;
  }

  .ag-story__hero--atmosphere h1 {
    max-width: 350px;
    margin-top: 16px;
    font-size: clamp(43px, 12.4vw, 52px);
    line-height: 0.98;
  }

  .ag-story__hero--atmosphere .ag-story__lead {
    max-width: 350px;
    margin-top: 20px !important;
    font-size: 15px;
    line-height: 1.58;
  }

  .ag-story__hero--atmosphere .ag-story__actions {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
  }

  .ag-story__hero--atmosphere .ag-story__button {
    width: auto;
    min-height: 50px;
    padding: 13px 18px;
    font-size: 13px;
  }

  .ag-story__hero--atmosphere .ag-story__text-link {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-story__button,
  .ag-story__world-card,
  .ag-story__world-media img {
    transition: none;
  }
}

.ag-story a.ag-story__button--primary,
.ag-story a.ag-story__button--primary:visited {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}