:root {
  --paper: #f2eddf;
  --ink: #14261d;
  --rust: #c5532d;
  --cobalt: #234c8e;
  --moss: #697a55;
  --acid: #d7ef62;
  --line: rgba(20, 38, 29, 0.2);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; background: #fff; }
.skip-link:focus { top: 16px; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 22px clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 45% 55%; color: var(--paper); background: var(--ink); font-family: Georgia, serif; font-style: italic; }
nav { display: flex; gap: 26px; }
nav a, .small-cta { font-size: 0.8rem; font-weight: 750; text-decoration: none; }
.small-cta { justify-self: end; padding-bottom: 4px; border-bottom: 2px solid var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); min-height: 760px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 8vw, 120px) clamp(24px, 6vw, 92px); }
.kicker, .section-index { margin: 0 0 28px; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.18em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 7.3vw, 7.4rem); font-weight: 500; line-height: .87; letter-spacing: -0.065em; }
.hero-intro { max-width: 570px; margin: 32px 0 0; color: #3f5148; font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.primary-button, .generate-button { display: inline-flex; align-items: center; justify-content: center; border: 0; color: #fff; background: var(--rust); font-weight: 800; text-decoration: none; cursor: pointer; }
.primary-button { padding: 16px 22px; border-radius: 3px; }
.text-link { font-weight: 750; text-underline-offset: 5px; }
.signal-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 56px; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.signal-row span::before { content: "•"; margin-right: 8px; color: var(--rust); }
.hero-visual { position: relative; margin: 0; min-height: 640px; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: 0; bottom: 0; max-width: 370px; padding: 22px 26px; color: #fff; background: var(--cobalt); font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.4; }
.hero-visual figcaption span { display: block; margin-bottom: 9px; font-family: "Avenir Next", sans-serif; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }

.manifesto { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; padding: 110px clamp(24px, 7vw, 120px); border-top: 1px solid var(--line); }
.manifesto h2, .field-notes h2, .membership h2 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 5.5vw, 5.4rem); font-weight: 500; line-height: .98; letter-spacing: -0.045em; }
.manifesto div p { max-width: 750px; margin: 28px 0 0; color: #526159; font-size: 1.15rem; line-height: 1.65; }

.compass-section { padding: 92px clamp(24px, 6vw, 92px); color: #f8f4e9; background: var(--ink); }
.compass-heading { display: grid; grid-template-columns: 1.8fr 1fr; align-items: end; gap: 50px; }
.light { color: var(--acid); }
.compass-heading h2 { max-width: 920px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.3rem); font-weight: 500; line-height: .95; letter-spacing: -0.045em; }
.compass-heading > p { margin: 0; color: #bdc7c0; line-height: 1.7; }
.compass-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px; margin-top: 58px; }
.care-form, .plan-panel { min-height: 650px; padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(255,255,255,.16); }
.care-form { background: #1e3429; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 9px; margin-bottom: 18px; color: #d7ded9; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: 0; padding: 14px 15px; color: #fff; background: rgba(255,255,255,.05); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid); }
textarea { min-height: 112px; resize: vertical; }
select option { color: var(--ink); }
.honeypot { position: absolute; left: -10000px; }
.generate-button { width: 100%; justify-content: space-between; margin-top: 7px; padding: 17px 18px; }
.generate-button:disabled { opacity: .65; cursor: wait; }
.form-note { margin: 15px 0 0; color: #9ca9a1; font-size: .72rem; line-height: 1.5; }
.plan-panel { color: var(--ink); background: var(--acid); }
.empty-plan { display: grid; align-content: center; justify-items: center; height: 100%; text-align: center; }
.empty-plan p { margin: 26px 0 10px; font-size: .68rem; font-weight: 850; letter-spacing: .15em; }
.empty-plan h3 { max-width: 430px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.orbit { width: 108px; height: 108px; border: 2px solid var(--ink); border-radius: 50%; box-shadow: inset 0 0 0 24px var(--acid), inset 0 0 0 26px var(--ink); }
.generated-plan { animation: rise .35s ease both; }
.plan-label { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.plan-label button { border: 0; border-bottom: 1px solid; padding: 0; background: none; cursor: pointer; }
.generated-plan h3 { margin: 30px 0 14px; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 500; line-height: .95; }
.plan-summary { font-size: 1.05rem; line-height: 1.55; }
.priority-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0; }
.priority-list span { padding: 12px; border: 1px solid var(--ink); font-size: .78rem; font-weight: 750; }
.generated-plan h4 { margin: 30px 0 12px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.day-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; padding-left: 23px; }
.day-list li { padding: 5px 0; line-height: 1.35; }
.vet-note { margin-top: 28px; padding: 17px; color: #fff; background: var(--rust); }
.vet-note p { margin: 5px 0 0; line-height: 1.45; }

.field-notes { padding: 110px clamp(24px, 6vw, 92px); }
.notes-header { display: grid; grid-template-columns: .7fr 2fr; align-items: start; gap: 32px; }
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 640px; margin-top: 55px; }
.story { display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; padding: 30px; border: 1px solid var(--line); }
.story-feature { grid-row: 1 / 3; color: #fff; background: var(--moss); }
.story-rust { color: #fff; background: var(--rust); }
.story-blue { color: #fff; background: var(--cobalt); }
.story p { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.story h3 { margin: auto 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4.6rem); font-weight: 500; line-height: 1; }
.story:not(.story-feature) h3 { font-size: clamp(1.6rem, 2.5vw, 2.6rem); }
.story span { font-weight: 750; }

.membership { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; padding: 100px clamp(24px, 6vw, 92px); color: #fff; background: var(--cobalt); }
.membership-card { padding: 30px; border: 1px solid rgba(255,255,255,.35); }
.price { margin-top: 0; }
.price strong { font-family: Georgia, serif; font-size: 3.5rem; font-weight: 500; }
.membership-card ul { padding-left: 20px; line-height: 1.9; }
.membership-card a { display: inline-block; margin-top: 20px; color: var(--acid); font-weight: 800; text-underline-offset: 5px; }
footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: end; padding: 48px clamp(24px, 6vw, 92px); border-top: 1px solid var(--line); }
footer p { margin: 0; color: #65736c; font-size: .82rem; }
footer p:last-child { text-align: right; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero, .compass-grid, .membership { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-visual { min-height: 520px; }
  .manifesto, .compass-heading, .notes-header { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .story-feature { grid-row: auto; }
}

@media (max-width: 600px) {
  .small-cta { display: none; }
  .hero-copy { padding: 54px 20px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-actions, .signal-row { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 430px; }
  .hero-visual figcaption { max-width: 90%; }
  .field-pair, .priority-list, .day-list { grid-template-columns: 1fr; }
  .care-form, .plan-panel { min-height: 0; }
  .empty-plan { min-height: 460px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer p:last-child { text-align: left; }
}
