:root {
  --bg: #f6f5ee;
  --surface: #fffefa;
  --sand: #ece8db;
  --sand-2: #e2ddcc;
  --ink: #2f3328;
  --ink-soft: #595e4f;
  --muted: #8a8d7e;
  --line: #ddd9ca;
  --olive: #4a4f3f;
  --olive-2: #5d6450;
  --cream: #f0efe6;
  --sage: #a6ae93;
  --clay: #b9826b;
  --accent: var(--olive);
  --accent-ink: var(--cream);
  --accent-soft: #e6e7dc;
  --danger: #a33a32;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 18px 40px rgba(47, 51, 40, .10);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--olive-2); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--olive-2); font-weight: 500; margin-bottom: 18px; display: block; }

/* ── Header ─────────────────────────────────────────── */
.announce { background: var(--olive); color: var(--cream); text-align: center; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .logo img { height: 26px; width: auto; }
@media (min-width: 700px) { .site-header .logo img { height: 30px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav.right { justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; }
.cart-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--olive); color: var(--cream); font-size: .7rem; display: inline-grid; place-items: center; padding: 0 6px; letter-spacing: 0; }
@media (max-width: 760px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav.left { display: none; }
  .nav .hide-sm { display: none; }
  .site-header .logo { grid-column: 1; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--olive); cursor: pointer; text-decoration: none; font-weight: 500; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; border-radius: var(--radius-sm); padding: 16px 30px; background: var(--olive); color: var(--cream); transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--olive); }
.btn.ghost:hover { background: var(--olive); color: var(--cream); }
.btn.light { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.btn.light:hover { background: #fff; }
.btn.block { width: 100%; }
.btn.lg { padding: 18px 34px; }
.link-arrow { text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: .86rem; color: var(--muted); }
.hero .trust span::before { content: "—"; margin-right: 8px; color: var(--sage); }
.collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 3 / 2; }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.collage figure:first-child { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.collage figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 24px; } }

/* ── Feature strip ───────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div.item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.strip div.item:last-child { border-right: 0; }
.strip b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.strip span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr 1fr; padding: 0; } .strip div.item:nth-child(2) { border-right: 0; } .strip div.item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 30em; margin: 0; color: var(--ink-soft); }
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: start; } }

/* ── Collection grid ─────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card .thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1.2s ease; }
.card .thumb img.alt { opacity: 0; }
.card:hover .thumb img.alt { opacity: 1; }
.card:hover .thumb img { transform: scale(1.03); }
.card .thumb .cta { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 254, 250, .95); text-align: center; padding: 12px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; border-radius: var(--radius-sm); transform: translateY(12px); opacity: 0; transition: .35s ease; }
.card:hover .thumb .cta { transform: none; opacity: 1; }
@media (hover: none) { .card .thumb .cta { display: none; } }
.card .body { padding: 16px 2px 0; }
.card h3 { margin: 0 0 4px; font-size: 1.3rem; }
.card .short { color: var(--ink-soft); font-size: .93rem; margin: 0 0 8px; }
.card .price { font-size: .9rem; letter-spacing: .06em; color: var(--olive-2); }

/* ── Studio band (live demo) ─────────────────────────── */
.studio { background: var(--olive); color: var(--cream); }
.studio .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.studio h2 em { color: #c9cfb5; }
.studio p { color: #d6d8c9; }
.studio .eyebrow { color: #c9cfb5; }
.studio canvas { width: 100%; aspect-ratio: 1; border-radius: var(--radius); display: block; background: #3e4335; }
.studio .demo-input { display: flex; gap: 10px; margin: 26px 0 18px; }
.studio .demo-input input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid #9ea38e; color: var(--cream); font-family: var(--font-display); font-size: 1.6rem; padding: 8px 2px; outline: none; min-width: 0; }
.studio .demo-input input::placeholder { color: #8f9580; }
.studio .demo-input input:focus { border-bottom-color: var(--cream); }
.studio .demo-fonts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.studio .demo-fonts button { background: transparent; border: 1px solid #7d846c; color: var(--cream); border-radius: 999px; padding: 6px 16px; font-size: 1.05rem; cursor: pointer; }
.studio .demo-fonts button.on { background: var(--cream); color: var(--olive); border-color: var(--cream); }
@media (max-width: 860px) { .studio .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ── Rooms gallery ───────────────────────────────────── */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.room { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; }
.room:nth-child(2) { transform: translateY(40px); }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.room:hover img { transform: scale(1.04); }
.room figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(30, 33, 25, .62)); color: #fff; }
.room figcaption b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.room figcaption span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr 1fr; } .room:nth-child(2) { transform: none; } .room:nth-child(3) { display: none; } }

/* ── Steps / story ───────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 22px; }
.step .n { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--sage); display: block; margin-bottom: 14px; }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split ul { list-style: none; padding: 0; margin: 26px 0 0; }
.split li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 18px; color: var(--ink-soft); font-size: .97rem; }
.split li b { color: var(--ink); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split li { grid-template-columns: 1fr; gap: 4px; } }

.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--olive-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 46em; }

.cta-band { text-align: center; background: var(--sand); }
.cta-band .flower { width: 56px; height: 56px; margin: 0 auto 22px; }

/* ── Product page ────────────────────────────────────── */
.crumbs { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 22px 0 14px; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-bottom: 80px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }
.stage { position: sticky; top: 96px; }
@media (max-width: 900px) { .stage { position: static; } }
.preview { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.preview canvas, .preview img.photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.preview .tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 254, 250, .94); border-radius: var(--radius-sm); padding: 7px 12px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.preview .tools { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.preview .tools button { border: 0; background: rgba(255, 254, 250, .94); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 74px; height: 74px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid transparent; padding: 0; cursor: pointer; background: var(--sand); opacity: .75; }
.thumbs button.on { border-color: var(--olive); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .design { display: grid; place-items: center; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--olive); color: var(--cream); line-height: 1.3; }

.pdp h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.pdp .price-line { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pdp .price-line .now { font-size: 1.6rem; font-family: var(--font-display); }
.pdp .price-line .ship { color: var(--muted); font-size: .9rem; }

.field { margin-bottom: 28px; }
.field > label, .field > .label { display: flex; justify-content: space-between; align-items: baseline; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.field > label small, .field > .label small { font-weight: 400; color: var(--muted); letter-spacing: .04em; text-transform: none; font-size: .88rem; }
.input { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-size: 16px; outline: none; transition: border-color .15s; }
.input:focus { border-color: var(--olive); }
.input.big { font-family: var(--font-display); font-size: 1.35rem; padding: 12px 16px; }
.err { color: var(--danger); font-size: .85rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid .input { border-color: var(--danger); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: 10px 14px; cursor: pointer; font-size: .9rem; text-align: left; line-height: 1.25; }
.pill small { display: block; color: var(--muted); font-size: .8rem; }
.pill.on { border-color: var(--olive); background: var(--olive); color: var(--cream); }
.pill.on small { color: #cfd2c2; }

.fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; max-height: 312px; overflow: auto; padding: 1px; }
.font-opt { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 8px 8px; cursor: pointer; text-align: center; }
.font-opt .sample { font-size: 1.55rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font-opt .fname { font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.font-opt.on { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); background: var(--accent-soft); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 9px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); cursor: pointer; padding: 0; }
.swatch.on { outline: 2px solid var(--olive); outline-offset: 3px; }
.swatch.light { border-color: rgba(0, 0, 0, .22); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.qty button { width: 42px; height: 52px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.qty input { width: 40px; border: 0; text-align: center; background: none; font-size: 16px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 24px; }
.buy-row .btn { flex: 1; }
.perks { display: grid; gap: 12px; margin: 20px 0 28px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); }
.perks div { display: flex; gap: 12px; align-items: flex-start; }
.perks i { font-style: normal; color: var(--sage); }
.desc h3 { font-size: 1.3rem; }
.desc ul { padding-left: 18px; color: var(--ink-soft); }
.desc li { margin-bottom: 8px; }
.desc li b { color: var(--ink); font-weight: 500; }

/* ── Cart ────────────────────────────────────────────── */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 20px 0 80px; align-items: start; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line:first-child { border-top: 1px solid var(--line); }
.line img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); background: var(--sand); }
.line h3 { font-size: 1.2rem; margin-bottom: 6px; }
.line .opts { font-size: .88rem; color: var(--ink-soft); }
.line .opts span { display: block; }
.line .opts b { font-weight: 500; color: var(--ink); }
.line .right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.line .remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: .85rem; }
.line .qty button { width: 34px; height: 38px; }
.line .qty input { width: 30px; }
@media (max-width: 560px) { .line { grid-template-columns: 84px 1fr; } .line img { width: 84px; height: 84px; } .line .right { grid-column: 1 / -1; flex-direction: row; align-items: center; } }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--ink-soft); }
.summary .row b { font-weight: 500; color: var(--ink); }
.summary .total { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.empty { text-align: center; padding: 90px 16px; }
.notice { padding: 12px 14px; border-radius: var(--radius-sm); background: #f3e3dc; font-size: .9rem; margin-top: 12px; display: none; }
.notice.show { display: block; }

/* ── Content pages ───────────────────────────────────── */
.prose { max-width: 760px; padding: 32px 0 80px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--olive); color: #cfd2c2; padding: 72px 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.site-footer a { color: var(--cream); text-decoration: none; display: block; margin-bottom: 10px; font-size: .95rem; }
.site-footer .logo img { height: 96px; width: auto; }
.site-footer h4 { color: var(--cream); font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid #626852; font-size: .8rem; color: #a9ad9b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ── Toast ───────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--olive); color: var(--cream); padding: 16px 20px; border-radius: var(--radius-sm); display: flex; gap: 16px; align-items: center; z-index: 50; transition: transform .35s ease; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--cream); white-space: nowrap; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }
