﻿/* Shared styles for the Seasonal Learning website */

:root {
    --spring-green: #4c9a58;
    --spring-light: #e6f2df;
    --summer-gold: #e9ac2f;
    --summer-light: #fdf3d7;
    --autumn-orange: #c96e32;
    --autumn-light: #f6e1cf;
    --winter-blue: #4b78a8;
    --winter-light: #dfeaf6;

    --ink: #23303b;
    --ink-soft: #50616f;
    --paper: #fffdf8;
    --paper-soft: #f6f3ee;
    --line: #ded7cc;
    --white: #ffffff;

    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;
    --shadow: 0 18px 40px rgba(35, 48, 59, 0.08);
    --shadow-soft: 0 10px 24px rgba(35, 48, 59, 0.06);
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #fbfaf6 0%, #f6f1e8 100%);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
}

body.home-page {
    background: linear-gradient(180deg, #fbfaf6 0%, #f6f1e8 100%);
}

a {
    color: inherit;
}

header {
    background: rgba(255, 253, 248, 0.95);
    border-bottom: 1px solid rgba(222, 215, 204, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
}

nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1rem 2rem;
}

.logo {
    align-items: center;
    column-gap: 0.22rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.12rem;
}

.logo h1 {
    align-items: center;
    color: #59b55b;
    display: flex;
    font-family: var(--font-heading);
    font-size: 1.48rem;
    gap: 0.5rem;
    line-height: 1;
    margin: 0;
}

.logo h1::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M11 35C8 24 12 15 21 9c2 7 0 16-6 22-1 2-3 3-4 4Z' fill='%2378c850' stroke='%23000000' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M23 31c-2-10 1-19 10-24 4 8 4 18-2 25-2 2-4 3-8 4Z' fill='%234caf50' stroke='%23000000' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M10 42c8-10 15-18 28-28' stroke='%23000000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: inline-block;
    flex: 0 0 62px;
    height: 80px;
    transform: translateY(4px);
    width: 62px;
}

.subtitle {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1;
    margin: 0 0 0 0.12rem;
    transform: translateY(2px);
    white-space: nowrap;
}

.logo::after {
    color: var(--ink-soft);
    content: "Whāia te iti kahurangi, ki te tūohu koe, me he maunga teitei.";
    flex-basis: 100%;
    font-size: 0.88rem;
    line-height: 1.2;
    margin: -1.35rem 0 0 46px;
    opacity: 0.9;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--ink);
}

section {
    padding: 5.5rem 2rem;
}

h2,
h3,
h4 {
    font-family: var(--font-heading);
}

h2 {
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    color: var(--ink-soft);
    margin: 0 auto 2.5rem;
    max-width: 760px;
    text-align: center;
}

.eyebrow {
    color: var(--spring-green);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero {
    align-items: center;
    display: grid;
    gap: 4.5rem;
    grid-template-columns: 1.2fr 1fr;
    margin: 0 auto;
    max-width: 1200px;
    min-height: calc(100vh - 82px);
    padding-top: 2rem;
    position: relative;
}

.hero-content h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    text-align: left;
}

.home-page .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
    padding-top: 4.5rem;
}

.home-page .hero::before {
    background:
        radial-gradient(circle at 22% 18%, rgba(244, 200, 93, 0.22), transparent 26%),
        radial-gradient(circle at 78% 28%, rgba(107, 152, 200, 0.16), transparent 24%),
        linear-gradient(180deg, #f2f2ef 0%, #efefeb 100%);
    content: "";
    height: calc(100% + 3rem);
    left: 50%;
    position: absolute;
    top: -1.2rem;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
}

.home-page .hero-content {
    max-width: 780px;
}

.home-page .hero-content h2 {
    font-size: clamp(2.8rem, 4.8vw, 5rem);
    line-height: 1.08;
    max-width: 760px;
}

.home-page .hero-description {
    font-size: 1.12rem;
    line-height: 1.72;
    margin-bottom: 1.35rem;
    max-width: 780px;
}

.hero-description {
    color: var(--ink-soft);
    font-size: 1.06rem;
    margin-bottom: 1.15rem;
    max-width: 650px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--ink);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}

.home-page .btn-primary {
    background: #4fb34f;
    color: var(--white);
}

.home-page .btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #4fb34f;
    color: #4fb34f;
}

