/*
Theme Name: With Diana
Theme URI: https://www.withdiana.ca
Author: Codex
Description: A warm custom theme for animal communication, transition doula support, and grief companioning with Diana.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: with-diana
*/

:root {
  --ink: #141124;
  --deep: #21183a;
  --violet: #47305f;
  --plum: #6f3260;
  --gold: #dca83f;
  --sun: #f2c56d;
  --petal: #b95e72;
  --sage: #78917a;
  --mist: #f7f1e7;
  --paper: #fffaf1;
  --line: rgba(20, 17, 36, 0.14);
  --shadow: 0 22px 60px rgba(17, 11, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fffaf1;
  background: linear-gradient(180deg, rgba(14, 10, 26, 0.72), rgba(14, 10, 26, 0));
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 241, 0.6);
  border-radius: 50%;
  color: var(--sun);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.nav-links {
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--sun);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  padding: 150px clamp(22px, 6vw, 96px) 72px;
  color: #fffaf1;
  background:
    linear-gradient(90deg, rgba(11, 8, 23, 0.88) 0%, rgba(33, 20, 56, 0.62) 43%, rgba(11, 8, 23, 0.1) 100%),
    linear-gradient(0deg, rgba(11, 8, 23, 0.52), rgba(11, 8, 23, 0.04) 42%),
    var(--hero-image, url("assets/diana-flyer.png")) center bottom / cover no-repeat;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: #1e142a;
  background: var(--sun);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 241, 0.62);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.08);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-section,
.services-section,
.support-section,
.about-section,
.contact-section {
  padding: clamp(70px, 10vw, 124px) 0;
}

.intro-section {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.intro-grid p:last-child,
.support-copy > p,
.about-layout p,
.contact-layout p {
  margin: 8px 0 0;
  color: rgba(20, 17, 36, 0.72);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.services-section {
  color: #fffaf1;
  background:
    radial-gradient(circle at 18% 20%, rgba(220, 168, 63, 0.18), transparent 30%),
    linear-gradient(135deg, var(--deep), #35234f 54%, #452343);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.07);
  box-shadow: 0 14px 36px rgba(8, 5, 18, 0.18);
}

.service-number {
  display: block;
  margin-bottom: 48px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p {
  margin: 16px 0 0;
  color: rgba(255, 250, 241, 0.78);
}

.support-section {
  background: #fffaf1;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

blockquote {
  margin: 34px 0 0;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--gold);
  color: var(--deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.18;
}

cite {
  display: block;
  margin-top: 14px;
  color: rgba(20, 17, 36, 0.62);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
}

.flyer-panel {
  margin: 0;
}

.flyer-panel img {
  width: min(460px, 100%);
  margin-left: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-section {
  color: #fffaf1;
  background:
    linear-gradient(90deg, rgba(33, 24, 58, 0.95), rgba(111, 50, 96, 0.86)),
    linear-gradient(135deg, var(--violet), var(--plum));
}

.about-layout {
  max-width: 900px;
  margin-left: max(18px, calc((100% - 1160px) / 2));
}

.about-layout p {
  max-width: 760px;
  color: rgba(255, 250, 241, 0.78);
}

.contact-section {
  background: var(--mist);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(17, 11, 32, 0.06);
}

.contact-link span {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
  color: var(--deep);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: rgba(255, 250, 241, 0.82);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.default-page {
  padding: 150px 0 80px;
}

.entry-content {
  max-width: 760px;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 120px;
    background:
      linear-gradient(0deg, rgba(11, 8, 23, 0.9), rgba(11, 8, 23, 0.2) 58%, rgba(11, 8, 23, 0.1)),
      var(--hero-image, url("assets/diana-flyer.png")) 68% bottom / cover no-repeat;
  }

  .intro-grid,
  .service-grid,
  .support-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .service-number {
    margin-bottom: 32px;
  }

  .flyer-panel img {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .about-layout {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-bottom: 42px;
  }

  .button {
    width: 100%;
  }

  .intro-section,
  .services-section,
  .support-section,
  .about-section,
  .contact-section {
    padding: 58px 0;
  }

  .service-card {
    padding: 22px;
  }
}
