:root {
  --paper: #f7f1e8;
  --paper-deep: #eadfce;
  --surface: #fffaf3;
  --ink: #171817;
  --muted: #69645d;
  --line: #d8cfc1;
  --teal: #0d5e61;
  --green: #24463e;
  --coral: #d96e52;
  --saffron: #d99a22;
  --night: #1c2a31;
  --shadow: 0 18px 60px rgba(30, 27, 23, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(23, 24, 23, .1);
  background: rgba(247, 241, 232, .86);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.cart-button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(23, 24, 23, .18);
  border-radius: 8px;
  background: var(--surface) url("assets/brand/logo-official-icon.png") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(30, 27, 23, .1);
}

.main-nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #3d3933;
  font-size: .95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--coral);
}

.cart-button,
.button,
.icon-button,
.filter-pill,
.quantity-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.cart-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -7px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-size: .78rem;
}

.shipping-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(23, 24, 23, .12);
  background: var(--teal);
  color: #fffdf8;
  font-size: .92rem;
  text-align: center;
}

.shipping-promo strong {
  font-weight: 900;
}

.shipping-promo span {
  color: rgba(255, 253, 248, .82);
}

.shipping-promo a {
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 68vh, 700px);
  padding: clamp(48px, 6.5vw, 84px) clamp(22px, 7vw, 88px) clamp(24px, 3.5vw, 44px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, .96) 0%, rgba(247, 241, 232, .76) 37%, rgba(247, 241, 232, .05) 70%),
    linear-gradient(0deg, rgba(23, 24, 23, .28), rgba(23, 24, 23, 0) 28%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  width: min(560px, 92vw);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.studio h2,
.cart-head h2,
.modal h2 {
  margin: 0;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 8.5ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  font-weight: 700;
}

.hero-text {
  width: min(510px, 100%);
  margin: 24px 0 0;
  color: #3b3731;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible,
.cart-button:hover,
.cart-button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  color: #fffdf8;
  box-shadow: 0 12px 30px rgba(217, 110, 82, .26);
}

.button-secondary {
  border: 1px solid var(--ink);
  background: rgba(255, 250, 243, .72);
}

.button-dark {
  background: var(--ink);
  color: var(--surface);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-strip div {
  min-height: 104px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--surface);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.catalog,
.wall-sets,
.studio {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1260px;
  margin: 0 auto 26px;
}

.section-heading h2,
.studio h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(290px, 2fr) minmax(170px, .7fr);
  gap: 14px;
  max-width: 1260px;
  margin: 0 auto 14px;
  align-items: end;
}

.search-field,
.select-field,
.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-field input,
.select-field select,
.checkout-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: .98rem;
  font-weight: 650;
  letter-spacing: 0;
  outline: none;
  padding: 0 14px;
  text-transform: none;
}

.search-field input:focus,
.select-field select:focus,
.checkout-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 94, 97, .12);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 48px;
}

.filter-pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: #3c3934;
  font-weight: 850;
}

.filter-pill.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.result-line {
  min-height: 24px;
  max-width: 1260px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: .95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(23, 24, 23, .04);
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-media > img {
  width: min(82%, 245px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(29, 26, 23, .18);
}

.media-gallery {
  --clean-width: 48%;
  --room-width: 25%;
  --room-left: 50%;
  --living-top: 15%;
  --bedroom-top: 13%;
  --piece-padding: 0;
  --piece-border: 1px solid rgba(23, 24, 23, .16);
  --piece-shadow: 0 18px 38px rgba(30, 27, 23, .2);
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.media-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.media-track::-webkit-scrollbar {
  display: none;
}

.media-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.media-slide-print {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(217, 154, 34, .16), transparent 34%),
    linear-gradient(135deg, rgba(13, 94, 97, .08), rgba(217, 110, 82, .1)),
    var(--paper-deep);
}

.clean-print-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.mockup-room-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 243, .04), rgba(30, 27, 23, .08));
}

.mockup-piece {
  position: absolute;
  left: 50%;
  top: 11%;
  z-index: 2;
  width: var(--clean-width);
  padding: var(--piece-padding);
  border: var(--piece-border);
  background: var(--surface);
  box-shadow: var(--piece-shadow);
  transform: translateX(-50%);
}

.media-slide-room .mockup-piece {
  left: var(--room-left);
  top: var(--living-top);
  width: var(--room-width);
}

.media-slide-bedroom .mockup-piece {
  top: var(--bedroom-top);
}

