/* The shop's frame: header with the products menu, the footer, and the
   brand. Colors come from the store's theme (src/stores.mjs). */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  letter-spacing: -0.06em;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-accent);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  letter-spacing: -0.04em;
  padding-bottom: 6px;
  flex: none;
}
.brand-print {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.36em;
  margin-top: 3px;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  min-height: 84px;
  padding: 0 var(--page-gutter);
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  flex: 1;
}
.site-nav > a,
.nav-menu-button {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.site-nav > a:hover,
.site-nav > a[aria-current],
.nav-menu-button:hover,
.nav-menu-button[aria-expanded="true"] {
  border-bottom-color: var(--ink);
}
.nav-menu-button {
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.nav-menu-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.15s;
}
.nav-menu-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-products {
  position: relative;
}
.products-menu {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: -24px;
  width: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-menu);
  padding: 14px;
}
.nav-products.open .products-menu {
  display: block;
}
.products-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.products-menu li a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
}
.products-menu li a:hover,
.products-menu li a[aria-current] {
  background: var(--soft);
}
.products-menu li span {
  font-weight: 700;
}
.products-menu small {
  color: var(--muted);
  font-size: 12px;
}
.menu-more {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding: 14px 14px 4px;
  font-size: 13px;
}
.menu-more a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.header-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.header-link svg,
.menu-toggle svg {
  width: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.account-link span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#bag-count {
  background: var(--accent);
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}
.site-nav > a.phone-only {
  display: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: inherit;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 13px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: 40px;
}
.footer-top {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 64px var(--page-gutter) 48px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: 48px;
}
.footer-brand .brand-mark {
  background: var(--paper);
  color: var(--ink);
}
.footer-about p {
  color: color-mix(in srgb, var(--paper) 72%, var(--ink));
  font-size: 13px;
  margin: 18px 0 0;
  max-width: 280px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-col h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--accent);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--page-gutter) 28px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 18%, var(--ink));
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12px;
  color: color-mix(in srgb, var(--paper) 72%, var(--ink));
}
.footer-bottom a {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .header-bar {
    gap: 28px;
  }
  .projects-link span {
    display: none;
  }
}
@media (max-width: 900px) {
  .header-bar {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 5%;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 29px;
  }
  .brand-print {
    font-size: 9px;
  }
  .header-actions {
    gap: 16px;
  }
  .account-link span,
  .bag-label {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    padding: 6px;
  }
  .projects-link {
    display: none;
  }
  .site-nav > a.phone-only {
    display: block;
  }
  /* The menu opens as a panel under the bar. */
  .site-nav {
    display: none;
    order: 3;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding: 6px 0 12px;
  }
  .site-header.menu-open .site-nav {
    display: flex;
  }
  .site-nav > a,
  .nav-menu-button {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-nav > a:hover,
  .site-nav > a[aria-current] {
    border-bottom-color: var(--line);
    font-weight: 700;
  }
  .nav-menu-button {
    width: 100%;
    justify-content: space-between;
    border-bottom-color: var(--line) !important;
  }
  .nav-menu-button {
    pointer-events: none;
  }
  .nav-menu-button svg {
    display: none;
  }
  .products-menu {
    display: block;
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px;
    background: none;
  }
  .products-menu ul {
    grid-template-columns: 1fr;
  }
  .products-menu li a {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 4px;
  }
  .menu-more {
    padding: 12px 4px 4px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    padding: 44px 5% 32px;
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

/* Home and product pages: sections that sell (public/shop-pages.js). */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-actions .secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  padding: 0 22px;
}
.hero-price {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-price strong {
  color: var(--ink);
  font-size: 18px;
}
.hero-cards {
  position: relative;
  width: min(520px, 90%);
  aspect-ratio: 1.1;
}
.hero-card {
  position: absolute;
  width: 62%;
}
.hero-card svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: var(--shadow-raised);
}
.hero-card-1 {
  left: 0;
  top: 6%;
  transform: rotate(-7deg);
}
.hero-card-2 {
  left: 30%;
  top: 30%;
  transform: rotate(4deg);
  z-index: 1;
}
.hero-card-3 {
  left: 8%;
  top: 60%;
  transform: rotate(-2deg);
  z-index: 2;
}

.promises {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.promises ul {
  list-style: none;
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 26px var(--page-gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.promises li {
  display: grid;
  gap: 4px;
  font-size: 13px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.promises strong {
  font-size: 14px;
}
.promises span {
  color: var(--muted);
  line-height: 1.5;
}
.promises.compact {
  background: none;
  border: 0;
  margin: 18px 0 0;
}
.promises.compact ul {
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.promises.compact li {
  font-size: 12px;
  padding-left: 10px;
  border-left-width: 2px;
}
.promises.compact strong {
  font-size: 12px;
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
}
.home-more {
  padding-top: 0;
}
.section-block + .section-block {
  margin-top: var(--section-gap);
}
.product-more {
  margin-top: var(--section-gap);
}
.product-more:empty {
  display: none;
}

.industry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.industry-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.industry-tile {
  display: grid;
  gap: 4px;
}
.industry-art {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--accent) 5%, var(--soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: filter 0.2s;
}
.industry-tile:hover .industry-art {
  filter: brightness(0.975);
}
.thumb {
  display: block;
}
.thumb svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.industry-art .thumb {
  width: 72%;
}
.industry-art.shape-tall .thumb {
  width: 30%;
}
.industry-art.shape-sheet .thumb {
  width: 50%;
}
.industry-name {
  font-weight: 700;
  font-size: 15px;
}
.industry-count {
  font-size: 12px;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px 22px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.steps p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.paper-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.paper-card {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
}
.paper-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.paper-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.6;
  flex: 1;
}
.paper-price {
  font-size: 12px;
  font-weight: 600;
}

.template-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.template-strip a {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.template-strip .thumb svg {
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 12%, transparent);
}
.template-strip.shape-sheet {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.template-strip.shape-tall {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 12px;
}
.chip:hover {
  border-color: var(--ink);
}

@media (max-width: 1100px) {
  .industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .steps,
  .paper-grid,
  .promises ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .hero-actions .button,
  .hero-actions .secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-cards {
    width: 92%;
    margin: 20px auto;
  }
  .promises ul {
    padding: 20px 5%;
    gap: 16px;
  }
  .industry-grid,
  .industry-grid.large {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .steps,
  .paper-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .template-strip,
  .template-strip.shape-tall,
  .template-strip.shape-sheet {
    grid-template-columns: 1fr 1fr;
  }
  .section-block + .section-block,
  .product-more {
    margin-top: 56px;
  }
  .section-head {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .promises.compact ul {
    grid-template-columns: 1fr;
  }
}

/* Help centre and content pages (server-rendered from the store's pages). */
.help-groups {
  display: grid;
  gap: 48px;
}
.help-group h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.help-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.help-links a {
  display: grid;
  gap: 6px;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 22px;
}
.help-links a:hover {
  border-color: var(--ink);
}
.help-links strong {
  font-size: 16px;
}
.help-links span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.prose {
  max-width: 720px;
  margin-top: 28px;
}
.prose h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 28px;
}
.prose h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.7;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .note,
.faq .note {
  background: var(--soft);
  border-left: 3px solid var(--accent-strong);
  padding: 12px 16px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-weight: 700;
}
/* A content page whose wording isn't approved yet says so. */
.draft-banner {
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 13px;
  margin: 0 0 24px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type {
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 0 18px;
  max-width: 760px;
}
.faq-answer p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}
.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .help-links {
    grid-template-columns: 1fr;
  }
}
.draft-tag {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: 2px;
}

/* The cookie banner (public/consent.js): only on stores with a Google tag. */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 30px #0003;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
}
.consent-banner p {
  flex: 1 1 280px;
  margin: 0;
}
.consent-banner a {
  text-decoration: underline;
}
.consent-actions {
  display: flex;
  gap: 8px;
}
.consent-actions .button {
  min-height: 40px;
  padding: 8px 18px;
}

/* Orders paused (public/orders-paused.js). */
.orders-paused {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
}
.orders-paused p {
  margin: 0 0 8px;
}
.orders-paused .notify-me {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.orders-paused .notify-me label {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.orders-paused input {
  width: auto;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 220px;
}
.orders-paused .button {
  min-height: 38px;
  padding: 8px 16px;
}
.studio-mode .orders-paused {
  display: none;
}
