:root {
  --paper: #f8f6ef;
  --ink: #183f35;
  --muted: #63716a;
  --accent: #d8ea92;
  --line: #dcded4;
  --white: #fffef9;
  --soft: #ebeee4;
  --danger: #8b3327;
  /* A store's theme (src/stores.mjs) sets the colors above, and may pin these;
     otherwise they follow from them. */
  --accent-strong: color-mix(in srgb, var(--accent) 37%, var(--ink));
  --accent-line: color-mix(in srgb, var(--accent) 38%, var(--line));
  --accent-rule: color-mix(in srgb, var(--ink) 27%, var(--line));
  --accent-edge: color-mix(in srgb, var(--accent) 59%, var(--muted));
  --success: color-mix(in srgb, var(--accent) 10%, var(--ink));
  --shade: color-mix(in srgb, var(--ink) 45%, black);
  /* Small secondary text on a tinted panel (--soft): muted alone falls just
     under WCAG AA's 4.5:1 there (DPS-784, axe). */
  --muted-strong: color-mix(in srgb, var(--muted) 80%, var(--ink));
  /* The rest of the design tokens: type, corners, spacing, page width and
     depth. Pages use these, not literals, so a brand refresh is a change
     here and in the store's theme. A store may set --font-body,
     --font-display, --font-accent (brand.fonts) and --radius (brand.radius). */
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: var(--font-body);
  --font-accent: Georgia, "Times New Roman", serif;
  --radius: 4px;
  --radius-small: calc(var(--radius) * 0.75);
  --radius-large: calc(var(--radius) * 2);
  --radius-round: 20px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --section-gap: 88px;
  --page-gutter: 5.2%;
  --page-max: 1600px;
  --shadow-card: 0 10px 22px color-mix(in srgb, var(--ink) 14%, transparent);
  --shadow-raised: 0 22px 44px color-mix(in srgb, var(--ink) 18.8%, transparent);
  --shadow-menu: 0 18px 40px color-mix(in srgb, var(--ink) 14%, transparent);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:disabled#add-design {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.04;
}
h2 {
  font-size: 36px;
  line-height: 1.14;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}
p {
  line-height: 1.65;
}
svg {
  display: block;
}
img {
  max-width: 100%;
}
.section {
  padding: var(--space-8) var(--page-gutter);
  max-width: var(--page-max);
  margin: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 17px 24px;
  min-height: 52px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
  transition: background 0.15s;
}
.button:hover {
  background: color-mix(in srgb, var(--ink) 91%, var(--white));
}
.button span {
  font-size: 19px;
  font-weight: 400;
}
.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 570px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 65px 10.5% 63px;
}
.hero h1 {
  font-size: clamp(50px, 5.6vw, 86px);
  margin-bottom: 25px;
  letter-spacing: -0.065em;
  line-height: 1.03;
}
.hero h1 em {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -0.055em;
}
.hero-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 27px;
}
.hero-art {
  background: color-mix(in srgb, var(--accent) 5%, var(--soft));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.2;
  background: color-mix(in srgb, var(--accent) 5%, var(--soft));
  display: flex;
  align-items: center;
  justify-content: center;
}
/* A design drawn into one of the store's scenes (public/photo-scene.js):
   the photo covers the box, the card is placed by a perspective transform
   and multiplied with the photo, and the overlay (a wiper, a thumb) is drawn
   on top. */
