:root {
  --bg: #fffaf6;
  --bg-alt: #f8efe9;
  --panel: #fff;
  --panel-soft: #f1ded6;
  --text: #1d1a1a;
  --muted: #5d4d47;
  --accent: #7b3e3e;
  --accent-dark: #5a2f32;
  --border: rgba(29, 26, 26, 0.12);
  --shadow: 0 18px 45px rgba(64, 31, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 26, 26, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 5rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(123, 62, 62, 0.12), transparent 35%), var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  color: var(--text);
}

h1,
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-top: 0;
}

.lead,
.split-layout p,
.newsletter-wrap p,
.contact-copy p,
.service-card p,
.faq-item p {
  color: var(--muted);
}

.mini-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--muted);
}

.mini-list li {
  position: relative;
  padding-left: 1rem;
}

.mini-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(123, 62, 62, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #f0d2c6, #f8efe6 42%, #d9b4a5 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.65), transparent 30%);
}

.mini-panel {
  position: relative;
  z-index: 1;
  max-width: 290px;
  padding: 1.3rem 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.86);
}

.mini-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
}

.section {
  padding: 4.5rem 0;
}

.page-shell {
  background: var(--bg);
}

#top-menu .menu-item-has-children > a:first-child::after,
#top-menu .page_item_has_children > a:first-child::after,
.et-menu .menu-item-has-children > a:first-child::after,
.nav li.menu-item-has-children > a:first-child::after,
.nav li.page_item_has_children > a:first-child::after {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: -0.15em 0 0 0.4em !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 6px solid currentColor !important;
  transform: none !important;
  pointer-events: none !important;
  line-height: 1 !important;
}

#top-menu .menu-item-has-children > a:first-child,
#top-menu .page_item_has_children > a:first-child,
.et-menu .menu-item-has-children > a:first-child,
.nav li.menu-item-has-children > a:first-child,
.nav li.page_item_has_children > a:first-child {
  position: relative !important;
  padding-right: 0 !important;
}

.narrow-copy {
  max-width: 820px;
}

.narrow-copy p,
.narrow-copy li,
.narrow-copy h4 {
  color: var(--muted);
}

.narrow-copy h2,
.narrow-copy h3,
.narrow-copy h4 {
  margin-top: 1.5rem;
}

.accent-block {
  background: linear-gradient(135deg, rgba(123, 62, 62, 0.04), rgba(255,255,255,0.8));
}

.steps-list,
.tag-list,
.resource-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps-list li,
.tag-list li,
.resource-list li {
  margin-bottom: 0.7rem;
}

.split-layout,
.newsletter-wrap,
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.cards.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card,
.faq-item,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(29, 26, 26, 0.04);
}

.service-card,
.faq-item {
  padding: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.newsletter-wrap {
  align-items: center;
  background: linear-gradient(135deg, rgba(123, 62, 62, 0.08), rgba(255,255,255,0.86));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.inline-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0.85rem 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(123, 62, 62, 0.2);
  border-color: rgba(123, 62, 62, 0.52);
}

.inline-form input {
  flex: 1 1 240px;
}

#newsletter-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.newsletter-header {
  margin: 0 0 0.1rem;
}

/* The heading sits just above the form in the dark footer, matching the other footer headings. */
.newsletter-header h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #fff;
}

#newsletter-form input,
#newsletter-form textarea,
#newsletter-form button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(29, 26, 26, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

#newsletter-form input,
#newsletter-form textarea {
  min-height: 46px;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
}

#newsletter-form textarea {
  min-height: 110px;
  resize: vertical;
}

#newsletter-form button {
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: opacity 150ms ease;
}

#newsletter-form button:hover,
#newsletter-form button:focus-visible {
  opacity: 0.9;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
}

.form-status {
  min-height: 1.5em;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.success {
  color: #1d6b46;
}

.form-status.error {
  color: #aa3f2d;
}

/* The newsletter form sits in the dark footer, so its messages need light colors. */
#newsletter-status {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #fff;
}

#newsletter-status.success {
  color: #8fe0b4;
}

#newsletter-status.error {
  color: #ffb4a6;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.35);
  padding: 1.5rem 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .hero-inner,
  .split-layout,
  .newsletter-wrap,
  .contact-wrap,
  .cards.three-up {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-card {
    min-height: 260px;
  }

  .inline-form {
    justify-content: stretch;
  }
}

/* Apply page application form (the original WPForms plugin styles were not migrated). */
.serve-form-wrap {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(29, 26, 26, 0.04);
  color: var(--text);
  line-height: 1.5;
}

.serve-form-wrap .wpforms-field-container {
  display: grid;
  gap: 1.6rem;
}

.serve-form-wrap .wpforms-field {
  margin: 0;
  padding: 0;
}

.serve-form-wrap .wpforms-field-label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.serve-form-wrap .wpforms-required-label {
  color: var(--accent);
}

.serve-form-wrap .wpforms-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.serve-form-wrap .wpforms-field-description {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-line;
}

.serve-form-wrap .wpforms-field-sublabel {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.serve-form-wrap input[type=text],
.serve-form-wrap input[type=email],
.serve-form-wrap input[type=number],
.serve-form-wrap select,
.serve-form-wrap textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(29, 26, 26, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.serve-form-wrap select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 50%, calc(100% - 0.85rem) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.serve-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.serve-form-wrap input:focus,
.serve-form-wrap select:focus,
.serve-form-wrap textarea:focus {
  outline: 2px solid rgba(123, 62, 62, 0.2);
  border-color: rgba(123, 62, 62, 0.52);
}

.serve-form-wrap .wpforms-field ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.serve-form-wrap .wpforms-field-radio ul {
  grid-auto-flow: column;
  justify-content: start;
  gap: 1.75rem;
}

.serve-form-wrap .wpforms-field li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.serve-form-wrap input[type=checkbox],
.serve-form-wrap input[type=radio] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0.15rem 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.serve-form-wrap .wpforms-field-label-inline {
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.serve-form-wrap #serve-field-terms-container {
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: 14px;
}

.serve-form-wrap #serve-field-terms-container > .wpforms-field-label {
  display: none;
}

.serve-form-wrap .wpforms-submit-container {
  margin-top: 2rem;
}

.serve-form-wrap .wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(123, 62, 62, 0.18);
  transition: background 150ms ease, transform 150ms ease;
}

.serve-form-wrap .wpforms-submit:hover,
.serve-form-wrap .wpforms-submit:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .serve-form-wrap {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .serve-form-wrap .wpforms-field-row {
    grid-template-columns: 1fr;
  }
}

/* Purple "On hiatus for sessions" banner heading at the top of most pages. */
h2.hiatus-banner-title {
  font-size: clamp(1.4rem, 4vw, 1.7rem) !important;
  line-height: 1.25 !important;
}
