/* Janeth Flowers · the Queens Mosaic. Palette from the brief, checked against her marigold / rose photos. */
:root {
  --coral: #e2574c; --coral-d: #b8392f; --navy: #1d2b4f; --navy-d: #121c38; --gold: #f2a93b; --fern: #3f7d58;
  --paper: #f7f4ee; --ink: #1e1b1a; --ink-2: #4a4542; --grout: #d9d1c3; --tile: #efe9df; --blush: #f3b6ae;
  --accent: var(--coral); --accent-ink: #fff; --accent-soft: #fbe3df;
  --serif: 'DM Serif Display', Georgia, serif; --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --wrap: 1120px; --pad: clamp(16px, 4vw, 40px); --hdr: 64px; --r: 6px;
  --glaze: linear-gradient(135deg, #fffdf8 0%, #f4efe6 48%, #e3dccf 100%);
  --wall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fffdf8'/%3E%3Cstop offset='.5' stop-color='%23f3eee5'/%3E%3Cstop offset='1' stop-color='%23e4ddd0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='28' height='28' fill='%23d9d1c3'/%3E%3Crect x='1' y='1' width='26' height='26' rx='1' fill='url(%23g)'/%3E%3C/svg%3E");
  --wall-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23304066'/%3E%3Cstop offset='.5' stop-color='%231d2b4f'/%3E%3Cstop offset='1' stop-color='%23101a35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='28' height='28' fill='%230c1428'/%3E%3Crect x='1' y='1' width='26' height='26' rx='1' fill='url(%23g)'/%3E%3C/svg%3E");
}
html[data-occ="birthday"] { --accent: #f2a93b; --accent-ink: #1e1b1a; --accent-soft: #fdebc9; }
html[data-occ="love"] { --accent: #e2574c; --accent-ink: #fff; --accent-soft: #fbe3df; }
html[data-occ="mom"] { --accent: #e88aa8; --accent-ink: #1e1b1a; --accent-soft: #fbe4ec; }
html[data-occ="quince"] { --accent: #8b6bb1; --accent-ink: #fff; --accent-soft: #ece4f5; }
html[data-occ="sympathy"] { --accent: #3f7d58; --accent-ink: #fff; --accent-soft: #e3efe7; --coral: #3f7d58; --coral-d: #2f6044; }
html[data-occ="just"] { --accent: #1d2b4f; --accent-ink: #fff; --accent-soft: #e1e6f2; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 64px); }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 27px); }
p { margin: 0 0 1em; }
a { color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin: 0 0 .6em; font-weight: 700; }
.lead { font-size: 1.07rem; color: var(--ink-2); max-width: 60ch; }
.small { font-size: .88rem; color: var(--ink-2); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: var(--r); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ready mode / owner view */
.todo { display: inline-block; font: 600 .66rem/1.35 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: #8a4b00; background: #fff1cf; border: 1px dashed #d08a10; border-radius: 6px; padding: .2em .5em; margin: .2em 0; vertical-align: middle; }
html.ready .todo, html.ready .edit-only { display: none !important; }
.edit-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: #fff1cf; color: #5b3300; font: 600 .8rem/1.3 var(--sans); padding: 8px 12px; text-align: center; border-bottom: 1px dashed #d08a10; }
html:not(.ready) .hdr { top: 34px; }
html:not(.ready) { scroll-padding-top: calc(var(--hdr) + 42px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 10px 20px; border-radius: var(--r); font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn--coral { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--coral:hover { filter: brightness(.94); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--big { width: 100%; min-height: 56px; font-size: 1.05rem; }
.btn--tile { box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .35), inset -2px -2px 0 rgba(0, 0, 0, .12), 0 6px 18px rgba(226, 87, 76, .3); }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; height: var(--hdr); display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); background: rgba(247, 244, 238, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grout); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin: 0; }
.wordmark__name { font: 400 1.7rem/1 var(--serif); letter-spacing: -.01em; }
.wordmark__sub { font: 700 .56rem/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; color: var(--navy); }
.wordmark--light { color: #fff; }
.wordmark--light .wordmark__sub { color: var(--gold); }
.hdr__nav { display: none; gap: 20px; margin-left: 16px; }
.hdr__nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hdr__nav a:hover { color: var(--accent); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px; padding: 2px; background: #fff; cursor: pointer; font: 700 .72rem/1 var(--mono); min-height: 36px; }
.lang span { padding: 6px 9px; border-radius: 999px; color: var(--navy); }
.lang span:first-child { background: var(--navy); color: #fff; }
html[lang="es"] .lang span:first-child { background: none; color: var(--navy); }
html[lang="es"] .lang span:last-child { background: var(--navy); color: #fff; }
.hdr__cta { min-height: 40px; padding: 6px 14px; }
@media (min-width: 900px) { .hdr__nav { display: flex; } .hdr__cta { min-height: 44px; padding: 8px 18px; } }

/* hero: the Queens Mosaic */
.hero { position: relative; overflow: hidden; padding: 18px 0 28px; min-height: calc(100svh - var(--hdr)); display: flex; flex-direction: column; }
.hero__wall { position: absolute; inset: 0; background: var(--wall); background-size: 28px 28px; opacity: .9; }
.hero__wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); }
.band { position: relative; z-index: 1; padding: 0 var(--pad); max-width: 920px; width: 100%; margin: 0 auto; text-align: center; }
.band__svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(29, 43, 79, .25)); }
.band__letters rect { opacity: 0; animation: tileIn .22s ease-out forwards; animation-delay: calc(var(--d) * 14ms + .25s); }
html:not(.motion) .band__letters rect, html:not(.js) .band__letters rect { opacity: 1; animation: none; }
@keyframes tileIn { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.band__cap { margin: 8px 0 0; color: var(--navy); font-weight: 700; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 18px; padding: 14px var(--pad) 0; max-width: var(--wrap); width: 100%; margin: 0 auto; align-items: center; }
.mosaic { position: relative; margin: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 440px; margin-inline: auto; border: 6px solid var(--navy); outline: 3px solid var(--coral); outline-offset: -9px; box-shadow: 0 18px 40px rgba(29, 43, 79, .28); background: var(--navy-d); overflow: hidden; perspective: 900px; }
.mosaic__photos { position: absolute; inset: 0; }
.mosaic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.mosaic__img.is-on { opacity: 1; }
.mosaic__grout { position: absolute; inset: 0; pointer-events: none; --tw: 36px; --th: 36px;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(var(--tw) - 1.5px), rgba(247, 244, 238, .72) calc(var(--tw) - 1.5px), rgba(247, 244, 238, .72) var(--tw)),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--th) - 1.5px), rgba(247, 244, 238, .72) calc(var(--th) - 1.5px), rgba(247, 244, 238, .72) var(--th)); }
.mosaic__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--c, 12), 1fr); grid-template-rows: repeat(var(--r, 15), 1fr); }
.mt { background: var(--glaze); border: 1px solid var(--grout); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .85), inset -1px -1px 0 rgba(0, 0, 0, .07); backface-visibility: hidden; transform-style: preserve-3d; transition: transform .14s ease-in, background .1s; will-change: transform; cursor: pointer; }
.mt.off { transform: rotateY(90deg); pointer-events: none; }
.mt.gone { visibility: hidden; }
.mt.on { transform: none; visibility: visible; pointer-events: auto; }
.mt[data-c="coral"] { background: linear-gradient(135deg, #f08177, #e2574c 55%, #b8392f); }
.mt[data-c="gold"] { background: linear-gradient(135deg, #fbc96d, #f2a93b 55%, #c9821a); }
.mt[data-c="blush"] { background: linear-gradient(135deg, #fbd3cd, #f3b6ae 55%, #d98f86); }
.mt[data-c="fern"] { background: linear-gradient(135deg, #6ea386, #3f7d58 55%, #2a5a3d); }
.mt[data-c="navy"] { background: linear-gradient(135deg, #34446e, #1d2b4f 55%, #121c38); }
html:not(.js) .mosaic__tiles, html:not(.motion) .mosaic__tiles { display: none; }
.mosaic__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; background: linear-gradient(to top, rgba(18, 28, 56, .78), rgba(18, 28, 56, 0)); color: #fff; }
.mosaic__cap .mono { font-size: .66rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.mosaic__dots { display: flex; gap: 6px; }
.mosaic__dots button { width: 14px; height: 14px; border-radius: 2px; border: 1.5px solid #fff; background: transparent; padding: 0; cursor: pointer; min-width: 14px; }
.mosaic__dots button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.hero__copy { text-align: left; }
.hero__copy h1 { margin: .2em 0 .35em; color: var(--ink); }
.hero__copy h1 em { font-style: italic; color: var(--accent); }
.hero__sub { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.proof { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; background: #fff; border: 1px solid var(--grout); border-radius: 999px; padding: 6px 14px; }
.proof__stars { color: var(--gold); letter-spacing: .05em; }
@media (min-width: 900px) {
  .hero { padding: 22px 0 36px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 22px; }
  .mosaic { max-width: 500px; margin-inline: auto 0; order: 2; }
  .hero__copy { order: 1; }
  .band { max-width: 1000px; }
}

/* sections */
section { padding: clamp(44px, 7vw, 76px) 0; }
.occ { background: #fff; border-top: 1px solid var(--grout); border-bottom: 1px solid var(--grout); padding: clamp(36px, 6vw, 60px) 0; }
.lines { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.line { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1.5px solid var(--grout); background: #fff; cursor: pointer; font: 600 .95rem/1.2 var(--sans); color: var(--ink); transition: border-color .2s, background .2s, transform .15s; }
.line b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--line); color: var(--lk); font: 700 1.15rem/1 var(--sans); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.line[aria-pressed="true"] { border-color: var(--line); background: var(--accent-soft); }
.line:hover { transform: translateY(-1px); }
.occ__line { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin: 0; min-height: 1.6em; }

.build { background: var(--paper); }
.builder { display: grid; gap: 22px; margin: 8px 0 44px; }
.builder h3.mono { font-family: var(--mono); font-size: .76rem; color: var(--navy); margin: 18px 0 10px; }
.stems { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.stem { background: var(--glaze); border: 1px solid var(--grout); border-radius: 4px; padding: 8px 6px 6px; text-align: center; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .9), inset -1px -1px 0 rgba(0, 0, 0, .06); }
.stem img { width: 70px; height: 70px; object-fit: contain; margin: 0 auto 2px; }
.stem__name { display: block; font-size: .78rem; font-weight: 600; margin-bottom: 6px; line-height: 1.2; min-height: 1.2em; }
.stem.has { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft), inset 1px 1px 0 rgba(255, 255, 255, .9); }
.stepper { display: inline-grid; grid-template-columns: 32px 28px 32px; align-items: center; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { min-height: 32px; border: 0; background: transparent; font: 700 1.1rem/1 var(--sans); color: var(--navy); cursor: pointer; }
.stepper button:hover { background: var(--accent-soft); }
.stepper output { font: 700 .9rem/1 var(--mono); text-align: center; }
.papers { display: flex; flex-wrap: wrap; gap: 8px; }
.papers button { display: grid; justify-items: center; gap: 4px; width: 84px; padding: 6px 4px; border-radius: 4px; border: 1.5px solid var(--grout); background: #fff; cursor: pointer; font: 600 .72rem/1.15 var(--sans); color: var(--ink); }
.papers button img { width: 60px; height: 60px; object-fit: contain; border-radius: 3px; }
.papers button[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.builder__card { background: #fff; border: 1px solid var(--grout); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(29, 43, 79, .08); }
.ramo { background: linear-gradient(180deg, #fbf9f5, #efe9df); padding: 10px 10px 0; }
.ramo svg { width: 100%; height: auto; max-height: 60vh; display: block; margin: 0 auto; aspect-ratio: 900 / 1050; }
.recipe { padding: 14px 16px 16px; border-top: 1px solid var(--grout); }
.recipe__k { color: var(--accent); margin: 0 0 4px; font-weight: 700; }
.recipe__sum { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 0 0 12px; color: var(--ink); }
.recipe__btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .builder { grid-template-columns: 1.2fr .8fr; align-items: start; } .builder__card { position: sticky; top: calc(var(--hdr) + 12px); } .ramo svg { max-height: 420px; } }

/* order form */
.order { background: #fff; border: 1px solid var(--grout); border-radius: 10px; padding: clamp(18px, 3.5vw, 32px); max-width: 760px; box-shadow: 0 12px 30px rgba(29, 43, 79, .08); scroll-margin-top: calc(var(--hdr) + 12px); }
.order__head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.order label { display: block; margin: 0 0 14px; font-weight: 600; font-size: .9rem; }
.order label > span { display: block; margin-bottom: 5px; }
.order input:not([type="radio"]), .order select, .order textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #c9c1b2; border-radius: var(--r); font: 400 1rem/1.3 var(--sans); background: #fffdfa; color: var(--ink); }
.order textarea { min-height: 84px; resize: vertical; }
.order input:focus, .order select:focus, .order textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.order label.bad input { border-color: var(--coral); }
.grid2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 6px 0 !important; padding: 8px 14px; border: 1.5px solid #c9c1b2; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; min-height: 44px; }
.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chip input { margin: 0; accent-color: var(--accent); }
.err { display: block; color: #a4291f; font-weight: 600; font-size: .8rem; margin-top: 4px; }
.errsum { background: #fff1cf; border: 1px solid #d08a10; border-radius: var(--r); padding: 10px 12px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.readback { background: var(--accent-soft); border-radius: var(--r); padding: 10px 12px; font-size: .95rem; margin: -4px 0 14px; }
.readback .mono { color: var(--navy); font-weight: 700; margin-right: 4px; }
.readback q { font-family: var(--serif); font-size: 1.15rem; quotes: "“" "”"; }
.done { margin-top: 16px; background: var(--accent-soft); border-radius: var(--r); padding: 18px; }
.done h3 { margin-bottom: .3em; }

/* what we make */
.make { background: var(--navy); color: #fff; }
.make .eyebrow { color: var(--gold); }
.make h2 { max-width: 20ch; }
.makes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.makes li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 10px; }
.makes img { width: 112px; height: 112px; object-fit: cover; border-radius: 3px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px var(--grout); }
.makes h3 { font-size: 1.35rem; margin-bottom: .2em; color: #fff; }
.makes p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .95rem; }
@media (min-width: 760px) { .makes { grid-template-columns: 1fr 1fr; } }

/* gallery */
.gal { padding-bottom: clamp(28px, 5vw, 56px); }
.tiles { list-style: none; margin: 10px auto 0; padding: 0 var(--pad); max-width: var(--wrap); display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.tiles button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; color: var(--ink); }
.tiles img { aspect-ratio: 1; width: 100%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--grout); transition: transform .25s; }
.tiles button:hover img { transform: scale(1.015); }
.tiles .mono { display: block; font-size: .62rem; color: var(--accent); margin: 8px 0 0; font-weight: 700; }
.tiles em { display: block; font: 400 1.02rem/1.25 var(--serif); margin: 0 0 8px; }
.gal__more { max-width: var(--wrap); margin: 10px auto 0; padding: 0 var(--pad); font-weight: 600; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

/* reviews */
.rev { background: #fff; border-top: 1px solid var(--grout); }
.revs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.revs li { background: var(--paper); border: 1px solid var(--grout); border-radius: 8px; padding: 18px 18px 14px; position: relative; }
.revs li::before { content: "★★★★★"; display: block; color: var(--gold); letter-spacing: .08em; font-size: .9rem; margin-bottom: 8px; }
.revs blockquote { margin: 0 0 10px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }
.revs cite { font-style: normal; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.rev__more { font-weight: 600; margin-top: 16px; }
@media (min-width: 760px) { .revs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .revs { grid-template-columns: 1fr 1fr 1fr; } }

/* how it works */
.how { background: var(--paper); }
.stops { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.stops li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; }
.stops b { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 1.2rem/1 var(--sans); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.stops h3 { font-size: 1.35rem; margin: 6px 0 2px; }
.stops p { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .stops { grid-template-columns: repeat(4, 1fr); gap: 20px; } .stops li { grid-template-columns: 1fr; } .stops b { grid-row: auto; } }

/* visit */
.visit { background: #fff; border-top: 1px solid var(--grout); }
.visit__grid { display: grid; gap: 28px; align-items: center; }
.facts { margin: 0 0 18px; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; border-bottom: 1px solid var(--grout); padding-bottom: 10px; }
.facts dt { font: 700 .7rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.facts dd { margin: 0; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.door { margin: 0; max-width: 360px; }
.door img { border: 6px solid var(--navy); outline: 3px solid var(--coral); outline-offset: -9px; box-shadow: 0 14px 30px rgba(29, 43, 79, .2); }
.door figcaption { margin-top: 8px; color: var(--navy); font-weight: 700; }
@media (min-width: 860px) { .visit__grid { grid-template-columns: 1.2fr .8fr; } .door { justify-self: end; } }

/* faq */
.faq details { border-top: 1px solid var(--grout); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--grout); }
.faq summary { cursor: pointer; font: 400 1.25rem/1.3 var(--serif); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 14px; color: var(--ink-2); max-width: 64ch; }

/* footer: the closing scene */
.foot { position: relative; color: #fff; padding: 40px 0 24px; overflow: hidden; }
.foot__wall { position: absolute; inset: 0; background: var(--wall-navy); background-size: 28px 28px; }
.foot__wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 70% 40%, rgba(242, 169, 59, .18), transparent 70%); }
.foot__grid { position: relative; display: grid; gap: 24px; align-items: center; }
.foot__band { background: rgba(10, 17, 36, .7); border: 3px solid var(--coral); outline: 4px solid var(--navy-d); padding: 22px; backdrop-filter: blur(4px); }
.foot__band p { margin: 0 0 10px; color: rgba(255, 255, 255, .85); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot__links a { color: #fff; font-weight: 600; }
.foot__photo { margin: 0; justify-self: center; }
.foot__photo img { width: min(100%, 320px); aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.foot__legal { position: relative; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 26px auto 0; font-size: .78rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.3fr .7fr; } }

/* sticky dock */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--navy-d); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
  .dock.show { opacity: 1; transform: none; }
  html:not(.motion) .dock, html:not(.js) .dock { opacity: 1; transform: none; }
  .dock a { min-height: 46px; display: grid; place-items: center; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; }
  .dock__go { background: var(--accent); color: var(--accent-ink) !important; }
  body { padding-bottom: 84px; }
  .foot { padding-bottom: 40px; }
}

/* lightbox */
.lb { border: 0; padding: 0; background: rgba(12, 18, 36, .96); color: #fff; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
.lb::backdrop { background: rgba(12, 18, 36, .9); }
.lb img { position: absolute; inset: 0 0 70px; margin: auto; max-width: calc(100% - 20px); max-height: calc(100% - 110px); width: auto; height: auto; object-fit: contain; border: 4px solid #fff; }
.lb button { position: absolute; z-index: 2; cursor: pointer; }
.lb__x, .lb__prev, .lb__next { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; }
.lb__x { top: 10px; right: 10px; }
.lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .35); }
.lb__bar .btn { position: static; }

/* reveals (scroll-driven fallback keeps content visible without IntersectionObserver) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in, html:not(.motion) .rv, html:not(.js) .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mt, .btn, .line, .tiles img, .mosaic__img { transition: none !important; animation: none !important; }
}

/* v2 (Jamie): their work goes big right after the hero; the builder sits lower and calmer */
.gal { background: #fff; border-bottom: 1px solid var(--grout); padding-top: clamp(36px, 6vw, 60px); }
.tiles { gap: 8px; }
.tiles button { height: 100%; display: flex; flex-direction: column; }
.tiles img { flex: 0 0 auto; }
.tiles li:nth-child(1), .tiles li:nth-child(6) { grid-column: span 2; }
.tiles li:nth-child(1) img, .tiles li:nth-child(6) img { aspect-ratio: 5 / 4; }
@media (min-width: 700px) {
  .tiles li:nth-child(1), .tiles li:nth-child(6) { grid-column: span 2; grid-row: span 2; }
  .tiles li:nth-child(1) img, .tiles li:nth-child(6) img { aspect-ratio: auto; flex: 1 1 0; min-height: 0; height: 100%; }
}
.tiles .mono { margin-top: 6px; }
@media (max-width: 899px) {
  .hero { padding: 12px 0 22px; }
  .hero__grid { gap: 14px; padding-top: 10px; }
  .mosaic { max-width: 380px; }
  h1 { font-size: 36px; }
  .hero__copy h1 { margin: .1em 0 .3em; }
  .hero__sub { font-size: 1rem; }
  .hero__cta { margin: 12px 0 10px; }
}
.stem { background: #fff; box-shadow: none; }
.stem.has { background: #fffdfa; }
.build { border-top: 1px solid var(--grout); }
