:root {
  --sand-backdrop: #e8dfd0;
  --sand-sheet: #faf5ec;
  --ember-rust: #c4552d;
  --ember-deep: #a2421f;
  --wheat-pill: #f0d9b5;
  --cocoa-ink: #4a2f1b;
  --linen-line: #d9c7a8;
  --cream-text: #faf5ec;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand-backdrop);
  color: var(--cocoa-ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ember-rust);
}

.sand-page {
  min-height: 100vh;
  width: 100%;
}

.sand-shell {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--sand-sheet);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(74, 47, 27, 0.12);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Hero */
.amber-hero {
  padding: 28px 20px 24px;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--ember-deep);
  font-weight: 600;
  font-size: 16px;
}

.hero-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cocoa-ink);
}

.hero-spec {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--wheat-pill);
  color: var(--cocoa-ink);
  font-weight: 600;
  font-size: 15px;
}

.hero-frame {
  position: relative;
  margin: 18px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linen-line);
  background: #fff8ee;
  aspect-ratio: 1 / 1;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ember-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  transform: rotate(-6deg);
  padding: 8px 12px;
  border: 2px dashed var(--cream-text);
  border-radius: 6px;
  background: var(--ember-rust);
  color: var(--cream-text);
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(74, 47, 27, 0.25);
}

/* CTA */
.ember-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 18px 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ember-rust);
  color: var(--cream-text);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(196, 85, 45, 0.25);
}

.ember-cta:hover,
.ember-cta:focus-visible {
  background: var(--ember-deep);
}

.band-title {
  margin: 20px 20px 14px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--cocoa-ink);
}

/* Usage tiles */
.usage-band {
  padding: 0 20px 4px;
}

.usage-tile {
  position: relative;
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linen-line);
  background: #fff;
}

.usage-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.usage-tag {
  position: absolute;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--wheat-pill);
  color: var(--cocoa-ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 0 4px 10px rgba(74, 47, 27, 0.15);
}

.usage-tag-right {
  right: 12px;
}

.usage-tag-left {
  left: 12px;
}

/* Story */
.story-block {
  padding: 4px 20px 0;
}

.lead-line {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--cocoa-ink);
}

.story-text {
  margin: 0 0 14px;
  font-size: 16px;
}

.story-photo {
  margin: 16px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linen-line);
  background: #fff;
  aspect-ratio: 1 / 1;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Specs */
.spec-band {
  padding-bottom: 4px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 20px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--linen-line);
  border-radius: 14px;
  background: #fff;
}

.spec-cell span {
  font-size: 14px;
  color: var(--ember-deep);
  font-weight: 600;
}

.spec-cell strong {
  font-size: 17px;
  line-height: 1.3;
}

.spec-note {
  margin: 14px 20px 0;
  font-size: 15px;
}

/* Perk pills */
.perk-band {
  padding: 8px 0 0;
}

.perk-line {
  display: flex;
  margin: 10px 20px;
}

.perk-line-right {
  justify-content: flex-end;
}

.perk-line-left {
  justify-content: flex-start;
}

.perk-pill {
  margin: 0;
  max-width: 88%;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wheat-pill);
  color: var(--cocoa-ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

/* Gallery */
.gallery-band {
  padding-bottom: 6px;
}

.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 20px 16px;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 85%;
  scroll-snap-align: center;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linen-line);
  background: #fff;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Shipping */
.ship-band {
  padding: 0 20px;
}

.ship-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--linen-line);
  border-radius: 16px;
  background: #fff;
}

.ship-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wheat-pill);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.ship-item h3 {
  margin: 0 0 4px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 18px;
}

.ship-item p {
  margin: 0;
  font-size: 15px;
}

/* Price */
.price-plate {
  margin: 20px 20px 0;
  padding: 22px 16px;
  border-radius: 20px;
  border: 1px solid var(--linen-line);
  background: var(--wheat-pill);
  text-align: center;
}

.plate-label {
  margin: 0 0 4px;
  color: var(--ember-deep);
  font-weight: 700;
  font-size: 15px;
}

.plate-amount {
  margin: 0;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--cocoa-ink);
}

.plate-note {
  margin: 6px 0 0;
  font-size: 15px;
}

/* Order form */
.order-panel {
  margin: 20px 20px 0;
  padding: 22px 18px 24px;
  border-radius: 20px;
  border: 1px solid var(--linen-line);
  background: #fff;
  scroll-margin-top: 16px;
}

.order-title {
  margin: 0 0 8px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.order-sub {
  margin: 0 0 18px;
  text-align: center;
  font-size: 15px;
}

.order-field {
  display: block;
  margin-bottom: 14px;
}

.order-field span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}

.order-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--linen-line);
  border-radius: 14px;
  background: var(--sand-sheet);
  color: var(--cocoa-ink);
  font-family: inherit;
  font-size: 16px;
}

.order-field input:focus {
  outline: 2px solid var(--ember-rust);
  outline-offset: 1px;
}

.order-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  background: var(--ember-rust);
  color: var(--cream-text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.order-submit:hover,
.order-submit:focus-visible {
  background: var(--ember-deep);
}

.order-consent {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
}

/* Footer */
.sand-footer {
  margin-top: 28px;
  padding: 28px 20px 32px;
  background: var(--cocoa-ink);
  color: var(--cream-text);
  text-align: center;
  font-size: 15px;
}

.sand-footer a {
  color: var(--wheat-pill);
}

.foot-brand {
  margin: 0 0 8px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.foot-line {
  margin: 0 0 4px;
}

.foot-links {
  margin: 14px 0;
  line-height: 1.8;
}

.foot-copy {
  margin: 8px 0 0;
  font-size: 13px;
}

/* Thank-you and policy pages */
.page-head {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--linen-line);
}

.page-head a {
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cocoa-ink);
  text-decoration: none;
}

.thank-body {
  padding: 40px 20px 32px;
  text-align: center;
}

.thank-title,
.policy-title {
  margin: 0 0 16px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.thank-body p {
  margin: 0 0 14px;
}

.thank-body .ember-cta {
  margin: 24px 0 0;
}

.policy-body {
  padding: 24px 20px 32px;
}

.policy-body .policy-intro {
  margin: 0 0 18px;
  font-size: 15px;
}

.policy-body h2 {
  margin: 22px 0 8px;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ember-deep);
}

.policy-body p {
  margin: 0 0 10px;
  font-size: 16px;
}

.policy-body .ember-cta {
  margin: 26px 0 0;
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 25px;
  }

  .plate-amount {
    font-size: 34px;
  }

  .spec-cell strong {
    font-size: 16px;
  }
}