:root {
  --paper:#fbf8f1; --white:#fffdf8; --ink:#182e28; --jade:#08624f;
  --forest:#102e27; --muted:#53675f; --line:#dcded2; --sand:#e4cba6;
  font-family:system-ui,sans-serif; color:var(--ink); background:var(--paper);
  line-height:1.55; scroll-behavior:smooth;
}
* {box-sizing:border-box}
body,figure,p,h1,h2,h3 {margin:0}
h1,h2 {font-family:Georgia,serif; font-weight:400; line-height:.99; letter-spacing:-.055em}
h1 {font-size:clamp(2.8rem,7vw,7.2rem)}
h2 {font-size:clamp(2.1rem,4.6vw,4.7rem)}
a {color:inherit; text-underline-offset:.2em}
a:hover {text-decoration-thickness:2px}
:focus-visible {outline:3px solid #b06b31; outline-offset:4px}
img {display:block; max-width:100%; object-fit:cover}
.wrap,.mast-inner {width:min(1320px, calc(100% - 2 * clamp(18px,5vw,80px))); margin-inline:auto}
.masthead {background:var(--white); border-bottom:1px solid var(--line)}
.mast-inner,.mast-inner nav,.brand,.actions,.line {display:flex; align-items:center; gap:.9rem; flex-wrap:wrap}
.mast-inner {justify-content:space-between; padding-block:17px}
.mast-inner nav {gap:clamp(.6rem,2.6vw,2.4rem); font-size:.9rem}
.mast-inner a,.brand {text-decoration:none}
.brand {font-size:clamp(1.18rem,2.6vw,1.75rem); color:var(--jade); font-weight:800; letter-spacing:-.04em}
.brand img {object-fit:contain}
.count {display:inline-block; padding:.12em .55em; background:#e5eee6; border-radius:10em; font-size:.79em}
.hero {display:grid; grid-template-columns:1.1fr 1fr; min-height:clamp(450px,52vw,705px); background:var(--forest); color:var(--white)}
.hero-copy {padding:clamp(35px,6vw,102px); align-self:center}
.hero h1 {margin:.22em 0 .28em}
.hero h1 em {color:#efd3ae; font-weight:400}
.hero-copy>p:not(.eyebrow) {max-width:32ch; color:#e1e5d6; font-size:clamp(1rem,1.8vw,1.25rem)}
.hero .button {margin-top:2rem}
.hero figure {position:relative; min-width:0; overflow:hidden; background:#546a5e}
.hero figure img {height:100%; width:100%; position:absolute}
.hero figcaption {position:absolute; right:1rem; bottom:1rem; border-radius:20em; background:#102e27df; color:#fff; padding:.4rem .85rem; font-size:.78rem}
.eyebrow {font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700}
.hero .eyebrow {color:#ddd1b5}
button,.button {display:inline-flex; gap:.75rem; align-items:center; justify-content:center; background:var(--jade); color:white; border:1px solid transparent; text-decoration:none; padding:.7rem 1.15rem; min-height:44px; border-radius:5px; font:inherit; font-weight:680; cursor:pointer}
button:hover,.button:hover {background:#064c3b; color:white}
.button.cream {background:#f4e5cc; color:var(--forest)}
.button.cream:hover {background:#fff3dd}
.outline {background:transparent;color:var(--jade);border-color:#a9bdb0}
.gallery,.page {padding-block:clamp(34px,6vw,95px)}
.section-head {display:flex; align-items:end; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1.5rem}
.section-head .eyebrow,.atelier .eyebrow {color:var(--jade); margin-bottom:.8rem}
.filters {display:grid; grid-template-columns:2fr 1fr 1fr auto; align-items:end; gap:.8rem; padding:1rem 0 1.7rem}
label {font-weight:650; font-size:.88rem}
input:not([type=checkbox]),textarea,select {display:block;width:100%;margin-top:.3rem;border:1px solid #a6b5aa;border-radius:5px;background:var(--white);color:var(--ink);font:inherit;min-height:44px;padding:.6rem .7rem}
textarea {min-height:110px}
.works {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(13px,2.5vw,35px)}
.work {background:var(--white); border:1px solid var(--line)}
.work>a {display:block;overflow:hidden}
.work img {width:100%;height:auto;aspect-ratio:5/4;transition:transform .25s ease}
.work:hover img {transform:scale(1.035)}
.work-meta {padding:clamp(12px,2vw,22px)}
.work h3 {margin:.3rem 0 .65rem; font-size:clamp(1.18rem,2.3vw,1.72rem); font-family:Georgia,serif; font-weight:400}
.work h3 a {text-decoration:none}
.line {justify-content:space-between; align-items:center}
.badge {display:inline-block; padding:.3rem .65rem; border-radius:20em; color:#40516a; background:#e6eaf1; font-size:.76rem; font-weight:700}
.badge.done {background:#dbefe4;color:#1c513a}
.badge.wait {background:#dceaf6;color:#244963}
.badge.action {background:#faedc9;color:#63430e}
.badge.error {background:#f7dce1;color:#802e41}
.atelier {background:#e9e8dc; padding-block:clamp(34px,7vw,90px)}
.atelier p:not(.eyebrow) {max-width:54ch;margin:1rem 0 1.4rem}
footer {padding:1.6rem 0; background:var(--forest); color:#f5f0e8}
footer .wrap {display:flex; gap:1rem 1.55rem; align-items:center; flex-wrap:wrap; font-size:.86rem}
footer .brand {color:#c3e6d1}
.page {min-height:60vh}
.page>h1,.page>h2 {margin-bottom:1.3rem}
.detail {display:grid; gap:clamp(15px,5vw,80px); grid-template-columns:1fr 1fr; align-items:center; margin-top:1rem}
.detail img {height:auto;width:100%}
.detail h1 {font-size:clamp(2.6rem,5vw,5.5rem);margin:.35em 0}
.detail p,.detail .price {display:block;margin:.8rem 0}
.panel {background:var(--white);border:1px solid var(--line);padding:clamp(12px,3vw,30px);margin:1rem 0;border-radius:8px}
.stack {display:grid;gap:1rem;max-width:660px}
.stack>button {justify-self:start}
.lines {list-style:none;margin:0;padding:0}
.lines li {display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.65rem 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.timeline {display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}
.timeline>div {border-left:4px solid var(--line);padding:.6rem .8rem;background:var(--paper)}
.timeline .current {border-color:var(--jade)}
.mail-row {display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin-top:.65rem}
.admin-work {display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.admin-work img {border-radius:6px}
.admin-work>div {flex:1 1 200px}
.admin-work summary {cursor:pointer;color:var(--jade);font-weight:700}
.flash {padding:.7rem 5%;background:#e0ede2}
@media(max-width:800px) {.hero {min-height:auto}.hero figure img {object-position:center}.works {grid-template-columns:repeat(2,minmax(0,1fr))}.filters {grid-template-columns:1fr 1fr}.detail {grid-template-columns:1fr}}
@media(max-width:580px) {.hero {grid-template-columns:1fr}.hero figure {min-height:270px}.hero-copy {padding-bottom:30px}.timeline {grid-template-columns:1fr}.filters label:first-child {grid-column:1/-1}.filters button {justify-self:start}.filters {padding-bottom:1rem}.mast-inner nav {width:100%;justify-content:space-between}.section-head {margin-bottom:1rem}.work .line {gap:.35rem}}
@media(prefers-reduced-motion:reduce) {* {scroll-behavior:auto!important;transition:none!important}}
.filters>* {min-width:0}
@media(max-width:580px) {.hero {grid-template-columns:minmax(0,1fr)}.hero h1 {font-size:clamp(2.1rem,10.2vw,3.6rem)}}
.down-arrow {display:block;width:.52em;height:.52em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-.2em}
.order.wait .timeline .current {border-color:#46769c}
.order.action .timeline .current {border-color:#ab7c25}
.order.error .timeline .current {border-color:#a3475a}