.hero-panel {
    background:
        radial-gradient(circle at top right, rgba(233, 172, 47, 0.10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(76, 154, 88, 0.10), transparent 26%),
        rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 2.3rem;
    position: relative;
    overflow: hidden;
}

.home-circles-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

.season-circles {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    margin-bottom: 1.75rem;
}

.circle {
    align-items: center;
    border-radius: 999px;
    color: var(--white);
    display: flex;
    font-weight: 700;
    justify-content: center;
    min-height: 176px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.circle:hover,
.circle:focus {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.spring { background: linear-gradient(135deg, #78b765, var(--spring-green)); }
.summer { background: linear-gradient(135deg, #f4c85d, var(--summer-gold)); color: var(--ink); }
.autumn { background: linear-gradient(135deg, #d5884d, var(--autumn-orange)); }
.winter { background: linear-gradient(135deg, #6b98c8, var(--winter-blue)); }

.home-page .season-circles {
    gap: 2.2rem;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    margin-bottom: 0;
}

.home-page .circle {
    min-height: 225px;
}

.seasons-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(246, 241, 232, 0.25));
}

.season-cards,
.resource-cards,
.whariki-grid,
.activity-examples {
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
}

.season-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.resource-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.whariki-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.activity-examples { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.season-card,
.resource-card,
.whariki-strand,
.activity-example,
.month-card,
.guide-panel,
.experience-card,
.season-overview-card,
.guide-hero-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.season-card {
    padding: 1.9rem;
}

.season-card h3 {
    margin-bottom: 0.9rem;
}

.season-card p,
.whariki-strand p,
.resource-card p,
.activity-example p,
.month-summary,
.week-card p,
.guide-panel p,
.experience-card p,
.teacher-list li {
    color: var(--ink-soft);
}

.spring-card { border-top: 6px solid var(--spring-green); }
.summer-card { border-top: 6px solid var(--summer-gold); }
.autumn-card { border-top: 6px solid var(--autumn-orange); }
.winter-card { border-top: 6px solid var(--winter-blue); }

.season-link {
    font-weight: 700;
    text-decoration: none;
}

.te-whariki-section {
    background: rgba(255, 255, 255, 0.72);
}

.whariki-strand,
.resource-card {
    padding: 1.8rem;
    text-align: center;
}

.whariki-strand h4,
.resource-card h4 {
    margin-bottom: 0.65rem;
}

.activities-preview {
    background: linear-gradient(180deg, rgba(230, 242, 223, 0.75), rgba(255, 255, 255, 0.6));
}

.activity-example {
    color: inherit;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linked-card:hover,
.linked-card:focus,
.week-card:hover,
.week-card:focus {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card-label,
.month-kicker,
.week-meta,
.guide-kicker,
.experience-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-label {
    color: var(--spring-green);
    margin-bottom: 0.6rem;
}

.resources-section {
    background: rgba(255, 253, 248, 0.9);
}

.pathways-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 241, 232, 0.45));
}

.pathway-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 0 auto;
    max-width: 1200px;
}

.pathway-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    color: inherit;
    display: block;
    padding: 1.85rem;
    text-decoration: none;
}

.pathway-card h3 {
    margin-bottom: 0.8rem;
}

.pathway-card p {
    color: var(--ink-soft);
}

.about-content {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
}

.about-content p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.creator-note {
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.about-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "profile story"
        "profile hope";
}

.about-profile-card,
.about-story-card,
.about-hope-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.about-profile-card {
    grid-area: profile;
    background:
        radial-gradient(circle at top left, rgba(232, 242, 224, 0.7), transparent 35%),
        rgba(255, 255, 255, 0.94);
}

.about-story-card {
    grid-area: story;
}

.about-hope-card {
    grid-area: hope;
    background:
        linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(255, 255, 255, 0.92));
}

.about-profile-card h2,
.about-story-card h2,
.about-hope-card h2 {
    font-size: clamp(1.75rem, 2.1vw, 2.35rem);
    line-height: 1.14;
    margin-bottom: 0.85rem;
    text-align: left;
}

.about-profile-card p,
.about-story-card p,
.about-hope-card p {
    color: var(--ink-soft);
}

.about-page .subpage-summary,
.about-page .subpage-note p,
.about-page .about-profile-card p,
.about-page .about-story-card p,
.about-page .about-hope-card p {
    font-size: 0.98rem;
    line-height: 1.62;
}

.about-page .card-label {
    font-size: 0.86rem;
}

.about-contact {
    border-top: 1px solid rgba(222, 215, 204, 0.9);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.about-email {
    color: var(--spring-green);
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.2rem;
    text-decoration: none;
}

.about-email:hover,
.about-email:focus {
    text-decoration: underline;
}

footer {
    background: #24323d;
    color: var(--white);
    padding: 3rem 2rem 1.25rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0 auto 2.2rem;
    max-width: 1200px;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-section ul {
    list-style: none;
}

.footer-section li + li {
    margin-top: 0.5rem;
}

.footer-section a {
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 1.3rem;
    text-align: center;
}

.maori-proverb {
    font-style: italic;
    margin-top: 0.6rem;
}

.season-page,
.weekly-guide-page {
    --season-accent: var(--spring-green);
    --season-soft: var(--spring-light);
}

.subpage-shell {
    background: linear-gradient(180deg, #fbfaf6 0%, #f4efe6 100%);
}

.subpage-hero {
    background: linear-gradient(135deg, rgba(232, 242, 224, 0.72), rgba(255, 255, 255, 0.9));
    border-bottom: 1px solid rgba(222, 215, 204, 0.8);
    padding: 4.75rem 2rem 4.1rem;
}

.subpage-inner {
    margin: 0 auto;
    max-width: 1200px;
}

.subpage-hero .subpage-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.15fr 0.85fr;
}

.subpage-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.95rem;
}

.subpage-summary,
.subpage-note p,
.theme-activity-list li,
.town-chip span,
.region-count {
    color: var(--ink-soft);
}

.subpage-note {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem;
}

.subpage-note h3 {
    margin-bottom: 0.7rem;
}

.subpage-content {
    padding: 4.25rem 2rem 5.5rem;
}

.local-page .subpage-hero {
    padding: 4.1rem 2rem 2.25rem;
}

.local-page .subpage-content {
    padding: 2.1rem 2rem 5.5rem;
}

.about-page .subpage-content {
    padding: 2.6rem 2rem 5.5rem;
}

.theme-sections {
    display: grid;
    gap: 1.5rem;
}

.theme-section-card,
.region-card,
.nz-map-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.9rem;
}

.theme-activity-list {
    list-style: none;
}

.theme-activity-list li {
    padding-left: 1rem;
    position: relative;
}

.theme-activity-list li + li {
    margin-top: 0.8rem;
}

.theme-activity-list li::before {
    color: var(--spring-green);
    content: "\2022";
    left: 0;
    position: absolute;
}

.local-layout {
    display: grid;
    gap: 2rem;
}

.nz-map {
    background: linear-gradient(180deg, rgba(223, 234, 246, 0.7), rgba(255, 255, 255, 0.95));
    border-radius: 28px;
    height: 560px;
    overflow: hidden;
    position: relative;
}

.north-island,
.south-island,
.stewart-island {
    background: linear-gradient(135deg, #dce8d1, #cbd8ef);
    position: absolute;
}

.north-island {
    border-radius: 50% 46% 48% 52% / 44% 52% 48% 56%;
    height: 270px;
    left: 54%;
    top: 7%;
    transform: rotate(18deg);
    width: 175px;
}

.south-island {
    border-radius: 42% 56% 52% 48% / 54% 42% 58% 46%;
    height: 330px;
    left: 34%;
    top: 41%;
    transform: rotate(22deg);
    width: 170px;
}

.stewart-island {
    border-radius: 999px;
    height: 48px;
    left: 41%;
    top: 84%;
    width: 82px;
}

#mapMarkers {
    inset: 0;
    position: absolute;
}

.map-marker {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(35, 48, 59, 0.12);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 42px;
    padding: 0.3rem 0.8rem;
    position: absolute;
    text-decoration: none;
}

.map-marker::before {
    background: var(--spring-green);
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 10px;
    margin-right: 0.55rem;
    width: 10px;
}

.map-marker.northland { left: 61%; top: 10%; }
.map-marker.auckland { left: 62%; top: 23%; }
.map-marker.waikato { left: 59%; top: 34%; }
.map-marker.bop { left: 68%; top: 34%; }
.map-marker.wellington { left: 56%; top: 48%; }
.map-marker.canterbury { left: 38%; top: 60%; }
.map-marker.otago { left: 34%; top: 77%; }

.region-directory {
    display: grid;
    gap: 1.5rem;
}

.local-side-panel .region-directory {
    grid-template-columns: 1fr;
}

.local-bottom-panel .region-directory {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.region-card-header {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.town-chip-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.town-chip {
    background: var(--paper-soft);
    border: 1px solid rgba(222, 215, 204, 0.95);
    border-radius: var(--radius-md);
    color: inherit;
    display: block;
    padding: 1rem 1rem 1.1rem;
    text-decoration: none;
}

.town-chip strong {
    display: block;
    margin-bottom: 0.35rem;
}

.theme-object-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.theme-object-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.85rem;
}

.theme-activity-list li::before {
    content: "\2022";
}

.local-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.nz-region-map-shell {
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 226, 167, 0.16), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(194, 214, 232, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(248, 246, 240, 0.98), rgba(240, 242, 238, 0.96));
    border: 1px solid rgba(222, 215, 204, 0.95);
    border-radius: 28px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        inset 0 -18px 30px rgba(35, 48, 59, 0.03);
    min-height: 0;
    overflow: hidden;
    padding: 1.4rem;
    position: relative;
}

.nz-region-map-shell::before {
    background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.58), transparent 46%);
    content: "";
    inset: 0;
    opacity: 0.85;
    pointer-events: none;
    position: absolute;
}

.nz-region-map-shell::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.12));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.nz-region-map {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 590px;
    width: 100%;
}

.map-focus-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(35, 48, 59, 0.08);
    backdrop-filter: blur(10px);
    color: var(--ink);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.5rem;
    left: 1.2rem;
    padding: 0.6rem 1rem;
    position: absolute;
    top: 1.2rem;
    z-index: 2;
}

.map-note {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-top: 0.95rem;
}

.region-directory-wrap {
    align-content: start;
    display: grid;
    gap: 1.5rem;
}

.local-composite-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    grid-template-areas:
        "map side"
        "bottom bottom";
}

