/* wendydangelo.com
   One calm, warm stylesheet: mobile first, no CSS framework, no build step. */

/* Fonts: latin subsets from Fontsource, self-hosted (SIL OFL 1.1, see fonts/LICENSE.txt). */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-sans-700.woff2") format("woff2");
}

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2b2533;
  --muted: #6b6274;
  --accent: #5b3e72;
  --accent-ink: #ffffff;
  --gold: #b8925a;
  --line: #e7e0d6;

  --radius: 12px;
  --wrap: 68ch;
  --wide: 1100px;
  --heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #462d59;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--wrap), 100% - 2rem);
  margin-inline: auto;
}

.wide {
  width: min(var(--wide), 100% - 2rem);
  margin-inline: auto;
}

/* Skip link: off screen until it takes focus. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-block: 1rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

.wordmark-tagline {
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Below 760px the nav is a <details> disclosure; wide screens show the full row. */
.site-nav {
  display: none;
}

.nav-menu {
  display: block;
  margin-left: auto;
}

/* Open, the menu takes a row of its own instead of squeezing the wordmark. */
.nav-menu[open] {
  flex-basis: 100%;
}

.nav-menu summary {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
  cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] summary {
  background: var(--bg);
}

.nav-menu nav {
  margin-top: 0.75rem;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-list a:hover {
  color: var(--accent);
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.button.header-book {
  display: none;
}

@media (min-width: 760px) {
  .nav-menu {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.1rem;
  }

  .site-nav a:hover {
    border-bottom-color: var(--gold);
  }

  .site-nav a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
    border-bottom-color: var(--gold);
  }

  .button.header-book {
    display: inline-flex;
  }
}

/* Buttons ----------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: #472e59;
  border-color: #472e59;
  color: var(--accent-ink);
}

.button-ghost {
  background: transparent;
  color: var(--accent);
}

.button-ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}

.button-small {
  min-height: 2.25rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Main -------------------------------------------------------------------- */

main {
  padding-block: 2rem 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink);
}

.hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-block: 1.5rem 2.5rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero-portrait {
  justify-self: center;
  width: min(100%, 340px);
}

.hero-portrait img {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    padding-block: 3rem 4rem;
  }
}

.notice {
  margin-top: 1.5rem;
  padding: 0.6rem 0 0.6rem 0.9rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding-block: 2.5rem;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.quote {
  margin: 3rem auto;
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.3;
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* Cards: an image on top, then the words. */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card img,
.card .card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
}

.card-body > :last-child {
  margin-bottom: 0;
}

/* Blog -------------------------------------------------------------------- */

.blog-intro {
  padding-block: 2rem 1rem;
}

.blog-intro h1 {
  max-width: 18ch;
}

.post-list {
  display: grid;
  gap: 1.5rem;
  padding-block: 1rem 0;
}

@media (min-width: 760px) {
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--accent);
}

/* Service cards: a grid of readings, healing sessions and mentoring. */
.service-list {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 760px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.service-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--accent);
}

.service-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-book {
  align-self: flex-start;
  margin-top: auto;
}

.service-ask {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
}

.service-detail .service-meta {
  font-size: 1rem;
}

.service-detail .prose {
  margin-top: 1.5rem;
}

