:root {
  --bg: #f6f1ea;
  --card: #fffdf9;
  --ink: #2b2623;
  --muted: #6b625b;
  --accent: #713b42;
  --accent-dark: #592d34;
  --sage: #e3e6dc;
  --band: #efe7dc;
  --line: #dcd2c6;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 80px 0; }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; }
em { color: var(--accent); font-style: italic; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.lede.narrow, .narrow { max-width: 52ch; }
.fine { font-size: .8rem; color: var(--muted); }
.hint { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.subhead { margin: 36px 0 16px; font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; display: flex; gap: 10px; align-items: center; }
.tag { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; background: var(--sage); color: #4b5444; border-radius: 99px; padding: 2px 10px; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border: 0; border-radius: 99px; padding: 14px 28px; font: 500 1rem var(--sans); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 9px 20px; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 241, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--accent); }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1.1; font-family: var(--serif); font-size: 1.35rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-bow { width: 44px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.brand small.brand-loc { color: var(--accent); margin-top: 2px; }
.brand small { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 72px 0 80px; }
.hero-art { position: relative; margin: 0; padding-bottom: 16px; }
.hero-art img { width: 100%; height: 515px; object-fit: cover; border-radius: 48% 48% 0 0; }
.art-note { position: absolute; bottom: 48px; left: -25px; transform: rotate(-6deg); padding: 22px 28px; background: #efe5d0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; box-shadow: 0 3px 20px rgba(51, 51, 51, .07); }
.art-note span { position: absolute; top: 0; right: 8px; color: var(--accent); font-size: 1.5rem; }
.image-caption { display: block; font-size: .5rem; letter-spacing: .22em; text-transform: uppercase; text-align: right; margin-top: 13px; color: var(--muted); }
.swatch { display: block; width: 100%; position: relative; overflow: hidden; }
.swatch img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.help-sw { display: grid !important; place-items: center; background: var(--sage); color: var(--accent); font-size: 1.8rem; }

/* bands & cards */
.band { background: var(--band); padding: 80px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.steps article { border-top: 1.5px solid var(--accent); padding-top: 18px; }
.steps .num, .price-card .num { font-size: .8rem; letter-spacing: .12em; color: var(--accent); }
.steps h3 { margin: 8px 0 8px; }
.steps p { color: var(--muted); margin: 0; }

.paper-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.paper-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.paper-card .swatch { aspect-ratio: 1; border-radius: 9px; margin-bottom: 12px; }
.paper-card h3 { font-size: 1.05rem; }
.paper-card p { font-size: .82rem; color: var(--muted); margin: 4px 0 10px; line-height: 1.4; }

.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.price-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.price-card strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--accent); }
.price-card small { font: 400 .8rem var(--sans); color: var(--muted); }

.bundle-note { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; padding: 8px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; text-decoration: none; }
.bundle-note u { color: var(--accent); text-underline-offset: 3px; }
.bundle-note:hover { border-color: var(--accent); }

#contact { padding-bottom: 10px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-label { margin: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-phone { display: inline-flex; align-items: center; min-height: 44px; font: 400 clamp(1.9rem, 3.4vw, 2.6rem) var(--serif); color: var(--accent); text-decoration: none; white-space: nowrap; }
.contact-card .actions { margin: 14px 0 0; }
.contact-card .fine { margin: 14px 0 0; }

.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.extra-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.extra-card .swatch { aspect-ratio: 1; border-radius: 10px; }
.extra-card strong { color: var(--accent); font-size: .95rem; }
.extra-card p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.45; }

.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 60ch; }

.cta { text-align: center; padding: 90px 0; }
.cta .lede { margin: 0 auto 24px; }
/* sister studio band + footer */
.sister-band { background: var(--sage); text-align: center; padding: 43px 20px; }
.sister-band .eyebrow { font-size: .55rem; letter-spacing: .2em; color: var(--ink); margin-bottom: 12px; }
.sister-line { margin: 0; font: 400 clamp(1.4rem, 2.6vw, 2.25rem)/1.5 var(--serif); }
.sister-line a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); white-space: nowrap; position: relative; }
.sister-line a::after { content: ""; position: absolute; inset: -8px 0; } /* 44px tap area, same look */
.sister-sub { font-size: .7rem; color: var(--muted); }
.footer { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 34px 5.5%; font-size: .65rem; }
.footer p { margin: 0 auto 0 0; }
.footer a { text-decoration: none; }
.footer-brand { font: 400 1.45rem var(--serif); text-transform: lowercase; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.footer-link, .footer [data-contact] a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-link:hover { color: var(--accent); }
.footer-copy { font-size: .58rem; color: var(--muted); }
.footer [data-contact]:empty { display: none; }

/* ---------- request page ---------- */
.request-page { padding: 36px 0 90px; }
.back { font-size: .8rem; color: var(--muted); text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0 16px; }
.back:hover { color: var(--accent); }
.request-page h1 { margin-bottom: 18px; }
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--sage); border-radius: 10px; padding: 16px 20px; margin: 26px 0 30px; max-width: 760px; font-size: .88rem; }
.callout p { margin: 0; }
.callout.warn { background: #f3e2d6; }
.spark { color: var(--accent); font-size: 1.2rem; line-height: 1.2; }

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.card h2 { font-size: 1.6rem; margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.narrow-field { max-width: 240px; }
.lbl { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], input:not([type]), select, textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid #c9bdae; border-radius: 9px; padding: 12px 14px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.gift-list { display: grid; gap: 18px; margin-top: 22px; }
.gift { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fbf8f3; }
.gift-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gift-price { font-family: var(--serif); font-size: 1.2rem; color: var(--accent); }
.gift[data-finish="bag"] .only-paper { display: none; }
.gift[data-finish="paper"] .only-bag { display: none; }
.gift:not([data-label="written"]) .label-names { display: none; }
.gift:first-child .remove-style { display: none; }

.link-btn { background: none; border: 0; padding: 0; font: 400 .82rem var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
.remove-style { min-height: 44px; }
.add-style, #addStyle { margin-top: 16px; min-height: 44px; }
.add-style:disabled { cursor: not-allowed; }
.gift-total { margin: 16px 0 0; font-weight: 600; }
.limit-msg { margin: 8px 0 0; background: #f3e2d6; color: #7a3b1f; border-radius: 10px; padding: 10px 14px; font-size: .85rem; }
.est-qty { border-top: 1px dashed var(--line); margin-top: 2px; padding-top: 2px; }
.address-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 99px; border: 1px solid #c9bdae; background: #fff; font-size: .9rem; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.paper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.paper-opt { cursor: pointer; position: relative; }
.paper-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tile { display: block; border: 2px solid transparent; border-radius: 12px; padding: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); height: 100%; }
.tile .swatch { aspect-ratio: 1; border-radius: 8px; margin-bottom: 6px; }
.tile b { display: block; font-size: .76rem; font-weight: 500; line-height: 1.25; }
.tile em { display: block; font-style: normal; font-size: .66rem; color: var(--muted); }
.paper-opt input:checked + .tile { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.paper-opt input:focus-visible + .tile { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: center; font-size: .92rem; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--accent); }

.upload { display: inline-block; cursor: pointer; border: 1.5px dashed var(--accent); border-radius: 10px; padding: 14px 24px; color: var(--accent); font-weight: 500; background: #fff; }
.upload input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-preview figure { margin: 0; position: relative; width: 84px; height: 84px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.photo-preview button { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; line-height: 1; font-size: 15px; }
.photo-preview button::after { content: ""; position: absolute; inset: -10px; } /* 44px tap area around the small × */

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #f7dcdc; color: #7a1f1f; border-radius: 10px; padding: 14px 18px; margin-bottom: 16px; font-size: .92rem; }
.submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status { font-size: .85rem; color: var(--muted); }

.estimate { position: sticky; top: 24px; }
.estimate h2 { font-size: 1.4rem; }
.est-gift { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-top: 12px; }
.estimate ul { list-style: none; margin: 4px 0 0; padding: 0; }
.estimate li { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); margin-top: 18px; padding-top: 14px; }
.total strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--accent); }
.success { text-align: center; padding: 56px 28px; }
.success .lede { margin: 0 auto 24px; }

/* sticky total bar (phones/tablets only) */
.estimate-bar { display: none; }
.bar-total { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bar-total span { font-size: .72rem; color: var(--muted); }
.bar-total strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--accent); white-space: nowrap; }
.estimate-bar .btn-small { flex: none; }

@media (max-width: 900px) {
  .hero, .faq-wrap, .layout, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 28px; }
  .hero { padding-top: 40px; }
  .hero-art img { height: 450px; }
  .steps { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: 1fr; }
  .estimate { position: static; order: 2; }
  .nav nav a:not(.btn) { display: none; }
  .section, .band { padding: 56px 0; }
  .footer { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 28px 7%; }
  .footer-brand { grid-column: 1 / -1; }
  .footer p { display: none; }
  .footer-copy { text-align: right; }
  .sister-band { padding: 37px 22px; }
  .estimate-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60, 40, 30, .08);
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  }
  .request-page { padding-bottom: 110px; }
  .request-body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } /* keeps the footer clear of the bar */
}
@media (max-width: 560px) {
  .grid2, .field.two { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: 1fr 1fr; }
  .address-grid > :first-child { grid-column: 1 / -1; }
  .card { padding: 20px; }
  .extra-card { grid-template-columns: 88px 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .hero-art { margin-left: 12px; }
  .hero-art img { height: 400px; }
  .art-note { left: -15px; bottom: 40px; font-size: 1.4rem; padding: 18px 24px; }
  .image-caption { font-size: .45rem; }
  .brand { gap: 6px; font-size: 1.15rem; white-space: nowrap; }
  .brand small { font-size: .52rem; letter-spacing: .16em; }
  .brand-bow { width: 32px; }
  .nav-inner { gap: 12px; }
  .nav .btn-small { white-space: nowrap; padding: 9px 14px; font-size: .85rem; }
  /* paper styles: 3 small cards per row on phones */
  .paper-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .paper-card { padding: 6px; border-radius: 10px; }
  .paper-card .swatch { border-radius: 6px; margin-bottom: 6px; }
  .paper-card h3 { font-size: .8rem; line-height: 1.2; }
  .paper-card p { display: none; }
  .paper-card .tag { font-size: .58rem; padding: 1px 6px; margin-top: 4px; letter-spacing: .03em; }
}

@media (max-width: 380px) {
  .brand { font-size: 1rem; }
  .brand small { font-size: .45rem; letter-spacing: .1em; }
  .brand-bow { width: 24px; }
  .nav .btn-small { padding: 8px 12px; font-size: .78rem; }
}