.local-map-panel {
    grid-area: map;
}

.local-side-panel {
    grid-area: side;
}

.local-bottom-panel {
    grid-area: bottom;
}

.town-more {
    grid-column: 1 / -1;
}

.town-more summary {
    color: var(--spring-green);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    margin-top: 0.2rem;
}

.town-more summary::-webkit-details-marker {
    display: none;
}

.town-more summary::before {
    content: "+";
    display: inline-block;
    margin-right: 0.55rem;
}

.town-more[open] summary::before {
    content: "-";
}

.town-chip-grid-extra {
    margin-top: 1rem;
}

.region-underlay path {
    fill: rgba(249, 247, 243, 0.92);
    stroke: rgba(97, 112, 124, 0.18);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    vector-effect: non-scaling-stroke;
}

.region-shape {
    cursor: pointer;
    isolation: isolate;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
    will-change: transform, filter, opacity;
}

.region-shape path {
    fill-opacity: 0.94;
    fill-rule: evenodd;
    stroke: rgba(255, 254, 249, 0.82);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.92;
    transition: stroke 0.22s ease, fill-opacity 0.22s ease;
    vector-effect: non-scaling-stroke;
}

.region-shape:hover {
    filter: drop-shadow(0 14px 22px rgba(35, 48, 59, 0.12));
    transform: translateY(-1px) scale(1.028);
}

