:root {
    --paper: #f8f5ec;
    --paper-deep: #eee8d9;
    --paper-bright: #fffdf7;
    --ink: #173f31;
    --ink-deep: #0e2b21;
    --ink-soft: #315e4b;
    --muted: #5f6e64;
    --sage: #c9d9c1;
    --moss: #d8e0b4;
    --clay: #9b462c;
    --clay-light: #d67752;
    --sun: #e3c568;
    --white: #ffffff;
    --line: rgba(23, 63, 49, 0.22);
    --line-strong: rgba(23, 63, 49, 0.48);
    --shadow-paper: 8px 8px 0 rgba(23, 63, 49, 0.11);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --container: min(1180px, calc(100% - 40px));
    --reading: 70ch;
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Aptos, "Segoe UI", Arial, sans-serif;
    --font-label: "Cascadia Mono", Consolas, monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.58;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(23, 63, 49, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 63, 49, 0.018) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, #000 0, transparent 680px);
}

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

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
}

::selection {
    background: var(--sun);
    color: var(--ink-deep);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    transform: translateY(-150%);
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: var(--sun);
    color: var(--ink-deep);
    font-weight: 800;
    transition: transform 180ms var(--ease);
}

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

.container {
    width: var(--container);
    margin-inline: auto;
}

.reading-width {
    max-width: var(--reading);
}

.site-frame {
    min-height: 100vh;
    overflow: clip;
}

.utility-bar {
    background: var(--ink-deep);
    color: var(--white);
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.utility-bar__inner {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.utility-bar p {
    margin: 0;
}

.utility-bar__privacy {
    color: var(--moss);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(248, 245, 236, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: var(--ink-deep);
    font-family: var(--font-display);
    font-size: clamp(1.24rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand__mark {
    width: 34px;
    height: 38px;
    flex: 0 0 auto;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.primary-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    padding: 8px 13px;
    align-items: center;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 720;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.primary-nav a:hover {
    background: var(--paper-deep);
    color: var(--ink-deep);
}

.primary-nav a[aria-current="page"] {
    background: var(--moss);
    color: var(--ink-deep);
}

.header-contact {
    display: inline-flex;
    min-height: 44px;
    padding: 9px 17px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-deep);
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease;
}

.header-contact:hover {
    transform: translateY(-2px);
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
}

.section {
    padding-block: clamp(48px, 6.5vw, 80px);
}

.section--compact {
    padding-block: clamp(36px, 4.6vw, 56px);
}

.section--tint {
    border-block: 1px solid var(--line);
    background: var(--paper-deep);
}

.section--dark {
    background: var(--ink);
    color: var(--white);
}

.section--sage {
    background: var(--sage);
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    align-items: center;
    gap: 10px;
    color: var(--clay);
    font-family: var(--font-label);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 1px;
    background: currentColor;
    content: "";
}

.section--dark .eyebrow {
    color: var(--sun);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink-deep);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.85rem, 3.6vw, 3.15rem);
    line-height: 1.02;
}

h2 {
    font-size: clamp(1.5rem, 2.3vw, 2.25rem);
    line-height: 1.1;
}

h3 {
    font-size: clamp(1.1rem, calc(1.02rem + 0.35vw), 1.3rem);
    line-height: 1.22;
}

h4 {
    font-size: 1rem;
    line-height: 1.25;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.lede {
    max-width: 64ch;
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.58;
}

.section--dark .lede {
    color: rgba(255, 255, 255, 0.82);
}

.hero {
    padding-block: clamp(48px, 5.8vw, 72px) clamp(56px, 7vw, 88px);
}

.hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: clamp(40px, 5.5vw, 80px);
}

.hero-copy h1 {
    max-width: 18ch;
}

.hero-actions,
.button-row {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--clay);
    border-radius: 999px;
    background: var(--clay);
    color: var(--white);
    font-weight: 820;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms var(--ease), box-shadow 180ms ease, background-color 180ms ease;
}

.button svg {
    width: 18px;
    height: 18px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(23, 63, 49, 0.13);
    text-decoration: none;
}

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

.button--secondary:hover {
    background: var(--ink);
    color: var(--white);
}

.button--light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink-deep);
}

.button--small {
    min-height: 44px;
    padding: 9px 16px;
    font-size: 0.91rem;
}

