@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --orange-50: #fff4ed;
    --orange-100: #ffe7d6;
    --orange-200: #ffd0af;
    --orange-300: #ffb687;
    --orange-400: #fb934d;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;

    --ink-900: #251810;
    --ink-700: #4f3a30;
    --ink-500: #7a5f52;

    --bg-base: #fff9f5;
    --bg-soft: #fff3ea;
    --surface: #ffffff;
    --surface-muted: #fff8f2;
    --border: rgba(198, 122, 75, 0.26);

    --shadow-sm: 0 8px 20px rgba(116, 57, 21, 0.08);
    --shadow-md: 0 14px 30px rgba(116, 57, 21, 0.12);
    --shadow-lg: 0 24px 48px rgba(116, 57, 21, 0.15);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --content-wide: 1200px;
    --content-read: 860px;

    --focus-ring: 0 0 0 4px rgba(249, 115, 22, 0.25);

    --font-sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Fraunces", "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink-900);
    background: radial-gradient(circle at top left, #ffffff 0%, var(--bg-base) 45%, var(--bg-soft) 100%);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--orange-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 8px;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink-900);
    font-family: var(--font-serif);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

p {
    margin: 0;
    color: var(--ink-700);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 250, 246, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
    min-height: 92px;
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.logo {
    justify-self: start;
}

.logo img {
    height: 58px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--orange-50);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle-btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-900);
}

.main-nav {
    justify-self: end;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.1rem;
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.main-nav a:hover {
    color: var(--orange-700);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-1px);
}

.main-nav li.active a {
    color: var(--orange-600);
    border-color: var(--orange-500);
}

.site-main {
    max-width: var(--content-wide);
    margin: 1.5rem auto 3.5rem;
    padding: 0 1.25rem;
}

.section {
    padding: 3rem 0;
}

.content-wrap {
    max-width: var(--content-wide);
    margin: 0 auto;
}

.page-shell {
    max-width: var(--content-wide);
    margin: 0 auto;
    padding: 1.6rem 0 3rem;
}

.page-hero {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #fffdfb 0%, #fff4eb 100%);
    box-shadow: var(--shadow-md);
    padding: clamp(1.3rem, 2.4vw, 2rem);
}

.page-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.page-hero p {
    margin-top: 0.8rem;
    max-width: 68ch;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange-700);
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.card h3 {
    font-size: 1.18rem;
}

.card p {
    margin-top: 0.4rem;
}

.form-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
    box-shadow: var(--shadow-md);
    padding: 1.2rem;
}

.field-grid {
    display: grid;
    gap: 0.9rem;
}

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

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.68rem 0.82rem;
    border-radius: 12px;
    border: 1px solid rgba(198, 122, 75, 0.4);
    background: #fff;
    color: var(--ink-900);
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.7);
    box-shadow: var(--focus-ring);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.58rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--orange-500);
    border-color: var(--orange-500);
    color: #fff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
}

.btn-secondary {
    background: #fff;
    border-color: rgba(198, 122, 75, 0.55);
    color: var(--ink-900);
}

.btn-secondary:hover {
    background: #fff4ec;
}

@media (max-width: 1200px) {
    .site-main {
        margin-top: 1.2rem;
    }
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto;
        min-height: 80px;
    }

    .logo img {
        height: 48px;
    }

    .nav-toggle-btn {
        display: inline-flex;
        justify-self: end;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: stretch;
        display: none;
        margin-top: 0.3rem;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #fffaf6;
        box-shadow: var(--shadow-sm);
    }

    .main-nav ul {
        padding: 0.35rem 0.65rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav li + li {
        border-top: 1px solid rgba(198, 122, 75, 0.2);
    }

    .main-nav a {
        border-bottom: 0;
        min-height: 46px;
    }

    .nav-toggle:checked ~ .main-nav {
        display: block;
    }
}

@media (max-width: 760px) {
    .site-main {
        padding: 0 1rem;
    }

    .page-shell {
        padding-top: 1.1rem;
    }

    .field-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .logo img {
        height: 42px;
    }

    .section {
        padding: 2.2rem 0;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
