:root {
  --blush: #f4dde6;
  --shell: #e9e0d6;
  --char: #1f1f23;
  --rose: #d8a7b1;
  --rasp: #d6457a;
  --cerise: #e83e8c;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 31, 35, 0.08);
  --pad: 28px; /* container padding (desktop) */
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  height: 100%;
  /* background: linear-gradient(180deg,var(--shell),var(--blush)); */
  /* background: linear-gradient(to bottom, transparent 65%, #fbeff4 100%); */
  background: #ffe6ee;
  color: var(--char);
  font-family: "Old Standard TT", serif;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container uses a var so we can perfectly counter it for mobile bleed */
.container {
  max-width: 960px;
  margin: auto;
  padding: var(--pad);
}

/* ---------- HERO LAYOUT ---------- */
.hero {
  display: grid;
  gap: 28px;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 0;
  } /* stacked, no seam gap */
}

/* Photo card (desktop look) */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: none;
  /* radial-gradient(120% 120% at 10% 10%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(216,167,177,.15), rgba(216,167,177,0)); */
  border: 1px solid rgba(216, 167, 177, 0.35);
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Intro card (desktop) */
.intro {
  background: rgba(255, 255, 255, 0.65);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 167, 177, 0.45);
  box-shadow: var(--shadow);
}

/* Headings use DM Serif Display */
h1,
h2,
h3,
.h1,
.section h2 {
  font-family: "Old Standard TT", serif;
  font-weight: 700;
  line-height: 1.2;
}

@supports (backdrop-filter: blur(8px)) {
  .intro {
    backdrop-filter: blur(8px);
  }
}

/* ---------- TYPE & BADGES ---------- */
.h1 {
  font-size: clamp(35px, 4.2vw, 44px);
  line-height: 1.1;
  margin: 10px 0 14px;
  font-weight: 800;
  font-style: italic;
}
.p {
  font-size: clamp(15px, 1.5vw, 18px);
  opacity: 0.9;
}

/* ---------- BUTTONS ---------- */
.cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--rasp);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(214, 69, 122, 0.28);
  transition: transform 0.08s ease, background 0.2s ease;
}
.button:hover {
  background: var(--cerise);
  transform: translateY(-1px);
}
.button--ghost {
  background: transparent;
  color: var(--char);
  border: 1.5px solid var(--rose);
}
.button,
.link {
  min-height: 44px;
} /* big tap targets */

/* ---------- FEATURED LINKS ---------- */
.section h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  margin: 24px 0 16px;
}
.cardgrid {
  margin: 8px 0 34px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .cardgrid {
    grid-template-columns: 1fr;
  }
}
.card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(216, 167, 177, 0.45);
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  opacity: 0.85;
}
.link {
  position: relative;
  display: flex;
  justify-content: center; /* center all text horizontally */
  align-items: center; /* center vertically */
  padding: 16px; /* consistent padding */
  width: 100%; /* full width in grid column */
  min-height: 60px; /* ensures equal height */
  background: #fff;
  border: 1px solid rgba(216, 167, 177, 0.45);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(31, 31, 35, 0.08);
  transition: transform 0.15s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  text-align: center; /* centers inline text */
}

.link:hover {
  transform: translateY(-3px);
  border-color: var(--rasp);
  box-shadow: 0 10px 24px rgba(214, 69, 122, 0.25),
    /* pink glow */ 0 0 0 6px rgba(214, 69, 122, 0.08); /* soft ambient ring */
}
.link span {
  font-weight: 600;
}
.link small {
  opacity: 0.7;
}