.hero-note {
    display: flex;
    margin: 22px 0 0;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.hero-note svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--clay);
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.botanical-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--ink);
    border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
    background: var(--sage);
    box-shadow: var(--shadow-paper);
}

.botanical-frame svg {
    width: 100%;
    height: 100%;
}

.specimen-label {
    position: absolute;
    right: -18px;
    bottom: 30px;
    width: min(210px, 58%);
    padding: 15px 17px;
    transform: rotate(-2deg);
    border: 1px solid var(--ink);
    background: var(--paper-bright);
    box-shadow: 5px 5px 0 rgba(23, 63, 49, 0.14);
}

.specimen-label span {
    display: block;
    font-family: var(--font-label);
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.specimen-label strong {
    display: block;
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.16;
}

.section-heading {
    display: grid;
    margin-bottom: 30px;
    align-items: end;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 32px;
}

.section-heading p {
    max-width: 54ch;
    margin: 0 0 4px;
    color: var(--muted);
}

.intro-grid,
.entry-grid,
.habit-grid,
.card-grid,
.value-grid {
    display: grid;
    gap: 20px;
}

.intro-grid,
.habit-grid,
.value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.number-card,
.entry-card,
.habit-card,
.editorial-card,
.value-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
}

.number-card {
    min-height: 220px;
    padding: 24px;
}

.number-card__top {
    display: flex;
    margin-bottom: 36px;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--clay);
}

.number-card__top span {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.number-card__top svg {
    width: 34px;
    height: 34px;
}

.number-card p,
.habit-card p,
.value-card p,
.entry-card p,
.editorial-card p {
    color: var(--muted);
}

.number-card p {
    margin: 14px 0 0;
}

.entry-card {
    display: flex;
    min-height: 270px;
    padding: 24px;
    flex-direction: column;
    transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

.entry-card:nth-child(1) {
    background: var(--moss);
}

.entry-card:nth-child(2) {
    background: var(--sage);
}

.entry-card:nth-child(3) {
    background: var(--sun);
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-paper);
}

.entry-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 30px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
}

.entry-card__icon svg {
    width: 27px;
    height: 27px;
}

.entry-card p {
    margin: 16px 0 26px;
    color: var(--ink-soft);
}

.text-link {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 8px;
    color: var(--ink-deep);
    font-weight: 850;
}

.text-link svg {
    width: 17px;
    height: 17px;
    transition: transform 180ms var(--ease);
}

.text-link:hover svg {
    transform: translateX(4px);
}

.habit-card,
.value-card {
    padding: 22px;
}

.habit-card__index,
.value-card__index {
    display: block;
    margin-bottom: 20px;
    color: var(--clay);
    font-family: var(--font-label);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.habit-card p,
.value-card p {
    margin: 13px 0 0;
}

.editorial-card {
    overflow: hidden;
}

.editorial-card__art {
    display: grid;
    min-height: 160px;
    place-items: center;
    border-bottom: 1px solid var(--line-strong);
    background: var(--sage);
}

.editorial-card:nth-child(2n) .editorial-card__art {
    background: var(--moss);
}

.editorial-card:nth-child(3n) .editorial-card__art {
    background: var(--sun);
}

.editorial-card__art svg {
    width: 76%;
    max-height: 150px;
}

.editorial-card__body {
    padding: 22px;
}

.label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--clay);
    font-family: var(--font-label);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.editorial-card p {
    margin: 13px 0 20px;
}

.season-callout {
    position: relative;
    display: grid;
    overflow: hidden;
    padding: clamp(30px, 4.5vw, 54px);
    align-items: center;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 48px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--white);
}

.season-callout::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04), 0 0 0 60px rgba(255, 255, 255, 0.03);
}

.season-callout h2 {
    color: var(--white);
}

