/*
Theme Name: Inkpad Studio
Theme URI: 
Author: TAP Creative Solutions
Description: Mobile-first print shop theme for Inkpad Studio, with live previews and price calculators for fine art prints, stickers, banners and wall murals.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inkpad-studio
*/

/* ==========================================================================
   Inkpad Studio
   Mobile-first. Everything below is written for a phone first, then widened
   at 720px and 960px.

   1. Tokens          5. Hero and previews     9. Scenes (banner, mural)
   2. Base            6. Home sections        10. Buy bar
   3. Layout          7. Configurator         11. WordPress content
   4. Header/footer   8. Controls             12. Motion preferences
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --ink: #000;
  --paper: #fff;
  --cyan: #0f9ede;
  --magenta: #da1784;
  --magenta-deep: #a80f63;
  --pink: #ff5fb0;
  --gold: #ffd700;
  --orange: #ff8748;
  --grey-1: #e2e2e2;
  --grey-2: #b0b7b9;
  --grey-3: #848484;
  --text-soft: #333333;
  --stage: #161616;
  --wall: #2a2a2a;

  /* "owners-xwide" is the brand face from Adobe Fonts. It takes over as soon
     as an Adobe Fonts kit is loaded; Archivo Expanded is the stand-in. */
  --font-display: "owners-xwide", "Archivo", system-ui, sans-serif;
  --font-display-extra: "owners-xwide", "Archivo", system-ui, sans-serif;
  --font-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body-medium: "Fira Sans", system-ui, sans-serif;
  --font-body-bold: "Fira Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

img,
svg { max-width: 100%; }

img { height: auto; }

button,
input { font: inherit; color: inherit; }

button { border-radius: 0; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* 3. Layout --------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 56px; }

.section--dark { background: var(--ink); color: var(--paper); }

.split { display: grid; gap: 32px; }

.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  font-family: var(--font-body-bold);
}

.section--dark .eyebrow { color: var(--cyan); }

.display {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  font-variation-settings: "wdth" 125;
}

.h1 { font-size: 52px; line-height: 47px; letter-spacing: -0.72px; }

.h1 .gold { font-size: 48px; }

.h1--product { font-size: clamp(32px, 8vw, 52px); }

.h2 { font-size: 32px; line-height: 34px; }

.gold { color: var(--gold); }

.lead { margin: 0; font-size: 17px; line-height: 26px; color: var(--text-soft); }

.section--dark .lead { color: var(--grey-1); }

.note { margin: 0; font-size: 13px; color: var(--text-soft); }

.section--dark .note { color: var(--grey-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  font-family: var(--font-display-extra);
  font-stretch: 125%;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-variation-settings: "wdth" 125;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn--gold:hover { background: var(--paper); border-color: var(--paper); }

.btn--ghost { background: transparent; border-color: var(--paper); color: var(--paper); }

.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { min-height: 44px; padding: 0 16px; font-size: 12px; }

/* 4. Header and footer ---------------------------------------------------- */
.site-header { background: var(--ink); border-bottom: 4px solid var(--gold); }

.site-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 16px 12px;
}

.site-logo { display: block; line-height: 0; }

.site-logo img { display: block; height: 34.56px; width: auto; }

/* One swipeable row on a phone, with no visible scroll bar. */
.site-nav { order: 3; flex: 1 1 100%; min-width: 0; }

.site-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: space-between;
}

.site-nav ul::-webkit-scrollbar { display: none; }

.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--paper);
  font-family: var(--font-body-medium);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a { color: var(--gold); }

.site-footer { border-top: 4px solid var(--gold); background: var(--paper); }

.site-footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 0;
  padding-block: 32px;
  text-align: center;
}

.site-footer img { display: block; height: 40px; width: auto; }

.site-footer__tag {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body-bold);
}

.site-footer__meta { margin: 0; font-size: 14px; color: var(--text-soft); }

/* 5. Hero and previews ---------------------------------------------------- */
.hero__in { display: grid; gap: 40px; padding-block: 40px 48px; }

.hero__in > [data-ip="hero"] { gap: 16px; }

@media (max-width: 719px) {
  .hero__in .btn-row { display: grid; width: 100%; }
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--stage);
}

.stage--hero { height: 380px; border: 1px solid var(--grey-3); }

