:root {
    --cream: #fcfbf7;
    --cream-light: #f8f7f2;
    --forest: #29483e;
    --forest-deep: #1d352e;
    --forest-soft: #587369;
    --sage: #71887e;
    --sage-deep: #526c62;
    --gold: #c0883d;
    --gold-light: #ddc9a2;
    --ink: #3b4a44;
    --line: rgba(41, 72, 62, 0.2);
    --shadow: 0 28px 70px rgba(29, 53, 46, 0.13);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Nunito Sans", Arial, sans-serif;
    --hand: "Kalam", "Segoe Print", cursive;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    background: var(--forest);
    color: white;
    transform: translateY(-150%);
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem clamp(1.25rem, 5vw, 5.5rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50% 48% 50% 45%;
    color: var(--gold);
    font: 600 1.5rem/1 var(--serif);
    transform: rotate(-5deg);
}

.brand-name {
    color: var(--forest);
    font: 600 1.55rem/1 var(--serif);
    letter-spacing: 0.01em;
}

.brand-name span { color: var(--gold); }

.hero-logo {
    width: clamp(12rem, 17vw, 16rem);
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.header-link {
    position: absolute;
    right: clamp(1.25rem, 5vw, 5.5rem);
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid rgba(41, 72, 62, 0.35);
    background: rgba(252, 251, 247, 0.9);
    color: var(--forest);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(12rem, 23vh, 15rem) 1.25rem clamp(5rem, 10vh, 7rem);
    background: var(--cream);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(252, 251, 247, 0.12), rgba(252, 251, 247, 0.12)),
        linear-gradient(180deg, rgba(29, 53, 46, 0.06), rgba(29, 53, 46, 0.16)),
        radial-gradient(ellipse at 50% 47%, rgba(252, 251, 247, 0.62) 0%, rgba(252, 251, 247, 0.34) 48%, rgba(252, 251, 247, 0.06) 82%);
    content: "";
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02) brightness(0.84);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 45rem;
    border: 1px solid rgba(41, 72, 62, 0.14);
    background: rgba(252, 251, 247, 0.61);
    box-shadow: 0 24px 70px rgba(29, 53, 46, 0.16);
    padding: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    color: var(--forest-deep);
}

.hero-copy h1,
.hero-copy .hero-note { color: inherit; }

.hero .eyebrow { display: none; }

.eyebrow {
    margin: 0 0 1.2rem;
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1, h2 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.025em;
}

