@font-face {
  font-family: Bricolage;
  src: url('/assets/bricolage-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #18273a;
  --mute: #595d61;
  --paper: #fff;
  --cream: #fff8ef;
  --soft: #fff1e4;
  --peach: #ffdbc5;
  --coral: #ff865e;
  --line: #e5ded6;
  --grey: #f4f1ec;
  --green: #315744;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-family: system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

*,*::before,*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  outline: 0;
}

button,input,select,textarea {
  font: inherit;
  color: inherit;
}

button,a {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button[disabled] {
  cursor: default;
  opacity: .58;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #325c82;
  outline-offset: 4px;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3,.logo,.footer-logo,.product-name,.price-title {
  font-family: Bricolage,system-ui,sans-serif;
}

h1,h2,h3 {
  line-height: 1.02;
  letter-spacing: -.055em;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100% - 88px,1280px);
  margin-inline: auto;
}

.symbols,.sr-only,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 20;
  background: white;
  padding: 10px 16px;
}

.symbols {
  pointer-events: none;
}

svg.icon,button svg,a svg,.how svg,.upload-icon,.empty-bag svg,.success-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

[hidden] {
  display: none!important;
}

/* Header */
.masthead {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-row {
  height: 83px;
  display: flex;
  align-items: center;
  gap: 46px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 39px;
  line-height: 1;
  letter-spacing: -.1em;
  font-weight: 800;
}

.logo-stop {
  color: var(--coral);
}

.logo img {
  width: 37px;
  height: 37px;
}

.header-row nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 640;
}

.header-row nav a {
  padding: 10px 0;
}

.header-row nav a:hover,.footer a:hover,.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bag-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 8px 15px;
  border-radius: 100px;
  min-height: 42px;
  font-size: .9rem;
  font-weight: 680;
}

.bag-link:hover {
  background: var(--cream);
}

.bag-count {
  display: grid;
  place-content: center;
  border-radius: 50%;
  min-width: 21px;
  height: 21px;
  padding-inline: 4px;
  background: var(--peach);
  font-size: .75rem;
}

/* Shop introduction */
.hero {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(30px,6vw,95px);
  padding-block: 34px 42px;
}

.hero-copy {
  padding-left: clamp(0px,1vw,12px);
}

.hero h1 {
  font-size: clamp(3.5rem,6.55vw,6.6rem);
  font-weight: 715;
  line-height: .97;
  letter-spacing: -.085em;
}

.hero h1 em {
  display: inline-block;
  font-family: Georgia,"Times New Roman",serif;
  font-size: 1.04em;
  font-weight: 400;
  letter-spacing: -.085em;
  line-height: 1.05;
}

.hero-copy p {
  margin: 22px 0 24px;
  max-width: 36ch;
  color: #4a5159;
  font-size: clamp(1rem,1.25vw,1.22rem);
  line-height: 1.52;
}

.hero-actions,.actions,.inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 18px;
}

.hero-actions>span {
  color: var(--mute);
  font-size: .87rem;
}

.hero-actions strong {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 100px;
  min-height: 46px;
  padding: 11px 19px;
  font-weight: 720;
  font-size: .94rem;
  line-height: 1.2;
  text-align: center;
  transition: background .16s,transform .16s;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--peach);
  color: var(--ink);
}

.button.primary:hover {
  background: #ffccb0;
}

.button.secondary {
  background: #fff;
  border-color: #a69e93;
}

.button.secondary:hover {
  background: var(--cream);
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.dark:hover {
  background: #284059;
}

.button.small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: .86rem;
}

.button.block {
  width: 100%;
}

.hero-visual {
  height: clamp(340px,34vw,465px);
  min-width: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(64px,10vw,158px) 24px 24px 24px;
  background: #da9c64;
}

.hero-visual>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 55%;
}

.hero-product {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  background: #fffcf7f7;
  padding: 5px 13px 5px 5px;
  border-radius: 13px;
  box-shadow: 0 3px 15px #412c191c;
}

.hero-product>img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
}

.hero-product>span {
  display: grid;
  line-height: 1.27;
}

.hero-product small {
  font-size: .72rem;
  color: var(--mute);
}

.hero-product strong {
  font-size: .92rem;
}

