.storefront {
  --frame-dark: #292a2b;
  --frame-edge: #777571;
  --store-halo: rgb(236 149 108 / .26);
  --store-halo-cool: rgb(172 178 130 / .18);
  background: var(--paper);
}

[data-theme="dark"] .storefront {
  --frame-dark: #1b2537;
  --frame-edge: #606b7a;
  --store-halo: rgb(215 154 86 / .16);
  --store-halo-cool: rgb(88 113 170 / .24);
}

.store-wrap {
  width: min(100% - 112px, 1176px);
  margin-inline: auto;
}

.store-footer a:not(.brand) { padding-block: 10px; }
.store-footer a:hover { color: var(--link); }

.store-section {
  --halo-x: 73%;
  --scene-halo: var(--store-halo);
  position: relative;
  scroll-margin-top: 20px;
  background: radial-gradient(ellipse min(48vw, 540px) 57% at var(--halo-x) 52%, var(--scene-halo), transparent 97%);
}

.store-section.store-alternate { --halo-x: 25%; }
.store-photo, .store-discover, .store-visits, .store-walks { --scene-halo: var(--store-halo-cool); }

.store-pair {
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
  padding-block: clamp(43px, 6vw, 85px);
}

.store-alternate .store-pair { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
.store-alternate .store-copy { grid-column: 2; grid-row: 1; }
.store-hero { --store-halo: rgb(239 152 114 / .37); }
[data-theme="dark"] .store-hero { --store-halo: rgb(205 151 87 / .21); }

.store-copy { min-width: 0; }

.store-copy h1, .store-copy h2 {
  max-width: 13ch;
  font-weight: 730;
  line-height: 1.025;
  letter-spacing: -.061em;
  text-wrap: balance;
}

.store-copy h1 { font-size: clamp(3.1rem, 5vw, 5.15rem); }
.store-copy h2 { font-size: clamp(2.45rem, 4.65vw, 4.7rem); }

.store-copy p:not(.store-context, .store-note) {
  max-width: 36ch;
  margin-top: 25px;
  font-size: clamp(1.075rem, 1.6vw, 1.31rem);
  line-height: 1.56;
  color: var(--muted);
}

.store-primary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 21px;
  border-radius: 999px;
  margin-top: 28px;
  background: var(--red);
  color: var(--on-accent);
  font-size: .94rem;
  font-weight: 720;
}

.store-primary:hover { background: var(--red-hover); }

.store-note {
  max-width: 41ch;
  margin-top: 17px;
  font-size: .85rem;
  color: var(--muted);
}

.store-context {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 690;
  color: var(--link);
}

.store-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: .25em;
  font-weight: 670;
}

.store-hero-scene {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  min-width: 0;
  scroll-margin-block: 30px;
}

#menu-demo-phone { scroll-margin-block: 20px; }

.store-paper {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(17px, 1.8vw, 30px) clamp(13px, 1.4vw, 22px) 25px;
  color: #38281d;
  background: linear-gradient(150deg, #fff2d6, #efd9b4 62%, #f9e9cc);
  border: 1px solid rgb(88 58 31 / .16);
  box-shadow: 0 16px 35px -18px rgb(75 39 21 / .38), inset 0 0 18px rgb(144 91 47 / .11);
  transform: rotate(-4deg) translateY(6px);
  font: 400 .79rem/1.26 Georgia, serif;
}

.store-paper-brand {
  margin-bottom: 15px;
  font-size: clamp(1.48rem, 2.45vw, 2.25rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.05em;
}

.store-paper-brand span {
  display: block;
  margin-top: 8px;
  font-size: .58em;
  font-weight: 400;
  letter-spacing: .05em;
}

.store-paper section { margin-top: 13px; }
.store-paper h2 {
  margin-bottom: 5px;
  color: #90402c;
  font: italic 700 .88rem/1.2 Georgia, serif;
  letter-spacing: 0;
}
.store-paper dl, .store-paper dd { margin: 0; }
.store-paper dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dotted rgb(96 58 34 / .23);
}
.store-paper dd { white-space: nowrap; font-variant-numeric: tabular-nums; }

.store-olive-mark {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 11px;
  border-radius: 65% 54% 60% 48%;
  color: #637038;
  background: currentColor;
  transform: rotate(-25deg);
}
.store-olive-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: -3px;
  width: 5px;
  height: 3px;
  border-radius: 90% 15%;
  background: #ad8149;
  transform: rotate(-17deg);
}
.store-paper .store-olive-mark { position: absolute; right: 12px; top: 15px; opacity: .65; }

