/* LakeDistrict.art commission site — mobile-first. v2 (2026-09-17 design pass). */
:root {
    --paper: #faf9f6;
    --white: #ffffff;
    --ink: #1f2933;
    --ink-soft: #52606d;
    --ink-faint: #9aa5b1;
    --line: #e4e7eb;
    --blue: #1565c0;
    --blue-dark: #0d47a1;
    --blue-tint: #e8f0fb;
    --error: #a83232;
    --error-bg: #fdf2f2;
    --font-heading: 'Kaisei Decol', Georgia, serif;
    --font-body: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(31, 41, 51, 0.08);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font-body); font-size: 17px; line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2rem, 7vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.section { padding: 48px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.95rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(21, 101, 192, .3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-block { width: 100%; }

/* Top bar */
.top-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.top-bar-link { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.top-bar-brand { font-family: var(--font-heading); font-size: 1.05rem; color: var(--ink); text-decoration: none; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 36px; }
.hero .container > * { min-width: 0; }  /* a 900px image must never set the grid's minimum width */
.hero-art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--blue-tint); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(31, 41, 51, .72); color: #fff; font-size: 0.8rem; padding: 6px 10px; border-radius: 6px; }
.hero-copy .eyebrow { font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.hero-copy .lede { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 14px; }

/* "What you can send" chips */
.chips { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.chip-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.chip strong { display: block; font-weight: 600; }
.chip span { color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-heading); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Flash */
.flash { padding: 12px 16px; border-radius: 8px; margin: 12px 0; font-size: 0.98rem; }
.flash-error { background: var(--error-bg); color: var(--error); border: 1px solid #f1c9c9; }

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px 18px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-hint { font-size: 0.92rem; color: var(--ink-soft); margin: 6px 0 0; }
.required { color: var(--blue); }
input[type="text"], input[type="email"], textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
    border: 1.5px solid #cfd6de; border-radius: 8px; padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .15); }
.form-row { display: grid; gap: 16px; }

/* Photo drop zone */
.drop-zone { border: 2px dashed #cfd6de; border-radius: 10px; padding: 18px; text-align: center; background: var(--paper); cursor: pointer; }
.drop-zone.drag-over { border-color: var(--blue); background: var(--blue-tint); }
.drop-zone-text { margin: 0; color: var(--ink-soft); }
.drop-zone-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; margin-bottom: 8px; }
.photo-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.preview-error { color: var(--error); font-size: 0.95rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Segmented control (shape) */
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid #cfd6de; border-radius: 999px; overflow: hidden; }
.segmented label { position: relative; text-align: center; padding: 11px 8px; cursor: pointer; font-weight: 600; color: var(--ink-soft); min-height: 46px; display: flex; align-items: center; justify-content: center; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented label:has(input:checked) { background: var(--blue); color: #fff; }

/* Style picker: horizontal snap strip on phones, grid on wide screens */
.style-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.style-strip::-webkit-scrollbar { height: 6px; }
.style-strip::-webkit-scrollbar-thumb { background: #cfd6de; border-radius: 3px; }
.style-tile { flex: 0 0 150px; scroll-snap-align: start; border: 2px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; padding: 0; text-align: left; font: inherit; color: var(--ink); overflow: hidden; position: relative; }
.style-tile img, .style-tile .style-blank { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--blue-tint); }
.style-tile .style-blank { display: flex; align-items: center; justify-content: center; color: var(--blue); font-family: var(--font-heading); font-size: 1.1rem; text-align: center; padding: 12px; }
.style-tile .style-name { display: block; padding: 8px 10px 10px; font-weight: 600; font-size: 0.92rem; line-height: 1.25; overflow-wrap: anywhere; }
.style-tile.selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .18); }
.style-tile.selected::after { content: "\2713"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.style-chosen { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--blue-tint); border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; font-size: 0.98rem; }
.style-chosen a { font-weight: 600; white-space: nowrap; }

/* Honesty blocks */
.honest { display: grid; gap: 14px; }
.honest div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.honest h3 { margin-bottom: 6px; font-size: 1.1rem; }
.honest p { margin: 0; color: var(--ink-soft); }

/* Pricing */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list li span:last-child { font-weight: 600; }

/* Memorial */
.memorial { border-left: 4px solid var(--blue); padding-left: 18px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 249, 246, .96); border-top: 1px solid var(--line); backdrop-filter: blur(6px); z-index: 20; transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.show { transform: none; }

/* Success */
.success { text-align: center; padding: 56px 0; }
.success ol { text-align: left; max-width: 520px; margin: 22px auto; padding-left: 22px; color: var(--ink-soft); }

/* Footer */
.footer { padding: 28px 0 90px; color: var(--ink-soft); font-size: 0.92rem; text-align: center; }

/* ── Wider screens ─────────────────────────────────────────── */
@media (min-width: 700px) {
    .section { padding: 64px 0; }
    .hero .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
    .hero-art { aspect-ratio: 1; }
    .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .step { grid-template-columns: minmax(0, 1fr); }
    .form-card { padding: 32px 30px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .honest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .style-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
    .style-tile { flex: none; }
    .sticky-cta { display: none; }
    .footer { padding-bottom: 36px; }
}
@media (min-width: 1000px) {
    .style-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
