/* A2Z Upcycled Art — public site styles */
:root {
    --paper: #fbf7f1;
    --paper-2: #f3ece1;
    --ink: #261f1c;
    --muted: #6b5f58;
    --line: #e4d9ca;
    --terracotta: #c4512f;
    --terracotta-dk: #a2401f;
    --teal: #1f6f6b;
    --mustard: #e8b04a;
    --card: #ffffff;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(38, 31, 28, .06), 0 8px 24px rgba(38, 31, 28, .08);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.0625rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-dk); text-underline-offset: .2em; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- announcement ---------- */
.announce { background: var(--teal); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .95rem; }
.announce a { color: #fff; font-weight: 600; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a { display: block; padding: .5rem .9rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-bars, .nav-bars::before, .nav-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .2s, opacity .2s; }
.nav-bars::before { position: absolute; top: -6px; }
.nav-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; }
    .site-nav a { padding: .75rem 1rem; border-radius: 8px; }
    .brand-name { font-size: 1.15rem; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block; background: var(--terracotta); color: #fff; border: 2px solid var(--terracotta);
    padding: .75rem 1.5rem; border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
    transition: background .15s, transform .15s;
}
.btn:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0; background:
    radial-gradient(circle at 92% 8%, rgba(232, 176, 74, .28), transparent 38%),
    radial-gradient(circle at 4% 96%, rgba(31, 111, 107, .14), transparent 36%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.collage { position: relative; height: clamp(320px, 42vw, 480px); }
.polaroid { position: absolute; display: block; background: #fff; padding: 10px 10px 34px; box-shadow: var(--shadow); border-radius: 3px; transition: transform .25s; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid.p1 { width: 52%; aspect-ratio: 3/4; left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.polaroid.p2 { width: 48%; aspect-ratio: 1/1.15; right: 2%; top: 0; transform: rotate(3.5deg); z-index: 1; }
.polaroid.p3 { width: 46%; aspect-ratio: 1/1.1; right: 10%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.collage:has(.p1:only-child) .p1 { position: relative; width: 70%; margin-inline: auto; }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .collage { height: 340px; max-width: 520px; margin-inline: auto; width: 100%; }
}

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.tight { padding-top: 1.5rem; }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.more { font-weight: 600; }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-head h1 { margin-bottom: .5rem; }
.page-head .lead { margin-bottom: 0; }
.cta { background: var(--ink); color: var(--paper); }
.cta .lead { color: #d9cfc4; margin-inline: auto; }
.cta .btn { margin-top: .5rem; background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.cta .btn:hover { background: #f1c26a; border-color: #f1c26a; color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: 1.1rem; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; border-top: 5px solid var(--terracotta); }
.card:nth-child(2) { border-top-color: var(--teal); }
.card:nth-child(3) { border-top-color: var(--mustard); }
.card a { font-weight: 600; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.split.single { grid-template-columns: minmax(0, 760px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.75rem; } }
.prose { font-size: 1.12rem; max-width: 42rem; }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .4rem 1rem; font: 500 .95rem var(--sans); cursor: pointer; }
.chip:hover { background: var(--paper-2); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.masonry { columns: 4 230px; column-gap: 1rem; }
.tile { break-inside: avoid; margin: 0 0 1rem; }
.tile[hidden] { display: none; }
.tile-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.tile-link img { width: 100%; transition: transform .35s; }
.tile-link:hover img { transform: scale(1.04); }
.tile figcaption { padding: .5rem .15rem 0; font-size: .95rem; color: var(--muted); display: flex; gap: .5rem; justify-content: space-between; }
.tile figcaption strong { color: var(--ink); }
.badge { position: absolute; top: .6rem; left: .6rem; font: 700 .72rem var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--mustard); color: var(--ink); }
.badge-sold { background: var(--ink); color: var(--paper); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 15, 13, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 1rem; }
.lightbox.is-open { display: flex; }
.lb-figure { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; align-items: center; gap: .9rem; min-height: 0; }
.lb-img { max-height: calc(100vh - 11rem); max-width: 100%; width: auto; border-radius: 6px; background: #000; }
.lb-caption { color: #f1e9de; text-align: center; max-width: 42rem; }
.lb-caption strong { display: block; font: 700 1.25rem var(--serif); }
.lb-caption .lb-meta { color: var(--mustard); font-weight: 600; }
.lb-caption a { color: #fff; font-weight: 600; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }
body.lb-lock { overflow: hidden; }

/* ---------- classes ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--terracotta); color: #fff; font: 700 1.1rem var(--serif); display: grid; place-items: center; }
.steps li:nth-child(2)::before { background: var(--teal); }
.steps li:nth-child(3)::before { background: var(--mustard); color: var(--ink); }
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1rem 0; }
.price-table th, .price-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--paper-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table small { display: block; color: var(--muted); font-weight: 400; }
.price-table td { font-size: 1.1rem; white-space: nowrap; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- events & quotes ---------- */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.event { display: flex; gap: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; align-items: flex-start; }
.event h3 { margin-bottom: .2rem; }
.event-body { flex: 1; min-width: 0; }
.event-body p:last-child { margin-bottom: 0; }
.event-date { flex: none; width: 64px; text-align: center; background: var(--terracotta); color: #fff; border-radius: 8px; padding: .4rem 0; line-height: 1.1; }
.event-date .m { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.event-date .d { display: block; font: 700 1.8rem var(--serif); }
.event-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; flex: none; }
@media (max-width: 560px) { .event-img { display: none; } }
.past-head { margin-top: 3rem; }
.event-list.past { opacity: .75; }
.event-list.past .event-date { background: var(--muted); }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.quote blockquote { margin: 0 0 .75rem; font: italic 1.12rem/1.5 var(--serif); }
.quote figcaption { color: var(--muted); font-weight: 600; }

/* ---------- forms ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; padding: .7rem .85rem; border: 1.5px solid #cdbfae; border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(31, 111, 107, .25); outline-offset: 0; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.err { color: #b3261e; font-size: .92rem; margin: .3rem 0 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid; }
.notice-ok { background: #e6f4ea; border-color: #9fd2ae; color: #14522a; }
.notice-err { background: #fdecea; border-color: #f0b1ab; color: #7a1812; }
.notice-info { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
.contact-split { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
.contact-side h2 { font-size: 1.4rem; }
.details { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.details span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d9cfc4; margin-top: 2rem; padding-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { font: 700 1.4rem var(--serif); color: #fff; margin-bottom: .4rem; }
.footer-head { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--mustard); margin-bottom: .7rem; }
.social { margin-top: 1rem !important; grid-auto-flow: column; justify-content: start; gap: 1.25rem !important; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.1rem 0 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