.photo-scene {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--soft);
  isolation: isolate;
}
.photo-scene img {
  position: absolute;
  display: block;
  max-width: none;
}
.photo-scene .scene-photo,
.photo-scene .scene-over {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-scene .scene-card {
  left: 0;
  top: 0;
  width: 252px;
  height: 144px;
  transform-origin: 0 0;
  mix-blend-mode: multiply;
  backface-visibility: hidden;
}
.photo-scene .scene-over {
  pointer-events: none;
}
.scene-art,
.hero-photo {
  display: block;
  padding: 0;
}
.scene-art .photo-scene,
.hero-photo .photo-scene {
  aspect-ratio: auto !important;
  height: 100%;
}
.hero-photo {
  position: relative;
}
.hero-photo .photo-scene {
  position: absolute;
  inset: 0;
}
.detail-scene {
  margin-bottom: 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-tile .product-art {
  transition: filter 0.2s;
}
.product-tile:hover .product-art {
  filter: brightness(0.975);
}
.tile-details {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.tile-details h3 {
  margin: 0;
}
.tile-details > span {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  margin: -36px 0 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  transition: border-color 0.15s;
}
.back-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.back-link:hover {
  border-color: var(--ink);
}
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8%;
  align-items: start;
}
.detail-art {
  aspect-ratio: 1.07;
}
.product-copy {
  padding-top: 25px;
}
.product-copy h1 {
  font-size: 55px;
  margin-bottom: 25px;
}
.product-description {
  font-size: 15px;
  color: var(--muted);
  max-width: 450px;
}
.product-price {
  font-size: 28px;
  margin: 23px 0 10px;
  letter-spacing: -1px;
}
.product-notes {
  padding: 24px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
}
.product-notes p {
  font-size: 12px;
  margin-bottom: 9px;
}
.fine {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 45px;
}
.page-heading h1 {
  margin-bottom: 0;
}
.page-heading > p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 600;
  gap: 9px;
  line-height: 1.5;
}
input,
select {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid color-mix(in srgb, var(--ink) 11%, var(--line));
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  min-width: 0;
}
input:disabled,
select:disabled {
  background: color-mix(in srgb, var(--paper) 5%, var(--soft));
}
.option-label {
  margin: 27px 0 22px;
}
.draft-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
}
.secondary {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 24%, var(--line));
  padding: 12px 20px;
  border-radius: var(--radius-small);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.secondary:hover {
  background: var(--soft);
}
.text-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 12px;
}
#design-status {
  margin: 16px 0 0;
  min-height: 36px;
}
#freeze {
  margin-top: 18px;
}
#proof {
  margin-top: 25px;
  padding: 22px;
  background: color-mix(in srgb, var(--accent) 2%, var(--soft));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-small);
}
.proof-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-rule);
  padding: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
}
.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-weight: 400;
  font-size: 12px;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--ink);
  padding: 0;
  margin: 1px 0;
}
#proof .fine {
  margin-bottom: 0;
}
.bag-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 6%;
  align-items: start;
}
.bag-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 23px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bag-item:first-child {
  border-top: 1px solid var(--line);
}
.bag-art {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--accent) 5%, var(--soft));
}
.bag-item h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}
.bag-item p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.bag-item > strong {
  font-size: 14px;
}
.small-link {
  display: inline-block;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 6px 0;
}
.quantity-control {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-top: 14px;
}
.quantity-control label {
  font-size: 9px;
  gap: 5px;
}
.quantity-control input {
  max-width: 80px;
  padding: 7px 9px;
  font-size: 12px;
}
.quantity-control .remove {
  font-size: 10px;
}
.order-summary {
  padding: 28px;
  background: color-mix(in srgb, var(--paper) 12%, var(--soft));
  border-radius: var(--radius);
}
.order-summary h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
  margin-bottom: 18px;
}
.totals .total {
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, var(--line));
  padding-top: 21px;
  margin: 22px 0 26px;
  font-size: 17px;
}
.order-summary > .fine {
  margin: 15px 0 0;
}
.empty {
  text-align: center;
  padding-top: 85px;
  padding-bottom: 105px;
  min-height: 450px;
}
.empty h1 {
  font-size: 52px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.empty .button {
  margin-top: 15px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 9%;
  max-width: 1150px;
}
.checkout-layout form > h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.checkout-layout form > .fine {
  margin-bottom: 26px;
}
.wide {
  grid-column: 1/-1;
}
.payment-note {
  padding: 23px;
  background: color-mix(in srgb, var(--accent) 2%, var(--soft));
  border: 1px solid var(--accent-line);
  margin: 28px 0 22px;
}
.payment-note h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.payment-note p {
  font-size: 12px;
  margin: 0;
}
.payment-note p + p {
  margin-top: 6px;
}
/* The card step (public/stripe-checkout.js): Stripe's Payment Element. */
.payment-step h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.payment-test-note {
  font-size: 12px;
  margin: 0 0 6px;
  color: var(--muted);
}
.payment-element {
  margin: 18px 0 20px;
  min-height: 120px;
}
.payment-error {
  color: var(--danger);
  font-size: 13px;
  margin: 0 0 16px;
}
.confirmation .held-note {
  font-size: 13px;
}
.payment-step .text-button {
  display: block;
  margin: 16px auto 0;
}
.checkout-items > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
  margin-bottom: 20px;
}
.checkout-items small {
  display: block;
  margin-top: 7px;
  color: var(--muted-strong);
}
.checkout-items {
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, var(--line));
  margin-bottom: 24px;
}
.confirmation {
  text-align: center;
  max-width: 750px;
  padding-top: 80px;
  padding-bottom: 100px;
}
.confirmation h1 {
  font-size: 55px;
}
.confirmation > p {
  color: var(--muted);
  font-size: 14px;
}
.confirmation > .account-nudge {
  color: var(--muted-strong);
}
.confirmation-number {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  padding: 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
  font-size: 13px;
}
.confirmation-number > span:first-child {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.confirmation .test-reminder {
  font-size: 12px;
}
.confirmation-actions {
  display: flex;
  gap: 27px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.orders-page {
  max-width: 1200px;
}
.past-order {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
}
.past-order-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}
.past-order-heading h2 {
  font-size: 25px;
  margin: 10px 0;
}
.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  background: var(--soft);
  border-radius: var(--radius-round);
  font-size: 10px;
}
.past-order > .fine {
  margin: 20px 0 0;
}
.loading {
  padding: 100px 30px;
  text-align: center;
  color: var(--muted);
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--ink);
  color: white;
  box-shadow: 0 5px 30px #0003;
  padding: 16px 23px;
  border-radius: var(--radius);
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 13px;
  line-height: 1.5;
}
.notice.error {
  background: var(--danger);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 12px 20px;
  background: var(--accent);
}
.skip-link:focus {
  top: 12px;
}
@media (min-width: 1600px) {
  .hero {
    max-width: 1600px;
    margin: auto;
  }
  .hero-copy {
    padding-left: 83px;
  }
  .hero-art {
    min-height: 650px;
  }
}
@media (max-width: 1000px) {
  .hero-copy {
    padding: 55px 8% 50px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .section {
    padding: 55px 5%;
  }
  .product-grid {
    gap: 18px;
  }
  .product-layout {
    gap: 5%;
  }
  .product-copy h1 {
    font-size: 45px;
  }
  .bag-layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 4%;
  }
  .bag-item {
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
  }
  .order-summary {
    padding: 22px;
  }
  .checkout-layout {
    gap: 5%;
  }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 45px 6% 40px;
  }
  .hero h1 {
    font-size: 64px;
    max-width: 500px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-art {
    min-height: 410px;
  }
  .section {
    padding: 45px 5%;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-art {
    aspect-ratio: 1.35;
  }
  .tile-details {
    padding-top: 18px;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
  .tile-details h3 {
    font-size: 18px;
  }
  .tile-details > span {
    display: block;
    white-space: nowrap;
    font-size: 11px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-copy {
    padding-top: 0;
  }
  .product-copy h1 {
    font-size: 45px;
  }
  .detail-art {
    aspect-ratio: 1.2;
  }
  .back-link {
    margin: -20px 0 22px;
  }
  .page-heading {
    display: block;
    margin-bottom: 30px;
  }
  .page-heading h1 {
    font-size: 44px;
  }
  .page-heading > p {
    margin-top: 16px;
    font-size: 12px;
  }
  .field-grid {
    gap: 15px;
  }
  input,
  select {
    font-size: 16px;
  }
  .bag-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bag-item {
    grid-template-columns: 75px 1fr auto;
    gap: 13px;
  }
  .bag-item h2 {
    font-size: 15px;
  }
  .bag-item > strong {
    font-size: 12px;
  }
  .bag-item p {
    font-size: 10px;
  }
  .quantity-control {
    gap: 15px;
  }
  .order-summary {
    padding: 25px;
  }
  .checkout-layout form {
    order: 2;
  }
  .checkout-layout .order-summary {
    order: 1;
  }
  .checkout-items > div {
    font-size: 11px;
  }
  .checkout-layout .field-grid {
    gap: 16px;
  }
  .payment-note {
    padding: 20px;
  }
  .confirmation h1 {
    font-size: 45px;
  }
  .confirmation-number {
    gap: 20px;
    padding: 20px 0;
    font-size: 12px;
  }
  .confirmation-actions {
    flex-direction: column;
    gap: 22px;
  }
  .past-order {
    padding: 17px;
  }
  .past-order-heading {
    gap: 10px;
  }
  .status-pill {
    font-size: 8px;
    max-width: 160px;
    line-height: 1.5;
  }
  .past-order .bag-item {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
  }
  .empty {
    padding-top: 60px;
    padding-bottom: 70px;
  }
  .empty h1 {
    font-size: 43px;
  }
  .empty h2 {
    font-size: 29px;
  }
  .notice {
    bottom: 15px;
    font-size: 12px;
    padding: 14px 18px;
  }
  .button {
    font-size: 12px;
    min-height: 51px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.approved-thumbnail {
  width: 110px;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: 8px;
}
.approved-thumbnail img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--ink) 12.5%, transparent);
}
/* Accounts, projects and order history */
a.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.hint {
  font-weight: 400;
  color: var(--muted);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.panel h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.panel form > label,
.panel form > .field-grid {
  margin-bottom: 17px;
}
.panel .small-link {
  display: inline-block;
  margin-top: 18px;
}
.panel.sent {
  text-align: center;
}
.narrow-page {
  max-width: 640px;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.account-nudge {
  color: var(--muted-strong);
  background: color-mix(in srgb, var(--accent) 2%, var(--soft));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  margin: 0 0 28px;
}
.account-nudge a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.account-nudge.compact {
  margin: 16px 0 0;
  font-size: 12px;
  padding: 10px 14px;
}
.mail-preview {
  border: 1px dashed var(--accent-edge);
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
  border-radius: var(--radius);
  padding: 18px;
  margin: 20px 0 10px;
}
.mail-preview p {
  font-size: 12px;
  margin: 0 0 14px;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 64px;
}
.password-field .reveal {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 0;
  font-size: 11px;
}
.signin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1050px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-thumb {
  background: var(--soft);
  padding: 28px;
  display: grid;
  place-items: center;
}
.project-thumb img {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 16%, transparent);
}
.project-info {
  padding: 18px 20px 20px;
}
.project-info h2 {
  font-size: 18px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.project-info .fine {
  margin: 0 0 12px;
}
.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.signed-in-as {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.signed-in-as .fine {
  margin: 0;
}
.checkout-layout form > h2 + .field-grid {
  margin-bottom: 30px;
}
.address-choices {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.address-choices legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.address-choice {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
}
.address-choice:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.address-choice input {
  width: auto;
  margin-top: 3px;
}
#new-address .checkbox-label {
  margin-top: 16px;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.wide-panel {
  grid-column: 1/-1;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-heading h2 {
  margin: 0;
}
.address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 13px;
  line-height: 1.6;
}
.address-card p {
  margin: 8px 0 10px;
}
.address-form {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.address-form h3 {
  margin: 0 0 16px;
}
.address-form .checkbox-label {
  margin-top: 16px;
}
.past-order-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.plain-list {
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
}
#track-result {
  margin-top: 30px;
}
@media (max-width: 1000px) {
}
@media (max-width: 720px) {
  .signin-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px 18px;
  }
  .past-order-actions {
    flex-wrap: wrap;
  }
  .page-heading .heading-actions {
    margin-top: 18px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
}
/* Print options, review and bag (step 2) */
.print-choices {
  display: grid;
  gap: 22px;
  margin: 22px 0 24px;
}
.print-choices fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.print-choices legend {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tier-ladder {
  display: grid;
  gap: 6px;
}
.ladder-head,
.ladder-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.ladder-head {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 14px 0 44px;
}
.ladder-row {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px 12px 44px;
  cursor: pointer;
  font-weight: 400;
}
.ladder-row input,
.choice-card input {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
.ladder-row:has(input:checked),
.choice-card:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.ladder-row:has(input:focus-visible),
.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ladder-qty {
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ladder-each {
  color: var(--muted);
  font-size: 12px;
}
.badge {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: var(--radius-round);
  padding: 3px 8px;
}
.choice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.choice-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 3px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 12px 12px 42px;
  cursor: pointer;
  font-weight: 400;
}
.choice-card input {
  top: 22px;
}
.choice-title {
  font-weight: 700;
  font-size: 13px;
}
.choice-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.choice-card.unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}
.choice-delta {
  font-size: 12px;
  font-weight: 600;
}
.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
}
.price-line strong {
  font-size: 26px;
  letter-spacing: -0.03em;
}
.price-line .fine {
  margin: 0;
  flex-basis: 100%;
}
.guide-toggle {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 400;
  font-size: 12px;
}
.guide-toggle input {
  width: auto;
}
.ship-progress {
  margin-bottom: 22px;
  font-size: 13px;
}
.totals .discount {
  color: var(--success);
}
.promo {
  margin: -6px 0 22px;
}
.promo-row {
  display: flex;
  gap: 8px;
}
.promo-row input {
  flex: 1;
  text-transform: uppercase;
}
.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border-radius: var(--radius-round);
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  margin: 0 8px 12px 0;
}
.promo-chip .text-button {
  font-size: 11px;
  padding: 4px 0;
}
.quantity-control {
  flex-wrap: wrap;
}
.line-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}
.line-options[hidden] {
  display: none;
}
.line-options label {
  font-size: 10px;
}
.line-options select {
  padding: 8px;
  font-size: 12px;
}
.line-options .fine {
  grid-column: 1/-1;
  margin: 0;
}
@media (max-width: 720px) {
  .ladder-head {
    padding-left: 40px;
  }
  .ladder-row {
    padding-left: 40px;
    font-size: 12px;
  }
  .line-options {
    grid-template-columns: 1fr;
  }
}
/* Shop pages drawn from real templates (home, catalog, product pages). */
.showcase-piece svg,
.showcase-piece img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ink) 14.9%, transparent);
}
.showcase-art .showcase-piece {
  transition: transform 0.25s;
}
.product-tile:hover .showcase-art .showcase-piece {
  transform: translateY(-4px);
}
/* Showcase pieces are sized by shape (public/product-model.js shapeOf). */
.shape-wide .showcase-piece {
  width: 65%;
}
.shape-tall .showcase-piece {
  width: 28%;
}
.shape-sheet .showcase-piece {
  width: 48%;
}
.hero-stack {
  position: relative;
  width: 540px;
  height: 460px;
  z-index: 1;
}
.hero-piece {
  position: absolute;
}
.hero-piece svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: var(--shadow-raised);
}
/* Hero slots 1–3, claimed by products' merchandising.hero. */
.hero-slot-1 {
  width: 176px;
  left: 18px;
  top: 6px;
  transform: rotate(-6deg);
}
.hero-slot-2 {
  width: 318px;
  left: 168px;
  top: 64px;
  transform: rotate(4deg);
}
.hero-slot-3 {
  width: 262px;
  left: 232px;
  top: 282px;
  transform: rotate(-3deg);
}
.product-gallery .detail-art {
  aspect-ratio: 1.07;
}
.detail-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6%;
  width: 100%;
  height: 100%;
  padding: 7%;
}
.detail-pages .showcase-piece {
  flex: none;
}
.shape-wide .detail-pages {
  flex-direction: column;
  gap: 5%;
}
.shape-wide .detail-pages .showcase-piece {
  width: 62%;
}
.shape-wide .detail-pages.pages-2 .showcase-piece:first-child {
  transform: translateX(-9%) rotate(-2deg);
}
.shape-wide .detail-pages.pages-2 .showcase-piece:last-child {
  transform: translateX(9%) rotate(2deg);
}
.shape-tall .detail-pages .showcase-piece {
  width: 28%;
}
.shape-sheet .detail-pages.pages-1 .showcase-piece {
  width: 62%;
}
.shape-sheet .detail-pages .showcase-piece {
  width: 40%;
}
.more-designs {
  margin-top: 26px;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.more-grid .showcase-piece {
  display: grid;
  place-items: center;
  background: var(--soft);
  padding: 16px;
  aspect-ratio: 1;
}
.more-grid .showcase-piece svg {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 13.3%, transparent);
}
.spec-list {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}
.spec-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec-list dt {
  color: var(--muted);
}
.spec-list dd {
  margin: 0;
}
@media (max-width: 1000px) {
  .hero-stack {
    transform: scale(0.8);
  }
}
@media (max-width: 720px) {
  .hero-art {
    min-height: 330px;
  }
  .hero-stack {
    transform: scale(0.6);
    margin: -80px -110px;
  }
  .spec-list > div {
    grid-template-columns: 100px 1fr;
  }
}
.small-heading {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 12px;
}
.catalog > h1,
.catalog > h2 {
  margin-bottom: 34px;
}
.order-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.proof-summary {
  font-size: 13px;
  margin: 0 0 16px;
}
/* Find an order: one card, the answer under it. */
.track-page {
  max-width: 560px;
}
.track-card {
  padding: 36px 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
}
.track-card h1 {
  font-size: 40px;
  margin: 0 0 10px;
}
.track-intro {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--muted);
}
.track-form {
  display: grid;
  gap: 18px;
}
.track-form .button {
  margin-top: 6px;
}
.track-alt {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.track-alt a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}
.track-result:empty {
  display: none;
}
.track-result {
  margin-top: 18px;
}
.track-order {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
}
.track-order header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.track-order h2 {
  margin: 0;
  font-size: 22px;
}
.track-order ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.track-order li,
.track-order footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 14px;
}
.track-order li {
  border-bottom: 1px solid var(--line);
}
.track-order footer {
  padding-bottom: 0;
}
@media (max-width: 720px) {
  .track-card {
    padding: 26px 20px 22px;
  }
  .track-card h1 {
    font-size: 32px;
  }
  .track-order {
    padding: 20px;
  }
}
