:root {
  --cream: #f7f3ea;
  --warm-linen: #e7ded2;
  --soft-stone: #eee8df;
  --muted-blush: #d8cabc;
  --ink: #202120;
  --heading-taupe: #756b63;
  --body-taupe: #625b55;
  --editorial-taupe: #686257;
  --deep-olive: #556052;
  --soft-olive: #6e7869;
  --sage: #888b7b;
  --warm-accent: #998c74;
  --warm-accent-text: #6c624f;
  --white: #fff;
  --ag-espresso: var(--deep-olive);
  --ag-clay: var(--soft-olive);
  --ag-forest: var(--ag-espresso);
  --ag-sage: var(--sage);
  --ag-warm: var(--warm-accent);
  --ag-cream: var(--cream);
  --ag-linen: var(--warm-linen);
  --ag-mist: var(--soft-stone);
  --ag-ink: var(--ink);
  --ag-stone: var(--body-taupe);
  --ag-white: var(--white);
  --ag-radius-sm: 8px;
  --ag-space-section: clamp(72px, 9vw, 128px);
  --ag-content: 1200px;
  --ag-reading: 680px;
  --ag-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Image radius is controlled by the native Bricks image Theme Style. */

/* Homepage hero: editorial image first, message and story link below the frame. */
body.home #brxe-yfpkyg {
  border-radius: 0 0 var(--ag-radius-sm) var(--ag-radius-sm);
  overflow: hidden;
}

body.home #brxe-yfpkyg.bricks-lazy-hidden,
body.home #brxe-bequkm.bricks-lazy-hidden,
body.home #brxe-bequkm .image.bricks-lazy-hidden {
  opacity: 1 !important;
  visibility: visible !important;
}

body.home #brxe-bequkm,
body.home #brxe-bequkm .swiper,
body.home #brxe-bequkm .swiper-slide {
  height: clamp(420px, 56.25vw, 760px) !important;
  min-height: 0 !important;
}

body.home #brxe-zqvsce { display: none !important; }

body.home #brxe-gmagui { background: var(--ag-cream); }
body.home #brxe-bovwiz { background: var(--ag-cream) !important; }
body.home #brxe-wjjzmc { background: var(--muted-blush); }
body.home #brxe-fssfuk { background: var(--ag-cream) !important; }
body.home #brxe-jxskxw { background: var(--ag-mist); }
body.home #brxe-lmxxmg { background: var(--ag-linen); }
body.home #brxe-ymbvyn { background: var(--ag-cream) !important; }
body.home #brxe-vntlim { background: var(--ag-mist); }
body.home #brxe-tvhzql { background: var(--ag-linen) !important; }
body.home #brxe-tvhzql :is(h2, p, .brxe-text-basic) { color: var(--ag-ink) !important; }
body.home #brxe-maaaop { color: var(--ag-forest) !important; }

/* Vision panel: image-led, so all copy and native light buttons maintain
   deliberate high contrast rather than inheriting light-ground taupes. */
body.home #brxe-yyszsy {
  background-color: var(--ink) !important;
  background-image: none !important;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
body.home #brxe-yyszsy::before {
  background:
    linear-gradient(rgba(32, 33, 32, .56), rgba(32, 33, 32, .56)),
    url("https://www.anchorandgrace.co.nz/wp-content/uploads/2023/01/Lauren-Liam-0477-Top-Picks.webp") center center / cover no-repeat;
  content: "";
  filter: grayscale(1);
  inset: 0;
  position: absolute;
  z-index: -1;
}
body.home #brxe-yyszsy.bricks-lazy-hidden,
body.home #brxe-yyszsy .bricks-lazy-hidden {
  opacity: 1 !important;
  visibility: visible !important;
}
body.home #brxe-yyszsy [data-interaction-hidden-on-load] {
  opacity: 1 !important;
  transform: none !important;
}
body.home #brxe-yyszsy :is(#brxe-iqoodk, #brxe-fiqejt, #brxe-lacoav) {
  color: var(--white) !important;
}
body.home #brxe-yyszsy .brxe-button.light.outline,
body.home #brxe-yyszsy .bricks-button.bricks-color-light.outline {
  background: transparent !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}