.mockup-piece img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--surface);
}

.media-gallery[data-preview-size="small"] {
  --clean-width: 39%;
  --room-width: 19%;
  --living-top: 20%;
  --bedroom-top: 18%;
}

.media-gallery[data-preview-size="medium"] {
  --clean-width: 48%;
  --room-width: 25%;
  --living-top: 15%;
  --bedroom-top: 13%;
}

.media-gallery[data-preview-size="large"] {
  --clean-width: 58%;
  --room-width: 33%;
  --living-top: 10%;
  --bedroom-top: 9%;
}

.media-gallery[data-preview-finish="matte"] {
  --piece-padding: 0;
  --piece-border: 1px solid rgba(23, 24, 23, .16);
  --piece-shadow: 0 18px 38px rgba(30, 27, 23, .2);
}

.media-gallery[data-preview-finish="canvas"] {
  --piece-padding: 0;
  --piece-border: 5px solid #f2e7d7;
  --piece-shadow: 8px 10px 0 #cbb89f, 0 21px 38px rgba(30, 27, 23, .24);
}

.media-gallery[data-preview-finish="framed"] {
  --piece-padding: 4.5%;
  --piece-border: 7px solid #151515;
  --piece-shadow: 0 24px 46px rgba(18, 17, 15, .3);
}

.media-gallery[data-preview-finish="framed"] .mockup-piece::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-top: 1px solid rgba(255, 255, 255, .42);
  pointer-events: none;
}

.media-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 7px;
  padding: 5px 7px;
  border: 1px solid rgba(23, 24, 23, .12);
  border-radius: 999px;
  background: rgba(255, 250, 243, .82);
  box-shadow: 0 8px 18px rgba(30, 27, 23, .12);
  transform: translateX(-50%);
}

.media-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 24, 23, .34);
  cursor: pointer;
}

.media-dot.is-active {
  background: var(--ink);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-kicker,
.line-meta,
.empty-cart {
  color: var(--muted);
  font-size: .9rem;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.product-title-row h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.price {
  white-space: nowrap;
  color: var(--teal);
  font-weight: 950;
}

.selected-variant {
  margin-top: 5px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-desc {
  min-height: 46px;
  margin: 0;
  color: #514d47;
  line-height: 1.5;
}

.product-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-options label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-options select {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 8px;
  font-size: .9rem;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .button {
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  font-size: .9rem;
}

.wall-sets {
  background: var(--night);
  color: var(--surface);
}

.wall-sets .eyebrow {
  color: #f0b14d;
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
}

.set-panel {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: 330px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 250, 243, .18);
  border-radius: 8px;
  background: rgba(255, 250, 243, .06);
}

.set-posters {
  position: relative;
  min-height: 260px;
}

.set-posters img {
  position: absolute;
  width: 38%;
  max-width: 150px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.set-posters img:nth-child(1) {
  left: 0;
  top: 26px;
  transform: rotate(-5deg);
}

.set-posters img:nth-child(2) {
  left: 30%;
  top: 0;
  z-index: 2;
}

.set-posters img:nth-child(3) {
  right: 2%;
  top: 48px;
  transform: rotate(4deg);
}

.set-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.set-panel p {
  margin: 0 0 22px;
  color: rgba(255, 250, 243, .76);
  line-height: 1.58;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
}

.studio-copy p:last-child {
  max-width: 700px;
  color: #49453f;
  font-size: 1.08rem;
  line-height: 1.68;
}

.studio-stat {
  display: grid;
  gap: 12px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.studio-stat strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 11vw, 8.2rem);
  line-height: .86;
}

.studio-stat span {
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  padding: clamp(34px, 5vw, 58px) clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.45fr)
    minmax(130px, .5fr)
    minmax(150px, .55fr)
    minmax(180px, .6fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1260px;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 250, 243, .5);
  box-shadow: none;
}

.footer-brand p,
.footer-meta,
.footer-links {
  color: rgba(255, 250, 243, .72);
  line-height: 1.58;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  font-weight: 800;
}

.footer-links a {
  width: fit-content;
  border-bottom: 2px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: var(--saffron);
  color: #fff;
}

.footer-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: .92rem;
}

.utility-header .button {
  justify-self: end;
}

.info-page {
  min-height: 70vh;
}

.info-hero {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 84px) clamp(42px, 7vw, 84px);
  background:
    linear-gradient(135deg, rgba(13, 94, 97, .13), rgba(217, 154, 34, .1)),
    var(--paper);
}

