[hidden] { display: none !important; }
:root {
  --ink: #2b2724;
  --muted: #7b746d;
  --paper: #f7f4ef;
  --card: #ffffff;
  --line: #e6dfd6;
  --accent: #2b2724;
  --accent-dark: #000000;
  --coral: #9a8574;
  --sage: #5d7a54;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h1 em, h2 em { color: var(--coral); }
h2 { font-size: 2rem; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 5vw; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.site-header nav a { margin-left: 1.5rem; color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-footer { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 4rem; }
.flash { background: #fff4d6; border-bottom: 1px solid #ecd9a0; padding: .6rem 5vw; }
.flash p { margin: 0; }

.hero { text-align: center; padding: 5rem 1.25rem 3rem; max-width: 820px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--accent); font-weight: 600; margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 2rem; }

.lang-switch { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 1rem; }
.lang-switch input { position: absolute; opacity: 0; }
.lang-switch span { display: block; padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); }
.lang-switch input:checked + span { background: var(--accent); color: #fff; }
.lang-switch input:focus-visible + span { outline: 2px solid var(--coral); }
.search { display: flex; gap: .6rem; max-width: 560px; margin: 0 auto; }
.search input { flex: 1; font: inherit; font-size: 1.15rem; padding: .95rem 1.2rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.search input:focus { outline: none; border-color: var(--accent); }
.search button, .buy { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: .95rem 1.6rem; background: var(--accent); color: #fff; cursor: pointer; transition: background .15s; }
.search button:hover, .buy:hover { background: var(--accent-dark); }
.search.small input { font-size: 1rem; padding: .7rem 1rem; }
.search.small button { padding: .7rem 1.2rem; }

.builder { display: grid; grid-template-columns: minmax(300px, 1.35fr) minmax(300px, 1fr); gap: 3rem; max-width: 1240px; margin: 1rem auto 3rem; padding: 2rem 1.25rem; scroll-margin-top: 1rem; }
.preview-col { position: sticky; top: 1rem; align-self: start; }
.preview-frame { position: relative; background: #fff; padding: 14px; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(60,40,20,.35); border: 10px solid #3a2f28; }
.preview-frame img { display: block; width: 100%; aspect-ratio: 1.294; object-fit: contain; background: #f2ede6; transition: opacity .2s; }
.hint { font-size: .85rem; color: var(--muted); text-align: center; }
.options-col h2 { font-size: 2.6rem; }
.field { margin-bottom: 1.6rem; }
.field > label { display: block; font-weight: 600; margin-bottom: .55rem; }
.field small, .opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field select, .field input[type=email] { width: 100%; font: inherit; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.bg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; max-height: 470px; overflow-y: auto; padding: 4px; }
.bg-option { cursor: pointer; text-align: center; font-size: .74rem; line-height: 1.25; color: var(--muted); }
.size-note { color: var(--muted); font-size: .92rem; margin: -0.6rem 0 1.4rem; }
.bg-option input { position: absolute; opacity: 0; }
.bg-option img { width: 100%; aspect-ratio: 1.294; object-fit: cover; border-radius: 8px; border: 2px solid transparent; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .15s; }
.bg-option:hover img { transform: translateY(-2px); }
.bg-option input:checked + img { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(212,102,79,.2); }
.bg-option input:checked ~ span { color: var(--ink); font-weight: 600; }
.bg-option input:focus-visible + img { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.chip.active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.options-col .buy { background: var(--coral); }
.buy { width: 100%; font-size: 1.1rem; padding: 1.05rem; }
.buy.alt { background: var(--ink); }
.buy.small { width: auto; font-size: .95rem; padding: .6rem 1.3rem; }
.buy.danger { background: #a33; }
.secure { font-size: .85rem; color: var(--muted); text-align: center; }

.not-found { text-align: center; max-width: 620px; margin: 1rem auto 3rem; padding: 2.5rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.done { color: var(--sage); font-weight: 600; }

.how, .faq { max-width: 900px; margin: 3rem auto; padding: 0 1.25rem; text-align: center; }
.how ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.how li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.25rem; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--serif); font-size: 1.3rem; }
.how strong { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: .3rem; }
.how span { color: var(--muted); font-size: .95rem; }
.faq { text-align: left; max-width: 720px; }
.faq h2 { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: .6rem 0 0; }

.order { max-width: 700px; margin: 4rem auto; text-align: center; padding: 0 1.25rem; }
.download-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; margin: 2rem 0 1rem; }
.download-box select { font: inherit; padding: .5rem .8rem; border-radius: 8px; border: 1.5px solid var(--line); margin-left: .5rem; }
.dl-buttons { display: flex; gap: .8rem; margin-top: 1.2rem; }
.dl-buttons .buy { flex: 1; }
.prose { text-align: left; }

.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; position: absolute; top: 50%; left: 50%; margin: -17px; }
.spinner.big { position: static; margin: 2rem auto; width: 48px; height: 48px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* admin */
.admin { max-width: 1200px; margin: 2rem auto; padding: 0 1.25rem; }
.admin-top { display: flex; justify-content: space-between; align-items: baseline; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.stats b { display: block; font-size: 1.6rem; font-family: var(--serif); }
.stats span { color: var(--muted); font-size: .85rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; overflow-x: auto; }
.card h2 { font-size: 1.5rem; }
.card .search { margin: 0 0 .8rem; max-width: none; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .45rem .4rem; border-bottom: 1px solid var(--line); }
td.small { font-size: .8rem; color: var(--muted); }
.pill { font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; background: #eee; }
.pill.paid { background: #e3efe0; color: #3d6334; }
.pill.pending { background: #fff1d6; color: #8a6414; }
.edit-form label { display: block; font-weight: 600; margin-bottom: 1rem; }
.edit-form input, .edit-form textarea, .edit-form select, .card select { display: block; width: 100%; font: inherit; font-weight: 400; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 8px; margin-top: .3rem; }
.admin-preview { width: 100%; margin-top: 1rem; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }

@media (max-width: 820px) {
  .preview-col { position: static; }
  .bg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
  .builder, .admin-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how ol, .stats { grid-template-columns: 1fr 1fr; }
  .search { flex-direction: column; }
  .site-header nav { display: none; }
}

/* ---- The Name Gallery: refined type & details ---- */
body { font-weight: 400; letter-spacing: .005em; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.005em; }
h1 em, h2 em { color: var(--coral); font-style: italic; }
.site-header { padding: 1.3rem 5vw; background: rgba(247,244,239,.92); }
.brand { font-size: 1.75rem; font-weight: 600; letter-spacing: .01em; }
.brand small { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.site-header nav a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { font-weight: 500; letter-spacing: .28em; font-size: .7rem; color: var(--coral); }
.lede { font-weight: 300; font-size: 1.05rem; line-height: 1.75; }
.search input { border-radius: 2px; border-width: 1px; font-weight: 300; }
.search button, .buy { border-radius: 2px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; padding: 1rem 1.8rem; }
.options-col .buy, .buy { background: var(--ink); }
.buy.alt { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.options-col h2 { font-size: 3rem; font-weight: 500; }
.field > label { font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field select, .field input[type=email] { border-radius: 2px; border-width: 1px; }
.preview-frame { border: 12px solid #26221f; box-shadow: 0 30px 60px -30px rgba(40,30,20,.45); padding: 18px; }
.bg-option img { border-radius: 2px; box-shadow: none; border: 1px solid var(--line); }
.bg-option input:checked + img { border: 2px solid var(--ink); box-shadow: none; }
.bg-option span { font-size: .72rem; letter-spacing: .02em; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-block; padding: .55rem 1.2rem; border: 1px solid var(--line); background: #fff; cursor: pointer; min-width: 7rem; text-align: center; }
.chip-radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.style-script { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.2; }
.style-classic { font-family: var(--serif); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; line-height: 1.55; }
.chip, .chip.active { border-radius: 2px; }
.chip.active { border-color: var(--ink); color: var(--ink); }
.how li, .not-found, .download-box, .card, .stats div { border-radius: 2px; }
.how li::before { background: transparent; color: var(--ink); border: 1px solid var(--ink); font-weight: 500; }
.lang-switch, .lang-switch span { border-radius: 2px; }
.size-note, .secure, .hint { font-weight: 300; }

/* ---- framed preview on a wall ---- */
.wall { background: linear-gradient(180deg, #ebe6df 0%, #e2dcd3 100%); padding: clamp(28px, 5vw, 56px); border-radius: 2px; position: relative; }
.wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.035)); pointer-events: none; }
.frame { position: relative; padding: 11px; box-shadow: 0 2px 3px rgba(0,0,0,.12), 0 18px 38px -12px rgba(40,30,20,.38), 0 40px 70px -40px rgba(40,30,20,.45); transition: background .3s; }
.frame-black { background: linear-gradient(145deg, #2b2826, #141210); }
.frame-white { background: linear-gradient(145deg, #ffffff, #ece9e4); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 3px rgba(0,0,0,.10), 0 18px 38px -12px rgba(40,30,20,.30), 0 40px 70px -40px rgba(40,30,20,.40); }
.frame-oak { background: repeating-linear-gradient(92deg, #c9a77c 0 3px, #c19e72 3px 7px, #cdac82 7px 11px), #c6a378; }
.frame::before { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 6px rgba(0,0,0,.35); pointer-events: none; }
.frame-white::before { box-shadow: inset 0 0 4px rgba(0,0,0,.12); }
.mount { background: #fbfaf7; padding: 9% 9.5%; box-shadow: inset 0 1px 6px rgba(0,0,0,.18); }
.art { position: relative; box-shadow: 0 0 0 1px rgba(0,0,0,.06), -1px -1px 0 6px rgba(255,255,255,.9), 1px 1px 0 6px rgba(0,0,0,.045), 0 0 0 7px #f3f1ec; }
.art img { display: block; width: 100%; aspect-ratio: 1.294; object-fit: cover; background: #f2ede6; transition: opacity .2s; }
.frame-picker { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.frame-picker span { margin-right: .3rem; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; outline-offset: 3px; }
.sw-black { background: #1d1b19; } .sw-white { background: #fff; } .sw-oak { background: #c6a378; }
.sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.preview-frame { display: none; }

/* ---- design studio ---- */
@font-face { font-family: "NG Chorus"; src: url("fonts/Chorus.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "NG Cardo"; src: url("fonts/Cardo-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "NG Lora"; src: url("fonts/Lora-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }
@font-face { font-family: "NG Montserrat"; src: url("fonts/Montserrat.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
.studio .step { padding: 1.1rem 0 1.3rem; border-top: 1px solid var(--line); }
.studio .step:first-of-type { border-top: 0; }
.step-h { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.step-h b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font-weight: 500; letter-spacing: 0; font-size: .75rem; }
.step-h small { text-transform: none; letter-spacing: 0; font-weight: 300; }
.cat-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: .4rem; scrollbar-width: thin; }
.cat-tab { flex: none; font: inherit; font-size: .74rem; letter-spacing: .04em; background: #fff; border: 1px solid var(--line); padding: .5rem .85rem; cursor: pointer; color: var(--muted); border-radius: 2px; }
.cat-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.studio .bg-grid { max-height: 330px; }
.opt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .45rem; }
.opt input, .swatch input, .orient input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 74px; padding: .5rem; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: center; border-radius: 2px; }
.opt small { font-size: .66rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.opt em { font-style: normal; font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + span, .swatch input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.font-script em { font-family: "NG Chorus", cursive; font-size: 1.7rem; }
.font-serif em { font-family: "NG Cardo", serif; }
.font-caps em { font-family: "NG Cardo", serif; letter-spacing: .12em; font-size: 1rem; }
.font-sans em { font-family: "NG Montserrat", sans-serif; font-weight: 300; letter-spacing: .2em; font-size: .9rem; }
.font-italic em { font-family: "NG Lora", serif; font-style: italic; }
.lay, .bd { display: block; width: 46px; height: 34px; border: 1px solid #cfc7bc; position: relative; background: #faf8f4; }
.lay::before, .lay::after { content: ""; position: absolute; background: #9b9187; }
.lay-centred::before { left: 14px; right: 14px; top: 7px; height: 4px; }
.lay-centred::after { left: 10px; right: 10px; top: 15px; height: 12px; background: repeating-linear-gradient(#bdb4aa 0 2px, transparent 2px 4px); }
.lay-dictionary::before { left: 6px; width: 20px; top: 7px; height: 4px; }
.lay-dictionary::after { left: 6px; right: 8px; top: 15px; height: 12px; background: repeating-linear-gradient(#bdb4aa 0 2px, transparent 2px 4px); }
.lay-split::before { left: 5px; width: 15px; top: 13px; height: 6px; }
.lay-split::after { left: 26px; right: 6px; top: 8px; height: 18px; background: repeating-linear-gradient(#bdb4aa 0 2px, transparent 2px 4px); box-shadow: -3px 0 0 -2px #bdb4aa; }
.bd-thin { box-shadow: inset 0 0 0 4px #faf8f4, inset 0 0 0 5px #9b9187; }
.bd-double { box-shadow: inset 0 0 0 3px #faf8f4, inset 0 0 0 4px #9b9187, inset 0 0 0 6px #faf8f4, inset 0 0 0 7px #9b9187; }
.bd-corners::before, .bd-corners::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid #9b9187; }
.bd-corners::before { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.bd-corners::after { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: .8rem; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; width: 56px; }
.swatch span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
.swatch span.auto { background: conic-gradient(#2e2925 0 25%, #8f4a33 0 50%, #1f2f45 0 75%, #94733a 0); }
.swatch small { font-size: .62rem; color: var(--muted); text-align: center; line-height: 1.2; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.swatch.disabled, .orient label.disabled { opacity: .3; pointer-events: none; }
.orient { display: flex; gap: .45rem; margin-bottom: .6rem; }
.orient span { display: inline-block; padding: .5rem 1.1rem; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .8rem; border-radius: 2px; }
.orient input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.studio select, .studio input[type=email] { width: 100%; font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.note { display: block; margin-top: .5rem; color: var(--muted); font-size: .78rem; font-weight: 300; }
.art img { aspect-ratio: auto; }

/* female / male choice in the search */
.search-gender { max-width: 680px; }
.gender { display: flex; border: 1px solid var(--line); background: #fff; border-radius: 2px; }
.gender input { position: absolute; opacity: 0; }
.gender span { display: flex; align-items: center; height: 100%; padding: 0 1.1rem; cursor: pointer; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gender input:checked + span { background: var(--ink); color: #fff; }
.gender input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: -2px; }
.search-hint { color: var(--muted); font-size: .82rem; font-weight: 300; margin-top: .8rem; }
.hint strong { font-weight: 500; color: var(--ink); }
@media (max-width: 820px) { .gender { height: 48px; } .gender label { flex: 1; } .gender span { justify-content: center; } }

/* ---- modern type (fonts served from /static/fonts) ---- */
@font-face { font-family: "NG Inter Display"; src: url("fonts/InterDisplay-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "NG Inter Display"; src: url("fonts/InterDisplay-Thin.otf") format("opentype"); font-weight: 100; font-display: swap; }
@font-face { font-family: "NG Inter Display"; src: url("fonts/InterDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "NG Inter Display"; src: url("fonts/InterDisplay-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "NG Inter"; src: url("fonts/Inter-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "NG Poppins"; src: url("fonts/Poppins-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "NG Adventor"; src: url("fonts/Adventor.otf") format("opentype"); font-display: swap; }
:root { --serif: "NG Inter Display", "Inter", system-ui, sans-serif; --sans: "NG Inter", "Inter", system-ui, sans-serif; }
body { font-family: var(--sans); font-weight: 300; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; }
.brand { font-weight: 500 !important; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; }
.how strong { font-family: var(--serif); font-weight: 500; }
.opt em { font-style: normal; }
.font-modern em { font-family: "NG Inter Display"; font-weight: 300; font-size: 1.45rem; letter-spacing: -.01em; }
.font-thin em { font-family: "NG Inter Display"; font-weight: 100; font-size: 1.05rem; letter-spacing: .12em; }
.font-geometric em { font-family: "NG Adventor"; font-size: 1.35rem; }
.font-spaced em { font-family: "NG Montserrat"; font-weight: 300; font-size: .95rem; letter-spacing: .2em; }
.font-soft em { font-family: "NG Poppins"; font-weight: 300; font-size: 1.35rem; }
.font-bold em { font-family: "NG Inter Display"; font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.style-script, .style-classic { font-family: var(--serif); }

@font-face { font-family: "NG Chorus"; src: url("fonts/Chorus.otf") format("opentype"); font-display: swap; }
.font-lettered em { font-family: "NG Chorus", cursive; font-size: 1.75rem; color: #8a4a5c; transform: rotate(-3deg); display: inline-block; }
.finish { display: flex; gap: .45rem; margin-top: .7rem; }
.finish input { position: absolute; opacity: 0; }
.finish span { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .8rem; border-radius: 2px; }
.finish input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.finish-painted { background-image: radial-gradient(circle at 30% 40%, rgba(176,110,130,.18), transparent 60%), radial-gradient(circle at 75% 60%, rgba(110,140,170,.16), transparent 55%); }

/* one continuous background gallery, grouped by colour */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; max-height: 520px; overflow-y: auto; padding: 4px 6px 4px 2px; }
.gallery .fam { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: .7rem 0 .1rem; border-bottom: 1px solid var(--line); margin-bottom: .2rem; }
.gallery .fam:first-child { padding-top: 0; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 460px; } }

/* portrait-only */
.gallery .bg-option img { aspect-ratio: 0.774; }
.gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.builder { grid-template-columns: minmax(300px, 1.15fr) minmax(300px, 1fr); }
.wall { padding: clamp(24px, 3.5vw, 44px) clamp(36px, 6vw, 80px); }

/* ---- portrait + landscape side by side, frame ideas ---- */
.wall.two-up { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 36px); padding: clamp(26px, 4vw, 48px) clamp(18px, 3vw, 36px) clamp(20px, 3vw, 34px); }
.wall.two-up .spinner { position: absolute; top: 50%; left: 50%; margin: -14px 0 0 -14px; }
.piece { margin: 0; text-align: center; }
.piece.port { flex: 0 0 34%; }
.piece.land { flex: 0 0 52%; }
.piece figcaption { margin-top: .8rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.piece .frame { padding: 7px; }
.piece .mount { padding: 8%; }
.piece .art img { width: 100%; }
.piece.port .art img { aspect-ratio: 0.7072; }
.piece.land .art img { aspect-ratio: 1.4140; }
.frame-lightwood { background: repeating-linear-gradient(92deg, #dcc39f 0 3px, #d4b993 3px 7px, #e1c9a7 7px 11px), #d8bf9a; }
.frame-darkwood { background: repeating-linear-gradient(92deg, #5a3d2b 0 3px, #4f3525 3px 7px, #644632 7px 11px), #563a29; }
.sw-lightwood { background: #d8bf9a; } .sw-darkwood { background: #563a29; } .sw-black { background: #1d1b19; }
.gallery .fam, .gallery .bg-option span { display: none; }
.initials { display: flex; gap: .7rem; }
.ini { cursor: pointer; position: relative; }
.ini input { position: absolute; opacity: 0; }
.ini span { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .4rem .9rem .5rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ini img { width: 72px; height: 72px; object-fit: contain; }
.ini small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ini input:checked + span { border-color: #2e2925; box-shadow: 0 0 0 1px #2e2925; }
.order .zip { display: inline-block; margin: 1rem 0 1.4rem; text-decoration: none; }
.files { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.files li { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.files small { display: block; color: var(--muted); font-size: .72rem; }
.files .f-btns a { margin-left: .8rem; font-size: .8rem; letter-spacing: .08em; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 52px; height: 52px; object-fit: contain; }
.search-hint.warn { color: #a5463a; font-weight: 500; }
.gender.warn span { border-color: #c27a6e !important; box-shadow: 0 0 0 2px rgba(194,122,110,.25); }

/* ---- first look (dark) + guided steps ---- */
body.noscroll { overflow: hidden; }
.reveal { position: fixed; inset: 0; z-index: 50; background: #0f0e0d; color: #f3ede6; overflow: auto;
  display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 56px); }
.reveal[hidden] { display: none; }
.reveal-in { display: grid; grid-template-columns: auto minmax(0, 380px); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1240px; }
.reveal-art .frame { width: min(64vh, 620px); padding: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.reveal-art .mount { padding: 7%; }
.reveal-art img { display: block; width: 100%; aspect-ratio: 0.7072; }
.lowres { margin: 12px 0 0; text-align: center; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #8d857c; }
.reveal .eyebrow { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #b9a48f; margin: 0 0 .5rem; }
.reveal h2 { font-family: "Cardo", Georgia, serif; font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1; margin: 0 0 1.3rem; color: #fff; }
.reveal p { line-height: 1.65; color: #d9d1c8; margin: 0 0 .9rem; }
.reveal p.sub { font-size: .9rem; color: #a49b91; margin-bottom: 1.8rem; }
.btn-light, .btn-ghost-light { display: block; width: 100%; padding: .95rem 1rem; font: inherit; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; margin-bottom: .6rem; }
.btn-light { background: #f3ede6; color: #151312; border: 0; }
.btn-ghost-light { background: transparent; color: #d9d1c8; border: 1px solid #4a4440; }
@media (max-width: 760px) { .reveal { align-items: flex-start; } .reveal-in { grid-template-columns: 1fr; } .reveal-art { justify-self: center; } .reveal-art .frame { width: min(88vw, 420px); } }
.wizard { padding: 1.8rem clamp(16px, 4vw, 48px) 3rem; }
.wsteps { list-style: none; display: flex; justify-content: center; gap: clamp(6px, 2vw, 26px); padding: 0; margin: 0 auto 1.8rem; flex-wrap: wrap; }
.wsteps li { display: flex; align-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: .4rem .25rem; }
.wsteps b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-weight: 500; letter-spacing: 0; }
.wsteps li.on { color: #2e2925; } .wsteps li.on b { background: #2e2925; color: #fff; border-color: #2e2925; }
.wsteps li.done b { border-color: #2e2925; color: #2e2925; }
.wiz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); max-width: 1320px; margin: 0 auto; align-items: start; }
.wiz .preview-col { position: sticky; top: 12px; }
.wall.one-up { display: flex; justify-content: center; position: relative; padding: clamp(20px, 3vw, 40px); }
.wall.one-up .piece.port { flex: 0 0 min(84%, 560px); }
.wall.one-up .art img { display: block; width: 100%; aspect-ratio: 0.7072; }
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep[hidden] { display: none; }
.wstep legend { font-family: "Cardo", Georgia, serif; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; padding: 0; margin: 0 0 .35rem; }
.wstep .lead { color: var(--muted); margin: 0 0 1.2rem; }
.studio .eyebrow { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: #9a8574; margin: 0 0 .35rem; }
.wnav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wnav button[hidden] { display: none; }
.btn-ghost, .btn-next { padding: .8rem 1.2rem; font: inherit; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: inherit; }
.btn-next { background: #2e2925; color: #fff; border: 0; }
.gets { columns: 2; padding-left: 1.1rem; margin: 0 0 .5rem; line-height: 1.9; }
.bonus { margin: 1.1rem 0 1.4rem; text-align: center; }
.bonus img { width: 100%; max-width: 440px; aspect-ratio: 1.414; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.bonus figcaption { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
@media (max-width: 760px) { .wiz { grid-template-columns: 1fr; } .wiz .preview-col { position: static; } .wall.one-up .piece.port { flex-basis: 92%; } }

/* ---- bigger brand, spaced gender buttons, examples in rooms ---- */
.brand { font-size: clamp(1.9rem, 4.2vw, 2.9rem) !important; line-height: 1 !important; gap: 1rem; }
.brand-mark { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); }
.brand small { font-size: clamp(.56rem, 1vw, .7rem); margin-top: .5rem; }
.gender { gap: .6rem; border: 0; background: transparent; }
.gender span { border: 1px solid var(--line); background: #fff; border-radius: 2px; min-height: 48px; }
.gender input:checked + span { border-color: var(--ink); }
.examples { max-width: 1320px; margin: 0 auto; padding: 3rem clamp(16px, 4vw, 48px); }
.ex-eyebrow { text-align: center; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #9a8574; margin: 0 0 .6rem; }
.examples h2 { text-align: center; max-width: 760px; margin: 0 auto .6rem; }
.ex-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 2rem; }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ex { margin: 0; cursor: pointer; background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px -18px rgba(40,30,20,.35); transition: transform .25s, box-shadow .25s; }
.ex:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px -18px rgba(40,30,20,.45); }
.ex img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ex.big { grid-column: span 2; grid-row: span 2; }
.ex.big img { height: calc(100% - 64px); aspect-ratio: auto; }
.ex figcaption { padding: .75rem 1rem .9rem; display: flex; flex-direction: column; gap: 2px; }
.ex figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.ex figcaption span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ex.big { grid-row: auto; } .ex.big img { height: auto; aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .ex-grid { grid-template-columns: 1fr; } .ex.big { grid-column: auto; } }

/* ---- scroll through backgrounds ---- */
.wall.one-up { align-items: center; gap: 14px; }
.bgnav { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 300 30px/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: transform .15s; }
.bgnav:hover { transform: scale(1.07); }
.bgcap { text-align: center; margin: -.4rem 0 .9rem; display: flex; justify-content: center; gap: .75rem; align-items: baseline; }
.bgcap b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.bgcap span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#builder:not([data-step="1"]) .bgnav, #builder:not([data-step="1"]) .bgcap { visibility: hidden; }
@media (max-width: 760px) { .bgnav { width: 40px; height: 40px; font-size: 26px; } }

/* ---- dark front page (the design steps and other pages stay light) ---- */
body.dark-home { --ink: #efe9e2; --muted: #ada59c; --paper: #0f0e0d; --card: #1b1917; --line: #2e2a26; --accent: #efe9e2; --accent-dark: #ffffff; background: #0f0e0d; color: var(--ink); }
body.dark-home .site-header { background: #0f0e0d; }
body.dark-home #not-found { --ink: #2b2724; --muted: #7b746d; --paper: #f7f4ef; --card: #ffffff; --line: #e6dfd6; --accent: #2b2724; --accent-dark: #000; background: #f7f4ef; color: var(--ink); }
body.dark-home .hero .search input, body.dark-home .hero .gender span { background: #1b1917; color: var(--ink); border-color: var(--line); }
body.dark-home .hero .gender input:checked + span { background: #efe9e2; color: #151312; border-color: #efe9e2; }
body.dark-home .hero .search button { background: #efe9e2; color: #151312; }
body.dark-home .how li { background: #1b1917; }
body.dark-home .site-footer { color: var(--muted); }
.ex-grid.frames { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ex-grid.frames .ex { background: transparent; box-shadow: none; border-radius: 0; }
.ex-grid.frames .ex img { aspect-ratio: 4 / 5; border-radius: 2px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); }
.ex-grid.frames .ex:hover { transform: translateY(-4px); box-shadow: none; }
.ex-grid.frames figcaption { padding: .75rem 2px 0; text-align: center; align-items: center; }
@media (max-width: 900px) { .ex-grid.frames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* examples are just pictures (not clickable) */
.ex-grid.frames .ex { cursor: default; }
.ex-grid.frames .ex:hover { transform: none; }
.ex-grid.frames figcaption { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.ex-grid.frames figcaption .pair { display: block; text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--muted); }
.ex-grid.frames figcaption b { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.examples { padding-top: 1rem; }

/* ---- design steps on the dark page ---- */
body.dark-home #builder { background: #0f0e0d; color: var(--ink); }
body.dark-home #builder .opt span, body.dark-home #builder .finish span, body.dark-home #builder .ini span,
body.dark-home #builder .studio input[type=email], body.dark-home #builder .bgnav { background: #1b1917; color: var(--ink); border-color: var(--line); }
body.dark-home #builder .finish input:checked + span { background: #efe9e2; color: #151312; border-color: #efe9e2; }
body.dark-home #builder .ini input:checked + span, body.dark-home #builder .opt input:checked + span { border-color: #efe9e2; box-shadow: 0 0 0 1px #efe9e2; }
body.dark-home .wsteps li.on { color: #efe9e2; }
body.dark-home .wsteps li.on b { background: #efe9e2; color: #151312; border-color: #efe9e2; }
body.dark-home .wsteps li.done b { border-color: #efe9e2; color: #efe9e2; }
body.dark-home .btn-next, body.dark-home #builder .buy { background: #efe9e2; color: #151312; }
body.dark-home .btn-ghost { color: var(--ink); }
.wintro { margin: 0 0 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.wintro .intro-eyebrow { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #b9a48f; margin: 0 0 .4rem; }
.wintro h2 { font-family: "Cardo", Georgia, serif; font-weight: 400; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin: 0 0 1rem; }
.wintro p { margin: 0 0 .6rem; line-height: 1.6; opacity: .88; }
.wintro p.sub { font-size: .9rem; color: var(--muted); opacity: 1; }
#builder:not([data-step="1"]) .wintro { display: none; }
#builder[data-step="1"] #found-title { display: none; }

/* lettering options: tidy 3 x 2 grid, sample name on one line */
.studio .opt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.studio .opt span { height: 100%; min-height: 92px; }
.studio .opt em { white-space: nowrap; font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.studio .font-thin em, .studio .font-spaced em { font-size: clamp(.8rem, 1.3vw, 1rem); }

.sub-legend { font-family: "Cardo", Georgia, serif; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2rem 0 .35rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

body.designing #examples { display: none; }

/* both layouts previewed together: portrait, then the landscape below on the same wall */
.wiz .preview-col { position: static; }
.piece figcaption { margin-top: 10px; font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #7d7062; text-align: center; }
.wiz .wall.one-up { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 8px; }
.wall.land-up { display: flex; justify-content: center; padding: clamp(16px, 2.4vw, 30px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px); border-top-left-radius: 0; border-top-right-radius: 0; }
.wall.land-up .piece.land { flex: 0 0 min(92%, 720px); margin: 0; }
.wall.land-up .art img { display: block; width: 100%; aspect-ratio: 1.414; transition: opacity .2s; }
.wiz .wall.one-up::after { display: none; }

/* ---- preview protection: no right-click saving, dragging or long-press saving; hidden on print and screenshots */
img, canvas { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.art, .ex { position: relative; -webkit-touch-callout: none; user-select: none; }
.art::after, .ex::after { content: ""; position: absolute; inset: 0; z-index: 2; background: transparent; }
.art img, .art canvas, .ex img { transition: filter .15s; }
html.shield .art img, html.shield .art canvas, html.shield .ex img { filter: blur(22px) saturate(.6); }
html.shield .art::after { content: "Preview hidden"; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #6b5f52; }
@media print {
  .art, .ex, .piece, canvas, img { visibility: hidden !important; }
  body::before { content: "Previews can't be printed. Buy your print to download the high-resolution files."; display: block; padding: 2rem; font-size: 14pt; }
}

/* ---- smaller previews (the sharp, readable version is the download) */
.wiz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.wall.one-up .piece.port { flex: 0 0 min(72%, 440px); }
.wall.land-up .piece.land { flex: 0 0 min(80%, 560px); }
@media (max-width: 760px) { .wall.one-up .piece.port { flex-basis: 82%; } .wall.land-up .piece.land { flex-basis: 88%; } }

/* ---- size options at checkout */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 12px; }
.pack { position: relative; cursor: pointer; }
.pack input { position: absolute; opacity: 0; }
.pack-card { display: block; height: 100%; padding: 16px 16px 14px; border: 1px solid rgba(232,222,206,.25); border-radius: 4px; transition: border-color .15s, background .15s; }
.pack input:checked + .pack-card { border-color: #e8dece; background: rgba(232,222,206,.08); box-shadow: inset 0 0 0 1px #e8dece; }
.pack input:focus-visible + .pack-card { outline: 2px solid #e8dece; outline-offset: 2px; }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pack-head b { font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.35rem; }
.pack-head em { font-style: normal; font-size: 1.1rem; letter-spacing: .04em; }
.pack ul { list-style: none; margin: 0; padding: 0; font-size: .8rem; line-height: 1.5; opacity: .85; }
.pack li b { font-weight: 600; display: block; margin-top: 4px; }
.pack li.plus { margin-top: 6px; font-style: italic; }
@media (max-width: 520px) { .packs { grid-template-columns: 1fr; } }
.tips-mini { margin: 10px 0 18px; font-size: .85rem; line-height: 1.55; }
.tips-mini summary { cursor: pointer; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.tips-mini p { margin: .6rem 0 0; }

/* ---- printing & framing section (landing page) and order page */
.printing { max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem; text-align: center; }
.printing .tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; text-align: left; margin-top: 1.5rem; }
.printing h3 { font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.3rem; margin: 0 0 .5rem; }
.printing p { margin: 0; line-height: 1.6; opacity: .85; }
@media (max-width: 760px) { .printing .tips { grid-template-columns: 1fr; gap: 1.2rem; } }
.order-tips { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.1); line-height: 1.6; }
.order-tips h2 { font-size: 1.2rem; }
.files .f-or { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin: 0 .2rem 0 .6rem; }
.files .f-btns { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.files .f-o { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.files .f-o .f-or { min-width: 5.5rem; text-align: right; margin: 0; }
.files .f-label { align-items: flex-start; text-align: left; }
/* "Original Name Certificate" badge */
.cert-badge{display:inline-flex;align-items:center;gap:12px;margin:0 0 18px;color:#d9c6a5;font:500 12px Montserrat,sans-serif;letter-spacing:.26em;text-transform:uppercase}
.cert-badge .seal{width:40px;height:40px;flex:0 0 auto}
.hero .cert-badge{margin-bottom:22px}
.wintro .cert-badge{margin:0 0 14px;font-size:10.5px;gap:10px}.wintro .cert-badge .seal{width:32px;height:32px}
@media(max-width:600px){.cert-badge{font-size:10px;letter-spacing:.2em;gap:9px}.cert-badge .seal{width:30px;height:30px}}

/* prompting navigation: progress bar, a clear next step and a nav bar that stays in view */
.wsteps{position:relative;gap:0!important;max-width:640px;margin:0 auto 34px!important;justify-content:space-between!important;flex-wrap:nowrap!important}
.wsteps::before{content:"";position:absolute;left:8%;right:8%;top:19px;height:1px;background:rgba(232,222,206,.22)}
.wsteps li{position:relative;flex:1;flex-direction:column;gap:8px!important;padding:0!important;text-align:center;color:rgba(232,222,206,.55)!important}
.wsteps li b{width:38px!important;height:38px!important;font:500 14px Inter,sans-serif!important;background:#0f0e0d;border:1px solid rgba(232,222,206,.35)!important;color:rgba(232,222,206,.7)!important;transition:all .2s}
.wsteps li:hover b{border-color:#e8dece!important;color:#e8dece!important}
.wsteps li.on{color:#e8dece!important}
.wsteps li.on b{background:#e8dece!important;color:#1a1714!important;border-color:#e8dece!important;box-shadow:0 0 0 5px rgba(232,222,206,.15)}
.wsteps li.done{color:rgba(232,222,206,.85)!important}
.wsteps li.done b{font-size:0!important;border-color:#e8dece!important;color:#e8dece!important}
.wsteps li.done b::after{content:"\2713";font-size:15px}
.wnav{position:sticky;bottom:0;z-index:5;margin-top:26px!important;padding:16px 0 18px!important;background:linear-gradient(180deg,rgba(15,14,13,.92),#0f0e0d 30%);border-top:1px solid rgba(232,222,206,.18)!important;display:block!important}
.wprompt{margin:0 0 12px;font:400 19px/1.35 Cardo,Georgia,serif;color:#e8dece}
.wprompt[hidden]{display:none}
.wnav-row{display:flex;align-items:center;gap:16px}
.wnext{flex:1;padding:17px 22px!important;font-size:13px!important;letter-spacing:.16em!important;background:#e8dece!important;color:#1a1714!important;border-color:#e8dece!important;animation:nudge 2.6s ease-in-out 1.2s 2}
.wnext:hover{background:#fff!important}
.wnext[hidden]{display:none}
.wback{background:none;border:0;color:rgba(232,222,206,.7);font:500 11px Montserrat,sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;padding:10px 4px;white-space:nowrap}
.wback:hover{color:#e8dece}
@keyframes nudge{0%,100%{transform:none}45%{transform:translateX(5px)}55%{transform:translateX(0)}}
@media(max-width:760px){.wsteps li span{font-size:9.5px;letter-spacing:.1em}.wprompt{font-size:17px}.wnav{padding:12px 0 14px!important}}
@media(max-width:760px){
  .wnav{position:fixed!important;left:0;right:0;bottom:0;margin:0!important;padding:10px 16px 12px!important;background:rgba(15,14,13,.97)!important;box-shadow:0 -10px 30px rgba(0,0,0,.45)}
  .wprompt{font-size:15px;margin-bottom:8px}
  .wnext{padding:14px 12px!important;font-size:11.5px!important;letter-spacing:.12em!important}
  #builder{padding-bottom:150px!important}
}
@media(max-width:760px){
  .wnav-row{gap:10px}
  .wback{white-space:normal;width:78px;text-align:left;font-size:9.5px;letter-spacing:.1em;line-height:1.4;padding:4px 0;flex:0 0 auto}
  .wnext{white-space:nowrap;font-size:10.5px!important;letter-spacing:.07em!important;padding:15px 8px!important}
}
@media (max-width: 760px) { .wiz { grid-template-columns: 1fr; } }

.pack-note { display: block; margin: 0 0 6px; font-size: .75rem; font-style: italic; opacity: .75; line-height: 1.4; }

/* no zooming (with the viewport setting and protect.js); 16px inputs stop iPhones zooming into the search box */
html { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, select, textarea { font-size: 16px; }

/* checkout: how the digital certificate works */
.dl-info { margin: 18px 0 10px; padding: 18px 18px 6px; border: 1px solid rgba(232,222,206,.2); border-radius: 4px; background: rgba(232,222,206,.04); text-align: left; }
.dl-info-h { margin: 0 0 14px; font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.3rem; color: #e8dece; }
.dl-item { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.dl-dot { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(232,222,206,.45); display: grid; place-items: center; font-size: .72rem; color: #e8dece; margin-top: 1px; }
.dl-item p { margin: 0; font-size: .86rem; line-height: 1.5; opacity: .85; }
.dl-item p b { display: block; font-weight: 600; opacity: 1; color: #efe7da; margin-bottom: 1px; }
/* on the last step the nav bar scrolls with the page so it never covers the Buy button */
#builder[data-step="4"] .wnav { position: static !important; box-shadow: none !important; background: none !important; padding: 14px 0 0 !important; }
@media (max-width: 760px) { #builder[data-step="4"] { padding-bottom: 30px !important; } }

/* ---- currency selector, approximate prices */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cur-pick select { font: inherit; font-size: .72rem; letter-spacing: .08em; padding: .3rem .5rem; border-radius: 3px; background: transparent; color: inherit; border: 1px solid rgba(232,222,206,.3); cursor: pointer; }
.cur-pick select option { color: #1a1714; }
.approx { display: block; font-style: normal; font-size: .72rem; opacity: .7; letter-spacing: .02em; text-align: right; }
.approx:empty { display: none; }
.pack-head em .approx { margin-top: 2px; }

/* ---- tip for the artist + order summary */
.tip-box, .summary { margin: 18px 0 10px; padding: 18px; border: 1px solid rgba(232,222,206,.2); border-radius: 4px; background: rgba(232,222,206,.04); text-align: left; }
.tip-h, .sum-h { margin: 0 0 8px; font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.3rem; color: #e8dece; }
.tip-h small { font-family: inherit; font-size: .8rem; opacity: .7; }
.tip-box p { margin: 0 0 12px; font-size: .86rem; line-height: 1.5; opacity: .85; }
.tip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(232,222,206,.35); border-radius: 999px; font-size: .82rem; letter-spacing: .04em; }
.chip input:checked + span { background: #e8dece; color: #1a1714; border-color: #e8dece; }
.chip input:focus-visible + span { outline: 2px solid #e8dece; outline-offset: 2px; }
.tip-custom { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; }
.tip-custom[hidden] { display: none; }
.tip-custom input { width: 110px; padding: 9px 10px; background: #1b1917; color: inherit; border: 1px solid rgba(232,222,206,.35); border-radius: 3px; font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: .9rem; border-bottom: 1px solid rgba(232,222,206,.1); }
.sum-row[hidden] { display: none; }
.sum-row.total { border-bottom: 0; padding-top: 10px; font-size: 1.02rem; }
.sum-row b { font-weight: 600; text-align: right; }
.sum-row .approx { font-weight: 400; }

/* ---- contact page */
.contact { max-width: 620px; margin: 0 auto; padding: 3.5rem 1.25rem 4rem; text-align: center; }
.contact h1 { font-family: Cardo, Georgia, serif; font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); margin: .2rem 0 .6rem; }
.contact-form { display: grid; gap: 14px; text-align: left; margin-top: 1.6rem; }
.contact-form label { display: grid; gap: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-form label small { text-transform: none; letter-spacing: 0; opacity: .7; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 3px; background: #1b1917; color: inherit; border: 1px solid rgba(232,222,206,.3); text-transform: none; letter-spacing: 0; }
.contact-form textarea { resize: vertical; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #f1b6a8; }
.btn-link { color: inherit; }
.draft-note { opacity: .7; }
.biz { list-style: none; padding: 0; line-height: 1.7; }
.cur-pick { margin-left: 14px; }
.cert-badge span { white-space: nowrap; } @media (max-width: 600px) { .hero .cert-badge { font-size: 9.5px; letter-spacing: .18em; } }

/* ---- payment methods at checkout */
.alt-price { display: block; font-style: normal; font-weight: 400; font-size: .74rem; opacity: .75; text-align: right; margin-top: 2px; }
.pay-method { margin: 14px 0 6px; }
.pay-h { margin: 0 0 10px; font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.25rem; color: #e8dece; }
.pay-h span { font-family: inherit; font-size: 1.05rem; opacity: .85; }
.paypal-buttons { background: #fff; border-radius: 6px; padding: 12px 12px 4px; min-height: 60px; }
.pay-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: rgba(232,222,206,.25); }
.pay-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 4px; background: rgba(241,182,168,.12); color: #f1b6a8; font-size: .88rem; }
.pay-error[hidden] { display: none; }

/* orders opening soon (no payment switched on yet) */
.studio .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.soon-box { margin: 18px 0 6px; padding: 18px 18px 16px; border: 1px solid rgba(232,222,206,.28); border-radius: 6px; background: rgba(232,222,206,.05); }
.soon-h { margin: 0 0 6px; font-family: Cardo, Georgia, serif; font-weight: 400; font-size: 1.3rem; color: #e8dece; }
.soon-box p { margin: 0 0 12px; font-size: .92rem; line-height: 1.55; }
.soon-box .buy { margin-top: 12px; width: 100%; }
.soon-done { margin: 18px 0; padding: 14px 16px; border-radius: 6px; background: rgba(156,175,136,.14); text-align: center; }
.soon-done[hidden] { display: none; }

/* admin: Edit site */
.site-edit { max-width: 860px; }
.site-edit .small { color: var(--muted); }
.saved-note { margin: 1rem 0; padding: .8rem 1rem; border-radius: 4px; background: rgba(156,175,136,.18); color: #3f5a33; font-weight: 600; }
.se-nav { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 1.2rem 0; font-size: .9rem; }
.se-group { margin: 0 0 1.2rem; }
.se-group legend { font-family: Cardo, Georgia, serif; font-size: 1.35rem; padding: 0 .3rem; }
.se-field { margin: 0 0 1.1rem; }
.se-field label { display: block; font-weight: 600; font-size: .92rem; }
.se-field input, .se-field textarea { display: block; width: 100%; font: inherit; font-weight: 400; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 6px; margin-top: .3rem; background: #fff; }
.se-field textarea { resize: vertical; line-height: 1.45; }
.se-money { max-width: 12rem; }
.se-help { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
.se-changed { margin-left: .4rem; padding: .05rem .45rem; border-radius: 99px; background: #efe6d6; color: #7a5c2e; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.se-orig { margin: .35rem 0 0; font-size: .8rem; color: var(--muted); }
.se-orig span { font-style: italic; }
.se-reset { margin-left: .4rem; padding: .1rem .5rem; font: inherit; font-size: .78rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.se-field.has-error input, .se-field.has-error textarea { border-color: #c0573f; }
.se-error { margin: .3rem 0 0; color: #b0472f; font-size: .85rem; font-weight: 600; }
.se-save { position: sticky; bottom: 0; padding: .9rem 0; background: linear-gradient(to top, var(--paper, #f7f4ef) 70%, transparent); }
.se-save .buy { width: 100%; max-width: 320px; }
.admin-actions .ghost { background: transparent; color: inherit; border: 1px solid var(--line); }

/* currency choice on the size step (prices set in US dollars) */
.cur-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cur-row select { font: inherit; font-size: .85rem; letter-spacing: .06em; text-transform: none; padding: .45rem .7rem; border-radius: 3px; background: transparent; color: var(--ink); border: 1px solid rgba(232,222,206,.35); cursor: pointer; }
.cur-row select option { color: #1a1714; }
.cur-note { margin: 10px 0 18px; font-size: .78rem; color: var(--muted); text-align: right; }
.price-cur { white-space: nowrap; }
.studio .cur-row select, .cur-row select { width: auto; min-width: 9.5rem; flex: 0 0 auto; margin: 0; }
.cur-row label { white-space: nowrap; margin: 0; }
@media (max-width: 640px) { .cur-row { justify-content: space-between; } .cur-note { text-align: left; } }