body.home #brxe-yyszsy .brxe-button.light:not(.outline),
body.home #brxe-yyszsy .bricks-button.bricks-background-light:not(.outline) {
  background: var(--cream) !important;
  border-color: var(--cream) !important;
  color: var(--deep-olive) !important;
}
body.home #brxe-yyszsy .brxe-button.light.outline:hover {
  background: var(--cream) !important;
  color: var(--deep-olive) !important;
}
body.home #brxe-yyszsy .brxe-button.light:not(.outline):hover {
  background: var(--warm-linen) !important;
  border-color: var(--warm-linen) !important;
}

body.home #brxe-bovwiz,
body.home #brxe-lmxxmg,
body.home #brxe-vntlim {
  border-radius: var(--ag-radius-sm);
}

/* Love Stories: a calm manual rail showing two complete portrait cards. */
body.home #brxe-jxskxw { padding-inline: 0 !important; }
body.home #brxe-evbctu { max-width: none; width: 100%; }
.ag-story-rail {
  display: block !important;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding-block: 10px 18px;
  scrollbar-color: var(--ag-sage) transparent;
  scrollbar-width: thin;
  scroll-padding-inline: 10px;
  scroll-snap-type: x mandatory;
  width: 100%;
}
.ag-story-rail__track {
  display: flex;
  gap: 24px;
  padding-inline: 10px;
  width: max-content;
}
.ag-story-rail__group {
  display: flex;
  gap: 24px;
}
.ag-story-card {
  flex: 0 0 calc((100vw - 58px) / 2.1667);
  min-width: 0;
  position: relative;
  scroll-snap-align: start;
  transform: scale(1);
  transform-origin: center;
  transition: transform .45s var(--ag-ease);
}
.ag-story-card img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: var(--ag-focal-x, 50%) var(--ag-focal-y, 50%);
  width: 100%;
  transition: transform .6s var(--ag-ease);
}
.ag-story-card :is(h2, h3, .brxe-heading) { color: var(--editorial-taupe) !important; }
.ag-story-card::after {
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  background: rgba(247, 243, 234, .01);
  border-radius: var(--ag-radius-sm);
  content: "";
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
  aspect-ratio: 4 / 5;
  transition: -webkit-backdrop-filter .55s var(--ag-ease), backdrop-filter .55s var(--ag-ease);
  width: 100%;
  z-index: 1;
}
.ag-story-card:hover,
.ag-story-card:focus-visible {
  outline: none;
  transform: scale(1.018);
  z-index: 2;
}
.ag-story-card:hover img,
.ag-story-card:focus-visible img { transform: scale(1.025); }
.ag-story-card:has(+ .ag-story-card:hover)::after,
.ag-story-card:hover + .ag-story-card::after,
.ag-story-card:has(+ .ag-story-card:focus-visible)::after,
.ag-story-card:focus-visible + .ag-story-card::after {
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
.ag-story-card:has(+ .ag-story-card:hover),
.ag-story-card:has(+ .ag-story-card:focus-visible) {
  transform: translateX(-14px) scale(.99);
}
.ag-story-card:hover + .ag-story-card,
.ag-story-card:focus-visible + .ag-story-card {
  transform: translateX(14px) scale(.99);
}

.ag-hero-story-caption {
  align-items: baseline;
  background: var(--ag-cream);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px clamp(22px, 5vw, 72px) 22px;
}

.ag-hero-story-caption__label {
  color: var(--ag-stone);
  font: 600 11px/1.3 "Source Sans 3", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ag-hero-story-caption__link,
.ag-hero-story-caption__text {
  color: var(--ag-ink);
  font: 400 clamp(18px, 2vw, 24px)/1.25 "Source Serif 4", Georgia, serif;
  text-decoration: none;
}

.ag-hero-story-caption__link:hover { color: var(--ag-clay); }
.ag-hero-story-caption__link:focus-visible { outline: 2px solid var(--ag-forest); outline-offset: 5px; }

/* The marquee becomes a quiet brand rhythm, not a second headline. */
body.home .ag-marquee { padding-block: 18px !important; }
body.home .ag-marquee .ag-marquee__track { column-gap: 2rem !important; }
body.home .ag-marquee :is(.brxe-heading, [class*="brxe-"]) {
  color: var(--ink) !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

/* Static closing image: predictable crop and calmer text scale. */
body.home #brxe-sizddt {
  background-attachment: scroll !important;
  border-radius: var(--ag-radius-sm) var(--ag-radius-sm) 0 0;
  min-height: clamp(500px, 58vw, 680px) !important;
  overflow: hidden;
}

/* Bricks-native button variants use the global palette; these selectors only
   protect the generated styles from stale cached per-element CSS. */
.brxe-button:not(.outline):not(.light):not(.bricks-background-light):not(.bricks-color-light) {
  background-color: var(--ag-espresso) !important;
  border-color: var(--ag-espresso) !important;
  color: var(--ag-white) !important;
}
.brxe-button,
.bricks-button {
  font-family: "Source Sans 3", system-ui, sans-serif !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.brxe-button:focus-visible,
.bricks-button:focus-visible {
  outline: 2px solid var(--deep-olive);
  outline-offset: 4px;
}
.bricks-button.bricks-background-light:focus-visible,
.bricks-button.bricks-color-light:focus-visible {
  outline-color: var(--cream) !important;
}
.brxe-button:not(.outline):not(.light):not(.bricks-background-light):not(.bricks-color-light):hover {
  background-color: var(--ag-clay) !important;
  border-color: var(--ag-clay) !important;
}
.brxe-button.outline:not(.light):not(.bricks-color-light) {
  background: transparent !important;
  border-color: var(--ag-espresso) !important;
  color: var(--ag-espresso) !important;
}
.brxe-button.outline:not(.light):not(.bricks-color-light):hover {
  background: var(--ag-espresso) !important;
  color: var(--ag-white) !important;
}

body.home #brxe-mlpjtm {
  font-size: clamp(42px, 6vw, 76px) !important;
  letter-spacing: -.035em !important;
  line-height: 1 !important;
  max-width: 760px;
}

body.home #brxe-ljmbkw { max-width: 620px; }

/* Script is reserved for true page-level H1 titles, never section headings. */
body h1.ag-script-heading,
body h1.ag-script-title {
  font-family: "Wild Spirit", cursive !important;
  font-size: clamp(68px, 6vw, 100px) !important;
  font-weight: 400 !important;
  letter-spacing: .035em !important;
  line-height: 1 !important;
  color: var(--editorial-taupe) !important;
}

body h2.ag-script-heading,
body h2.ag-script-title {
  font-family: "Source Serif 4", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--editorial-taupe) !important;
}

body .ag-script-accent {
  font-family: "Wild Spirit", cursive !important;
  font-weight: 400 !important;
}

/* Reusable closing-navigation component shared by every internal page. */
.ag-explore-legacy { display: none !important; }

.ag-explore {
  background: var(--ag-cream);
  color: var(--ag-ink);
  padding: clamp(72px, 8vw, 112px) 20px;
}

.ag-explore__inner {
  margin-inline: auto;
  max-width: 1080px;
}

.ag-explore h2 {
  color: var(--ag-ink);
  font: 400 clamp(36px, 4vw, 56px)/1.08 "Source Serif 4", Georgia, serif;
  letter-spacing: -.03em;
  margin: 0 0 clamp(32px, 5vw, 52px);
  text-align: center;
}

.ag-explore__links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-explore__link {
  align-items: center;
  background: transparent;
  border: 1px solid var(--ag-forest);
  border-radius: var(--ag-radius-sm);
  color: var(--ag-forest);
  display: flex;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: .9375rem !important;
  font-weight: 600;
  gap: 20px;
  justify-content: space-between;
  line-height: 1.3;
  min-height: 56px;
  padding: 12px 18px;
  text-decoration: none;
  transition: background-color .25s var(--ag-ease), border-color .25s var(--ag-ease), color .25s var(--ag-ease), transform .25s var(--ag-ease);
}

.ag-explore__link:hover,
.ag-explore__link:focus-visible {
  background: var(--ag-linen);
  transform: translateY(-2px);
}

.ag-explore__link:focus-visible {
  outline: 2px solid var(--ag-forest);
  outline-offset: 3px;
}

.ag-explore__link--primary {
  background: var(--ag-forest) !important;
  color: var(--ag-white) !important;
}

.ag-explore__link--primary:hover,
.ag-explore__link--primary:focus-visible {
  background: var(--ag-clay) !important;
  border-color: var(--ag-clay) !important;
}

.ag-reviews {
  background: var(--ag-cream);
  color: var(--ag-ink);
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 64px);
}