.info-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: .94;
}

.info-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #3f3b35;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.66;
}

.policy-layout {
  display: grid;
  gap: 0;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) 0;
}

.policy-section {
  display: grid;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.policy-section:last-child {
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.policy-section p {
  max-width: 760px;
  margin: 0;
  color: #4f4a43;
  font-size: 1.02rem;
  line-height: 1.72;
}

.policy-section a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 39;
  pointer-events: none;
  background: rgba(23, 24, 23, .38);
  opacity: 0;
  transition: opacity .2s ease;
}

.scrim.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(440px, 100vw);
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform .25s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2,
.modal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 18px 2px;
}

.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
}

.cart-thumb-button {
  display: block;
  width: 70px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.cart-thumb-button img {
  width: 70px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 5px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.cart-thumb-button:hover img,
.cart-thumb-button:focus-visible img {
  border-color: var(--teal);
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: .98rem;
}

.line-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 9px;
}

.line-actions strong {
  margin-left: auto;
  white-space: nowrap;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.quantity-button {
  width: 32px;
  height: 30px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.quantity-control span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 900;
}

.cart-view-button,
.remove-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  white-space: nowrap;
}

.cart-view-button {
  color: var(--teal);
}

.remove-button {
  color: var(--coral);
}

.cart-summary {
  display: grid;
  gap: 9px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #4b4740;
}

.summary-row.total {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 950;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: min(940px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -47%) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) 1fr;
  gap: clamp(22px, 5vw, 46px);
  align-items: center;
  padding-right: 28px;
}

.modal-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  background: var(--paper-deep);
}

.modal-art > img {
  width: min(78%, 320px);
  box-shadow: 0 24px 48px rgba(29, 26, 23, .22);
}

.media-gallery-modal {
  height: 420px;
}

.media-gallery-modal .media-dots {
  bottom: 14px;
}

.modal-copy {
  display: grid;
  gap: 16px;
}

.modal-copy p {
  margin: 0;
  color: #4f4a43;
  line-height: 1.62;
}

.modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-options label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.modal-options select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 850;
}

.modal-price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(234, 223, 206, .42);
}

.modal-price-panel span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 850;
  line-height: 1.35;
}

.modal-price-panel strong {
  color: var(--teal);
  font-size: 1.28rem;
  font-weight: 950;
  white-space: nowrap;
}

.checkout-modal {
  width: min(560px, calc(100vw - 28px));
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding-right: 28px;
}

.checkout-copy {
  margin: 0;
  color: #4f4a43;
  line-height: 1.62;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
}

.checkout-total {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(420px, calc(100vw - 28px));
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.status-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.status-panel {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .96;
}

.status-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 26px;
  color: #4f4a43;
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .filter-group {
    grid-column: 1 / -1;
    order: 3;
  }

  .set-grid,
  .studio {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .brand span:last-child {
    max-width: 118px;
    line-height: 1.05;
  }

  .shipping-promo {
    display: grid;
    gap: 3px;
    min-height: 74px;
    padding-block: 10px;
    font-size: .86rem;
  }

  .hero {
    align-items: end;
    min-height: min(590px, calc(100svh - 116px));
    padding: 88px 18px 30px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(247, 241, 232, .96) 0%, rgba(247, 241, 232, .84) 42%, rgba(247, 241, 232, .08) 80%),
      linear-gradient(90deg, rgba(247, 241, 232, .8), rgba(247, 241, 232, .08));
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .hero-actions {
    display: flex;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-strip,
  .product-grid,
  .shop-toolbar,
  .set-panel,
  .modal-content,
  .modal-options {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    min-height: 88px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .studio h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .product-options {
    grid-template-columns: 1fr 1fr;
  }

  .set-posters {
    min-height: 220px;
  }

  .set-posters img {
    width: 40%;
  }

  .modal-art {
    min-height: 300px;
  }

  .media-gallery-modal {
    height: 300px;
  }

  .modal-price-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .utility-header {
    grid-template-columns: 1fr;
  }

  .utility-header {
    justify-items: start;
  }

  .utility-header .button {
    justify-self: start;
  }

  .info-hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
}

@media (max-width: 430px) {
  .cart-button {
    padding: 0 10px;
  }

  .cart-button span:nth-child(2) {
    display: none;
  }

  .product-options {
    grid-template-columns: 1fr;
  }

  .product-body {
    padding: 14px;
  }

  .cart-drawer {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
