:root {
    --color-bg: #f6f3ed;
    --color-bg-soft: #ebe6dc;
    --color-surface: #ffffff;
    --color-surface-warm: #dfd8cc;
    --color-text: #171717;
    --color-muted: #6f685f;
    --color-border: #d4cabd;

    --color-accent: #a9977c;
    --color-accent-dark: #82725d;
    --color-accent-soft: #c8bdad;

    --shadow-soft: 0 24px 80px rgba(40, 32, 24, 0.10);
    --shadow-card: 0 18px 50px rgba(40, 32, 24, 0.08);

    --container: 1240px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(34px, 4.5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
}

h3 {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

p {
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 17px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--color-text);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-secondary {
    border-color: var(--color-border);
    background: rgba(255,255,255,0.55);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: #fff;
}

.section-head {
    max-width: 760px;
    margin-bottom: 60px;
}

.cards.three {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.hidden {
    display: none !important;
}

.site-footer {
    padding: 60px 0;
    background: #ebe6dc;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-muted);
}

.footer-links a:hover {
    color: var(--color-text);
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;

    width: 56px;
    height: 56px;

    border: none;
    border-radius: 50%;

    background: var(--color-text);
    color: #fff;

    font-size: 22px;
    cursor: pointer;

    box-shadow: var(--shadow-card);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: .3s ease;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.password-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 15%, rgba(169,151,124,.28), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(130,114,93,.22), transparent 34%),
        linear-gradient(135deg, #f8f5ef 0%, #eee7dc 52%, #d8cfc1 100%);
}

.password-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.password-bg::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(130,114,93,.18);
    border-radius: 34px;
}

.password-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.password-card {
    width: min(100%, 560px);
    padding: 48px;
    border-radius: 34px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 30px 100px rgba(40,32,24,.14);
    backdrop-filter: blur(22px);
}

.password-brand img {
    height: 72px;
    width: auto;
    margin-bottom: 34px;
}

.password-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.password-card h1 {
    max-width: 460px;
    margin-bottom: 20px;
    font-size: clamp(42px, 7vw, 72px);
}

.password-card p {
    max-width: 460px;
    margin-bottom: 34px;
    font-size: 18px;
}

.password-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
}

.password-input-row {
    display: flex;
    gap: 10px;
}

.password-input-row input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    font: inherit;
}

.password-input-row button {
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    background: var(--color-text);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.password-error {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(160,40,40,.08);
    color: #9b1c1c;
    font-weight: 700;
}

.password-card small {
    display: block;
    margin-top: 26px;
    color: var(--color-muted);
}

@media (max-width: 620px) {
    .password-card {
        padding: 32px 24px;
        border-radius: 26px;
    }

    .password-input-row {
        flex-direction: column;
    }

    .password-input-row button {
        min-height: 52px;
    }
}

.password-contact {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.password-contact strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.password-contact a {
    color: var(--color-accent-dark);
    font-weight: 700;
}

.password-contact a:hover {
    text-decoration: underline;
}