.store-footer {
  padding-block: clamp(45px, 7vw, 81px) 18px;
  background: color-mix(in srgb, var(--soft), var(--paper) 40%);
}
.store-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: clamp(17px, 3vw, 38px);
  padding-bottom: 39px;
}
.store-footer-brand p { margin-top: 12px; max-width: 25ch; color: var(--muted); font-size: .9rem; }
.store-footer nav { display: grid; align-content: start; justify-items: start; }
.store-footer nav h2 { margin: 8px 0 9px; font-size: .96rem; font-weight: 730; letter-spacing: -.015em; }
.store-footer nav a:not(.brand) { padding-block: 5px; color: var(--muted); font-size: .875rem; }
.store-footer nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: .25em; }
.store-footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.storefront summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[data-theme="dark"] .store-footer .store-olive-mark { color: #a4ae73; }

@media (max-width: 900px) {
  .store-wrap { width: calc(100% - 72px); }
  .store-pair { gap: 41px; min-height: 0; }
}

@media (min-width: 901px) {
  .store-hero .store-pair { min-height: 0; padding-block: 42px 66px; }
}

@media (min-width: 981px) {
  .store-hero .store-pair { grid-template-columns: minmax(0, .84fr) minmax(0, 1.38fr); gap: clamp(36px, 5vw, 67px); }
}

@media (max-width: 980px) {
  .store-hero .store-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .store-hero .store-copy { width: min(100%, 630px); margin-inline: auto; }
  .store-hero .store-copy h1 { max-width: 16ch; }
  .store-hero-scene { width: min(100%, 660px); margin-inline: auto; }
}

@media (max-width: 700px) {
  .store-wrap { width: calc(100% - 36px); }
  .store-section { --halo-x: 50%; background-size: 100% 80%; background-position: bottom; background-repeat: no-repeat; }
  .store-section.store-alternate { --halo-x: 50%; }
  .store-pair, .store-alternate .store-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 31px;
    padding-block: 51px 36px;
  }
  .store-alternate .store-copy { grid-column: auto; grid-row: auto; }
  .store-copy { width: min(100%, 465px); margin-inline: auto; }
  .store-copy h1 { font-size: clamp(2.8rem, 9.5vw, 4rem); }
  .store-copy h2 { font-size: clamp(2.25rem, 8.45vw, 3.4rem); }
  .store-copy p:not(.store-context, .store-note) { margin-top: 17px; }
  .store-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 13px; padding-bottom: 26px; }
  .store-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .store-hero .store-pair { padding-top: 22px; gap: 20px; }
  .store-hero .store-copy h1 { font-size: clamp(2rem, 8vw, 3.25rem); max-width: none; }
  .store-hero .store-copy p:not(.store-note) { font-size: 1rem; }
  .store-hero .store-primary { margin-top: 14px; }
  .store-hero .store-note { margin-top: 10px; max-width: none; }
  .store-hero-scene { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .store-paper { width: min(100%, 380px); margin-inline: auto; padding: 11px 12px 13px; transform: rotate(-1.3deg); }
  .store-paper-brand { margin: 0 0 7px; font-size: 1.25rem; }
  .store-paper-brand span { display: inline; margin-inline-start: 6px; font-size: .62rem; }
  .store-paper-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 7px; }
  .store-paper section { margin-top: 5px; }
  .store-paper h2 { margin-bottom: 2px; font-size: .69rem; }
  .store-paper dl div { gap: 3px; padding: 2px 0; font-size: .63rem; }
}

@media (max-width: 560px) {
  .store-hero .store-hero-scene > .app-shot { width: min(100%, clamp(114px, calc((100svh - 385px) * .45), 248px)); }
}

@media (min-width: 561px) and (max-width: 980px) {
  .store-hero .store-pair { min-height: 0; padding-top: 32px; }
  .store-hero .store-copy h1 { font-size: clamp(2.5rem, 5.3vw, 3.8rem); }
  .store-hero .store-hero-scene > .app-shot { width: min(100%, 290px, max(160px, calc((100svh - 475px) * .46))); }
}

@media (max-width: 560px) and (max-height: 720px) {
  .store-hero .store-pair {
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    align-items: start;
    min-height: 0;
    gap: 12px 14px;
  }
  .store-hero .store-copy, .store-hero .store-hero-scene { display: contents; }
  .store-hero .store-copy h1 { grid-column: 1 / -1; }
  .store-hero .store-copy p:not(.store-note) { grid-column: 1; grid-row: 2; margin-top: 0; font-size: .9375rem; }
  .store-hero .store-primary { grid-column: 1; grid-row: 3; align-self: start; margin-top: 0; min-height: 44px; padding-inline: 10px; }
  .store-hero .store-note { grid-column: 1; grid-row: 4; margin-top: 0; font-size: .8rem; }
  .store-hero .store-hero-scene > .app-shot { grid-column: 2; grid-row: 2 / span 3; width: 100%; }
  .store-hero .store-paper { grid-column: 1 / -1; grid-row: 5; margin-top: 10px; }
}

.store-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