.ag-reviews__inner {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 112px);
  margin: 0 auto;
  max-width: var(--ag-content);
}

.ag-eyebrow {
  color: var(--warm-accent-text);
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.ag-reviews h2 {
  color: var(--ag-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0 0 24px;
}

.ag-reviews__summary,
.ag-reviews__google,
.ag-review__author,
.ag-review__date,
.ag-button {
  font-family: "Source Sans 3", sans-serif;
}

.ag-reviews__summary { color: var(--ag-stone); line-height: 1.6; }
.ag-reviews__summary strong { color: var(--ag-ink); font-size: 1.2em; }
.ag-reviews__google { color: var(--ag-forest); display: inline-block; font-weight: 600; margin-top: 24px; text-underline-offset: 4px; }
.ag-reviews__track { min-height: 330px; position: relative; }
.ag-review { display: none; }
.ag-review.is-active { animation: agReviewIn .45s var(--ag-ease); display: block; }
.ag-review__rating { color: var(--ag-warm); font-size: 18px; letter-spacing: .12em; margin: 0 0 24px; }
.ag-review blockquote { border: 0; margin: 0; padding: 0; }
.ag-review blockquote p,
.ag-reviews__placeholder > p {
  color: var(--ag-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.28;
  margin: 0 0 32px;
  max-width: var(--ag-reading);
}
.ag-review__author { color: var(--ag-ink); font-weight: 600; margin: 0; }
.ag-review__date { color: var(--ag-stone); font-size: 14px; margin: 4px 0 0; }
.ag-reviews__controls { display: flex; gap: 12px; margin-top: 28px; }
.ag-reviews__controls button {
  align-items: center; background: transparent; border: 1px solid var(--ag-forest); border-radius: 999px; color: var(--ag-forest); cursor: pointer; display: inline-flex; font-size: 20px; height: 48px; justify-content: center; transition: background .2s, color .2s, transform .2s; width: 48px;
}
.ag-reviews__controls button:hover { background: var(--ag-forest); color: var(--ag-white); transform: translateY(-2px); }
.ag-reviews__controls button:focus-visible, .ag-button:focus-visible, .ag-reviews__google:focus-visible { outline: 2px solid var(--ag-forest); outline-offset: 4px; }
.ag-button { background: var(--ag-forest); border-radius: 999px; color: var(--ag-white); display: inline-block; font: 600 .875rem/1.3 "Source Sans 3", system-ui, sans-serif; padding: .8rem 2rem; text-decoration: none; }

#brx-footer { background: var(--deep-olive) !important; }
#brx-footer,
#brx-footer a { color: var(--white) !important; }
#brx-header img,
#brx-footer img { border-radius: 0 !important; }

/* Love Stories query cards: quiet depth and clear link affordance without
   changing the grid's geometry. Touch devices retain the static treatment. */
body.page-id-262 .brxe-vlilsn {
  color: inherit;
  outline: none;
  text-decoration: none;
}
body.page-id-262 .brxe-vlilsn .brxe-tacbri {
  box-shadow: 0 0 0 rgba(32, 33, 32, 0);
  filter: saturate(.92);
  overflow: hidden;
  transform: scale(1);
  transition: box-shadow .45s var(--ag-ease), filter .55s var(--ag-ease), transform .65s var(--ag-ease);
}
body.page-id-262 .brxe-vlilsn .brxe-nxnmzu {
  transition: color .3s ease, transform .4s var(--ag-ease);
}
@media (hover: hover) and (pointer: fine) {
  body.page-id-262 .brxe-vlilsn:hover .brxe-tacbri,
  body.page-id-262 .brxe-vlilsn:focus-visible .brxe-tacbri {
    box-shadow: 0 16px 36px rgba(32, 33, 32, .14);
    filter: saturate(1.04);
    transform: translateY(-3px) scale(1.025);
  }
  body.page-id-262 .brxe-vlilsn:hover .brxe-nxnmzu,
  body.page-id-262 .brxe-vlilsn:focus-visible .brxe-nxnmzu {
    color: var(--deep-olive) !important;
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-262 .brxe-vlilsn .brxe-tacbri,
  body.page-id-262 .brxe-vlilsn .brxe-nxnmzu { transition: none !important; }
}

/* The reviews replace the older static testimonial block. Instagram is moved after this section in JS. */
.brxe-video,
.brxe-video .bricks-video-wrapper,
.brxe-video .bricks-video-preview-image { border-radius: var(--ag-radius-sm); overflow: hidden; }

body.home #brxe-zdfhac .bricks-video-overlay-icon {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 72px;
  height: 72px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 0 4px !important;
  width: 72px;
}

@keyframes agReviewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  #brx-footer,
  #brx-footer .brxe-section,
  #brx-footer .brxe-container {
    text-align: center !important;
  }
  #brx-footer .brxe-container {
    align-items: center !important;
    justify-content: center !important;
  }
  #brx-footer .brxe-nav-menu,
  #brx-footer .bricks-nav-menu {
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  #brx-footer .bricks-nav-menu > li,
  #brx-footer .brxe-text-basic {
    margin-inline: auto !important;
    text-align: center !important;
    width: 100% !important;
  }
  body h1.ag-script-heading,
  body h1.ag-script-title {
    font-size: clamp(54px, 16vw, 76px) !important;
    letter-spacing: .025em !important;
  }
  .ag-explore__links {
    grid-template-columns: 1fr;
  }
  body.home #brxe-bequkm,
  body.home #brxe-bequkm .swiper,
  body.home #brxe-bequkm .swiper-slide {
    aspect-ratio: 4 / 5;
    height: auto !important;
    min-height: 0 !important;
  }
  body.home #brxe-bequkm .swiper-slide {
    background-position: var(--ag-focal-x, 50%) var(--ag-focal-y, 50%) !important;
    background-size: cover !important;
  }
  .ag-hero-story-caption { align-items: flex-start; flex-direction: column; gap: 6px; }
  body.home #brxe-sizddt { min-height: 560px !important; }
  .ag-story-rail { scroll-padding-inline: 10px; }
  .ag-story-rail__track,
  .ag-story-rail__group { gap: 12px; }
  .ag-story-card { flex-basis: 84vw; }
  .ag-story-card img,
  .ag-story-card::after { aspect-ratio: 4 / 5; }
  .ag-story-card img {
    block-size: 105vw !important;
    height: 105vw !important;
    inline-size: 100%;
    object-fit: cover;
  }
  .ag-story-card::after { height: 105vw; }
  .ag-story-card:hover,
  .ag-story-card:focus-visible { transform: scale(1.01); }
  .ag-reviews__inner { grid-template-columns: 1fr; gap: 48px; }
  .ag-reviews__track { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-review.is-active { animation: none; }
  .ag-reviews__controls button { transition: none; }
  .ag-story-card { scroll-snap-align: start; }
}