.stage--product { height: 460px; padding-bottom: 34px; }

.stage--sticker { height: 400px; padding-bottom: 34px; }

.stage__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  padding-inline: 44px;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  color: var(--grey-1);
}

/* Gold crop marks in each corner of a stage. */
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid var(--gold); }

.crop--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }

.crop--tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }

.crop--bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }

.crop--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }

/* Placeholder artwork. Replace with real photos or the customer's upload. */
.art { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--gold); }

.art__dot {
  position: absolute;
  top: 8%;
  left: -14%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--magenta);
}

.art__slab {
  position: absolute;
  top: 26%;
  left: 44%;
  width: 44%;
  height: 58%;
  background: var(--cyan);
  transform: rotate(13deg);
}

.art__ring {
  position: absolute;
  bottom: 8%;
  left: 8%;
  width: 46%;
  aspect-ratio: 1;
  border: 10px solid var(--ink);
  border-radius: 50%;
}

.art__img { position: absolute; inset: 0; background-position: center; background-size: cover; }

.art--magenta { background: var(--magenta); }

.art--magenta .art__dot { background: var(--gold); }

.art--cyan { background: var(--cyan); }

.art--cyan .art__dot { background: var(--gold); }

.art--cyan .art__slab { background: var(--magenta); }

.mock { flex-shrink: 0; max-width: calc(100% - 36px); animation: swap-in 0.35s ease; }

@keyframes swap-in {
  from { opacity: 0; transform: translateY(14px) rotate(-1.5deg); }
  to { opacity: 1; transform: none; }
}

.mock--print { width: 250px; height: 320px; padding: 22px; background: var(--paper); }

.mock--stickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 0.7fr;
  gap: 14px;
  width: 290px;
  height: 320px;
  padding: 18px;
  background: var(--grey-1);
}

.mock--stickers .cut { padding: 8px; background: var(--paper); }

.mock--stickers .cut--circle,
.mock--stickers .cut--circle .art { border-radius: 50%; }

.mock--stickers .cut--wide { grid-column: 1 / -1; }

.mock--poster { position: relative; width: 260px; height: 360px; }

.mock--banner { position: relative; width: min(86%, 440px); height: 170px; }

.mock__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(20px, 6vw, 32px);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

.mock__text--corner { align-items: flex-end; justify-content: flex-end; padding: 0 18px 22px; text-align: right; color: var(--paper); }

.grommet {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--grey-1);
  border-radius: 50%;
  background: var(--stage);
}

.grommet--tl { top: 9px; left: 9px; }

.grommet--tr { top: 9px; right: 9px; }

.grommet--bl { bottom: 9px; left: 9px; }

.grommet--br { bottom: 9px; right: 9px; }

/* 6. Home sections -------------------------------------------------------- */
.section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 300px));
  justify-content: center;
  gap: 16px;
}

#products .section__head {
  align-items: center;
  text-align: center;
}

#products .card { height: 244px; }

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-2);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover { transform: translateY(-6px); border-color: var(--ink); }

.card__bar { height: 10px; background: var(--bar, var(--gold)); }

.card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px 22px 26px; }

.card__title {
  margin: 0;
  font-family: var(--font-display-extra);
  font-stretch: 125%;
  font-weight: 800;
  font-style: italic;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
}

.card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-soft); }

.card__more { margin-top: auto; padding-top: 12px; font-family: var(--font-body-bold); font-size: 16px; font-weight: 700; }

.readout {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  font-variation-settings: "wdth" 125;
}

/* Scale check: a print on a wall beside a person. Sized by inkpad.js. */
.wall { position: relative; overflow: hidden; background: var(--wall); }

.wall__floor {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 2px solid var(--grey-3);
  background: var(--stage);
}

.wall__person { position: absolute; left: 10%; }

.wall__print {
  position: absolute;
  left: 46%;
  background: var(--paper);
  transition: width 0.35s ease, height 0.35s ease, bottom 0.35s ease;
}

.photo-slot {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--gold);
  text-align: center;
}

.photo-slot__title {
  margin: 0;
  font-family: var(--font-display-extra);
  font-stretch: 125%;
  font-weight: 800;
  font-style: italic;
  font-size: 17px;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
}

.photo-slot__text { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-family: var(--font-body-bold);
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 36px; }