/* ---------- NEWSLETTER ---------- */
.footer {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(216, 167, 177, 0.45);
  box-shadow: var(--shadow);
}
input,
button {
  font-family: inherit;
  font-size: 16px;
} /* avoid iOS zoom */
.form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
}
@media (max-width: 900px) {
  .form {
    grid-template-columns: 1fr;
  }
}
.input {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--rose);
  background: #fff;
}
.notice {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}
.success,
.error {
  margin-top: 10px;
  font-weight: 600;
}
.success {
  color: #1a7f37;
}
.error {
  color: #b00020;
}
.jump-btn {
  display: none; /* hidden by default (desktop) */
}
/* ---------- MOBILE: FULL-BLEED PHOTO + BLUSH FADE + NO CARD CHROME ---------- */
@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }

  /* Pull the photo up by container padding + iPhone safe-area,
     and full-bleed left/right */
  /* .photo {
    margin: calc(-1 * (var(--pad) + env(safe-area-inset-top)))
      calc(-1 * var(--pad)) 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
  } */
  .photo {
    position: relative;
    margin: calc(-1 * (var(--pad) + env(safe-area-inset-top)))
      calc(-1 * var(--pad)) 0;
    position: relative;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .photo::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0; /* inside the photo box (not clipped) */
    height: 14px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      #e9e0d6 0%,
      rgba(233, 224, 214, 0) 100%
    );
  }
  /* .photo img {
    border-radius: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 65%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 65%,
      rgba(0, 0, 0, 0) 100%
    );
    background: linear-gradient(to bottom, transparent 65%, var(--blush) 100%);
    background-clip: padding-box;
  } */
  .photo img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;

    /* same soft fade into page color */
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 65%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 65%,
      rgba(0, 0, 0, 0) 100%
    );
    background: linear-gradient(to bottom, transparent 65%, var(--blush) 100%);
    background-clip: padding-box;
  }

  /* .intro {
    margin-top: -50px;
    padding: calc(env(safe-area-inset-top) + 6px) 6px 14px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
  } */

  /* text sits nicely below; no forced full-screen height */
  .hero {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .intro {
    margin-top: -50px;
    padding: calc(env(safe-area-inset-top) + 6px) 6px 14px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
  }

  /* Mobile polish */
  .footer {
    padding: 18px;
    border-radius: 14px;
  }
  .card {
    padding: 14px;
    border-radius: 14px;
  }
  .button {
    padding: 13px 16px;
    border-radius: 12px;
  }
  .jump-btn {
    display: inline-flex; /* text + arrow in one row */
    align-items: center; /* vertical alignment */
    justify-content: center; /* centers text+icon inside */
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--rasp);
    color: #fff;
    font-weight: 700;
    font-family: "Old Standard TT", serif;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(214, 69, 122, 0.25);
    transition: background 0.2s ease, transform 0.15s ease;

    /* Centering trick */
    display: flex; /* treat it as block-level flex */
    margin: 20px auto 4px; /* auto left/right centers it */
    width: fit-content; /* shrink to content size */
  }

  .jump-btn:hover {
    background: var(--cerise);
    transform: translateY(-2px);
  }

  .jump-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
    vertical-align: middle;
    margin-top: -1px; /* tiny nudge */
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* -------- Subheading (under hero headline) -------- */
.subheading {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  font-family: "Old Standard TT", sans-serif;
  opacity: 0.95;
  margin: 8px 0 4px; /* tighter spacing under the H1 */
}

/* -------- Accordion -------- */
.copy-section {
  margin-top: 18px;
}
.accordion {
  border-top: 1px solid rgba(216, 167, 177, 0.45);
}
.accordion-item {
  border-bottom: 1px solid rgba(216, 167, 177, 0.45);
}

/* Button with arrow on the LEFT, text aligned left */
.acc-btn {
  width: 100%;
  padding: 16px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  font: 600 18px "Old Standard TT", sans-serif;
  color: var(--char);
}
.acc-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 0.25s ease;
  filter: brightness(0) saturate(100%) opacity(0.7);
}
.acc-btn[aria-expanded="true"] .acc-arrow {
  transform: rotate(180deg);
}

.acc-panel {
  padding: 0 12px 12px 40px;
  max-height: none;
}
.acc-panel p {
  margin: 10px 0;
  opacity: 0.9;
}
.acc-panel ul {
  margin: 8px 0 16px 18px;
}
.acc-panel ul {
  margin: 8px 0 16px 0;
  padding-left: 0;
  list-style-position: inside;
}
/* mobile polish for accordion spacing (keeps your current mobile vibe) */
@media (max-width: 900px) {
  .copy-section {
    margin-top: 8px;
  }
  .acc-btn {
    padding: 14px 8px;
    font-size: 17px;
  }
  .acc-panel {
    padding: 0 8px 12px 40px;
  }
  .link {
    font-size: 17px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(214, 69, 122, 0.12);
  }
  .link:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(214, 69, 122, 0.25);
    border-color: var(--rasp);
  }
}

/* Resources heading */
.resources-title {
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  margin: 12px 0 20px;
  text-align: center;
  letter-spacing: 0.3px;
}

.resources {
  margin-top: 40px; /* more breathing room */
}

/* -------- Footer -------- */
.site-footer {
  padding: 30px 20px;
  background: #fff;
  border-top: 1px solid rgba(216, 167, 177, 0.35);
  box-shadow: 0 -4px 12px rgba(31, 31, 35, 0.05);
  text-align: center;
  font-size: 14px;
  color: rgba(31, 31, 35, 0.8);
}

.site-footer .footer-content {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer .footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: var(--char);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
  color: var(--rasp);
}
