* {
    box-sizing: border-box;
}

:root {
    --color-primary: #E23D28;
    --color-secondary: #0F1A2E;
    --color-accent: #7A8B5A;
    --color-background: #FAF9F6;
    --color-surface: #FFFDF8;
    --color-surface-muted: #EFE7DB;
    --color-text: #101828;
    --color-border: #D8CCBE;
}

body {
    margin: 0;
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 100%;
    line-height: 1.6;
    color: var(--color-text);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[hidden] {
    display: none !important;
}


.nav-global {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 70px;
    border-bottom: 1px solid rgba(42, 42, 42, 0.12);
    background-color: rgba(246, 243, 237, 0.94);
    backdrop-filter: blur(12px);
}

.nav-global.expand {
    align-items: flex-start;
    flex-direction: column;
    height: 100vh;
}

#nav-menu-id {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: min(90%, 1120px);
    min-height: 70px;
    margin: 0 auto;
}

#nav-menu-full-id {
    display: none;
    flex-flow: column wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 95vh;
    margin-top: 10vh;
    opacity: 0;
}

#nav-menu-full-id.show {
    display: flex;
    opacity: 1;
    transition: opacity 1s;
}

#hp-lft-link {
    display: none;
    flex-flow: row nowrap;
    align-items: center;
    width: 12%;
    height: auto;
    /* height: 100%; */
}

#hp-lft-link.hide {
    display: none;
}

#other-links {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 76%;
    height: 100%;
}

.site-logo-lft {
    width: 50px;
    height: auto;
    display: block;
}

.site-logo-ctr {
    width: 250px;
    height: auto;
    display: block;
}

#nav-rt-buf {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 12%;
    height: 100%;
}

.container {
    width: min(90%, 1120px);
    margin: 0 auto;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav {
    gap: 0.35rem;
}

#hp-lft-link a,
#other-links a,
.nav-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-family: "Corbel Light", Corbel, sans-serif;
    font-optical-sizing: auto;
    color: var(--color-primary);
}

#hp-lft-link a,
#other-links a {
    margin: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background-color 160ms ease, color 160ms ease;
}

.nav-link {
    width: 100%;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 400;
}

#hp-lft-link a:hover,
#other-links a:hover,
.nav-link:hover,
.inline-link:hover {
    background-color: rgba(15, 26, 46, 0.06);
    color: var(--color-accent);
}

.inline-link {
    color: var(--color-primary);
    text-decoration: none;
}

.menu-btn {
    border-color: transparent;
    background-color: transparent;
    transition: all 0.5s ease-out;
}

.menu-btn .btn-line {
    width: 28px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.5s ease-out;
}

.menu-btn .btn-line:nth-child(2) {
    margin: 5px 0;
}

.menu-btn.close {
    transform: rotate(180deg);
}

.menu-btn.close .btn-line:nth-child(1) {
    transform: translate(-0.5px, 7px) rotate(45deg);
}

.menu-btn.close .btn-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.close .btn-line:nth-child(3) {
    transform: translate(-0.5px, -7px) rotate(-45deg);
}

.main-global {
    min-height: 95vh;
    margin: 0 10%;
    border: 1px solid rgba(42, 42, 42, 0.08);
    border-radius: 28px 28px 0 0;
    background-color: var(--color-surface);
    box-shadow: 0 24px 60px rgba(15, 26, 46, 0.08);
}

.main-global.hide {
    display: none;
}

.section {
    width: 100%;
    padding: 1rem 0;
    background-color: transparent;
}

.section h2 {
    margin-bottom: 1rem;
    font-family: "Corbel Light", Corbel, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.cta-button {
    display: inline-block;
    padding: 0.72rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.cta-button:hover {
    transform: translateY(-1px);
    background-color: var(--color-secondary);
    color: #ffffff;
}

.response-box {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background-color: var(--color-surface-muted);
    box-shadow: 0 10px 28px rgba(15, 26, 46, 0.08);
    font-family: monospace;
    white-space: pre-wrap;
}

.section-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-panel {
    padding: clamp(1.4rem, 2.5vw, 2.25rem);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--color-surface) 92%, white) 0%, color-mix(in srgb, var(--color-background) 88%, var(--color-surface)) 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 46, 0.08);
}

.content-panel p {
    margin: 0;
    color: rgba(16, 24, 40, 0.72);
}

.content-panel--form {
    max-width: 650px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.entry-form,
.plan-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background-color: var(--color-surface);
    box-shadow: 0 10px 28px rgba(15, 26, 46, 0.08);
}

.entry-form {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.entry-form textarea,
.entry-form input,
.plan-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: #fffdf9;
    color: var(--color-text);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
}

.entry-form textarea {
    resize: none;
}

.plan-form input {
    padding: 0.5rem;
    border-radius: 10px;
}

.entry-form .cta-button {
    display: block;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

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

.nav-open {
    overflow: hidden;
}

@media (max-width: 1230px) {
    body {
        background: var(--color-background);
    }

    .main-global {
        margin-right: 0;
        margin-left: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    #nav-menu-id {
        margin: 0;
    }

    #hp-lft-link {
        width: 80%;
        display: flex;
    }

    #other-links {
        display: none;
    }

    #nav-rt-buf {
        visibility: visible;
        width: 20%;
        margin-right: 10px;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible,
    .cta-button {
        transition: none;
        transform: none;
    }
}
