@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  color-scheme: light;
  --paper: #faf8ef;
  --surface: #fffdf6;
  --ink: #203327;
  --muted: #526052;
  --green: #23432e;
  --olive: #547139;
  --leaf: #e6ebd6;
  --line: #d8ddcb;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 500; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1 { font-size: clamp(2.75rem, 5.9vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; }
h1 em { display: block; color: var(--olive); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.15rem); line-height: 1.14; letter-spacing: -.035em; }
h3 { line-height: 1.2; }
p, small { color: var(--muted); }
small { display: block; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }

header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 15px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--green); text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; }
.brand > span { font: 500 1.45rem/.95 var(--serif); }
.brand small { margin-top: 4px; font: 700 .66rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.section-tabs { display: flex; align-items: center; gap: 5px; }
.section-tabs a, .header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--green);
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.section-tabs a:hover, .section-tabs a[aria-current="page"] { background: var(--leaf); }
.header-contact { justify-self: end; border: 1px solid var(--line); padding-inline: 20px; }
.header-contact:hover { background: var(--leaf); }

.hero {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
  padding: clamp(22px, 4.7vw, 68px);
  background: linear-gradient(135deg, #f2f1df, #e9edd5 68%, #dce6ca);
  border-radius: 24px;
}
.intro p { max-width: 42ch; margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.primary-link, .submit {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 700;
}
.primary-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 28px; padding: 10px 22px; text-decoration: none; }
.primary-link:hover, .submit:not(:disabled):hover { background: #365a3c; }
.hero-photo { position: relative; }
.community-photo { width: 100%; height: auto; border-radius: 42% 42% 14px 14px / 21% 21% 14px 14px; }
.hero-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
}

.paths { padding-block: clamp(38px, 6vw, 76px); }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.path-grid a { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.path-grid a:hover { border-color: var(--olive); background: var(--leaf); }
.path-grid h3 { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.path-grid h3 span { color: var(--olive); font: 500 1.15rem var(--sans); }

.section-panel {
  padding: clamp(22px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.section-panel h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin-bottom: 16px; }
.section-panel > p { max-width: 58ch; font-size: 1.1rem; }
.action-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--green); font-weight: 700; text-underline-offset: 4px; }
.proposal-intro { padding-block: clamp(32px, 5vw, 64px) 32px; }
.proposal-intro h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.proposal-intro p { max-width: 58ch; margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.proposal-grid, .video-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proposal-card { display: flex; flex-direction: column; padding: clamp(22px, 4vw, 48px); border-radius: 24px; scroll-margin-top: 16px; }
.proposal-card--wellness { background: var(--leaf); }
.proposal-card--business { background: var(--green); color: var(--surface); }
.proposal-card h2 { margin-bottom: 12px; }
.proposal-card dl { margin: 24px 0 28px; }
.proposal-card dl div { padding: 14px 0; border-top: 1px solid #6c826280; }
.proposal-card dt { font-weight: 700; }
.proposal-card dd { margin: 4px 0 0; color: var(--muted); }
.proposal-card--business p, .proposal-card--business dd { color: #e0e8d6; }
.proposal-card .primary-link { align-self: start; margin-top: auto; gap: 12px; }
.proposal-card--business .primary-link { background: var(--surface); color: var(--green); }
.proposal-card--business .primary-link:hover { background: var(--leaf); }
.video-links { margin-top: 28px; }
.video-details { padding: clamp(18px, 3vw, 28px); }
.video-links article { background: #edf0e3; border-radius: 14px; }
.video-details h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 8px; }
.video-links article { overflow: hidden; }
.video-preview, .video-player { display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; }
.video-preview[hidden] { display: none; }
.video-preview { position: relative; isolation: isolate; color: white; background: var(--green); }
.video-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.video-preview--facebook { background: radial-gradient(ellipse at top left, #6d8a46, #23432e 70%); }
.play-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: auto; border-radius: 50%; background: #21382aec; color: white; }
.video-preview:hover .play-icon { background: white; color: var(--green); }
.video-platform { position: absolute; left: 16px; bottom: 14px; font-size: .875rem; }

.profile { display: grid; grid-template-columns: minmax(160px, 290px) minmax(0, 48ch); align-items: center; gap: clamp(24px, 6vw, 80px); margin-bottom: 36px; }
.profile img { width: 100%; height: auto; border-radius: 48% 48% 14px 14px / 22% 22% 14px 14px; }
.profile .profile-motto { margin-top: 20px; color: var(--green); font: italic 500 clamp(1.3rem, 3vw, 1.9rem)/1.35 var(--serif); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: clamp(22px, 5vw, 48px); background: var(--leaf); border-radius: 14px; }
.values h2 { margin-bottom: 8px; }
.values .featured-verse { border-left: 2px solid var(--olive); padding-left: 18px; }
blockquote { font-size: 1.16rem; }
figcaption { margin-top: 10px; color: var(--green); font-size: .875rem; font-weight: 700; }

.contact {
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: clamp(20px, 6vw, 88px);
  padding: clamp(22px, 5.5vw, 70px);
  background: var(--green);
  border-radius: 24px;
}
.contact > div h2 { color: var(--surface); font-size: clamp(2.4rem, 5vw, 4.5rem); }
.contact > div p { max-width: 34ch; margin-top: 14px; color: #e0e8d6; }
#lead-form { display: grid; gap: 8px; padding: clamp(16px, 3vw, 34px); background: var(--surface); border-radius: 16px; scroll-margin-top: 20px; }
fieldset { min-width: 0; margin: 0 0 8px; padding: 0; border: 0; }
legend { font: 500 1.55rem/1.2 var(--serif); margin-bottom: 12px; padding: 0; }
.option { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.option + .option { margin-top: 8px; }
.option:has(:checked) { border-color: var(--green); background: var(--leaf); }
.option input { accent-color: var(--green); margin: 5px 0 0; }
#lead-form > label { margin-top: 4px; font-weight: 700; }
#lead-form > input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 8px 12px; font: inherit; }
.submit { margin-top: 10px; }
.submit:disabled { opacity: .65; cursor: default; }
.form-note, #form-status { font-size: .875rem; }
.optional { color: var(--muted); font-weight: 400; }
#form-status:empty { display: none; }
#form-status a { display: block; color: var(--green); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-block: 24px; }
footer p { font: italic 500 1.2rem/1.4 var(--serif); color: var(--green); }
footer button { padding: 4px 0; border: 0; background: none; color: var(--green); text-decoration: underline; }
dialog { max-width: min(500px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #24291f99; }
dialog p { margin-block: 12px; }
.skip-link { position: absolute; left: 12px; top: 12px; transform: translateY(-150%); background: white; padding: 8px; z-index: 1; }
.skip-link:focus { transform: none; }

@media (max-width: 970px) {
  header { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .section-tabs { grid-column: 1 / -1; grid-row: 2; justify-content: center; border-top: 1px solid var(--line); padding-top: 6px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .section-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-tabs a { padding-inline: 6px; }
  .hero, .contact, .proposal-grid, .video-links, .path-grid { grid-template-columns: 1fr; }
  .hero { border-radius: 18px; }
  .hero-photo { max-width: 420px; justify-self: center; }
  .community-photo { border-radius: 26% 26% 12px 12px / 15% 15% 12px 12px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
  .profile { grid-template-columns: 1fr; }
  .profile img { max-width: 200px; }
}
