/*
  Salt & Sage — white colour translation.
  Loaded after theme.css / wedding.css. Changes colour only; no layout.
  Anything that sits on top of a photo (hero titles, dots, card captions,
  photo overlays) keeps its original light-on-dark colours.
*/

:root {
  --bg-deep: #fffdf9;
  --bg-dark: #f7f2eb;
  --bg-soft: #f1ebe2;
  --paper: #efe7dc;
  --ink: #2f2d2a;
  --text: #34322e;
  --muted: #6f6a62;
  --sage: #6f8262;
  --sage-bright: #5d7151;
  --stroke: rgba(111, 130, 98, 0.45);
  --shadow: 0 24px 60px rgba(84, 66, 44, 0.14);
}

/* ---------- menu drawer ---------- */

.menu-drawer {
  background: rgba(247, 242, 235, 0.82);
}

.menu-drawer__panel {
  border-color: rgba(52, 50, 46, 0.1);
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(247, 242, 235, 0.98));
}

.menu-close {
  color: var(--ink);
}

.menu-links a {
  color: var(--ink);
}

.menu-drawer__right {
  background:
    radial-gradient(circle at 50% 22%, rgba(111, 130, 98, 0.1), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(216, 195, 165, 0.18), transparent 20%),
    linear-gradient(180deg, #f3ede5 0%, #ece4d8 100%);
}

.menu-preview-brand::before {
  background: radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.5), transparent 24%);
}

.menu-preview-brand::after {
  background: radial-gradient(circle at center, transparent 42%, rgba(84, 66, 44, 0.08) 100%);
}

.menu-preview-contact::before {
  background:
    radial-gradient(circle at 50% 68%, rgba(111, 130, 98, 0.1), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, rgba(216, 195, 165, 0.22) 100%);
}

.menu-preview-contact::after {
  background: none;
}

.menu-preview-brand__eyebrow {
  color: rgba(111, 130, 98, 0.85);
}

.menu-preview-brand__wordmark,
.menu-preview-contact__title {
  color: var(--ink);
  text-shadow: none;
}

.menu-preview-brand__line,
.menu-preview-contact__line {
  color: var(--muted);
}

.menu-preview-contact__rule {
  background: linear-gradient(90deg, rgba(111, 130, 98, 0) 0%, rgba(111, 130, 98, 0.7) 50%, rgba(111, 130, 98, 0) 100%);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .menu-drawer__top {
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.94) 78%, rgba(255, 253, 249, 0) 100%);
  }
}

/* ---------- homepage ---------- */

.hero {
  background: #efe7dc;
}

.split-intro__panel p {
  color: #4a4640;
}

.text-button {
  color: var(--ink);
}

.text-button::after {
  background: rgba(52, 50, 46, 0.5);
}

.quiet-statement {
  border-top-color: rgba(52, 50, 46, 0.1);
  border-bottom-color: rgba(52, 50, 46, 0.1);
}

.quiet-statement h2 {
  color: #8f8a81;
}

.folio-card {
  background: #efe7dc;
}

.outline-button--dark {
  --btn-ink-hover: #fffdf9;
}

/* ---------- contact page ---------- */

.contact-story {
  background:
    radial-gradient(circle at top left, rgba(216, 195, 165, 0.18), transparent 38%),
    linear-gradient(180deg, #f7f2eb 0%, #fffdf9 100%);
}

.contact-story__content {
  background: rgba(255, 253, 249, 0.92);
  border-color: rgba(52, 50, 46, 0.1);
  box-shadow: 0 24px 60px rgba(84, 66, 44, 0.12);
}

.contact-story__title {
  color: var(--ink);
}

.contact-story__content p {
  color: #4a4640;
}

.contact-story__button {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
  --btn-fill: var(--ink);
  --btn-ink-hover: #fffdf9;
  --btn-border-hover: var(--ink);
  --btn-ghost: rgba(52, 50, 46, 0.1);
}

.contact-story__button::after {
  background: rgba(52, 50, 46, 0.12);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--ink);
  border-top-color: rgba(52, 50, 46, 0.1);
}

.site-footer__info p,
.site-footer__info a,
.site-footer__menus a {
  color: var(--ink);
}

.site-footer__location {
  color: var(--muted);
}

.site-footer__bottom {
  border-top-color: rgba(52, 50, 46, 0.14);
}

.site-footer__bottom p,
.site-footer__bottom a,
.site-footer__bottom span {
  color: var(--muted);
}

/* the dark film vignette turns grey on white; keep it as a faint warm edge */
.film::before {
  background: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0) 0%, rgba(120, 100, 76, 0.12) 70%, rgba(120, 100, 76, 0.28) 100%);
  opacity: 0.6;
}

/* ---------- wedding & portfolio pages ---------- */

.wedding-hero__subtitle {
  color: #b8c9a9;
}

.wedding-intro__heading,
.wedding-closing-carousel__title {
  color: var(--ink);
}

.wedding-closing-carousel__text {
  color: var(--muted);
}

.wedding-gallery__section + .wedding-gallery__section {
  border-top-color: rgba(52, 50, 46, 0.06);
}

.wgrid__item,
.wedding-carousel__slide {
  background: #efe7dc;
}

