* { box-sizing: border-box; }
:root {
  --ink: #14201b;
  --muted: #5e6f67;
  --pine: #12382b;
  --moss: #4f7b46;
  --sage: #dbe8d4;
  --cream: #f7f0df;
  --paper: #fffaf0;
  --orange: #e2642a;
  --gold: #f2b84b;
  --sky: #9bc8d5;
  --line: rgba(20, 32, 27, 0.14);
  --shadow: 0 24px 80px rgba(18, 56, 43, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(circle at 15% 5%, rgba(242,184,75,.26), transparent 28rem),
    radial-gradient(circle at 80% 15%, rgba(155,200,213,.35), transparent 28rem),
    linear-gradient(180deg, var(--cream), #eef4e8 55%, #f7f0df);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(135deg, rgba(20,32,27,.18) 0 1px, transparent 1px 13px);
  z-index: -1;
}
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 240, 223, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-nav,
.site-footer-inner,
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.site-mark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.site-mark img { width: 54px; height: 40px; object-fit: contain; }
.site-mark strong { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; }
.site-mark small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.site-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-links a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--pine);
}
.site-links a:hover,
.site-links a:focus-visible { background: rgba(18,56,43,.09); outline: none; }
.page { padding-top: 42px; padding-bottom: 72px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.045em; line-height: .96; color: var(--pine); }
h1 { font-size: clamp(3.1rem, 8vw, 7.8rem); max-width: 9ch; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4.4vw, 4.4rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--pine); }
p { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 150px);
}
.hero-lede { font-size: clamp(1.12rem, 2vw, 1.45rem); max-width: 660px; color: #31453c; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--pine);
  border-radius: 999px;
  background: #fff;
  color: var(--pine);
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(18,56,43,.08);
}
.button-primary { background: var(--pine); color: #fff; border-color: var(--pine); }
.button-ghost,
.button-secondary { background: rgba(255,255,255,.55); color: var(--pine); }
.button:hover,
.button:focus-visible { transform: translateY(-1px); outline: 2px solid rgba(226,100,42,.38); outline-offset: 3px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-facts span,
.benefit-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #31453c;
  padding: 8px 11px;
  font-weight: 800;
  font-size: .84rem;
}
.hero-photo-card {
  position: relative;
  border: 10px solid rgba(255,250,240,.92);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.5deg);
  background: var(--pine);
}
.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18,56,43,.28));
}
.hero-photo-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center center; }
.section { margin-top: clamp(48px, 9vw, 112px); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.split-section > div > p { font-size: 1.08rem; }
.feature-list { display: grid; gap: 16px; }
.feature-list article,
.values-grid article,
.price-card,
.note-card,
.support-card,
.contact-card-large,
.shop-tile {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,250,240,.78);
  box-shadow: 0 14px 40px rgba(18,56,43,.08);
}
.feature-list article { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.feature-list h3, .feature-list p { grid-column: 2; }
.feature-number { grid-row: 1 / span 2; color: var(--orange); font-weight: 950; font-size: .85rem; letter-spacing: .12em; }
.image-band { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 16px; align-items: stretch; }
.image-band img { width: 100%; height: 360px; object-fit: cover; border-radius: 28px; box-shadow: 0 14px 40px rgba(18,56,43,.12); }
.image-band img:nth-child(1) { object-position: center 50%; }
.image-band img:nth-child(2) { object-position: center 50%; margin-top: 42px; }
.image-band img:nth-child(3) { object-position: center 45%; margin-top: -28px; }
.section-heading { max-width: 720px; margin-bottom: 26px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card { padding: clamp(22px, 4vw, 34px); }
.price-card h2, .price-card h3 { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.04em; color: var(--pine); }
.featured-card { background: linear-gradient(145deg, rgba(18,56,43,.95), rgba(42,88,61,.92)); color: #fff; }
.featured-card h2, .featured-card h3, .featured-card p { color: #fff; }
.featured-card .button-primary { background: var(--gold); color: var(--pine); border-color: var(--gold); }
.price-label { color: var(--orange); font-weight: 950; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.featured-card .price-label { color: var(--gold); }
.support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.support-card { padding: clamp(24px, 4vw, 38px); min-height: 280px; }
.shop-card { background: linear-gradient(135deg, rgba(226,100,42,.12), rgba(255,250,240,.84)); }
.contact-card { background: linear-gradient(135deg, rgba(155,200,213,.24), rgba(255,250,240,.84)); }
.page-hero { max-width: 900px; padding: clamp(18px, 3vw, 34px) 0 12px; }
.compact-hero h1 { max-width: 12ch; font-size: clamp(2.7rem, 7vw, 6.2rem); }
.compact-hero p { max-width: 760px; font-size: 1.16rem; }
.rounded-photo { width: 100%; border-radius: 30px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.stacked-copy { align-self: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values-grid article { padding: 24px; }
.membership-detail-grid { align-items: stretch; }
.check-list { color: inherit; padding-left: 1.2rem; }
.check-list li + li { margin-top: 8px; }
.benefit-list { display: flex; gap: 10px; flex-wrap: wrap; }
.note-card { padding: clamp(22px, 4vw, 34px); border-left: 6px solid var(--orange); }
.draft-safe-note { font-weight: 800; color: var(--pine); }
.checkout-note { margin: 14px 0 0; font-size: .86rem; font-weight: 750; color: inherit; opacity: .82; }
.donation-grid { display: grid; grid-template-columns: repeat(4, minmax(82px, 1fr)); gap: 10px; margin: 22px 0 8px; }
.donation-grid a,
.donation-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--pine);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  color: var(--pine);
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}
.donation-grid form { margin: 0; }
.donation-grid a:hover,
.donation-grid a:focus-visible,
.donation-grid button:hover,
.donation-grid button:focus-visible { background: var(--pine); color: #fff; outline: 3px solid rgba(226,100,42,.28); outline-offset: 2px; }
.shop-grid { display: grid; gap: 18px; }
.shop-tile { display: grid; grid-template-columns: minmax(260px, .78fr) 1fr; overflow: hidden; }
.shop-tile img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.shop-tile > div { padding: clamp(22px, 4vw, 36px); align-self: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card-large { padding: clamp(24px, 4vw, 40px); }
.contact-card-large address { font-style: normal; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; color: var(--pine); }
.image-card { padding: 0; overflow: hidden; }
.image-card img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.site-footer { border-top: 1px solid var(--line); background: rgba(18,56,43,.96); color: #f7f0df; }
.site-footer-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.site-footer p, .site-footer a, .site-footer span { color: rgba(247,240,223,.76); }
.site-footer a { text-decoration-color: rgba(247,240,223,.35); text-underline-offset: 3px; }
.footer-brand { color: #fff !important; font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; }
.fine-print { font-size: .85rem; max-width: 620px; }
.footer-links { display: grid; gap: 8px; justify-items: start; align-content: start; }
.stack > * + * { margin-top: 16px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.72); }
.muted,
.admin-muted { color: var(--muted); }
label { display: block; }
input {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
}
.flash { padding: 12px 14px; border-radius: 8px; border: 1px solid #d1d5db; }
.flash-success { background: #f0fdf4; }
.flash-error { background: #fef2f2; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form-stack,
.inline-form { display: grid; gap: 12px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.admin-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.admin-setup-grid,
.asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-setup-grid-wide { align-items: stretch; }
.admin-totp-card { display: grid; gap: 12px; }
.admin-qr-shell { min-height: 244px; border: 1px dashed #d1d5db; border-radius: 12px; display: grid; place-items: center; background: #fafafa; padding: 16px; }
.admin-qr-shell canvas,
.admin-qr-shell img,
.admin-qr-image { display: block; width: 220px; max-width: 100%; height: auto; }
.admin-secret-row { display: flex; gap: 12px; align-items: center; }
.admin-form-stack > .button,
.admin-form-stack > button { justify-self: start; width: auto; min-width: 160px; }
.admin-copy-button { flex: 0 0 auto; }
.admin-secret-block { flex: 1; border: 1px solid #e5e7eb; border-radius: 10px; background: #f8fafc; padding: 12px; overflow-wrap: anywhere; }
.admin-small { font-size: 0.92rem; }
.asset-card { margin: 0; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; }
.asset-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f3f4f6; }
.asset-card figcaption { padding: 12px; }
@media (max-width: 920px) {
  .hero-grid,
  .split-section,
  .support-grid,
  .shop-tile,
  .contact-grid,
  .site-footer-inner { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-photo-card { transform: none; }
  .image-band { grid-template-columns: 1fr; }
  .image-band img { height: 260px; margin: 0 !important; }
}
@media (max-width: 720px) {
  .page { padding: 30px 16px 56px; }
  .site-nav { align-items: flex-start; }
  .site-nav,
  .site-links { flex-direction: column; }
  .site-links { align-items: flex-start; gap: 2px; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); max-width: 10ch; }
  .compact-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .pricing-grid,
  .values-grid,
  .admin-setup-grid,
  .asset-grid,
  .grid { grid-template-columns: 1fr; }
  .hero-photo-card img { aspect-ratio: 1 / 1; }
  .actions { align-items: stretch; }
  .button { width: 100%; }
  .donation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-header,
  .admin-secret-row { flex-direction: column; align-items: flex-start; }
}