.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 4px solid var(--c, var(--gold)); }

.step__num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--c-text, var(--c, var(--gold)));
  font-variation-settings: "wdth" 125;
}

.step__title { margin: 0; font-family: var(--font-body-bold); font-size: 20px; font-weight: 700; }

.step__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--grey-1); }

/* 7. Configurator --------------------------------------------------------- */
.product { display: grid; gap: 28px; padding-block: 28px 48px; }

.product__preview,
.product__options { display: flex; min-width: 0; flex-direction: column; gap: 18px; }

.product__options { gap: 26px; }

.product__intro { display: flex; flex-direction: column; gap: 12px; }

.sheet {
  flex-shrink: 0;
  background: var(--paper);
  transition: width 0.35s ease, height 0.35s ease, padding 0.35s ease, background-color 0.2s ease;
}

.sheet--museum { background: #fbf8f0; }

.cut {
  flex-shrink: 0;
  background: var(--paper);
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease;
}

.cut--clear { border: 2px dashed var(--grey-2); background: transparent; }

.cut--clear .art { opacity: 0.82; }

.sheen {
  position: absolute;
  top: -20%;
  left: 18%;
  width: 22%;
  height: 140%;
  background: var(--paper);
  opacity: 0;
  transform: rotate(24deg);
  transition: opacity 0.25s ease;
}

.sheen--on { opacity: 0.28; }

.upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 2px dashed var(--grey-3);
  cursor: pointer;
}

.upload svg { flex-shrink: 0; }

.upload__body { display: flex; min-width: 0; flex-direction: column; gap: 4px; }

.upload__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
}

.upload__hint { font-size: 15px; color: var(--text-soft); overflow-wrap: anywhere; }

.upload input { max-width: 100%; margin-top: 6px; font-size: 14px; }

.callout { padding: 20px 22px; border: 1px solid var(--gold); }

.callout__title {
  margin: 0 0 12px;
  padding: 6px 12px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.callout ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; list-style: circle; font-size: 15px; line-height: 1.5; }

.summary { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 4px solid var(--ink); }

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--magenta);
  font-size: 16px;
}

.summary__row b { white-space: nowrap; }

.summary__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-top: 6px; }

.summary__total span { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

.summary__total strong {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(32px, 9vw, 44px);
  line-height: 1;
}

.summary__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-soft); }

.badge {
  align-self: flex-start;
  padding: 5px 10px;
  background: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }

.stat { padding: 14px 6px; text-align: center; }

.stat + .stat { border-left: 1px solid var(--ink); }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
}

.stat span { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* 8. Controls ------------------------------------------------------------- */
.opt { min-width: 0; margin: 0; padding: 0; border: 0; }

.opt__label {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.opt__sub { display: block; font-size: 15px; font-weight: 500; }

.opt__row { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }

.opt__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-soft); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pills--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.pill {
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--grey-3);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display-extra);
  font-stretch: 125%;
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-variation-settings: "wdth" 125;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.pills--dark .pill { background: transparent; color: var(--paper); }

.pills--dark .pill[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--ink); }

.pill--card { padding: 16px 18px; text-align: left; }

.pill--card b { display: block; font-size: 16px; }

.pill--card small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-stretch: normal;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.pill--plain {
  min-height: 44px;
  padding: 0 14px;
  border-width: 1px;
  font-family: var(--font-body);
  font-stretch: normal;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); }

.stepper button { width: 48px; min-height: 48px; border: 0; background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }

.stepper output {
  display: flex;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  border-inline: 2px solid var(--ink);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 22px;
}

.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--ink); }

.tier { padding: 12px 2px; text-align: center; color: var(--text-soft); }

.tier + .tier { border-left: 1px solid var(--ink); }

.tier[data-on] { background: var(--gold); color: var(--ink); }

.tier__range { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }

.tier__price { margin-top: 4px; font-size: 14px; font-weight: 700; }

.nudge { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--magenta-deep); }

.range { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--magenta); }

.range--cyan { accent-color: var(--cyan); }

.input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font-size: 17px;
}

/* 9. Scenes: banner and mural drawn to scale. Units are set by inkpad.js -- */
.scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--wall);
  container-type: inline-size;
}

