:root {
    --bg: #f4efe6;
    --ink: #1c1915;
    --muted: #6d675e;
    --line: rgba(28, 25, 21, 0.12);
    --paper: rgba(255, 251, 245, 0.78);
    --accent: #9a4f2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(900px 480px at 8% -10%, rgba(154, 79, 45, 0.16), transparent 55%),
        radial-gradient(700px 420px at 110% 8%, rgba(28, 25, 21, 0.08), transparent 50%),
        var(--bg);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
button, input { font: inherit; }

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 8px;
}

.mark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.mark i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(160deg, #c47a52, #7d3a22);
    display: inline-block;
}

nav {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
}

nav a:hover { color: var(--ink); }

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: end;
    padding: 72px 0 80px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--accent);
    font-weight: 650;
    margin-bottom: 18px;
}

h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 600;
    max-width: 11ch;
}

.lede {
    margin-top: 24px;
    max-width: 42ch;
    color: var(--muted);
    font-size: 18px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 13px 20px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background: var(--ink);
    color: #f7f1e8;
    font-weight: 600;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    min-height: 340px;
    box-shadow: 0 30px 80px rgba(28, 25, 21, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.swatches {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
    height: 210px;
}

.swatches span {
    border-radius: 18px;
    display: block;
}

.a { background: linear-gradient(160deg, #d7b79a, #9a4f2d); }
.b { background: linear-gradient(180deg, #2b2722, #6d5b4b); }
.c { background: #efe4d4; grid-column: 1 / -1; }

.panel small { color: var(--muted); }

.section { padding: 20px 0 90px; }
.section h2 {
    font-family: Fraunces, Georgia, serif;
    font-size: 36px;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    min-height: 210px;
}

article span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

article h3 {
    font-family: Fraunces, Georgia, serif;
    font-size: 26px;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

article p { color: var(--muted); }

.contact {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}

.contact p { color: var(--muted); max-width: 46ch; }

footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    padding-bottom: 36px;
}

.missing {
    padding: 72px 0 120px;
}

.missing h1 { max-width: 14ch; }

.gate {
    width: min(440px, 100%);
    margin: 48px auto 96px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(28, 25, 21, 0.08);
}

.gate h1 {
    font-size: 40px;
    max-width: none;
}

.gate .lede {
    margin: 10px 0 24px;
    font-size: 16px;
}

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field input {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    color: var(--ink);
}

.input-wrap { position: relative; }
.input-wrap .peek {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.check {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    margin: 8px 0 18px;
}

.gate .cta {
    width: 100%;
    margin-top: 0;
}

.flash-error {
    background: rgba(154, 79, 45, 0.12);
    color: var(--accent);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

@media (max-width: 860px) {
    nav { display: none; }
    .hero, .grid, .contact, footer { grid-template-columns: 1fr; display: grid; }
    .hero { padding-top: 36px; }
}