.wedding-carousel__slide {
  box-shadow: 0 24px 48px rgba(84, 66, 44, 0.16);
}

.wedding-carousel__slide.is-active {
  box-shadow: 0 30px 72px rgba(84, 66, 44, 0.26);
}

.wedding-carousel__button {
  border-color: rgba(52, 50, 46, 0.18);
  background: rgba(255, 253, 249, 0.82);
  color: var(--ink);
}

.wedding-carousel__button:hover,
.wedding-carousel__button:focus-visible {
  background: rgba(111, 130, 98, 0.15);
  border-color: var(--sage);
}

.wedding-carousel__dot {
  background: rgba(52, 50, 46, 0.18);
}

.wedding-carousel__dot:hover,
.wedding-carousel__dot:focus-visible {
  background: rgba(52, 50, 46, 0.4);
}

.wedding-lightbox {
  background: rgba(255, 253, 249, 0.98);
}

.wedding-lightbox__img {
  box-shadow: 0 32px 80px rgba(84, 66, 44, 0.25);
}

.wedding-lightbox__close,
.wedding-lightbox__nav {
  border-color: rgba(52, 50, 46, 0.2);
  background: rgba(255, 253, 249, 0.7);
  color: var(--ink);
}

.wedding-lightbox__close:hover,
.wedding-lightbox__nav:hover {
  background: rgba(111, 130, 98, 0.15);
}

.wedding-lightbox__counter {
  color: rgba(52, 50, 46, 0.6);
}

/* ---------- events pages (light top bar, so dark icons) ---------- */

.events-page .topbar {
  background: linear-gradient(to bottom, rgba(255, 253, 249, 0.94), rgba(255, 253, 249, 0.6));
  border-bottom-color: rgba(111, 130, 98, 0.15);
}

.events-page .menu-toggle span,
.events-page .menu-close__line {
  background: var(--ink);
}

.events-page .site-footer {
  background: var(--bg-dark);
}

.events-page .contact-cta {
  background: var(--paper);
}

.events-banner {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(111, 130, 98, 0.1), transparent 48%),
    linear-gradient(to bottom, #f7f2eb 0%, #fffdf9 100%);
  border-bottom-color: rgba(111, 130, 98, 0.15);
}

.events-banner__title span {
  color: var(--ink);
  text-shadow: none;
}

.events-banner__copy {
  color: var(--muted);
}

/* ---------- top bar on inner pages ----------
   The homepage bar fades out after the hero photo, so it keeps its original look.
   On every other page the bar stays on screen, so it turns light with dark icons. */

body:not(.home-page) .topbar::before {
  background: linear-gradient(to bottom, rgba(255, 253, 249, 0.94) 5%, rgba(255, 253, 249, 0) 100%);
}

.events-page .topbar::before {
  background: none;
}

body:not(.home-page) .menu-toggle span {
  background: var(--ink);
}

body:not(.home-page) .phone-pill img {
  filter: brightness(0.2);
}

/* ---------- menu: "Other Investments" dropdown ---------- */

.menu-links__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: "Sage Serif", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  color: var(--ink);
  text-align: left;
  transition: color var(--ease), transform var(--ease);
}

.menu-links__toggle:hover,
.menu-links__toggle:focus-visible {
  color: var(--sage-bright);
  transform: translateX(8px);
}

.menu-links__chevron {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.1em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  transition: transform 500ms var(--ease-silk);
}

.menu-links__toggle[aria-expanded="true"] .menu-links__chevron {
  transform: translateY(0.08em) rotate(-135deg);
}

.menu-sublinks {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 650ms var(--ease-silk), visibility 0s linear 650ms;
}

.menu-sublinks.is-expanded {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 650ms var(--ease-silk), visibility 0s;
}

.menu-sublinks > ul {
  display: grid;
  gap: 0.5rem;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 0.15em;
  overflow: hidden;
  list-style: none;
  border-left: 1px solid rgba(111, 130, 98, 0.35);
}

.menu-sublinks li:first-child {
  margin-top: 0.9rem;
}

.menu-sublinks li:last-child {
  margin-bottom: 0.3rem;
}

.menu-sublinks a {
  display: inline-block;
  padding-left: 0.9rem;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.1;
  color: var(--muted);
}

.menu-sublinks a[aria-current="page"] {
  color: var(--sage);
}

/* match the responsive sizes theme.css gives .menu-links a */
@media (min-width: 1101px) {
  .menu-links__toggle {
    font-size: clamp(1.7rem, 2.95vw, 3rem);
    line-height: 0.92;
  }
}

@media (max-width: 1100px) {
  .menu-links__toggle {
    font-size: clamp(1.55rem, 7.2vw, 2.3rem);
    line-height: 0.92;
  }
}

@media (max-width: 760px) {
  .menu-links__toggle {
    font-size: clamp(1.38rem, 8.1vw, 2.05rem);
    letter-spacing: 0.01em;
    line-height: 0.9;
  }

  .menu-sublinks a {
    font-size: clamp(1.1rem, 5.6vw, 1.45rem);
  }
}

@media (max-width: 640px) {
  .wedding-page .menu-links__toggle {
    font-size: clamp(1.32rem, 7.6vw, 1.95rem);
  }
}