.region-shape:hover path,
.region-shape.is-active path {
    fill-opacity: 0.98;
    stroke: rgba(255, 255, 255, 0.94);
}

.region-shape.is-active {
    filter: drop-shadow(0 16px 24px rgba(35, 48, 59, 0.15));
    transform: translateY(-2px) scale(1.036);
}

.region-shape.is-muted {
    opacity: 0.3;
}

.region-shape.is-offshore path {
    stroke-width: 0.8;
}

.offshore-label {
    fill: rgba(80, 95, 108, 0.82);
    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.01em;
    pointer-events: none;
}

.active-region-card,
.region-preview-card {
    height: 100%;
}

.active-region-card {
    padding: 2rem;
}

.local-tag-row {
    margin-top: 1rem;
}

.local-town-grid {
    margin-top: 1.5rem;
}

.local-town-chip {
    background: rgba(246, 243, 238, 0.95);
}

.local-empty-state {
    margin-top: 1.25rem;
}

.region-preview-card {
    display: grid;
    gap: 1rem;
}

.region-preview-card.is-active {
    border-color: rgba(76, 154, 88, 0.42);
    box-shadow: 0 16px 32px rgba(76, 154, 88, 0.14);
}

.region-preview-summary {
    margin-top: -0.35rem;
}

.region-select-button {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(76, 154, 88, 0.42);
    border-radius: 999px;
    color: var(--spring-green);
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.65rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.region-select-button:hover,
.region-select-button:focus {
    background: rgba(230, 242, 223, 0.84);
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

.season-hero,
.guide-hero {
    background: linear-gradient(135deg, var(--season-soft), rgba(255, 255, 255, 0.84));
    border-bottom: 1px solid rgba(222, 215, 204, 0.8);
    padding: 4.75rem 2rem;
}

.season-hero-inner,
.guide-hero-inner,
.season-layout,
.guide-layout {
    margin: 0 auto;
    max-width: 1200px;
}

.season-hero-inner,
.guide-hero-inner {
    display: grid;
    gap: 2.75rem;
    grid-template-columns: 1.15fr 0.85fr;
}

.season-hero-copy h1,
.guide-hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.season-hero-copy p,
.guide-hero-copy p,
.season-overview-card li,
.guide-hero-card li,
.months-intro p,
.guide-intro p,
.guide-placeholder {
    color: var(--ink-soft);
}

.season-badge,
.month-kicker,
.week-meta,
.guide-kicker,
.experience-type {
    color: var(--season-accent);
}

.season-overview-card,
.guide-hero-card,
.guide-panel,
.experience-card {
    padding: 2rem;
}

.season-overview-card h3,
.guide-hero-card h3,
.guide-panel h2,
.guide-panel h3,
.experience-card h3 {
    margin-bottom: 0.95rem;
}

.season-overview-card ul,
.guide-hero-card ul,
.teacher-list {
    list-style: none;
}

.season-overview-card li,
.guide-hero-card li,
.teacher-list li {
    padding-left: 1rem;
    position: relative;
}

.season-overview-card li + li,
.guide-hero-card li + li,
.teacher-list li + li {
    margin-top: 0.65rem;
}

.season-overview-card li::before,
.guide-hero-card li::before,
.teacher-list li::before {
    color: var(--season-accent);
    content: "\2022";
    left: 0;
    position: absolute;
}

.season-layout,
.guide-layout {
    padding: 4.25rem 2rem 6rem;
}

.months-intro,
.guide-intro {
    margin-bottom: 2.75rem;
}

.months-intro h2,
.guide-intro h2,
.guide-panel h2,
.guide-panel h3 {
    text-align: left;
}

.month-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.month-card {
    padding: 2rem;
}

.week-list {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.5rem;
}

.week-card {
    background: var(--paper-soft);
    border: 1px solid rgba(222, 215, 204, 0.9);
    border-radius: var(--radius-md);
    color: inherit;
    display: block;
    padding: 1.2rem 1.2rem 1.35rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.week-card-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.week-card h4 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    margin: 0;
}

.tag-row,
.guide-tag-row,
.season-actions,
.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: var(--season-soft);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.32rem 0.7rem;
}

.season-actions,
.guide-actions {
    margin-top: 2rem;
}

.guide-layout {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
}

.experience-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 1.6rem;
}