.hero-product svg {
  width: 17px;
  margin-left: 5px;
  transform: rotate(-35deg);
}

/* Collection and catalogue */
.collection {
  padding: 30px 0 60px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2,.how h2 {
  font-size: clamp(2.2rem,3.9vw,4rem);
}

.section-heading p {
  color: var(--mute);
  margin-top: 5px;
  font-size: .95rem;
}

.filters,.segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--cream);
  border-radius: 100px;
  border: 1px solid var(--line);
}

.filters button,.segmented button {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 100px;
  min-height: 35px;
  padding: 6px 13px;
  white-space: nowrap;
  font-weight: 680;
  font-size: .83rem;
}

.filters button[aria-pressed=true],.segmented button[aria-pressed=true] {
  background: var(--ink);
  color: #fff;
}

.filters button:hover:not([aria-pressed=true]),.segmented button:hover:not([aria-pressed=true]) {
  background: #f2e5d8;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(12px,1.8vw,28px);
}

.product {
  display: block;
  min-width: 0;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: 14px;
  margin-bottom: 11px;
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .3s;
}

.product:hover .product-media img {
  transform: scale(1.045);
}

.product .shop-arrow {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff9eeed;
  width: 31px;
  height: 31px;
}

.shop-arrow svg {
  width: 15px;
  height: 15px;
  transform: rotate(-35deg);
}

.product-name {
  font-size: clamp(1.05rem,1.65vw,1.42rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px;
  margin-top: 5px;
  font-size: .81rem;
  color: var(--mute);
}

.product-meta strong {
  font-weight: 720;
  color: var(--ink);
}

.product:hover .product-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.how {
  background: var(--cream);
  border-block: 1px solid var(--line);
  padding: 42px 0;
}

.how-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.02fr repeat(3,1fr);
  gap: clamp(18px,3.2vw,50px);
}

.how h3 {
  font-size: 1.32rem;
  margin: 7px 0 6px;
}

.how p {
  font-size: .91rem;
  color: var(--mute);
  line-height: 1.55;
  max-width: 30ch;
}

.how svg {
  width: 25px;
  height: 25px;
  color: #76553d;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.08em;
}

.footer-row>span {
  color: var(--mute);
  font-size: .8rem;
}

.footer-row>a:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 640;
  margin-left: auto;
}

.footer-row svg {
  width: 16px;
}

/* Guided designer */
.page {
  padding-block: 22px 60px;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 670;
  color: #505962;
  padding: 5px 0;
  margin-bottom: 16px;
}

.crumb svg {
  width: 17px;
}

.crumb:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-title {
  font-size: clamp(2.5rem,5vw,4.55rem);
  font-weight: 710;
}

.designer-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px,6vw,92px);
  align-items: start;
}

.preview-panel {
  position: sticky;
  top: 16px;
  min-width: 0;
}