h1 {
    position: relative;
    max-width: none;
    padding-bottom: 1.35rem;
    font-family: var(--hand);
    font-size: clamp(4.8rem, 9vw, 7.8rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.72;
    transform: rotate(-2deg);
}

h1::after {
    position: absolute;
    right: 18%;
    bottom: 0;
    width: 43%;
    height: 3px;
    background: var(--gold);
    content: "";
    transform: rotate(-5deg);
    transform-origin: right;
}

.hero-intro {
    max-width: 37rem;
    margin: 3rem auto 0;
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.6;
    text-align: left;
}

.hero-note {
    max-width: 37rem;
    margin: 1.25rem auto 2.25rem;
    color: var(--ink);
    font-size: 1.02rem;
    text-align: left;
}

.hero-signup {
    display: grid;
    max-width: 37rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(12rem, 0.85fr);
    margin: 0 auto;
}

.hero-signup input[type="email"] {
    min-height: 3.45rem;
    border: 1px solid rgba(73, 98, 89, 0.45);
    border-right: 0;
    border-radius: 0;
    background: #ffffff;
    padding: 0.85rem 1rem;
}

.hero-signup button {
    min-height: 3.45rem;
    border: 0;
    border-radius: 0;
    background: var(--sage-deep);
    color: var(--cream-light);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-signup button:hover { background: var(--forest-deep); }

.button {
    display: inline-flex;
    min-height: 3.4rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.55rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary {
    background: var(--sage-deep);
    box-shadow: 0 10px 28px rgba(73, 98, 89, 0.22);
    color: white;
}

.button:hover { transform: translateY(-2px); }
.button-primary:hover { background: var(--forest-deep); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #fffefb;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--forest-deep);
}

.hero-visual {
    position: relative;
    align-self: center;
    aspect-ratio: 0.94;
    max-width: 36rem;
    justify-self: end;
}

.arch {
    position: absolute;
    right: 3%;
    bottom: 5%;
    display: flex;
    width: 70%;
    height: 82%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 48% 48% 4% 4% / 32% 32% 4% 4%;
    background: var(--forest);
    box-shadow: var(--shadow);
    color: var(--cream);
}

.arch::before {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(221, 204, 169, 0.44);
    border-radius: inherit;
    content: "";
}

.arch-word {
    position: relative;
    z-index: 1;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 4.6vw, 4.4rem);
    line-height: 0.88;
}

.arch-word:nth-child(2) { color: var(--gold-light); font-style: italic; }

.sun {
    position: absolute;
    top: 3%;
    left: 1%;
    width: 7rem;
    height: 7rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.sun::before, .sun::after {
    position: absolute;
    inset: -1.2rem 3.4rem;
    width: 1px;
    background: var(--gold);
    content: "";
}

.sun::after { transform: rotate(90deg); }

.visual-caption {
    position: absolute;
    z-index: 3;
    right: -2%;
    bottom: -1.5rem;
    margin: 0;
    color: var(--forest);
    font: 400 1.25rem/1.35 var(--hand);
    text-align: right;
    transform: rotate(-4deg);
}

.path-line {
    position: absolute;
    z-index: 2;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.path-line-one { bottom: 12%; left: 1%; width: 32%; height: 19%; transform: rotate(-28deg); }
.path-line-two { bottom: 4%; left: 8%; width: 38%; height: 19%; transform: rotate(-12deg); }

.leaf {
    position: absolute;
    z-index: 4;
    width: 3.3rem;
    height: 7rem;
    border-radius: 100% 0 100% 0;
    background: var(--forest-soft);
}

.leaf-one { right: 1%; top: 8%; transform: rotate(24deg); }
.leaf-two { right: -5%; top: 22%; background: var(--gold); transform: rotate(52deg) scale(0.7); }

.values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 5vw;
    background: var(--cream);
    color: var(--forest);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.values p { margin: 0; }
.values span { color: var(--gold); font-size: 0.6rem; }

.register-section {
    display: grid;
    grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(3rem, 8vw, 8rem);
    padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem);
    background: var(--cream-light);
}

.register-intro { max-width: 31rem; padding-top: 2rem; }
h2 { font-size: clamp(3.2rem, 5vw, 5.5rem); line-height: 0.95; }
.register-intro > p:not(.eyebrow) { margin: 1.7rem 0; font-size: 1.08rem; }

.privacy-note {
    display: flex;
    gap: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    color: var(--forest-soft);
}

.privacy-note span { color: var(--gold); }
.privacy-note p { margin: 0; font-size: 0.9rem; }

.form-card {
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: #fffefb;
    box-shadow: var(--shadow);
    padding: clamp(1.4rem, 4vw, 3.25rem);
}

.interest-form { position: relative; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.35rem; }

.field label, .field legend {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 700;
}

.optional { color: #69746f; font-size: 0.76rem; font-weight: 500; }

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    border: 1px solid #9ca9a3;
    border-radius: 0.55rem;
    background: #ffffff;
    color: var(--ink);
    padding: 0.78rem 0.9rem;
}

textarea { min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #66736e; }
.field small { display: block; margin-top: 0.38rem; color: #616d67; font-size: 0.78rem; }

.radio-field { border: 0; padding: 0; }
.radio-options { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.radio-options label {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

input[type="radio"], input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--forest); }

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0.4rem 0 1.5rem;
    cursor: pointer;
    color: #485650;
    font-size: 0.86rem;
    line-height: 1.55;
}

.consent input { flex: 0 0 auto; margin-top: 0.3rem; }
.consent-text { display: block; }
.consent label { cursor: pointer; }
.consent a { color: var(--forest); font-weight: 700; }
.submit-button { width: 100%; }
.required-note { margin: 0.75rem 0 0; color: #65706b; font-size: 0.75rem; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert { margin-bottom: 1.5rem; border-radius: 0.75rem; padding: 1rem 1.2rem; }
.form-alert p { margin: 0; }
.form-alert ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.form-alert-error { border: 1px solid rgba(169, 82, 54, 0.5); background: #fff3ef; color: #6b281c; }
.form-alert-success { border: 1px solid rgba(73, 98, 89, 0.28); background: #eef2ef; color: var(--forest-deep); padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.success-title { font: 600 clamp(2rem, 4vw, 3.5rem)/1 var(--serif); }
.form-alert-success p + p { margin-top: 1rem; }

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.4rem 3rem;
    padding: 3.5rem clamp(1.25rem, 8vw, 9rem) 2rem;
    background: var(--sage-deep);
    color: var(--cream);
}

.footer-brand {
    width: min(15rem, 70vw);
    border-radius: 0.75rem;
    background: var(--cream);
    padding: 0.65rem 0.85rem;
}
.footer-logo { display: block; width: 100%; height: auto; }
.site-footer > p { margin: 0; color: var(--cream); }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer nav a { color: var(--cream); }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(251, 250, 245, 0.18); padding-top: 1.25rem; font-size: 0.78rem; }

@media (max-width: 900px) {
    .hero { min-height: 100svh; padding-top: 12rem; }
    .register-section { grid-template-columns: 1fr; gap: 2rem; }
    .register-intro { max-width: 40rem; padding-top: 0; }
}

@media (max-width: 620px) {
    .site-header { padding: 1.3rem 1.1rem; }
    .hero-logo { width: 11rem; }
    .header-link { display: none; }
    .hero { min-height: 100svh; padding: 10rem 1.25rem 4rem; }
    .hero-media::after {
        background: rgba(29, 53, 46, 0.12);
    }
    .hero-copy { background: rgba(252, 251, 247, 0.74); }
    h1 { font-size: clamp(4rem, 20vw, 5.5rem); }
    .hero-intro, .hero-note { font-size: 0.94rem; }
    .hero-signup { grid-template-columns: 1fr; }
    .hero-signup input[type="email"] { border-right: 1px solid rgba(73, 98, 89, 0.45); }
    .values { flex-wrap: wrap; gap: 0.35rem 1rem; padding-block: 1rem; }
    .values p { font-size: 0.62rem; }
    .register-section { padding-inline: 1rem; }
    .field-grid { grid-template-columns: 1fr; gap: 0; }
    .form-card { border-radius: 0.85rem; }
    .radio-options { flex-direction: column; }
    .site-footer { grid-template-columns: 1fr; align-items: start; }
    .site-footer nav { flex-direction: column; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .hero-copy,
    .header-link { border: 2px solid CanvasText; }
    .button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 3px solid Highlight;
        box-shadow: none;
    }
}
