/* Tapsini's visual theme. Product material colours live separately in config.js. */
:root {
  --paper: #fff9ed;
  --ink: #171717;
  --muted: #49483f;
  --line: #171717;
  --green: #171717;
  --sage: #c7ebc9;
  --yellow: #f9ed69;
  --lavender: #c4b5fd;
  --mint: #c7ebc9;
  --coral: #ffa588;
  --white: #fffefa;
  --error: #9e241e;
  --focus: #234ed8;
  --rule: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: "Arial Black", Arial, Helvetica, sans-serif;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}
html {
  scroll-padding-bottom: 30px;
}
body {
  background: var(--paper);
}
.hero > *,
.customiser-grid > *,
.product-grid > *,
.product-info > div,
.board-option > span,
.quantity-grid > * {
  min-width: 0;
}

/* A print-shop identity: bold type, solid ink and a little imperfect geometry. */
.site-header {
  background: var(--paper);
  backdrop-filter: none;
  border-bottom: var(--rule);
}
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -1.7px;
  flex-shrink: 0;
}
.wordmark .brand-logo {
  display: block;
  width: 180px;
  height: auto;
}
.site-footer .brand-logo {
  width: 160px;
}
.brand-dot {
  color: var(--ink);
}
.brand-mark {
  padding: 7px;
  margin-right: 11px;
  background: var(--yellow);
  border: var(--rule);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-8deg);
}
.brand-mark i {
  background: var(--ink);
  border-radius: 0;
}
.brand-mark i:nth-child(3) {
  height: 24px;
}
.brand-mark i:nth-child(2) {
  height: 19px;
}
.brand-mark i:nth-child(1) {
  height: 12px;
}
.site-header nav {
  font-weight: 700;
}
.site-header nav a {
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.eyebrow,
.visual-topline,
.visual-bottomline,
.product-tag,
.preview-heading,
.preview-bottom,
.demo-label,
.tile-header > label,
.step-number,
.maker-stamp > span {
  font-family: var(--mono);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.hero .eyebrow {
  display: inline-block;
  background: var(--mint);
  border: var(--rule);
  padding: 6px 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.status-dot {
  background: var(--ink);
  border-radius: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
}
h2 {
  font-size: clamp(32px, 3.4vw, 47px);
  line-height: 1.08;
  letter-spacing: -1.7px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(50px, 4.9vw, 69px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 em,
h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 900;
  color: var(--ink);
}
.hero h1 em {
  display: inline-block;
  background: var(--yellow);
  border: var(--rule);
  padding: 0 0.07em 0.025em;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
  margin: 4px 0 6px -4px;
}
h2 em {
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 0.18em;
  text-underline-offset: -0.02em;
  text-decoration-skip-ink: none;
}
.hero-description {
  color: var(--muted);
  font-size: 16px;
}
.hero-note strong {
  font-weight: 900;
  background: var(--yellow);
  padding: 3px 5px;
  border: 1px solid var(--ink);
}
.hero-actions {
  flex-wrap: wrap;
  gap: 22px;
}
.text-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
}

/* Tactile controls. Focus uses blue so it is distinct from permanent black edges. */
.button {
  border: var(--rule);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}
.button-primary,
.button-light {
  background: var(--yellow);
  color: var(--ink);
}
.button-outline {
  background: var(--white);
  color: var(--ink);
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.button-primary:hover,
.button-light:hover {
  background: var(--mint);
}
.button-outline:hover {
  background: var(--lavender);
}
.button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}
.button[aria-disabled="true"],
.button:disabled {
  opacity: 0.6;
  box-shadow: none;
}
.button[aria-disabled="true"]:hover,
.button:disabled:hover {
  transform: none;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.swatch-option:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.skip-link {
  border: 2px solid var(--paper);
  box-shadow: var(--shadow);
}

/* The product stays black and white; the display frame carries colour. */
.hero-visual {
  border: var(--rule);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--ink);
  background-color: var(--lavender);
  background-image:
    linear-gradient(#17171712 1px, transparent 1px),
    linear-gradient(90deg, #17171712 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-visual::before {
  inset: auto -46px -70px auto;
  width: 230px;
  height: 230px;
  background: var(--yellow);
  border: var(--rule);
  border-radius: 50%;
}
.visual-topline {
  top: 0;
  left: 0;
  right: 0;
  padding: 13px 18px;
  border-bottom: var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 9px;
}
.visual-bottomline {
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-weight: 700;
  color: var(--ink);
  font-size: 8px;
}
.visual-bottomline small {
  color: var(--ink);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
}
.round-arrow {
  background: var(--paper);
  color: var(--ink);
  border: var(--rule);
  box-shadow: 2px 2px 0 var(--ink);
  flex-shrink: 0;
  font-weight: 800;
}
.hero-tag {
  background: var(--yellow);
  border: var(--rule);
  padding: 9px 13px;
  box-shadow: 3px 3px 0 var(--ink);
  top: 63px;
  left: 23px;
  transform: rotate(-7deg);
  font-size: 11px;
}
.hero-tag > span {
  color: var(--ink);
}
.hero-tag strong {
  font-weight: 900;
}
.visual-callout {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 4px 8px;
  bottom: 87px;
  right: 18px;
  font-size: 10px;
  font-weight: 700;
}
.callout-line {
  border-color: var(--ink);
  width: 22px;
}
.benefit-strip {
  background: var(--yellow);
  border-block: var(--rule);
}
.benefit-strip .container {
  padding-block: 19px;
  font-weight: 700;
}
.benefit-strip b {
  color: var(--ink);
  font-weight: 700;
}

/* Product cards feel like printed catalogue cards. */
.product-grid {
  gap: 30px;
}
.product-card {
  border: var(--rule);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.product-image {
  border-radius: 0;
  border-bottom: var(--rule);
}
.product-image-two {
  background: var(--mint);
}
.product-image-three {
  background: var(--lavender);
}
.product-availability {
  align-self: center;
  flex-shrink: 0;
  margin: 0;
  padding: 7px 10px;
  border: var(--rule);
  background: var(--lavender);
  font-size: 12px;
  font-weight: 800;
}
.coming-soon-note { font-size: 12px; font-weight: 700; }
.product-tag {
  color: var(--ink);
  background: var(--paper);
  border: var(--rule);
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 9px;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.image-caption {
  color: var(--ink);
  background: var(--paper);
  padding: 3px 6px;
  border: 1px solid var(--ink);
  font-size: 10px;
}
.product-info {
  padding: 22px 20px 0;
  gap: 14px;
}
.product-info h3 {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
}
.product-info p {
  color: var(--muted);
}
.product-info .product-price {
  background: var(--yellow);
  border: var(--rule);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 9px;
  flex-shrink: 0;
  font-weight: 900;
  line-height: 1.25;
}
.product-price small {
  font-family: var(--mono);
  color: var(--ink);
  font-size: 10px !important;
  font-weight: 400;
  padding-top: 4px;
}
.product-bottom {
  padding: 16px 20px;
  margin-top: 20px;
  border-top: var(--rule);
  color: var(--ink);
  gap: 20px;
}
.product-bottom a {
  flex-shrink: 0;
}
.included-row {
  background: var(--paper);
  border: var(--rule);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ink);
  margin-top: 32px;
  color: var(--muted);
}
.included-row strong {
  font-weight: 800;
}
.small-symbol {
  color: var(--ink);
  font-weight: 900;
}
.fine-print {
  margin-top: 20px;
}

/* An illustrated interlude. No extra promises or fabricated social proof. */
.demo-section {
  background: var(--mint);
  border-block: var(--rule);
}
.demo-grid h2 {
  font-weight: 900;
}
.demo-grid > div > p:not(.eyebrow) {
  color: var(--ink);
}
.demo-grid .demo-note {
  font-size: 13px !important;
}
.demo-tile {
  border-color: var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.demo-phone {
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--paper);
}
.phone-notch {
  background: var(--ink);
}
.phone-link-icon {
  background: var(--lavender);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.phone-pill {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  border-radius: 0;
}
.demo-stars,
.demo-connection,
.demo-label {
  color: var(--ink);
}
.demo-label {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 3px 7px;
  font-weight: 700;
}

/* The customiser uses the same visual grammar, with clear selected states. */
.preview-panel {
  background: var(--lavender);
  border: var(--rule);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--ink);
}
.preview-heading {
  padding: 16px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 9px;
}
.preview-heading .status-dot {
  background: var(--mint);
}
.live-stand {
  margin: 0;
}
.preview-bottom {
  background: var(--paper);
  border-top: var(--rule);
  color: var(--ink);
  padding: 13px 18px;
  font-weight: 700;
}
.preview-disclaimer {
  margin-top: 20px;
}
.preview-helper {
  border-top: var(--rule);
}
.preview-helper > span {
  color: var(--ink);
}
.preview-helper strong {
  font-weight: 800;
}
.form-section {
  border-bottom: var(--rule);
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.form-section legend {
  font-family: var(--display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.form-section legend > span {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 31px;
  background: var(--yellow);
  border: var(--rule);
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.board-options {
  gap: 14px;
}
.board-option,
.layout-option,
.swatch-option {
  border: var(--rule);
  border-radius: 0;
  background: var(--white);
}
.board-option {
  padding: 16px;
}
.board-option:has(input:checked),
.layout-option:has(input:checked),
.swatch-option:has(input:checked) {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}
.board-option strong {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
}
.board-option small {
  font-size: 12px;
  color: var(--muted);
}
.board-option b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.board-option-unavailable {
  cursor: not-allowed;
  background: #eeebe4;
  border-style: dashed;
}
.board-option-unavailable b {
  font-family: inherit;
  font-size: 11px;
  padding: 5px 7px;
  border: 1px solid var(--ink);
  background: var(--lavender);
}
input[type="radio"] {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
}
.layout-options {
  gap: 13px;
}
.layout-option {
  font-weight: 700;
  font-size: 11px;
  padding: 16px 7px 12px;
}
.layout-option input {
  top: 7px;
  left: 7px;
  width: 13px;
  height: 13px;
}
.swatch-options {
  gap: 12px;
  flex-wrap: wrap;
}
.swatch-option {
  min-height: 40px;
  padding: 8px 10px;
  font-weight: 700;
}
.swatch-dot {
  border: 1px solid var(--ink);
}
.field-label {
  font-weight: 800;
  font-size: 13px;
}
.field-label > span {
  color: var(--muted);
}
input[type="text"],
input[type="url"],
input[type="number"],
select,
textarea {
  border: var(--rule);
  border-radius: 0;
  background: var(--white);
  min-height: 48px;
  font-size: 14px;
}
input::placeholder {
  color: #56564e;
  font-size: 13px;
}
input[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff1eb;
  box-shadow: 2px 2px 0 var(--error);
}
.field-hint,
.field-intro {
  color: var(--muted);
}
.field-error {
  font-size: 13px;
  font-weight: 700;
}
.upload-label {
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: 0;
}
.upload-label:hover {
  background: var(--mint);
}
.upload-label strong {
  font-size: 13px;
  font-weight: 800;
}
.upload-label #logo-file-description {
  font-size: 12px;
}
.upload-label small {
  font-size: 11px;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background: var(--lavender);
  border: var(--rule);
  font-weight: 800;
}
.file-input {
  font-size: 12px;
}
.file-input::file-selector-button {
  border: var(--rule);
  border-radius: 0;
  background: var(--mint);
  padding: 8px 12px;
  font-weight: 700;
}
.tile-field {
  background: var(--paper);
  border: var(--rule);
  border-radius: 0;
  padding: 16px;
}
.tile-header > label {
  font-size: 10px;
  font-weight: 700;
}
.tile-header select {
  border-color: var(--ink);
  min-height: 44px;
  font-size: 14px;
}
.quote-summary {
  background: var(--mint);
  border: var(--rule);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 24px;
}
.quote-line {
  color: var(--ink);
  font-size: 13px;
}
.quote-line > span:last-child {
  white-space: nowrap;
}
.quote-total {
  border-top: var(--rule);
  font-weight: 800;
  color: var(--ink);
}
.quote-total output {
  font-family: var(--display);
  font-weight: 900;
  font-size: 33px;
}
.quote-summary > p {
  color: var(--ink);
}
.error-summary {
  border: 2px solid var(--error);
  box-shadow: 3px 3px 0 var(--error);
  background: #fff1eb;
}

/* Framed editorial sections carry the rhythm through the whole page. */
.order-section {
  background: var(--lavender);
  border-block: var(--rule);
}
.order-section .section-heading > p {
  color: var(--ink);
}
.order-steps {
  gap: 23px;
}
.order-steps li {
  background: var(--paper);
  border: var(--rule);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 20px;
}
.order-steps li:nth-child(2) {
  background: var(--yellow);
}
.order-steps li:nth-child(3) {
  background: var(--mint);
}
.order-steps li:nth-child(4) {
  background: var(--coral);
}
.step-number {
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  padding-top: 0;
  border-top: 0;
}
.order-steps h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
}
.order-steps p {
  color: var(--ink);
}
.faq-list {
  border-top: 0;
}
.faq-list details {
  background: var(--white);
  border: var(--rule);
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.faq-list details[open] {
  background: var(--yellow);
}
.faq-list summary {
  padding: 17px 18px;
  font-size: 14px;
  font-weight: 800;
  gap: 16px;
}
.faq-list summary > span {
  color: var(--ink);
  font-size: 23px;
  font-weight: 700;
}
.faq-list details p {
  color: var(--ink);
  margin: 0;
  padding: 0 18px 19px;
}
.maker-section {
  border-top: var(--rule);
}
.maker-section h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 37px;
}
.maker-stamp {
  background: var(--coral);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  outline: 2px dashed var(--ink);
  outline-offset: -13px;
}
.maker-stamp strong {
  font-family: var(--display);
  font-style: normal;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -2px;
}
.maker-stamp > span {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
}
.closing-section {
  background: var(--yellow);
  color: var(--ink);
  border-block: var(--rule);
}
.closing-section h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 900;
}
.closing-section h2 em {
  color: var(--ink);
  text-decoration-color: var(--lavender);
}
.closing-section .eyebrow,
.closing-section p:last-child {
  color: var(--ink);
}
.closing-section .button {
  background: var(--lavender);
}
.closing-section .button:hover {
  background: var(--mint);
}
.site-footer > small {
  border-top: var(--rule);
  font-size: 11px;
}

/* The final review gets the same clear hierarchy and tactile controls. */
dialog {
  border: var(--rule);
  border-radius: 0;
  box-shadow: 9px 9px 0 var(--ink);
  background: var(--paper);
  overflow-y: auto;
}
dialog::backdrop {
  background: #171717a6;
  backdrop-filter: none;
}
.dialog-heading .eyebrow {
  background: var(--mint);
  border: var(--rule);
  padding: 5px 7px;
  font-size: 9px;
}
.icon-button {
  border: var(--rule);
  border-radius: 0;
  background: var(--coral);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--ink);
}
.dialog-heading + h2 {
  font-family: var(--display);
  font-weight: 900;
  margin-top: 24px;
}
dialog textarea {
  font-family: var(--mono);
  font-size: 12px;
}
.attachment-reminder {
  background: var(--mint);
  border: var(--rule);
  padding: 13px;
}
.contact-warning {
  background: var(--yellow);
  color: var(--ink);
  border: var(--rule);
  border-radius: 0;
}
.dialog-actions {
  gap: 15px;
  margin-top: 20px;
}
.noscript-note,
.development-banner {
  background: var(--yellow);
  color: var(--ink);
  border-bottom: var(--rule);
}

@media (max-width: 1050px) {
  .header-inner {
    gap: 20px;
  }
  .hero h1 {
    font-size: clamp(42px, 5.4vw, 58px);
    letter-spacing: -2.6px;
  }
  .hero-visual {
    box-shadow: 6px 6px 0 var(--ink);
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    padding-inline: 18px;
  }
  .product-info h3 {
    font-size: 20px;
  }
  .product-info {
    padding-inline: 16px;
  }
  .product-bottom {
    padding-inline: 16px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .order-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-steps p {
    max-width: none;
  }
  .customiser-grid {
    gap: 36px;
  }
  .preview-heading {
    font-size: 8px;
    letter-spacing: 0.6px;
    padding-inline: 13px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
    scroll-padding-bottom: 110px;
  }
  .container {
    width: calc(100% - 44px);
  }
  .header-inner {
    height: 76px;
    gap: 14px;
  }
  .wordmark {
    font-size: 25px;
  }
  .wordmark .brand-logo {
    width: 138px;
  }
  .brand-mark {
    padding: 5px;
    margin-right: 9px;
  }
  .brand-mark i:nth-child(3) {
    height: 21px;
  }
  .brand-mark i:nth-child(2) {
    height: 16px;
  }
  .button-small {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 10px;
    gap: 9px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .hero {
    padding-block: 34px 39px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(33px, 10.55vw, 72px);
    line-height: 1.12;
    letter-spacing: -2.2px;
  }
  .hero h1 em {
    margin-left: -2px;
    padding-inline: 0.035em;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .hero .eyebrow {
    font-size: 8px;
    padding: 6px 7px;
    letter-spacing: 0.45px;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 50px;
    padding: 12px 16px;
    gap: 15px;
  }
  .hero-actions .text-link {
    font-size: 12px;
    min-height: 44px;
  }
  .hero-visual {
    aspect-ratio: 1;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .hero-stand {
    width: 103%;
    margin: 13px -1.5% 0;
  }
  .hero-tag {
    top: 53px;
    left: 16px;
    padding: 6px 9px;
    font-size: 9px;
  }
  .hero-tag > span {
    font-size: 20px;
    margin-right: 6px;
  }
  .visual-topline {
    padding: 10px 12px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .visual-bottomline {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .visual-bottomline small {
    font-size: 8px;
  }
  .visual-callout {
    font-size: 8px;
    right: 12px;
    bottom: 67px;
    padding: 3px 5px;
  }
  .callout-line {
    width: 13px;
  }
  .round-arrow {
    width: 29px;
    height: 29px;
  }
  .benefit-strip .container {
    padding-block: 17px;
    font-size: 10px;
    gap: 11px 14px;
  }
  .benefit-strip b {
    font-size: 18px;
    margin-right: 3px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .section {
    padding-block: 54px;
  }
  .product-grid {
    gap: 28px;
  }
  .product-card {
    box-shadow: 4px 4px 0 var(--ink);
  }
  .product-image {
    aspect-ratio: 1.3;
  }
  .product-tag {
    top: 14px;
    left: 12px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .image-caption {
    font-size: 9px;
    right: 12px;
    bottom: 12px;
  }
  .product-info {
    padding: 18px 14px 0;
    gap: 10px;
  }
  .product-info h3 {
    font-size: 19px;
    line-height: 1.25;
  }
  .product-info p {
    font-size: 12px;
  }
  .product-info .product-price {
    font-size: 21px;
    padding: 5px 7px;
  }
  .product-price small {
    font-size: 9px !important;
  }
  .product-bottom {
    padding: 13px 14px;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
  }
  .included-row {
    padding: 18px;
    gap: 15px;
    margin-top: 26px;
  }
  .included-row > div + div {
    border-color: var(--ink);
  }
  .demo-grid h2 {
    font-size: 40px;
  }
  .demo-tile {
    width: 109px;
    height: 130px;
  }
  .tap-demo {
    gap: 10px;
  }
  .demo-phone {
    width: 125px;
  }
  .demo-label {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .customiser-grid {
    gap: 29px;
  }
  .preview-panel {
    box-shadow: 4px 4px 0 var(--ink);
  }
  .preview-heading {
    padding: 13px 11px;
    font-size: 7px;
    letter-spacing: 0.5px;
    gap: 6px;
  }
  .preview-bottom {
    padding: 12px;
    font-size: 7px;
  }
  .live-stand {
    margin: -9px 0;
  }
  .preview-disclaimer {
    margin-top: 18px;
  }
  .form-section legend {
    font-size: 18px;
    gap: 11px;
  }
  .board-option {
    padding: 14px 12px;
    gap: 11px;
  }
  .board-option strong {
    font-size: 13px;
  }
  .board-option small {
    font-size: 11px;
  }
  .board-option b {
    font-size: 15px;
  }
  .layout-options {
    gap: 11px;
  }
  .layout-option {
    font-size: 10px;
    padding: 16px 5px 12px;
  }
  .swatch-options {
    gap: 10px;
  }
  .swatch-option {
    font-size: 10px;
    padding: 8px 9px;
  }
  .field-label {
    font-size: 12px;
  }
  input[type="text"],
  input[type="url"],
  input[type="number"],
  select,
  textarea,
  .tile-header select {
    font-size: 16px;
  }
  .tile-field {
    padding: 12px;
  }
  .tile-header {
    gap: 10px;
  }
  .tile-header > label {
    font-size: 9px;
  }
  .quote-summary {
    padding: 20px 16px;
  }
  .quote-line {
    font-size: 12px;
    gap: 12px;
  }
  .quote-total {
    font-size: 12px;
    gap: 12px;
  }
  .quote-total output {
    font-size: 28px;
  }
  .order-steps {
    gap: 18px 15px;
  }
  .order-steps li {
    padding: 15px 12px;
  }
  .step-number {
    font-size: 28px;
  }
  .order-steps h3 {
    font-size: 16px;
  }
  .order-steps p {
    font-size: 12px !important;
  }
  .faq-list summary {
    font-size: 13px;
    padding: 16px 14px;
  }
  .faq-list details p {
    padding-inline: 14px;
  }
  .maker-section h2 {
    font-size: 32px;
  }
  .maker-stamp {
    width: 200px;
    height: 200px;
  }
  .maker-stamp strong {
    font-size: 33px;
  }
  .maker-stamp > span {
    font-size: 8px;
  }
  .closing-section h2 {
    font-size: clamp(30px, 8vw, 45px);
    line-height: 1.14;
  }
  .closing-section .eyebrow {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .site-footer {
    padding-bottom: 112px;
  }
  .site-footer .wordmark {
    font-size: 27px;
  }
  .site-footer > small {
    font-size: 10px;
  }
  .mobile-cta {
    background: var(--paper);
    border-top: var(--rule);
    backdrop-filter: none;
    padding: 13px 20px max(16px, env(safe-area-inset-bottom));
  }
  .mobile-cta small {
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-cta strong {
    font-size: 16px;
    font-weight: 900;
  }
  .mobile-cta .button {
    padding: 10px 14px;
    font-size: 12px;
  }
  dialog {
    width: calc(100% - 34px);
    padding: 18px;
    max-height: calc(100dvh - 34px);
    box-shadow: 5px 5px 0 var(--ink);
  }
  .dialog-heading + h2 {
    font-size: 31px;
  }
  .dialog-actions .button {
    min-height: 48px;
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    letter-spacing: -2px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    flex-basis: 100%;
    justify-content: space-between;
  }
  .hero-actions .text-link {
    min-height: 38px;
  }
  .order-steps {
    grid-template-columns: 1fr;
  }
  .order-steps li {
    padding: 20px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .dialog-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .button:active {
    transform: none;
  }
}

/* Product photography uses the same printed frame as the rest of the site. */
.hero-visual.hero-photo-frame {
  display: block;
  aspect-ratio: auto;
  background: var(--lavender);
}
.hero-photo-frame::before { content: none; }
.hero-photo-heading,
.hero-photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 700;
}
.hero-photo-heading {
  border-bottom: var(--rule);
  font-family: var(--mono);
  letter-spacing: 1px;
}
.hero-photo-heading > :last-child { font-size: 22px; line-height: 1; }
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: right center;
}
.hero-photo-caption { border-top: var(--rule); background: var(--mint); }
.hero-photo-caption > :last-child { font-size: 10px; font-weight: 500; }
.product-image.product-photo-frame { background: #ded8d1; }
.product-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) {
  .hero-photo-heading,
  .hero-photo-caption { padding: 11px 12px; font-size: 10px; }
  .hero-photo-caption > :last-child { font-size: 9px; }
}