.scene__floor {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5cqw;
  border-top: 2px solid var(--grey-3);
  background: var(--stage);
}

.scene__person { position: absolute; bottom: 5cqw; fill: var(--grey-2); transition: all 0.3s ease; }

.scene__person--front { fill: var(--paper); stroke: var(--stage); stroke-width: 4; }

.scene__banner,
.scene__mural { position: absolute; width: auto; height: auto; transition: all 0.3s ease; }

.scene__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
}

.scene__hem { position: absolute; inset: 0.5cqw; border: 1px dashed var(--ink); opacity: 0.55; }

.scene__dot {
  position: absolute;
  border: 1px solid var(--grey-1);
  border-radius: 50%;
  background: var(--stage);
  transform: translate(-50%, -50%);
}

.scene__seam { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--ink); opacity: 0.7; }

/* 10. Buy bar: total and call to action pinned to the bottom of the screen */
.buybar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  border-top: 4px solid var(--gold);
  background: var(--ink);
  color: var(--paper);
}

.buybar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
}

.buybar__sum { display: flex; min-width: 0; flex-direction: column; }

.buybar__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-1); }

.buybar__total {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
}

/* 11. WordPress content: posts, plain pages and WooCommerce screens ------- */
.entry { max-width: 760px; margin-inline: auto; padding: 40px var(--gutter) 64px; }

.entry--wide { max-width: var(--wrap); }

.entry__title { margin-bottom: 24px; font-size: clamp(30px, 7vw, 46px); }

.entry a { color: var(--magenta-deep); }

.entry h2,
.entry h3 { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.1; }

.entry .alignwide { max-width: var(--wrap); }

.entry__item + .entry__item { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--grey-1); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Wider screens ----------------------------------------------------------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }

  .section { padding-block: 64px; }

  .site-logo img { height: 48px; }

  .site-header__in { padding-block: 18px; }

  .site-nav a { font-size: 15px; }

  .hero__in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 32px;
    padding-block: 48px 56px;
  }

  .h1 { font-size: 48px; line-height: 45px; }

  .h1 .gold { font-size: 44px; }

  .h2 { font-size: 36px; line-height: 38px; }

  .lead { font-size: 18px; line-height: 27.9px; }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 32px;
  }

  .split--top { align-items: stretch; }

  .photo-slot { height: 420px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

  .site-footer__in {
    flex-direction: row;
    gap: 20px;
    padding-block: 36px;
    text-align: left;
  }

  .stage--product { height: 520px; }

  .stage--sticker { height: 420px; }

  .scene { aspect-ratio: 16 / 9; }

  .section__head { margin-bottom: 32px; }

  .cards { gap: 20px; }

  .buybar__total { font-size: 26px; }
}

@media (min-width: 960px) {
  :root { --gutter: 24px; }

  .section { padding-block: 88px; }

  .section__head { margin-bottom: 40px; }

  .site-header__in { flex-wrap: nowrap; padding-block: 18px; }

  .site-nav { order: 0; flex: 0 1 auto; margin-left: auto; }

  .site-header__cta { order: 1; }

  .site-nav ul { gap: 28px; }

  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 72px 88px; }

  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }

  .split--top { align-items: stretch; }

  .h1 { font-size: clamp(52px, 5vw, 72px); line-height: 0.98; }

  .h1 .gold { font-size: inherit; }

  .h2 { font-size: clamp(36px, 3.2vw, 46px); line-height: 1; }

  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; padding-block: 48px 72px; }

  .product__preview { position: sticky; top: 24px; }
}

@media (min-width: 996px) {
  .site-header__in {
    justify-content: flex-start;
    column-gap: 86px;
  }

  .site-nav { margin-left: 0; }

  .hero__in > .stack:first-child .btn-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__in > [data-ip="hero"] { gap: 20px; }

  .stage--hero { height: 440px; }

  .h1 {
    font-size: 72px;
    line-height: 59px;
  }

  .h1 .gold {
    font-size: 64px;
    line-height: 59px;
    font-variation-settings: "wdth" 100;
  }

  .h2 {
    font-size: 46px;
    line-height: 46px;
  }

  #products .cards {
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
  }

  #products .card:last-child {
    grid-column: 2;
  }

  .photo-slot { height: auto; }

  .steps { gap: 28px; }
}

/* 12. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
}
