:root {
    --plum: #230e14;
    --plum-deep: #1b0b12;
    --cream: #ded8e0;
    --terracotta: #c18b9a;
    --ink: #302229;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    background: radial-gradient(ellipse at 62% 23%, #47252f 0%, transparent 56%),
                radial-gradient(ellipse at 0% 85%, #39222b 0%, transparent 55%),
                var(--plum-deep);
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}
a { color: inherit; }
.page-shell { max-width: 1230px; margin: 0 auto; padding: 0 48px; position: relative; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 23px; border-bottom: 1px solid rgba(242,229,206,.38); }
.brand { font: 34px/1 'Playfair Display', serif; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--terracotta); font: 25px 'DM Sans', sans-serif; vertical-align: top; }
.site-header nav { display: flex; gap: clamp(18px,4vw,56px); align-items: center; }
.site-header nav a { font: 17px 'Playfair Display', serif; text-decoration: none; padding: 6px 0; }
.site-header nav a:hover, .site-header nav a.active { color: #e8a084; border-bottom: 1px solid var(--terracotta); }
.contact-intro { display: flex; justify-content: space-between; align-items: center; padding: 70px 0 38px; }
.eyebrow { font: 11px 'IBM Plex Mono', monospace; letter-spacing: .26em; margin: 0 0 19px; }
.eyebrow span { color: var(--terracotta); margin-left: 12px; }
h1 { font: 400 clamp(65px, 9vw, 128px)/1.06 'Playfair Display', serif; letter-spacing: -.045em; margin: 0 0 22px; }
h1 em { font-weight: 400; }
.asterisk { color: var(--terracotta); font: 48px 'DM Sans', sans-serif; vertical-align: top; margin-left: 14px; }
.intro-content > p:last-child { font: 19px/1.7 'Playfair Display', serif; max-width: 660px; margin: 0; }
.contact-layout { position: relative; padding: 10px 0 90px; }
.paper-wrap {
    position: relative;
    width: min(85%, 890px);
    padding: 65px 65px 60px;
    color: var(--ink);
    background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,.38), transparent 65%),
                repeating-linear-gradient(25deg, transparent 0 5px, rgba(114,78,49,.018) 6px 7px),
                #d5ced7;
    clip-path: polygon(0.5% 1%, 6% .5%, 12% 1.2%, 19% .4%, 26% 1%, 34% .3%, 43% 1%, 52% .5%, 60% 1.2%, 70% .3%, 78% 1%, 87% .4%, 94% 1.1%, 99.5% .5%, 99% 12%, 99.6% 23%, 99% 36%, 99.5% 50%, 99% 65%, 99.7% 78%, 99% 91%, 99.5% 99%, 91% 99.5%, 84% 98.9%, 76% 99.6%, 66% 99%, 56% 99.7%, 45% 99%, 34% 99.5%, 24% 99%, 14% 99.6%, 6% 99%, .5% 99.5%, 1% 87%, .5% 74%, 1% 59%, .4% 45%, 1% 30%, .5% 16%);
    filter: drop-shadow(15px 22px 16px rgba(0,0,0,.23));
}
.tape {
    position: absolute;
    top: -12px;
    left: 8%;
    width: 105px;
    height: 35px;
    background: rgba(209,185,151,.65);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 1px 2px 5px rgba(45,30,20,.12);
    transform: rotate(-7deg);
    z-index: 2;
    pointer-events: none;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 27px; }