.service-back {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.post-more {
  margin-top: auto;
  font-weight: 700;
}

.post-header {
  margin-bottom: 1.5rem;
}

.post-header h1 {
  margin-bottom: 0.25rem;
}

.post-hero {
  margin: 0 0 1.75rem;
}

.post-hero img {
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-back {
  margin-top: 2rem;
}

.post-cta {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.post-cta h2 {
  margin-bottom: 0.5rem;
}

.post-cta p {
  max-width: 52ch;
  margin-inline: auto;
}

.post-cta .button {
  margin-top: 0.5rem;
}

.blog-empty {
  padding-block: 2rem;
  color: var(--muted);
}

/* Events ------------------------------------------------------------------ */

.next-event {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.next-event strong {
  color: var(--ink);
}

.events-intro {
  padding-block: 2rem 1rem;
}

.event-list {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 860px) {
  .event-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.event-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.event-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.event-card h3 a:hover {
  color: var(--accent);
}

.event-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-description {
  margin: 0;
}

.event-description p:last-child {
  margin-bottom: 0;
}

.event-actions {
  margin-top: auto;
}

.event-past {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-past li {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.event-past li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.event-past-date {
  display: inline-block;
  min-width: 9rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.event-past-venue {
  color: var(--muted);
}

.event-detail .post-hero {
  margin-top: 1.75rem;
}

/* Markdown pages ---------------------------------------------------------- */

.page-hero {
  margin-block: 0 1.5rem;
}

.page-hero img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page {
  padding-block: 1rem;
}

.page h1 {
  margin-bottom: 1.25rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose img {
  margin: 1.5rem auto;
  border-radius: var(--radius);
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-style: italic;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* FAQ: <details> so every answer works without JavaScript. */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq summary:hover,
.faq details[open] summary {
  color: var(--accent);
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
}

.faq p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
}

/* Booking ---------------------------------------------------------------- */

.booking-step {
  margin-top: 2rem;
}

.booking-step h2 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.day-list,
.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-list .button,
.slot-list .button {
  font-variant-numeric: tabular-nums;
}

.booking-message {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}

.booking-error {
  border-left-color: #a3413a;
  color: #7d2f2a;
}

.booking-note {
  margin: 0;
  color: var(--muted);
}

.booking-when {
  margin: 0 0 1.5rem;
  font-family: var(--heading);
  font-size: 1.4rem;
}

.booking-form {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  margin-top: 1.5rem;
}

.booking-field {
  display: grid;
  gap: 0.35rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.booking-field legend {
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.booking-field > label,
.booking-field legend {
  font-weight: 700;
}

.booking-field input:not([type="checkbox"]):not([type="radio"]),
.booking-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
}

.booking-field input:not([type="checkbox"]):not([type="radio"]):focus,
.booking-field textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.booking-field textarea {
  resize: vertical;
}

.booking-help,
.booking-optional {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.booking-field-error {
  margin: 0;
  color: #7d2f2a;
  font-size: 0.85rem;
}

/* The contact form and the ways to reach Wendy beside it. */
.contact-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-other {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-other h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.contact-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-thanks .button-row {
  margin-top: 1.5rem;
}

@media (min-width: 60rem) {
  .contact-layout {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    align-items: start;
  }
}

.booking-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
}

.booking-choice input {
  margin-top: 0.4rem;
}

.booking-checks {
  gap: 0.6rem;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.booking-back {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

/* The honeypot: off screen, never display:none, so a bot still fills it in. */
.booking-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The e-Transfer box and the receipt. */
.etransfer {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.etransfer h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.etransfer-steps {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.etransfer-steps code {
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 1rem;
  user-select: all;
}

.etransfer p:last-child {
  margin-bottom: 0;
}

.receipt-summary {
  margin: 0 0 1rem;
}

.receipt-note {
  max-width: 60ch;
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
}

.receipt-status {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.receipt-help {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 404 --------------------------------------------------------------------- */

.not-found {
  padding-block: 2rem 3rem;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  margin-top: 3rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-name {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links,
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.footer-note,
.footer-disclaimer {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* The newsletter sign-up in the footer. */
.newsletter {
  display: grid;
  gap: 0.5rem;
  max-width: 34rem;
}

.newsletter h2 {
  margin: 0;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}

.newsletter-form label {
  flex-basis: 100%;
  font-size: 0.9rem;
}

.newsletter-form input[type="email"] {
  flex: 1 1 14rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.newsletter-note,
.newsletter-result p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.newsletter-result {
  max-width: 34rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

/* Respect people who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* The announcement banner at the top of every public page. */
.announcement {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  font-size: 0.95rem;
}

.announcement p,
.announcement a {
  margin: 0;
  padding: 0.6rem 1rem;
  color: inherit;
}

.announcement a {
  display: block;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
