:root {
  --navy: #132238;
  --navy-soft: #263b56;
  --gold: #c79a3f;
  --gold-light: #ead7ac;
  --clay: #9f6d55;
  --sage: #6f7f68;
  --ivory: #fffaf1;
  --cream: #f4ecdd;
  --paper: #ffffff;
  --ink: #1d2230;
  --muted: #667085;
  --line: #e6ded0;
  --shadow: 0 18px 45px rgba(19, 34, 56, 0.12);
  --radius: 8px;
  --header-height: 78px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.container.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-130%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid rgba(230, 222, 208, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  line-height: 1.1;
}

.brand small {
  color: var(--clay);
  font-size: 0.76rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.primary-nav a {
  padding: 10px 12px;
  color: var(--navy-soft);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--navy);
  background: rgba(199, 154, 63, 0.16);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero-home {
  min-height: calc(82svh - var(--header-height));
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.86) 38%, rgba(255, 250, 241, 0.22) 67%),
    url("../images/judith-clerge-hero.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(650px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--content-width)) / 2));
  padding: clamp(54px, 7vw, 96px) 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.65rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--navy-soft);
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(19, 34, 56, 0.14);
  outline: none;
}

.button-primary {
  color: var(--paper);
  background: var(--navy);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--gold);
}

.button-light {
  color: var(--navy);
  background: var(--paper);
  border-color: rgba(255, 255, 255, 0.4);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  color: var(--gold);
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

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

.muted-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.prose {
  color: var(--navy-soft);
  font-size: 1.05rem;
}

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

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

.card,
.message-card,
.post-card,
.form-panel,
.contact-panel,
.newsletter-panel {
  background: var(--paper);
  border: 1px solid rgba(230, 222, 208, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.message-card,
.post-card {
  padding: 24px;
}

.card {
  min-height: 250px;
}

.tall-card {
  min-height: 320px;
}

.card p,
.message-card p,
.post-card p {
  color: var(--muted);
}

.card-mark {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.split-feature > div > p:not(.section-kicker) {
  max-width: 620px;
  color: var(--navy-soft);
  font-size: 1.06rem;
}

.message-card {
  border-top: 5px solid var(--gold);
}

.message-date {
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(199, 154, 63, 0.15);
  border: 1px solid rgba(199, 154, 63, 0.28);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.social-links.large a {
  min-height: 52px;
  padding: 12px 18px;
}

.cta-band {
  padding: clamp(54px, 7vw, 86px) 0;
  color: var(--paper);
  background: var(--navy);
}

.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-content h2,
.cta-content p {
  color: var(--paper);
}

.cta-content h2 {
  margin-bottom: 10px;
}

.cta-content p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) 0;
  background:
    linear-gradient(135deg, rgba(19, 34, 56, 0.96), rgba(38, 59, 86, 0.9)),
    var(--navy);
}

.page-hero h1,
.page-hero p {
  color: var(--paper);
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.values-grid > article:first-child {
  padding-right: 24px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.form-intro,
.contact-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.form-intro p,
.contact-panel p {
  color: var(--navy-soft);
}

.privacy-note {
  padding: 14px 16px;
  background: rgba(111, 127, 104, 0.13);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
}

.form-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.field-group,
.field-check {
  display: grid;
  gap: 8px;
}

.field-group.full,
.field-check.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #d9cfbd;
  border-radius: var(--radius);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(199, 154, 63, 0.2);
}

.field-check {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.field-check input {
  min-height: auto;
  margin-top: 6px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--clay);
  font-weight: 750;
}

.form-status.success {
  color: #2f6d45;
}

.check-list {
  padding-left: 20px;
  color: var(--navy-soft);
}

.contact-panel {
  padding: 26px;
}

.contact-details {
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.events-list {
  display: grid;
  gap: 16px;
}

.event-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(19, 34, 56, 0.08);
}

.event-row h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.event-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.event-date {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
}

.event-date span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 1.1rem;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-list span {
  padding: 10px 13px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

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

.featured-post {
  grid-column: span 2;
  background: var(--navy);
}

.featured-post h2,
.featured-post p {
  color: var(--paper);
}

.featured-post .message-date {
  color: var(--gold-light);
}

.featured-post .text-link {
  color: var(--paper);
}

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

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form .form-status {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: #0f1d30;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 36px;
}

.footer-brand,
.site-footer .brand strong,
.site-footer h2,
.site-footer a {
  color: var(--paper);
}

.site-footer .brand small {
  color: var(--gold-light);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links a,
.site-footer p a {
  text-decoration-color: rgba(234, 215, 172, 0.7);
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 1060px) {
  .primary-nav {
    gap: 2px;
  }

  .primary-nav a {
    padding-inline: 9px;
    font-size: 0.9rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 30px, var(--content-width));
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 15px;
    left: 15px;
    display: none;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 12px;
  }

  .hero-home {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.88) 54%, rgba(255, 250, 241, 0.34) 100%),
      url("../images/judith-clerge-hero.png") 68% center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 30px, 650px);
    margin: 0 auto;
    padding: 48px 0 28svh;
  }

  .two-column,
  .split-feature,
  .social-layout,
  .cta-content,
  .form-layout,
  .newsletter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-intro,
  .contact-panel {
    position: static;
  }

  .values-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-column: auto;
  }

  .event-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .event-row .text-link {
    grid-column: 2;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .service-grid,
  .form-panel {
    grid-template-columns: 1fr;
  }

  .field-group.full,
  .field-check.full {
    grid-column: auto;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-row .text-link {
    grid-column: auto;
  }

  .event-date {
    width: 92px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