.field { min-width: 0; }
.field.full-width { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 10px; font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .15em; text-transform: uppercase; }
.field label span { color: #a34d3d; }
.field label small { font: 10px 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; opacity: .7; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #a58d75; border-radius: 3px; background: rgba(255,255,255,.12); color: #2b2020; font: 15px 'DM Sans', sans-serif; outline-offset: 3px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #6d4654; outline: 2px solid rgba(109,70,84,.25); }
.field [aria-invalid='true'] { border-color: #9d342e; }
.field-error { color: #8a2c2c; font-size: 12px; margin: 7px 0 0; }
.notice { padding: 14px 18px; margin-bottom: 25px; border-radius: 3px; font-size: 14px; }
.notice.success { background: #e0ebd5; border: 1px solid #74956c; }
.notice.error { background: #f3d9d3; border: 1px solid #b36d60; }
.send-button { margin-top: 28px; padding: 16px 28px; border: 1px solid #452631; border-radius: 3px; color: #ded8e0; background: #39212b; font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .17em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .2s; }
.send-button span { font-size: 18px; margin-left: 25px; vertical-align: middle; }
.send-button:hover { background: #603744; transform: translateY(-2px); }
.send-button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
/* A quiet botanical illustration, contained entirely beside the form. */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 28px;
}
.paper-container {
    position: relative;
    min-width: 0;
    isolation: isolate;
}
.paper-wrap {
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 0;
}
.botanical-aside {
    position: relative;
    width: 100%;
    pointer-events: auto;
}
.botanical-paper {
    position: relative;
    padding: 20px 12px 18px;
    background: #ddc9a9;
    transform: rotate(4deg);
    box-shadow: 9px 14px 24px rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.2);
}
.botanical-paper::before {
    content: '';
    position: absolute;
    width: 62px;
    height: 24px;
    top: -11px;
    left: calc(50% - 31px);
    background: rgba(232,211,177,.65);
    transform: rotate(-6deg);
}
.botanical-drawing { display: block; width: 100%; height: auto; }
.botanical-caption {
    display: block;
    color: #554438;
    text-align: center;
    font: italic 12px/1.4 'Playfair Display', serif;
}
.botanical-spark {
    position: absolute;
    right: -5px;
    top: -45px;
    color: var(--terracotta);
    font-size: 30px;
}
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(242,229,206,.3); padding: 24px 0 35px; font: 11px 'IBM Plex Mono', monospace; letter-spacing: .06em; }
.site-footer a { text-decoration: none; }
@media (max-width: 900px) {
    .page-shell { padding: 0 28px; }
    .paper-wrap { padding: 52px 40px; }
    .contact-layout { grid-template-columns: minmax(0, 1fr) 140px; gap: 20px; }
   
}
@media (max-width: 640px) {
    .page-shell { padding: 0 18px; }
    .site-header { flex-wrap: wrap; padding: 22px 0 15px; }
    .brand { font-size: 30px; }
    .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
    .site-header nav a { font-size: 15px; }
    .contact-intro { padding: 49px 0 25px; }
    h1 { font-size: clamp(56px, 13vw, 80px); }
    .asterisk { font-size: 29px; margin-left: 6px; }
    .intro-content > p:last-child { font-size: 17px; }
    .contact-layout { padding-bottom: 58px; }
    .paper-wrap { padding: 42px 23px 48px; }
    .contact-layout { display: block; }
    .form-grid { grid-template-columns: 1fr; gap: 19px; }
    .field.full-width { grid-column: auto; }
    .botanical-aside { display: none; }
    .send-button { width: 100%; }
    .site-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Botanical note: crisp, cross-browser hover effect.
   The paper, tape, and SVG geometry never move. */
.botanical-aside { pointer-events: auto; }

.botanical-leaves,
.botanical-flower,
.botanical-spark {
    transition: opacity 500ms ease, fill 500ms ease, color 500ms ease;
}

.botanical-aside:hover .botanical-leaves {
    fill: #9a9b77;
}

.botanical-aside:hover .botanical-flower {
    opacity: .72;
}

.botanical-aside:hover .botanical-spark {
    opacity: .45;
}

@media (prefers-reduced-motion: reduce) {
    .botanical-leaves,
    .botanical-flower,
    .botanical-spark {
        transition: none;
    }
}

/* Form layout refinement: width controlled by shared site rail. */
.contact-layout .paper-container{min-width:0}
.contact-layout .paper-wrap{box-sizing:border-box}
