:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #1c2822;
  --green: #214736;
  --muted: #526055;
  --line: #d7dcd1;
  --accent: #cbe886;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .56; cursor: default; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #678439; outline-offset: 3px; }
h1, h2, p { margin: 0; }
.shell { width: min(100% - 88px, 1360px); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 4; left: 16px; top: 16px; background: white; padding: 10px; }
.masthead {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 78px; border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 56px);
}
.wordmark { display: inline-flex; gap: .68rem; align-items: center; text-decoration: none; font: bold 1.65rem/.9 var(--serif); letter-spacing: -.06em; }
.wordmark-dot { color: #43834d; }
.brand-mark { display:block; width:1.65rem; height:1.65rem; border-radius:.35rem; }
.masthead nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 38px); }
.masthead nav a { text-decoration: none; font-size: .9rem; }
.masthead nav a:hover { text-decoration: underline; }
.bag { min-height: 44px; padding: .3rem .6rem .3rem .95rem; border: 1px solid #bdc9bc; background: transparent; color: var(--green); border-radius: 100px; display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 650; }
.bag span { min-width: 24px; padding: 0 .25rem; height: 24px; border-radius: 24px; background: var(--green); color: white; text-align: center; }
.hero { display: grid; align-items: start; grid-template-columns: minmax(0, 1.42fr) minmax(340px, .92fr); gap: clamp(25px, 5vw, 94px); }
.visual, .configure { min-width: 0; }
.viewer {
  position: relative; isolation: isolate; overflow: hidden; min-height: 510px;
  height: clamp(510px, 48vw, 695px); border-radius: 5px;
  background-color: #394a33;
}
.viewer .garden-table { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.viewer-stage, .static-preview { position: absolute; inset: 0; width: 100%; height: 100%; }
model-viewer { display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
model-viewer[data-ready] { opacity: 1; pointer-events: auto; }
.viewer:has(model-viewer[data-ready]) .static-preview { visibility: hidden; }
.static-preview { object-fit: contain; }
.viewer-top {
  position: absolute; z-index: 1; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  pointer-events: none;
}
.viewer-top { top: 17px; color: #14281f; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .55rem; }
.viewer .preview-add {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  width: auto; min-height: 44px; padding: .55rem .95rem;
  border: 1px solid #fff9; box-shadow: 0 2px 7px #12281c35;
}
.viewer-top span { text-transform: uppercase; }
.viewer-top span, .drag-hint {
  font: 650 .77rem/1.3 system-ui, sans-serif; letter-spacing: .07em;
  background: #f6f5efd9; border-radius: 3px; padding: .5rem .65rem;
}
.drag-hint { color: #20342a; letter-spacing: 0; }
.touch-hint { display: none; }
.view-controls { display: flex; pointer-events: auto; padding: 3px; background: #eff2e9; border-radius: 5px; gap: 2px; }
.view-controls button { border: 0; background: transparent; padding: .42rem .65rem; color: var(--ink); font-size: .84rem; border-radius: 3px; min-height: 40px; }
.view-controls button[aria-pressed=true] { background: #234335; color: white; }
.caption { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); padding-top: .65rem; gap: .6rem; }
#coordinates { font-variant-numeric: tabular-nums; white-space: nowrap; }
.configure { padding: .2rem 0 0; scroll-margin-top: 20px; }
.eyebrow { font-weight: 750; font-size: .81rem; letter-spacing: .13em; color: var(--green); }
h1 { font: 400 clamp(4rem, 7.25vw, 7.2rem)/.87 var(--serif); letter-spacing: -.075em; margin: .35rem 0 1.05rem; }
h1 span { color: #46834c; }
.intro { max-width: 29rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--muted); line-height: 1.45; }
.picker { margin-top: 1.35rem; }
.picker label { display: block; font-size: 1rem; font-weight: 710; margin-bottom: .35rem; }
.picker input {
  width: 100%; border: 1px solid #bbc6b8; color: var(--ink); background: #fffefa; border-radius: 4px;
  padding: .6rem .8rem; min-height: 44px;
}
.places { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .5rem; }
.places button { border: 1px solid #b9c9b9; border-radius: 100px; background: transparent; color: var(--green); padding: .26rem .74rem; min-height: 39px; font-size: .87rem; font-weight: 620; }
.places button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: white; }
.empty { padding-block: .4rem; color: var(--muted); }
.spec { display: flex; flex-wrap: wrap; align-items: center; gap: .47rem; margin: .8rem 0 .22rem; font-size: .875rem; color: var(--muted); }
.material-note { font-size: .83rem; color: var(--muted); margin: 0 0 .72rem; }
.swatch { display: inline-block; border: 1px solid #aeb8a9; border-radius: 100%; width: .87rem; height: .87rem; background: white; }
.price-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .85rem; border: 1px solid #cad6c5;
  background: #e9eee2; border-radius: 5px; padding: .85rem .95rem .6rem;
}
.price-card > div { display: flex; align-items: flex-start; flex-direction: column; }
.price-label, .competitor a { font-size: .86rem; font-weight: 680; }
.price, .competitor > strong { font: 400 clamp(1.7rem, 3.2vw, 2.8rem)/1.13 var(--serif); letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums; }
.competitor { border-left: 1px solid #c2d0be; padding-left: .85rem; }
.competitor > strong[data-unavailable=true] { font: 650 .98rem/1.2 system-ui, sans-serif; letter-spacing: 0; padding-block: .35rem; }
.tax, .saving { font-size: .82rem; color: var(--green); }
.saving { display: inline-block; padding: .05rem .35rem; border-radius: 2px; background: var(--accent); font-weight: 700; }
.compare-detail { grid-column: 1 / -1; color: #41564a; font-size: .81rem; }
.compare-detail summary { cursor: pointer; }
.compare-detail p { padding: .35rem 0; }
.primary, .secondary {
  display: block; width: 100%; min-height: 48px; border-radius: 4px;
  padding: .6rem .95rem; border: 1px solid var(--green); font-weight: 700;
}
.primary { background: var(--green); color: #fff; }
.primary:hover:not(:disabled) { background: #122f22; }
.secondary { background: transparent; color: var(--green); }
.secondary:hover { background: #e3ebdf; }
.configure > .primary { margin-top: .66rem; }
.next-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: .45rem; }
.collection { border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 100px); padding-top: clamp(28px, 4vw, 55px); }
.section-title { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.section-title p { color: var(--muted); }
h2 { font: 400 clamp(1.95rem, 4vw, 3.35rem)/1 var(--serif); letter-spacing: -.055em; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.city-card { text-align: left; min-width: 0; display: block; background: #edefe5; border: 1px solid #cbd6c7; color: var(--ink); border-radius: 5px; padding: 0; overflow: hidden; }
.city-card:hover { border-color: #5c805c; }
.city-card img { width: 100%; aspect-ratio: 1.65; display: block; object-fit: cover; object-position: center 70%; background: #748e7c; }
.city-card .card-info { display: grid; grid-template-columns: 1fr auto; gap: .25rem .4rem; padding: .85rem .95rem; }
.city-card .city-name { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1 var(--serif); letter-spacing: -.04em; }
.city-card .city-price { grid-column: 2; grid-row: 1; font-weight: 650; }
.offer { margin-block: 3.4rem; display: grid; grid-template-columns: 1fr 1.13fr; gap: 1.5rem; border-radius: 5px; padding: clamp(23px, 4vw, 52px); background: #dfe9ca; }
.offer h2 { margin: .4rem 0 .65rem; }
.offer p { max-width: 31rem; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .65rem; margin: 0; align-self: center; }
.tiers div { border-left: 1px solid #a4b396; padding-inline: .75rem; }
.tiers dt { font-weight: 650; font-size: .85rem; }
.tiers dd { margin: .1rem 0 0; font: 400 clamp(1.25rem, 3vw, 2.3rem)/1 var(--serif); letter-spacing: -.05em; }
.footer { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; padding-block: 1.3rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
dialog { background: var(--paper); color: var(--ink); border: 0; padding: 1.4rem; margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100%; max-height: 100%; width: min(100%, 470px); max-width: 100%; }
dialog::backdrop { background: #142019a6; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.close { min-height: 43px; width: 43px; border: 1px solid #b5c5b5; border-radius: 50%; background: transparent; font-size: 1.45rem; color: var(--green); }
.order-lines { padding: 0; margin: 0; list-style: none; }
.order-lines li { padding: .7rem 0; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; border-bottom: 1px solid var(--line); }
.order-lines small { color: var(--muted); display: block; font-size: .84rem; }
.remove { padding: 0; min-height: 32px; border: 0; background: transparent; color: var(--muted); font-size: .86rem; text-decoration: underline; justify-self: end; }
.drawer-total { display: flex; justify-content: space-between; gap: 1rem; margin: .85rem 0 .3rem; font-weight: 650; align-items: center; }
.drawer-total strong { font: 400 1.9rem/1 var(--serif); }
.order-meta { font-size: .88rem; color: var(--muted); }
.order-upsell { margin-top: .9rem; padding: 1rem; border: 1px solid #c4d2bc; background: #e5edd9; border-radius: 5px; }
.order-upsell p { font-size: .92rem; color: #354c3c; margin: .2rem 0 .7rem; }
.order-upsell .secondary { margin-top: .45rem; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 56px, 1360px); }
  .hero { gap: 26px; }
  .viewer { height: clamp(480px, 62vw, 625px); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 65px; margin-bottom: 18px; }
  .masthead nav > a { display: none; }
  .hero { display: flex; flex-direction: column; gap: 1.16rem; }
  .visual, .configure { width: 100%; }
  .viewer { min-height: 0; height: clamp(284px, 75vw, 460px); }
  .viewer-top { left: 9px; right: 9px; }
  .viewer-top { top: 9px; }
  .drag-hint { font-size: .78rem; }
  .pointer-hint { display: none; }
  .touch-hint { display: inline; }
  .caption { padding-top: .43rem; font-size: .78rem; }
  h1 { font-size: clamp(3.35rem, 12vw, 5rem); margin-block: .28rem .7rem; }
  h1 br { display: none; }
  .picker { margin-top: 1rem; }
  .collection-grid, .offer { grid-template-columns: 1fr; }
  .city-card { display: grid; grid-template-columns: 38% 1fr; align-items: center; }
  .city-card img { aspect-ratio: 1.35; }
  .city-card .card-info { padding: .6rem; }
  .offer { margin-block: 2rem; gap: 1rem; }
  .tiers div { padding-left: .42rem; }
}

.checkout-link { text-align: center; text-decoration: none; margin-block: .8rem; }
.editorial { max-width: 930px; padding-block: 0 2.8rem; }
.editorial h1 { font-size: clamp(2.6rem, 7vw, 5.3rem); overflow-wrap: anywhere; }
.editorial h2 { margin: 1.8rem 0 .65rem; }
.editorial p { margin-block: .7rem; }
.table-wrap { overflow-x: auto; margin-block: 1.5rem; }
.editorial table { width: 100%; border-collapse: collapse; }
.editorial :is(td, th) { padding: .65rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.editorial thead { background: #e9eee2; }
.product-links { padding: 0; list-style: none; }
.product-links li { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--line); padding: .45rem .1rem; }

.checkout-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); align-items: start; gap: clamp(22px, 5vw, 75px); padding-bottom: 3rem; }
.checkout-shell h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); overflow-wrap: anywhere; }
.checkout-shell form { margin-top: 1.05rem; }
.checkout-shell fieldset { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 5px; min-width: 0; }
.checkout-shell legend { padding: .2rem .4rem; font-weight: 700; }
.checkout-feedback { min-height: 1.5em; color: var(--green); }
.checkout-fields { display: grid; grid-template-columns: 1.5fr 1fr; gap: .75rem; }
.checkout-fields label { font-size: .9rem; font-weight: 620; min-width: 0; }
.checkout-fields input { display: block; width: 100%; margin-top: .2rem; border-radius: 4px; background: #fffefa; border: 1px solid #bbc6b8; color: var(--ink); min-height: 44px; padding: .5rem; }
.checkout-fields .wide { grid-column: 1 / -1; }
.checkout-shell form button { margin-top: .7rem; }
.checkout-summary { border-radius: 5px; border: 1px solid var(--line); background: #e9eee2; padding: 1.2rem; }
.checkout-summary dl { margin-bottom: 0; }
.checkout-summary dl div, .shipping-option { display: flex; justify-content: space-between; gap: .55rem; padding: .4rem 0; }
.checkout-summary dd { margin: 0; text-align: right; font-weight: 650; }
.checkout-total { border-top: 1px solid var(--line); font-weight: 750; }
.shipping-option { justify-content: start; align-items: center; min-height: 45px; border-bottom: 1px solid var(--line); }
.shipping-option strong { margin-left: auto; }
@media (max-width: 760px) {
  .checkout-shell { grid-template-columns: minmax(0, 1fr); }
  .checkout-fields { grid-template-columns: minmax(0, 1fr); }
}

.view-retry { font-size: .84rem; padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 4px; background: #e9eee2; color: var(--green); min-height: 38px; }

.picker-label { display: block; font-size: .95rem; font-weight: 710; margin-bottom: .35rem; }
.custom-map-note { padding: .8rem 1rem; border: 1px solid var(--line); background: #e9eee2; border-radius: 4px; }
.map-credits, .map-message, .map-help { color: var(--muted); font-size: .82rem; }
.map-message:not(:empty) { padding: .45rem .65rem; }
#crop-coordinates { white-space: nowrap; }
.map-credits { display: flex; justify-content: space-between; gap: .5rem; padding-top: .35rem; }

.engraving-options { margin: .75rem 0 0; padding: .5rem .75rem .68rem; min-width: 0; border: 1px solid var(--line); border-radius: 4px; }
.engraving-options legend { padding-inline: .32rem; font-size: .9rem; font-weight: 680; }
.engraving-options label { display: block; font-size: .89rem; font-weight: 650; margin-top: .5rem; }
.engraving-options input, .engraving-options select { display: block; width: 100%; min-height: 41px; border: 1px solid #bbc6b8; border-radius: 4px; padding: .4rem .55rem; background: #fffefa; color: var(--ink); }
.engraving-options input { margin-top: .2rem; }
.engraving-feedback { padding-top: .2rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 400px) {
  .view-controls button { padding-inline: .44rem; }
  .viewer-toolbar .drag-hint { display: none; }
}

/* Storefront typography and the place finder */
.atlas-store {
  --paper: #fcfbf7;
  --ink: #232820;
  --green: #2e4639;
  --muted: #546056;
  --line: #d7dad0;
  background: var(--paper);
}
.atlas-store .masthead { margin-bottom: 0; min-height: 64px; }
.atlas-intro { padding-block: clamp(24px, 3vw, 42px); }
.atlas-store .hero { grid-template-areas: "preview finder" "preview configure"; row-gap: 1.15rem; }
.atlas-store .visual { grid-area: preview; }
.atlas-store .atlas-search { grid-area: finder; }
.atlas-store .configure { grid-area: configure; }
.atlas-store .eyebrow, .atlas-store .caption {
  font: 500 .75rem/1.5 ui-monospace, Menlo, monospace;
  letter-spacing: .06em;
}
.atlas-store .eyebrow { text-transform: uppercase; }
.atlas-intro h1 {
  font-size: clamp(3.9rem, 6.7vw, 6.9rem);
  margin: .35rem 0 .85rem;
  line-height: .96;
  letter-spacing: -.075em;
}
.atlas-intro h1 em { font-weight: inherit; color: var(--green); }
.atlas-intro .intro { max-width: 64ch; font-size: 1rem; }
.finder-jump { display: none; }
.atlas-search { min-width: 0; }
.atlas-search h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin: 0 0 .45rem; }
.map-frame { position: relative; container-type: inline-size; }
.world-map {
  height: clamp(270px, 22vw, 330px);
  background: #e5e9dd;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.world-map .maplibregl-ctrl button { min-height: 0; padding: 0; }
.world-map .maplibregl-ctrl-attrib a { color: #23332a; }
.map-tools { position: relative; z-index: 3; margin-bottom: .45rem; }
.country-label { display: none; }
#place-search-form {
  display: flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid #879488;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 14px #25382722;
}
#place-search-form :is(input, select) { min-width: 0; min-height: 43px; color: var(--ink); font: inherit; }
#place-search-form input { flex: 1 1 0; border: 0; padding: .45rem .5rem; border-radius: 3px; }
#map-country { flex: 0 1 8.5rem; max-width: 34%; padding: 0 .3rem; border: 0; border-right: 1px solid var(--line); background: #fff; }
#place-search-form button { width: auto; flex: 0 0 auto; min-height: 43px; padding-inline: .85rem; }
.map-results {
  position: absolute; z-index: 1; inset: 100% 0 auto;
  list-style: none;
  padding: .15rem 0;
  margin: .25rem 0 0;
  max-height: 11rem;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 15px #202d2326;
}
.map-results li { display: grid; gap: .1rem; padding: .55rem .7rem; cursor: pointer; min-height: 44px; align-content: center; }
.map-results li + li { border-top: 1px solid var(--line); }
.map-results li:is(:hover, [aria-selected=true]) { background: #e9eee5; }
.map-results small { color: var(--muted); }
.map-tools .map-message:not(:empty) { margin-top: .25rem; border-radius: 6px; background: #fff; }
.map-selection { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-top: .65rem; }
.map-selection > div { min-width: 0; overflow-wrap: anywhere; }
.map-selection button { width: auto; flex: 0 0 auto; padding-inline: .7rem; }
.map-centre {
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #214e38;
  box-shadow: 0 1px 5px #14281fb3;
  pointer-events: none;
}
.atlas-store .viewer { border-radius: 3px; }
.atlas-store #viewer-city { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.atlas-store #viewer-status { flex-shrink: 0; inline-size: calc(15ch + 1.3rem); white-space: nowrap; text-align: center; }
.atlas-store model-viewer::part(default-progress-bar) { display: none; }
.atlas-store .configure { border-block: 1px solid var(--line); padding-block: 1rem; }
.atlas-store .picker { margin-top: 0; }
.config-heading { font-size: clamp(1.9rem, 2.8vw, 3rem); }
.atlas-store .price-card { background: #edf0e9; margin-top: 1.15rem; }
.atlas-store .city-card { background: #fff; }
.atlas-store .offer { background: #263d32; color: #fff; }
.atlas-store .offer .eyebrow { color: #d6e5cb; }
@media (max-width: 760px) {
  .atlas-intro { padding-block: 1.5rem 1rem; }
  .atlas-intro h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .atlas-store .masthead nav > a { display: inline; font-size: .82rem; }
  .atlas-store .hero { gap: 1.2rem; }
  .atlas-store .atlas-search { width: 100%; }
  .finder-jump { display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; margin-top: .2rem; color: var(--green); font-weight: 620; }
  #finder-title { scroll-margin-top: .7rem; }
  .world-map { height: 255px; }
  #place-search-form { gap: 2px; }
  #place-search-form input { padding-inline: .3rem; }
  #place-search-form input::placeholder { font-size: .86rem; }
  #place-search-form button { padding-inline: .48rem; font-size: .9rem; }
  .map-selection button { font-size: .86rem; }
}
@container (max-width: 420px) {
  #place-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  #place-search-form:has(#map-country:not([hidden])) { grid-template-columns: auto minmax(0, 1fr) auto; }
  #place-search-form:has(#map-country:not([hidden])) .country-label { display: block; padding-left: .55rem; font-size: .85rem; }
  #map-country { grid-column: 2 / -1; width: 100%; max-width: 100%; border: 0; }
  #place-search-form input { grid-column: 1 / -2; width: 100%; }
  #place-search-form button { grid-column: -2 / -1; }
  #place-search-form:has(#map-country:not([hidden])) input { border-top: 1px solid var(--line); }
}
@media (max-width: 450px) {
  .atlas-store .wordmark, .atlas-store .masthead nav > a, .atlas-store .bag { white-space: nowrap; }
  .atlas-store .wordmark { font-size: 1.35rem; gap: .4rem; }
  .atlas-store .masthead nav { gap: .55rem; }
  .atlas-store .masthead nav > a { font-size: .76rem; }
  .atlas-store .bag { font-size: .82rem; padding-inline: .5rem; }
}
@media (max-width: 380px) {
  .atlas-store .masthead nav { gap: .45rem; }
}

/* Exhibition masthead and the paired model and map. */
.atlas-store .atlas-intro {
  padding: clamp(16px, 2vw, 30px) clamp(20px, 3vw, 48px);
  margin-bottom: clamp(14px, 1.7vw, 25px);
  background: #192b23; color: #faf9ed;
}
.atlas-intro > div {
  display: grid; align-items: end;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  column-gap: clamp(28px, 5vw, 78px);
}
.atlas-store .atlas-intro .eyebrow {
  grid-column: 1 / -1; color: #d3e2be; letter-spacing: .13em;
}
.atlas-intro h1 {
  margin: .25rem 0 0; font-size: clamp(3.1rem, 5.2vw, 5.6rem);
}
.atlas-intro h1 em, .atlas-intro h1 span { color: #c9dfb9; }
.atlas-intro .intro { max-width: 46ch; color: #eff3ea; line-height: 1.42; }
.atlas-store .hero { column-gap: clamp(22px, 3vw, 44px); }
.atlas-store .viewer { min-height: 0; height: clamp(360px, 39vw, 574px); }
.atlas-store .world-map { height: clamp(225px, 18vw, 280px); border-radius: 3px; }
.atlas-store .map-tools .map-message:not(:empty) {
  position: absolute; z-index: 1; bottom: 100%; inset-inline: 0;
  box-shadow: 0 2px 6px #19302325;
}
.atlas-store .map-selection { padding-top: .42rem; }
.atlas-store .map-selection .picker-label { margin-bottom: 0; }
.atlas-store .map-credits { min-height: 1.45rem; line-height: 1.35; }
@media (max-width: 760px) {
  .atlas-store .masthead { min-height: 54px; }
  .atlas-store .masthead nav { gap: .48rem; }
  .atlas-store .wordmark { font-size: clamp(1.05rem, 5vw, 1.35rem); }
  .atlas-store .bag { padding-inline: .55rem; white-space: nowrap; }
  .atlas-store .atlas-intro { padding: .8rem 1rem; margin-bottom: .65rem; }
  .atlas-intro > div { display: block; }
  .atlas-intro h1 { font-size: clamp(2.4rem, 9.5vw, 3.75rem); margin-block: .2rem .3rem; }
  .atlas-intro .intro { font-size: .85rem; line-height: 1.35; }
  .atlas-intro .finder-jump { margin: .25rem 0 0; color: #d4e8c5; font-size: .8rem; min-height: 26px; }
  .atlas-store .hero { display: flex; flex-direction: column; gap: .75rem; }
  .atlas-store .visual { order: 0; }
  .atlas-store .atlas-search { order: 1; }
  .atlas-store .configure { order: 2; }
  .atlas-store .viewer { height: clamp(230px, 68vw, 395px); }
  .atlas-store .viewer-toolbar { padding-top: .3rem; }
  .atlas-store .caption { padding-top: .25rem; font-size: .68rem; }
  .atlas-store .atlas-search h2 { font-size: 1.6rem; margin-bottom: .3rem; }
  .atlas-store .world-map { height: clamp(155px, 42vw, 220px); }
  .atlas-store .map-credits { font-size: .71rem; }
}

/* The map stays beside the active step. On phones the active task comes first. */
.builder-steps { display: flex; gap: clamp(.55rem,3vw,2rem); align-items: center; padding: .7rem 0; margin: 0 0 1rem; list-style: none; border-bottom: 1px solid var(--line); }
.builder-steps li { display: flex; align-items: center; gap: .42rem; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.builder-steps li::before { content: ''; display: inline-block; width: .55rem; height: .55rem; border: 1px solid #87988b; border-radius: 50%; }
.builder-steps [aria-current] { color: var(--green); font-weight: 720; }
.builder-steps [aria-current]::before { background: var(--green); border-color: var(--green); }
#builder { grid-template-areas: "preview controls"; align-items: start; margin-bottom: 2rem; }
#builder :is(.atlas-search,.build-panel,.configure) { grid-area: controls; min-width: 0; }
.builder-label { display: block; font-size: .9rem; font-weight: 650; margin: .85rem 0 .28rem; }
.builder-select, .area-choice select { color: var(--ink); background: white; min-height: 44px; border: 1px solid #a7b3a6; border-radius: 5px; padding: .5rem; font: inherit; }
.builder-select { width: 100%; }
.area-choice { display: flex; align-items: center; gap: .4rem .65rem; flex-wrap: wrap; padding: .65rem 0; }
.area-choice :is(label,span) { color: var(--muted); font-size: .85rem; }
.atlas-store .world-map { height: clamp(270px, 32vh, 400px); }
.step-back { background: none; border: 0; color: var(--green); min-height: 44px; padding: 0; text-decoration: underline; }
.build-panel > :is(p,progress,button.primary,button.secondary), #add-extra { margin-top: .75rem; }
.build-panel progress { width: 100%; accent-color: var(--green); }
#generation-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; }
#builder[data-pending] { grid-template-areas: "controls controls"; }
#builder[data-pending] .build-panel { max-width: 38rem; width: 100%; margin: 1rem auto 3rem; }
@media (max-width: 760px) {
  #builder :is(.atlas-search,.build-panel,.configure) { order: 0; width: 100%; }
  #builder .visual { order: 1; }
  #builder .world-map { height: clamp(280px, 42svh, 420px); }
  .atlas-store .map-tools .map-message:not(:empty), .map-results { position: static; }
  .map-results { max-height: min(17rem, 39svh); }
  #builder .map-selection { display: grid; grid-template-columns: minmax(0,1fr); }
  #builder .map-selection button { width: 100%; }
  .map-credits { flex-wrap: wrap; }
  .builder-steps { justify-content: space-between; gap: .2rem; }
  .builder-steps li { font-size: clamp(.69rem, 2.5vw, .9rem); gap: .27rem; }
}


.atlas-store:has(#builder:not([data-step="1"])) .atlas-intro { display: none; }
.mobile-model { display: none; }
.ready-label { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
#ready-price { font-size: .83rem; color: var(--green); font-weight: 650; }
.city-card { text-decoration: none; }
.price-card:has(.compare-detail) { grid-template-columns: 1fr; }
.compare-detail .competitor { margin-block: .55rem; border: 0; padding: 0; }
@media (max-width: 760px) {
  .atlas-store .atlas-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 23vw, 9rem); align-items: center; gap: .75rem; }
  .atlas-intro .mobile-model { display: block; border-radius: .35rem; overflow: hidden; line-height: 0; }
  .mobile-model img { display: block; width: 100%; height: auto; aspect-ratio: 1.05; object-fit: cover; }
  .atlas-intro h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
}

@media (max-width: 760px), (pointer: coarse) {
  .masthead, .masthead nav { flex-wrap: wrap; }
  .masthead a, .masthead button, .view-controls button, .view-retry,
  .map-results button, .compare-detail summary, .order-lines button,
  .atlas-store #place-search-form :is(select,input,button),
  .atlas-store .maplibregl-ctrl-group button, .engraving-options :is(select,input) { min-height: 44px; }
  .masthead a { display: inline-flex; align-items: center; }
  .atlas-store .maplibregl-ctrl-group button { width: 44px; }
  :is(.checkout-fields,.engraving-options,#place-search-form,.area-choice) :is(input,select) { font-size: 16px; }
  .map-results { overscroll-behavior: contain; }
  .order-lines :is(span,small), .checkout-feedback, #generation-message, #map-picker-selection { overflow-wrap: anywhere; }
  .checkout-summary { position: static; }
  .checkout-shell { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
  dialog { max-height: 100dvh; padding-bottom: max(1rem, env(safe-area-inset-bottom)); overscroll-behavior: contain; }
}
@media (max-width: 420px) {
  .checkout-shell :is(.primary,.secondary) { width: 100%; }
  .ready-label { flex-wrap: wrap; gap: 0 .5rem; }
  .area-choice span { flex-basis: 100%; }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 950px) {
  #builder .world-map { height: 280px; }
  .atlas-store .viewer { height: clamp(230px, 72svh, 360px); }
  .atlas-store .atlas-intro { padding-block: .6rem; }
}

#builder[data-review] { display: block; }
.atlas-store:has(#builder[data-review]) :is(.atlas-intro,.collection), #builder[data-review] > :is(.visual,.atlas-search) { display: none; }
#spot-panel { width: 100%; }
#spot-panel h2 { margin: 0 0 .6rem; font-size: clamp(1.8rem,4vw,3.2rem); }
.spot-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(16rem,.85fr); align-items: center; gap: clamp(1rem,4vw,3.5rem); }
.spot-visual { min-width: 0; }
#spot-stage .world-map { width: 100%; height: clamp(330px,48svh,590px); }
.spot-tools { display: flex; gap: .45rem; margin-top: .4rem; }
.spot-tools button { min-height: 42px; padding: .4rem .8rem; color: var(--green); border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.spot-summary h3 { font: inherit; font-family: Georgia,serif; font-size: clamp(1.5rem,3vw,2.3rem); line-height: 1.1; margin: 1.15rem 0 .4rem; }
.spot-summary p { margin: .35rem 0 .8rem; }
#spot-location { font-weight: 700; overflow-wrap: anywhere; margin-bottom: .1rem; }
#spot-size, #spot-status { font-size: .85rem; color: var(--muted); }
#spot-status { margin-bottom: 0; }
#confirm-spot { min-height: 48px; padding-inline: 1.1rem; }
.world-map .maplibregl-canvas { cursor: grab; }
.world-map .maplibregl-canvas:active { cursor: grabbing; }
@media (max-width: 760px) {
  .spot-layout { grid-template-columns: minmax(0,1fr); gap: .6rem; }
  #spot-stage .world-map { height: clamp(245px,38svh,400px); }
  .spot-summary h3 { margin-top: .65rem; }
  .spot-tools button { min-height: 44px; }
  #confirm-spot { width: 100%; }
}