#guideMain,
#guideSidebar {
    display: grid;
    gap: 2rem;
    align-content: start;
}

.guide-panel p + p,
.season-hero-copy p + p,
.guide-hero-copy p + p {
    margin-top: 0.9rem;
}

.teacher-list li + li {
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .hero,
    .season-hero-inner,
    .guide-hero-inner,
    .guide-layout,
    .subpage-hero .subpage-inner {
        grid-template-columns: 1fr;
    }

    .logo {
        column-gap: 0.18rem;
        row-gap: 0.14rem;
    }

    .logo h1 {
        font-size: 1.38rem;
    }

    .logo h1::before {
        flex-basis: 56px;
        height: 72px;
        transform: translateY(3px);
        width: 56px;
    }

    .subtitle {
        font-size: 0.86rem;
        margin-left: 0.08rem;
        transform: translateY(2px);
    }

    .logo::after {
        font-size: 0.82rem;
        margin-left: 68px;
        transform: translateY(-4px);
    }

    .hero {
        min-height: auto;
        padding-top: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "profile"
            "story"
            "hope";
    }

    .home-page .season-circles {
        gap: 1.4rem;
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .home-page .circle {
        min-height: 180px;
    }

    .local-composite-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "map"
            "side"
            "bottom";
    }

    .local-layout {
        grid-template-columns: 1fr;
    }

    .nz-region-map-shell {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .logo {
        column-gap: 0.12rem;
        row-gap: 0.1rem;
    }

    .logo h1 {
        font-size: 1.34rem;
    }

    .logo h1::before {
        flex-basis: 46px;
        height: 64px;
        transform: translateY(3px);
        width: 46px;
    }

    .subtitle {
        font-size: 0.84rem;
        margin-left: 0.06rem;
        transform: translateY(2px);
    }

    .logo::after {
        font-size: 0.76rem;
        margin-left: 56px;
        transform: translateY(-4px);
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.8rem 1rem;
    }

    section,
    .season-hero,
    .guide-hero,
    .season-layout,
    .guide-layout {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .season-circles {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }

    .circle {
        border-radius: 28px;
        min-height: 132px;
    }

    .home-page .circle {
        border-radius: 999px;
        min-height: 150px;
    }

    .nz-region-map-shell {
        min-height: 0;
        padding: 1rem;
    }

    .map-focus-pill {
        font-size: 0.9rem;
        left: 1rem;
        top: 1rem;
    }
}

@media (max-width: 520px) {
    .cta-buttons,
    .season-actions,
    .guide-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}