.season-callout p {
    max-width: 60ch;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.season-callout__meta {
    position: relative;
    z-index: 1;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.season-callout__meta strong {
    display: block;
    color: var(--sun);
    font-family: var(--font-label);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.season-callout__meta span {
    display: block;
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.2;
}

.season-callout .text-link {
    color: var(--white);
}

.page-hero {
    padding-block: clamp(48px, 6.4vw, 78px) clamp(40px, 5vw, 62px);
    border-bottom: 1px solid var(--line);
}

.page-hero__grid {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: clamp(34px, 5vw, 70px);
}

.page-hero h1 {
    max-width: 14ch;
    font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.page-hero__aside {
    padding: 24px 0 4px 24px;
    border-left: 1px solid var(--line-strong);
    color: var(--muted);
}

.page-hero__aside strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-panel {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
    box-shadow: 6px 6px 0 rgba(23, 63, 49, 0.08);
}

.filter-top {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(160px, 0.75fr)) auto;
    gap: 15px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label,
.filter-label {
    color: var(--ink-soft);
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.input,
.select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink-deep);
}

.input::placeholder {
    color: #67766c;
}

.filter-group {
    margin: 24px 0 0;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.filter-group legend {
    padding: 0;
}

.chip-row {
    display: flex;
    margin-top: 11px;
    flex-wrap: wrap;
    gap: 9px;
}

.chip {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 760;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease);
}

.chip:hover {
    transform: translateY(-1px);
    background: var(--paper-deep);
}

.chip[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.results-meta {
    display: flex;
    margin: 32px 0 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.results-meta p {
    margin: 0;
    color: var(--ink-soft);
    font-weight: 760;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.guide-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
}

.guide-card h2,
.plant-card h2,
.empty-state h2 {
    font-size: clamp(1.2rem, 1.55vw, 1.4rem);
    line-height: 1.18;
}

.guide-card__meta,
.plant-tags {
    display: flex;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    display: inline-flex;
    min-height: 28px;
    padding: 4px 9px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-family: var(--font-label);
    font-size: 0.64rem;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guide-card > p {
    margin: 14px 0 22px;
    color: var(--muted);
}

.guide-details {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.guide-details summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--clay);
    font-weight: 850;
    list-style: none;
    cursor: pointer;
}

.guide-details summary::-webkit-details-marker {
    display: none;
}

.guide-details summary::after {
    margin-left: 9px;
    content: "+";
    font-size: 1.25rem;
}

.guide-details[open] summary::after {
    content: "−";
}

.guide-details ol,
.guide-details ul {
    margin: 15px 0 0;
    padding-left: 22px;
}

.guide-details li + li {
    margin-top: 8px;
}

.caution {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--clay);
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 48px 26px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-md);
    text-align: center;
}

.empty-state svg {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    color: var(--clay);
}

.empty-state p {
    max-width: 48ch;
    margin: 8px auto 0;
    color: var(--muted);
}

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

.plant-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
}

.plant-card__art {
    position: relative;
    display: grid;
    min-height: 220px;
    place-items: center;
    border-bottom: 1px solid var(--line-strong);
    background: var(--sage);
}

.plant-card:nth-child(3n + 2) .plant-card__art {
    background: var(--moss);
}

.plant-card:nth-child(3n + 3) .plant-card__art {
    background: #ebd9bd;
}

.plant-card__art svg {
    width: 78%;
    max-height: 188px;
}

.plant-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.plant-card__body {
    padding: 24px;
}

.botanical-name {
    margin: 5px 0 0;
    color: var(--clay);
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
}

.plant-fit {
    margin: 18px 0;
    color: var(--muted);
}

.plant-facts {
    display: grid;
    margin: 0;
    gap: 10px;
}

.plant-facts div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.plant-facts dt {
    color: var(--ink-soft);
    font-family: var(--font-label);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.plant-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.safety-note {
    display: grid;
    padding: clamp(25px, 4vw, 38px);
    grid-template-columns: auto 1fr;
    gap: 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--moss);
}

.safety-note svg {
    width: 30px;
    height: 30px;
    color: var(--clay);
}

.safety-note h2 {
    font-family: var(--font-label);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.safety-note p {
    max-width: 84ch;
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.calendar-controls {
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
}

.month-select-wrap {
    display: none;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.month-button {
    min-height: 46px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 780;
}

.month-button:hover {
    border-color: var(--ink);
}

.month-button[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.month-panel {
    margin-top: 28px;
}

.month-panel__header {
    display: flex;
    margin-bottom: 22px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.month-panel__header span {
    color: var(--clay);
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.month-panel__header h2 {
    margin-top: 5px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
}

.month-panel__status {
    max-width: 34ch;
    margin: 0;
    color: var(--muted);
    text-align: right;
}

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

.rhythm-card {
    min-height: 220px;
    padding: 23px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper-bright);
}

.rhythm-card:nth-child(1) {
    background: var(--sage);
}

.rhythm-card:nth-child(2) {
    background: var(--moss);
}

.rhythm-card:nth-child(3) {
    background: #ebd9bd;
}

.rhythm-card__top {
    display: flex;
    margin-bottom: 34px;
    align-items: center;
    justify-content: space-between;
}

.rhythm-card__top span {
    font-family: var(--font-label);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhythm-card__top svg {
    width: 25px;
    height: 25px;
}

.rhythm-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

.localize-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 7vw, 90px);
}

.checklist {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.checklist li {
    display: grid;
    padding: 18px 0;
    align-items: start;
    grid-template-columns: 36px 1fr;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

.checklist li:first-child {
    border-top: 1px solid var(--line);
}

.checklist span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: var(--font-label);
    font-size: 0.68rem;
    font-weight: 800;
}

.checklist strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.checklist p {
    margin: 0;
    color: var(--muted);
}

.split-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(42px, 8vw, 110px);
}

.quote-panel {
    position: sticky;
    top: 128px;
    padding: 34px;
    border: 1px solid var(--ink);
    border-radius: var(--radius-lg);
    background: var(--moss);
    box-shadow: var(--shadow-paper);
}

.quote-panel svg {
    width: 34px;
    height: 34px;
    margin-bottom: 34px;
    color: var(--clay);
}

.quote-panel blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.75vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.prose {
    max-width: var(--reading);
}

.prose h2 {
    margin-top: 44px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin-top: 30px;
}

.prose p,
.prose li {
    color: var(--ink-soft);
}

.prose p {
    margin: 18px 0 0;
}

.prose ul,
.prose ol {
    margin: 18px 0 0;
    padding-left: 24px;
}

.prose li + li {
    margin-top: 10px;
}

.prose a {
    color: var(--clay);
    font-weight: 760;
}

.policy-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(44px, 8vw, 100px);
}

.policy-nav {
    position: sticky;
    top: 120px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-bright);
}

.policy-nav strong {
    font-family: var(--font-label);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-nav ol {
    display: grid;
    margin: 14px 0 0;
    padding: 0;
    gap: 7px;
    list-style: none;
}

.policy-nav a {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.policy-date {
    margin: 16px 0 0;
    color: var(--muted);
    font-family: var(--font-label);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    min-width: 0;
    padding: clamp(24px, 3.5vw, 36px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--paper-bright);
}

.contact-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
}

.contact-card:nth-child(2) {
    background: var(--sage);
}

.contact-card svg {
    width: 34px;
    height: 34px;
    margin-bottom: 36px;
    color: var(--clay);
}

.contact-card p,
.contact-card address {
    margin: 15px 0 0;
    color: var(--ink-soft);
    font-style: normal;
}

.contact-card a {
    overflow-wrap: anywhere;
    color: var(--clay);
    font-weight: 800;
}

.mini-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
}

.not-found {
    display: grid;
    min-height: 62vh;
    padding-block: 80px;
    place-items: center;
    text-align: center;
}

.not-found__inner {
    max-width: 720px;
}

.not-found__code {
    display: block;
    margin-bottom: 20px;
    color: var(--clay);
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.site-footer {
    background: var(--ink-deep);
    color: var(--white);
}

.footer-main {
    display: grid;
    padding-block: 56px 48px;
    grid-template-columns: minmax(230px, 1.05fr) minmax(150px, 0.62fr) minmax(190px, 0.78fr) minmax(240px, 1fr);
    gap: 36px;
}

.footer-brand .brand {
    color: var(--white);
}

.footer-brand > p {
    max-width: 38ch;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-column h2 {
    color: var(--sun);
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.footer-column ul {
    display: grid;
    margin: 14px 0 0;
    padding: 0;
    gap: 7px;
    list-style: none;
}

.footer-column a,
.footer-policy-button,
.footer-column dd,
.footer-column address {
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
    overflow-wrap: anywhere;
}

.footer-column a,
.footer-policy-button {
    font-size: 0.91rem;
}

.footer-column a:hover,
.footer-policy-button:hover {
    color: var(--white);
}

.footer-policy-button {
    min-height: 44px;
    margin: -8px 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font-weight: inherit;
    text-align: left;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.18em;
}

.footer-contact-list {
    display: grid;
    margin: 14px 0 0;
    gap: 14px;
}

.footer-contact-list > div {
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-contact-list dt {
    color: var(--sun);
    font-family: var(--font-label);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact-list dd {
    margin: 6px 0 0;
    font-size: 0.91rem;
    line-height: 1.55;
}

.footer-contact-list address span {
    display: block;
}

.footer-contact-list address span:first-child {
    color: var(--white);
    font-weight: 760;
}

.footer-contact-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    padding-block: 22px 30px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.footer-bottom p {
    max-width: 72ch;
    margin: 0;
}

.policy-table-wrap {
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper-bright);
}

.policy-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    text-align: left;
}

.policy-table caption {
    padding: 16px 18px 10px;
    color: var(--ink-deep);
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left;
}

.policy-table th,
.policy-table td {
    padding: 13px 18px;
    border-top: 1px solid var(--line);
    vertical-align: top;
}

.policy-table th {
    color: var(--ink-soft);
    font-family: var(--font-label);
    font-size: 0.69rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.policy-table td {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.policy-table code {
    overflow-wrap: anywhere;
    color: var(--ink-deep);
}

.inline-policy-button {
    min-height: 44px;
    margin: -10px 0;
    padding: 10px 2px;
    border: 0;
    background: transparent;
    color: var(--clay);
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

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

.cookie-banner {
    position: fixed;
    z-index: 700;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: grid;
    width: min(720px, calc(100% - 36px));
    padding: 22px;
    align-items: end;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: var(--ink-deep);
    box-shadow: 0 22px 58px rgba(14, 43, 33, 0.34);
    color: var(--white);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner .eyebrow {
    margin-bottom: 7px;
    color: var(--sun);
}

.cookie-banner h2,
.cookie-dialog h2 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.15;
}

.cookie-dialog h2:focus {
    outline: none;
}

.cookie-banner h2 {
    color: var(--white);
}

.cookie-banner__copy > p:not(.eyebrow, .cookie-banner__links) {
    max-width: 58ch;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    line-height: 1.5;
}

.cookie-banner__links {
    display: flex;
    margin: 10px 0 0;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
}

.cookie-banner__actions {
    display: grid;
    min-width: 190px;
    gap: 9px;
}

.cookie-banner .button--secondary {
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--white);
}

.cookie-banner .button--secondary:hover {
    background: var(--white);
    color: var(--ink-deep);
}

.cookie-dialog {
    width: min(680px, calc(100% - 32px));
    max-height: min(780px, calc(100vh - 32px));
    padding: 0;
    overflow: auto;
    border: 1px solid var(--ink);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 28px 80px rgba(14, 43, 33, 0.36);
    color: var(--ink);
}

.cookie-dialog::backdrop {
    background: rgba(14, 43, 33, 0.68);
    backdrop-filter: blur(3px);
}

.cookie-dialog__inner {
    padding: 28px;
}

.cookie-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cookie-dialog__header .eyebrow {
    margin-bottom: 7px;
}

.cookie-dialog__close {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper-bright);
    color: var(--ink);
}

.cookie-dialog__close svg {
    width: 20px;
    height: 20px;
}

#cookie-dialog-description {
    margin: 14px 0 0;
    color: var(--muted);
}

.cookie-options {
    display: grid;
    margin-top: 22px;
    gap: 10px;
}

.cookie-option {
    display: grid;
    padding: 17px;
    align-items: start;
    grid-template-columns: 24px 1fr;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--paper-bright);
}

.cookie-option input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--ink);
}

.cookie-option strong,
.cookie-option small,
.cookie-option span span {
    display: block;
}

.cookie-option strong {
    color: var(--ink-deep);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.cookie-option small {
    width: max-content;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--moss);
    color: var(--ink-deep);
    font-family: var(--font-label);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cookie-option span span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.9rem;
}

.cookie-dialog__actions {
    display: flex;
    margin-top: 22px;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cookie-reset {
    min-height: 44px;
    padding: 9px 4px;
    border: 0;
    background: transparent;
    color: var(--clay);
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .primary-nav a {
        padding-inline: 9px;
        font-size: 0.87rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
        gap: 48px;
    }

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

    .filter-top {
        grid-template-columns: 1fr 1fr;
    }

    .filter-top .button {
        width: max-content;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

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

@media (max-width: 860px) {
    :root {
        --container: min(100% - 32px, 760px);
    }

    .utility-bar__inner {
        min-height: 31px;
    }

    .utility-bar__privacy {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-wrap {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: grid;
        padding: 16px;
        transform: translateY(-8px);
        gap: 10px;
        border: 1px solid var(--line-strong);
        border-top: 0;
        border-radius: 0 0 18px 18px;
        background: var(--paper-bright);
        box-shadow: 0 18px 30px rgba(23, 63, 49, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 180ms var(--ease), opacity 180ms ease, visibility 180ms ease;
    }

    .nav-wrap[data-open="true"] {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .primary-nav ul {
        display: grid;
        gap: 4px;
    }

    .primary-nav a {
        width: 100%;
        min-height: 46px;
        padding-inline: 14px;
        border-radius: 10px;
        font-size: 0.98rem;
    }

    .header-contact {
        width: 100%;
        border-radius: 10px;
    }

    .hero-grid,
    .page-hero__grid,
    .section-heading,
    .season-callout,
    .localize-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-hero h1 {
        max-width: 12ch;
    }

    .hero-visual {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .botanical-frame {
        aspect-ratio: 6 / 5;
        border-radius: 120px 120px var(--radius-lg) var(--radius-lg);
    }

    .section-heading {
        align-items: start;
        gap: 22px;
    }

    .intro-grid,
    .habit-grid,
    .value-grid,
    .entry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .entry-card:last-child,
    .value-card:last-child {
        grid-column: 1 / -1;
    }

    .page-hero__aside {
        max-width: 58ch;
        padding: 20px 0 0;
        border-top: 1px solid var(--line-strong);
        border-left: 0;
    }

    .rhythm-grid {
        grid-template-columns: 1fr;
    }

    .rhythm-card {
        min-height: 0;
    }

    .rhythm-card__top {
        margin-bottom: 30px;
    }

    .quote-panel,
    .policy-nav {
        position: static;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .policy-nav ol {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    :root {
        --container: min(100% - 24px, 620px);
    }

    html {
        scroll-padding-top: 84px;
    }

    .brand {
        font-size: 1.22rem;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-actions,
    .button-row {
        display: grid;
    }

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

    .specimen-label {
        right: 12px;
        bottom: 14px;
    }

    .intro-grid,
    .entry-grid,
    .habit-grid,
    .value-grid,
    .card-grid,
    .results-grid,
    .plant-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .entry-card:last-child,
    .value-card:last-child {
        grid-column: auto;
    }

    .number-card,
    .entry-card {
        min-height: 0;
    }

    .number-card__top,
    .entry-card__icon {
        margin-bottom: 34px;
    }

    .season-callout {
        padding: 30px 24px;
        gap: 34px;
    }

    .filter-top {
        grid-template-columns: 1fr;
    }

    .filter-top .button {
        width: 100%;
    }

    .results-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .plant-card__art {
        min-height: 190px;
    }

    .month-grid {
        display: none;
    }

    .month-select-wrap {
        display: grid;
    }

    .month-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .month-panel__status {
        text-align: left;
    }

    .safety-note {
        grid-template-columns: 1fr;
    }

    .policy-nav ol {
        grid-template-columns: 1fr;
    }

    .contact-card svg {
        margin-bottom: 38px;
    }

    .footer-main {
        padding-block: 46px 38px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
    }

    .cookie-banner {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100% - 24px);
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cookie-banner__actions {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .cookie-dialog {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
    }

    .cookie-dialog__inner {
        padding: 20px;
    }

    .cookie-dialog__header {
        gap: 14px;
    }

    .cookie-dialog__actions {
        display: grid;
    }

    .cookie-dialog__actions .button,
    .cookie-reset {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .utility-bar {
        letter-spacing: 0.045em;
    }

    .brand__mark {
        width: 30px;
        height: 34px;
    }

    .header-inner {
        gap: 14px;
    }

    .botanical-frame {
        aspect-ratio: 1 / 1;
    }

    .filter-panel,
    .guide-card,
    .plant-card__body,
    .calendar-controls {
        padding: 20px;
    }

    .plant-facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .utility-bar,
    .site-header,
    .site-footer,
    .filter-panel,
    .button,
    .month-grid,
    .month-select-wrap {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section,
    .page-hero {
        padding-block: 24px;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