.proof-stage {
  position: relative;
  background: var(--cream);
  border: 1px solid #f3e7d8;
  border-radius: 26px;
  min-height: 390px;
  aspect-ratio: 1.06;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage-caption {
  position: absolute;
  left: 20px;
  top: 17px;
  font-size: .82rem;
  font-weight: 680;
  color: #6b5d50;
  z-index: 2;
}

.tag-assembly {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  width: clamp(195px,24vw,320px);
  padding-top: 42px;
}

.tag-ring {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 42px;
  height: 64px;
  border-radius: 50%;
  border: 5px solid #97897e;
  border-left-color: #eaded1;
  border-right-color: #8e7b66;
  transform: translateX(-50%) rotate(-14deg);
  box-shadow: 1px 2px 3px #6353413b;
  pointer-events: none;
}

.tag-surface {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(2px 11px 9px #6b4c2b3b);
}

.tag-surface>svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tag-surface.interactive {
  cursor: grab;
  touch-action: none;
}

.tag-surface.interactive:active {
  cursor: grabbing;
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-chooser {
  display: flex;
  justify-content: center;
  margin-top: 11px;
}

.preview-foot {
  margin-top: 12px;
  color: var(--mute);
  font-size: .8rem;
  text-align: center;
  line-height: 1.45;
}

.form-head {
  padding: 3px 0 19px;
  border-bottom: 1px solid var(--line);
}

.price-title {
  font-size: 1.45rem;
  font-weight: 650;
  margin: 8px 0 1px;
  letter-spacing: -.045em;
}

.form-head p {
  color: var(--mute);
  margin: 7px 0 0;
  max-width: 51ch;
  font-size: .96rem;
}

.form-section {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 17px 0;
  min-width: 0;
}

.form-section legend {
  float: left;
  width: 100%;
  font-family: Bricolage,system-ui,sans-serif;
  letter-spacing: -.035em;
  font-size: 1.19rem;
  font-weight: 730;
  margin: 0 0 8px;
  padding: 0;
}

.form-section legend+* {
  clear: both;
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-size: .88rem;
  font-weight: 640;
}

.field input:not([type=range]):not([type=file]),.field textarea,.field select {
  width: 100%;
  min-height: 44px;
  background: #fff;
  border: 1px solid #a89e94;
  border-radius: 9px;
  padding: 9px 12px;
  outline-offset: 2px;
}

.field textarea {
  resize: vertical;
  min-height: 66px;
}

.field small,.hint {
  font-size: .82rem;
  color: var(--mute);
  font-weight: 400;
  line-height: 1.45;
}

.form-section .hint {
  margin: 5px 0 10px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 675;
  font-size: .93rem;
  cursor: pointer;
}

.check-line input {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
  flex: none;
}

.field-list {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.photo-picker {
  display: grid;
  gap: 6px;
}

.photo-picker input {
  width: 100%;
  font-size: .82rem;
}

.photo-picker input::file-selector-button {
  border: 0;
  border-radius: 100px;
  background: var(--peach);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  margin-right: 8px;
  cursor: pointer;
}

.crop-fields {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 11px;
}

.crop-fields input {
  min-width: 0;
  width: 100%;
  accent-color: #bc593b;
}

.crop-tools {
  margin-top: 6px;
}

.text-button,.text-link {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 7px 0;
  font-size: .86rem;
  font-weight: 675;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.form-actions .actions {
  gap: 12px;
}

.notice {
  color: var(--mute);
  font-size: .82rem;
  line-height: 1.45;
}

.alert {
  margin-top: 12px;
  padding: 11px 13px;
  font-size: .88rem;
  line-height: 1.45;
  border-radius: 8px;
  background: #fff2dd;
  color: #634722;
  overflow-wrap: anywhere;
}

.alert.error {
  background: #fff0ea;
  color: #852c1d;
}

.status {
  font-size: .85rem;
  color: #325548;
  min-height: 0;
}

.status:not(:empty) {
  margin-top: 7px;
}

.loading {
  padding: 42px 0;
  color: var(--mute);
}

/* Print proof review */
.dialog {
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 22px;
  padding: 23px;
  width: min(600px,calc(100% - 26px));
  max-height: 92dvh;
  overflow: auto;
  background: #fff;
  box-shadow: 0 15px 70px #2616072b;
}

.dialog::backdrop {
  background: #19263569;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dialog-head h2 {
  font-size: 2rem;
}

.icon-button {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 7px;
}

.dialog-intro {
  font-size: .92rem;
  color: var(--mute);
  margin: 8px 0 13px;
}

.proof-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proof-pair figure {
  min-width: 0;
}

.proof-pair img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--cream);
  border: 1px solid #f0e5d9;
  border-radius: 13px;
  padding: 10px;
}

.proof-pair figcaption {
  font-size: .8rem;
  color: var(--mute);
  font-weight: 630;
  margin: 4px 0 0;
  text-align: center;
}

.dialog-note {
  font-size: .83rem;
  color: var(--mute);
  margin: 12px 0;
}

.review-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fff;
  border: 1px solid #bdb4a9;
  border-radius: 100px;
  padding: 3px;
}

.qty button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  width: 31px;
  height: 31px;
  min-height: 31px;
}

.qty button:not(:disabled):hover {
  background: var(--soft);
}

.qty svg {
  width: 14px;
  height: 14px;
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-size: .9rem;
  font-weight: 690;
}

.quantity-label {
  display: block;
  font-size: .78rem;
  color: var(--mute);
  margin-bottom: 4px;
}

.proof-error {
  background: #fff2dd;
  padding: 12px;
  border-radius: 8px;
  font-size: .84rem;
  color: #693d2c;
}

/* Bag and test receipt */
.basket-layout {
  display: grid;
  grid-template-columns: 1.55fr .8fr;
  gap: clamp(28px,5vw,86px);
  align-items: start;
  margin-top: 24px;
}

.basket-list {
  border-top: 1px solid var(--line);
}

.basket-row {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.basket-row>a>img {
  width: 105px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--cream);
  border-radius: 11px;
  padding: 5px;
}

.basket-row h2 {
  font-size: 1.42rem;
}

.basket-quantity {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.basket-detail {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.basket-detail p {
  font-size: .87rem;
  color: var(--mute);
  overflow-wrap: anywhere;
}

.basket-detail .inline {
  gap: 12px;
}

.basket-detail a,.basket-detail button {
  font-size: .8rem;
  font-weight: 630;
}

.summary {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  padding: 22px;
}

.summary h2 {
  font-size: 1.62rem;
}

.sum-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.sum-line strong {
  font-family: Bricolage,system-ui,sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.summary .notice {
  margin: 12px 0;
}

.empty-bag {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 19px;
  padding: 35px;
  margin-top: 24px;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.empty-bag>svg,.success-icon {
  width: 32px;
  height: 32px;
}

.empty-bag h2 {
  font-size: 1.7rem;
}

.empty-bag p {
  color: var(--mute);
}

.order-page {
  max-width: 850px;
}

.order-page .lede {
  color: var(--mute);
  margin: 10px 0 20px;
}

.order-summary {
  padding: 17px 19px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 15px 0 20px;
}

.order-summary h2,.unit-card h2 {
  font-size: 1.27rem;
}

.order-summary ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.order-summary li,.order-total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: .91rem;
  padding: 3px 0;
}

.order-total {
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 8px;
}

.unit-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 13px 0;
  padding: 18px;
}

.unit-card .actions {
  margin: 12px 0 0;
}

.claim-code {
  display: inline-block;
  overflow-wrap: anywhere;
  max-width: 100%;
  background: var(--cream);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: .94rem;
  letter-spacing: .035em;
}

.unit-card .field {
  margin-top: 12px;
}

.unit-card .print-files {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}

.unit-card .print-files a {
  font-size: .84rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-page {
  min-height: 50vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

.error-page h1 {
  font-size: clamp(2.1rem,5vw,4rem);
}


@media (min-width: 1500px) {
  .hero {
    gap: 85px;
  }
  .hero-copy {
    padding-left: 6px;
  }
  .hero-visual {
    height: 470px;
  }
}


@media (max-width: 1020px) {
  .shell {
    width: calc(100% - 52px);
  }
  .hero {
    gap: 32px;
  }
  .hero-visual {
    height: 340px;
  }
  .catalog-grid {
    gap: 12px;
  }
  .product-meta {
    align-items: start;
    flex-direction: column;
    gap: 1px;
  }
  .designer-grid {
    gap: 30px;
  }
  .proof-stage {
    min-height: 350px;
  }
  .how-grid {
    gap: 22px;
  }
  .header-row {
    height: 72px;
  }
}


@media (max-width: 780px) {
  .header-row {
    gap: 25px;
  }
  .header-row nav {
    gap: 18px;
  }
  .hero {
    gap: 22px;
    padding-block: 25px 32px;
  }
  .hero-copy p {
    margin: 13px 0 17px;
  }
  .hero-visual {
    height: 300px;
  }
  .hero-product {
    bottom: 10px;
    left: 10px;
  }
  .hero-product>img {
    width: 35px;
    height: 35px;
  }
  .hero-actions {
    gap: 8px 12px;
  }
  .catalog-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    row-gap: 23px;
  }
  .product-meta {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }
  .collection {
    padding-bottom: 36px;
  }
  .how-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .how h2 {
    grid-column: 1/-1;
  }
  .how h2 br {
    display: none;
  }
  .designer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .proof-stage {
    min-height: 300px;
  }
  .tag-assembly {
    width: clamp(160px,28vw,245px);
  }
  .basket-row {
    grid-template-columns: 77px minmax(0,1fr) auto;
    gap: 10px;
  }
  .basket-row>a>img {
    width: 77px;
  }
  .summary {
    padding: 16px;
  }
  .basket-layout {
    gap: 18px;
    grid-template-columns: 1.4fr .8fr;
  }
}


@media (max-width: 640px) {
  :root {
    scroll-padding-top: 8px;
  }
  .shell {
    width: calc(100% - 34px);
  }
  .header-row {
    height: 62px;
    gap: 15px;
  }
  .logo {
    gap: 6px;
    font-size: 32px;
  }
  .logo img {
    width: 30px;
    height: 30px;
  }
  .header-row nav {
    font-size: .8rem;
    gap: 12px;
  }
  .header-row nav a:not(:first-child):not(:last-child) {
    display: none;
  }
  .bag-link {
    font-size: .8rem;
    gap: 5px;
    padding: 6px 10px;
    min-height: 36px;
  }
  .bag-link svg {
    width: 17px;
  }
  .bag-count {
    width: 19px;
    height: 19px;
    min-width: 19px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 22px 25px;
  }
  .hero-copy {
    padding-left: 0;
  }
  .hero h1 {
    font-size: clamp(3.5rem,11.9vw,4.8rem);
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em {
    margin-left: .18em;
  }
  .hero-copy p {
    margin: 12px 0 15px;
    font-size: .95rem;
    max-width: 43ch;
  }
  .hero-visual {
    height: auto;
    aspect-ratio: 1.57;
    border-radius: 70px 15px 15px 15px;
  }
  .hero-visual>img {
    object-position: 55% 47%;
  }
  .hero-product>img {
    width: 31px;
    height: 31px;
  }
  .hero-product {
    gap: 7px;
    border-radius: 10px;
    padding: 3px 8px 3px 3px;
  }
  .hero-product small {
    font-size: .64rem;
  }
  .hero-product strong {
    font-size: .77rem;
  }
  .hero-product svg {
    width: 14px;
  }
  .button {
    min-height: 43px;
    font-size: .88rem;
    padding: 10px 15px;
  }
  .hero-actions>span {
    font-size: .8rem;
  }
  .collection {
    padding-top: 21px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 14px;
    gap: 12px;
  }
  .section-heading h2,.how h2 {
    font-size: 2.3rem;
  }
  .section-heading p {
    font-size: .87rem;
  }
  .filters button {
    min-height: 32px;
    padding: 5px 11px;
    font-size: .78rem;
  }
  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 19px 12px;
  }
  .product-media {
    margin-bottom: 7px;
    border-radius: 11px;
  }
  .product-name {
    font-size: 1.15rem;
  }
  .product-meta {
    font-size: .74rem;
    gap: 3px;
  }
  .shop-arrow {
    scale: .87;
    transform-origin: right bottom;
  }
  .how {
    padding: 25px 0;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .how-grid>div {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 0 9px;
  }
  .how h3 {
    margin: 0 0 3px;
    font-size: 1.15rem;
  }
  .how p {
    grid-column: 2;
    max-width: 43ch;
    font-size: .86rem;
  }
  .how svg {
    grid-row: 1/3;
    align-self: start;
    width: 22px;
  }
  .footer-row {
    min-height: 62px;
    gap: 8px;
  }
  .footer-logo {
    font-size: 1.48rem;
  }
  .footer-row>span,.footer-row>a:last-child {
    font-size: .71rem;
  }
  .footer-row svg {
    width: 13px;
  }
  .page {
    padding-block: 14px 38px;
  }
  .crumb {
    margin-bottom: 10px;
    font-size: .78rem;
  }
  .designer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .preview-panel,.summary {
    position: static;
  }
  .proof-stage {
    aspect-ratio: 1.56;
    min-height: 225px;
    max-height: 310px;
    border-radius: 17px;
  }
  .tag-assembly {
    width: clamp(142px,42vw,208px);
    padding-top: 26px;
  }
  .tag-ring {
    width: 29px;
    height: 41px;
    border-width: 3.5px;
  }
  .stage-caption {
    top: 9px;
    left: 12px;
    font-size: .7rem;
  }
  .preview-chooser {
    margin-top: 6px;
  }
  .preview-chooser button {
    font-size: .75rem;
    min-height: 30px;
    padding: 4px 12px;
  }
  .preview-foot {
    margin-top: 4px;
    font-size: .72rem;
  }
  .form-head {
    padding: 2px 0 12px;
  }
  .page-title {
    font-size: 2.7rem;
  }
  .price-title {
    font-size: 1.25rem;
  }
  .form-head p {
    font-size: .88rem;
  }
  .form-section {
    padding: 13px 0;
  }
  .basket-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 15px;
  }
  .basket-row {
    grid-template-columns: 69px minmax(0,1fr) auto;
    gap: 9px;
  }
  .basket-row>a>img {
    width: 69px;
  }
  .basket-row h2 {
    font-size: 1.09rem;
  }
  .basket-quantity {
    font-size: .82rem;
  }
  .basket-detail .inline {
    gap: 8px;
  }
  .basket-detail p {
    font-size: .75rem;
  }
  .basket-detail a,.basket-detail button {
    font-size: .72rem;
  }
  .qty button {
    width: 26px;
    height: 26px;
    min-height: 26px;
  }
  .qty span {
    font-size: .8rem;
    min-width: 17px;
  }
  .empty-bag {
    padding: 20px;
  }
  .dialog {
    padding: 17px;
    border-radius: 16px;
  }
  .dialog-head h2 {
    font-size: 1.65rem;
  }
  .order-summary,.unit-card {
    padding: 13px;
  }
  .review-bottom {
    gap: 8px;
  }
  .order-page .lede {
    font-size: .93rem;
  }
}


@media (max-width: 370px) {
  .shell {
    width: calc(100% - 26px);
  }
  .header-row {
    gap: 12px;
  }
  .header-row nav {
    font-size: .73rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .product-meta {
    flex-direction: column;
    align-items: start;
  }
  .footer-row>a:last-child {
    display: none;
  }
  .filters button {
    padding-inline: 9px;
  }
  .review-bottom {
    align-items: flex-end;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }
}

/* Artwork and editor controls */
.name-tools {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.name-tools .hint, .name-tools .status {
  margin: 0;
}

.name-tools .status.warning {
  color: #9a3412;
  font-weight: 600;
}

.name-fine summary {
  cursor: pointer;
  font-weight: 600;
}

.name-fine .crop-fields {
  margin-top: 10px;
}

.name-tools .text-button {
  justify-self: start;
  padding-bottom: 2px;
}

.tag-surface.moving-name, .tag-surface.moving-name:active {
  cursor: move;
}

.tag-surface #pet-name {
  cursor: move;
}

.tag-surface {
  -webkit-user-select: none;
  user-select: none;
}

.saved-proof {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.reverse-guide {
  container-type: inline-size;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #fffcf6;
  color: #18273a;
  text-align: center;
}

.reverse-guide::before {
  content: "";
  display: block;
  position: absolute;
  top: 5.8%;
  left: 46.7%;
  width: 6.6%;
  height: 6.6%;
  border-radius: 50%;
  background: #b9ad9f;
  box-shadow: inset 1px 1px 3px #756d64;
}

.reverse-copy {
  position: absolute;
  inset: 15% 13% auto;
  display: grid;
  align-content: start;
  line-height: 1.12;
  font-size: 5.7cqw;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.reverse-copy[data-length=medium] {
  font-size: 4.6cqw;
}

.reverse-copy[data-length=long] {
  font-size: 3.6cqw;
}

.reverse-copy strong {
  font-weight: 750;
}

.reverse-qr {
  position: absolute;
  display: grid;
  place-content: center;
  left: 30%;
  top: 49%;
  width: 40%;
  height: 40%;
  padding: 4% 7%;
  border: 1px solid #d7c7b7;
  border-radius: 5%;
  background: #fff;
  font-size: 5cqw;
  line-height: 1.15;
  font-weight: 680;
}

.field input[type=file]:focus-visible {
  outline-offset: 2px;
}

.proof-pair img {
  color: var(--ink);
}

.crop-dialog-button {
  display: none;
}

.crop-dialog .proof-stage {
  margin: 10px 0;
  min-height: 0;
  height: min(40dvh, 300px);
  aspect-ratio: auto;
}

.crop-dialog .tag-assembly {
  width: clamp(115px, 28dvh, 220px);
  max-width: 66%;
  padding-top: 25px;
}

.crop-dialog .tag-ring {
  width: 27px;
  height: 41px;
  border-width: 3px;
}

.crop-dialog .button.dark {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .crop-dialog-button {
    display: inline-flex;
    margin-top: 9px;
  }

  .crop-dialog-button:disabled,
  #designer-form #photo-crop-tools {
    display: none;
  }
}

.airtag-formats {
  margin-top: 28px;
  padding: clamp(17px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.airtag-formats h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.airtag-formats p, .basket-format p {
  margin-top: 5px;
  color: var(--mute);
  font-size: .88rem;
}

.airtag-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr));
  gap: 12px 22px;
  margin-top: 13px;
}

.airtag-options > div {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.airtag-options span {
  display: block;
  font-size: .86rem;
  margin-top: 2px;
}

.basket-format {
  grid-column: 2 / -1;
  min-width: 0;
}

.basket-format select {
  width: 100%;
  min-height: 42px;
  padding: 7px 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-weight: 500;
}

.parcel-fields {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line, #d7e0dc);
  border-radius: 1rem;
  background: white;
}
.parcel-fields summary {
  cursor: pointer;
  font-weight: 700;
}
.parcel-fields p {
  margin: .7rem 0;
}
.parcel-fields .field {
  margin-top: .65rem;
  max-width: 34rem;
}

.order-summary li small {
  display: block;
  margin-top: 3px;
  color: var(--mute);
}

/* How it works page */
.header-row nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.footer-row .footer-link {
  font-size: .82rem;
  font-weight: 640;
}

.hiw-hero {
  padding-block: 46px 50px;
}

.hiw-hero h1 {
  font-size: clamp(3.3rem,6.2vw,6.2rem);
  font-weight: 715;
  line-height: .97;
  letter-spacing: -.085em;
}

.hiw-hero h1 em {
  font-family: Georgia,"Times New Roman",serif;
  font-weight: 400;
}

.hiw-hero p {
  margin-top: 20px;
  max-width: 34ch;
  color: #4a5159;
  font-size: clamp(1.05rem,1.35vw,1.3rem);
  line-height: 1.5;
}

.hiw h2 {
  font-size: clamp(2rem,3.4vw,3.3rem);
  margin-bottom: 28px;
}

.hiw h3 {
  font-size: 1.32rem;
  margin: 6px 0;
}

.hiw-band {
  background: var(--cream);
  border-block: 1px solid var(--line);
  padding: 48px 0;
}

.hiw-section {
  padding-block: 56px;
}

.hiw-steps,.hiw-flow,.hiw-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hiw-steps,.hiw-flow {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(18px,3.2vw,50px);
}

.hiw-steps p,.hiw-flow p {
  color: var(--mute);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 32ch;
}

.hiw-num {
  font-family: Bricolage,system-ui,sans-serif;
  font-size: 1rem;
  font-weight: 760;
  color: var(--coral);
  letter-spacing: -.02em;
}

.hiw-flow li {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.hiw-note {
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--soft);
  border-radius: 14px;
  max-width: 68ch;
  font-size: .95rem;
}

.hiw-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(18px,4vw,60px);
  align-items: start;
}

.hiw-split h2 {
  margin-bottom: 0;
}

.hiw-checks {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px 30px;
}

.hiw-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 560;
}

.hiw-checks svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--green);
  margin-top: 2px;
}

.hiw-faq {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 50px;
  margin: 0;
}

.hiw-faq div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.hiw-faq dt {
  font-weight: 700;
  margin-bottom: 4px;
}

.hiw-faq dd {
  margin: 0;
  color: var(--mute);
}

.hiw-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 10px 64px;
}

.hiw-cta h2 {
  margin: 0;
}

@media (max-width: 780px) {
  .hiw-steps,.hiw-flow,.hiw-split,.hiw-checks,.hiw-faq {
    grid-template-columns: 1fr;
  }
  .hiw-section {
    padding-block: 40px;
  }
  .hiw-band {
    padding: 38px 0;
  }
  .hiw-hero {
    padding-block: 30px 34px;
  }
}

.how-more {
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 680;
  justify-self: start;
}

.how-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-block: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 640;
}
