@font-face {
  font-family: "Atelier Script";
  src: url("/fonts/italianno.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #05145f;
  --green: #073902;
  --beige: #cfc49d;
  --cream: #f4e0bc;
  --card: #fbf4e6;
  --peach: #f2e2d0;
  --ink: #05145f;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", Candara, sans-serif;
  background-color: var(--peach);
  background-image: url("/patterns/pattern-5-two-ink.png");
  background-size: 420px auto;
  background-attachment: fixed;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 0.55rem 1rem 0.35rem;
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  justify-self: start;
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.lang-switch button::after {
  content: "";
  width: 1.25em;
  height: 0.84em;
  flex: 0 0 auto;
  border-radius: 2px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgb(5 20 95 / 22%);
}

.lang-switch button[data-set-lang="fr"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%230055A4'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23EF4135'/%3E%3C/svg%3E");
}

.lang-switch button[data-set-lang="en"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M0 0h60v30H0z' fill='%23012169'/%3E%3Cpath d='m0 0 60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='m0 0 60 30m0-30L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}

.site-title {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.site-title a {
  color: var(--navy);
  text-decoration: none;
}

.site-title img {
  display: block;
  width: min(18rem, 78vw);
  height: auto;
  margin: 0 auto;
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.site-nav a,
.site-footer a {
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

a[data-i18n="nav.contact"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

a[data-i18n="nav.contact"]::after,
#notice-open::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
}

h1[data-i18n="contact.title"] {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

h1[data-i18n="contact.title"]::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.78em;
  height: 0.78em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

a[data-i18n="nav.bag"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

a[data-i18n="nav.bag"]::after,
#contact span[data-i18n]::after,
#contact button[data-i18n="contact.send"]::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
}

h1[data-i18n="bag.title"] {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

h1[data-i18n="bag.title"]::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.85em;
  height: 0.85em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
}

a[data-i18n="nav.bag"]::after {
  width: 1.15em;
  height: 1.15em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
}

#contact span[data-i18n]::after {
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.35em;
  vertical-align: -0.15em;
}

#contact span[data-i18n="contact.name"]::after {
  content: "\1F481\1F3FB\200D\2640\FE0F";
  width: auto;
  height: auto;
  background: none;
  -webkit-mask: none;
  mask: none;
  filter: grayscale(1) contrast(1.35);
  font-size: 1.2em;
  line-height: 1;
}

#contact span[data-i18n="contact.email"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

#contact span[data-i18n="contact.message"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 2.5h8l6 6V21H6V2.5z'/%3E%3Cpath d='M14 2.5V8.5h6'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/g%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 2.5h8l6 6V21H6V2.5z'/%3E%3Cpath d='M14 2.5V8.5h6'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/g%3E%3C/svg%3E");
}

#contact button[data-i18n="contact.send"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

#contact button[data-i18n="contact.send"]::after {
  width: 1.15em;
  height: 1.15em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-3.6-3.6 1.4-1.4 2.2 2.2 4.6-4.6 1.4 1.4-6 6z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-3.6-3.6 1.4-1.4 2.2 2.2 4.6-4.6 1.4 1.4-6 6z'/%3E%3C/svg%3E");
}

#contact .lead::after {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-left: 0.35em;
  vertical-align: -0.2em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 4h2v12.17l4.59-4.58L19 13l-7 7-7-7 1.41-1.41L11 16.17z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 4h2v12.17l4.59-4.58L19 13l-7 7-7-7 1.41-1.41L11 16.17z'/%3E%3C/svg%3E");
}

a[data-i18n="nav.contact"]::after {
  width: 1.15em;
  height: 1.15em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

#notice-open::after {
  width: 0.85em;
  height: 1.05em;
  margin-left: 0.4em;
  vertical-align: -0.12em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M7 3h7l6 6v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3v6h6'/%3E%3Cpath d='M9 13h7M9 17h5'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M7 3h7l6 6v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3v6h6'/%3E%3Cpath d='M9 13h7M9 17h5'/%3E%3C/svg%3E");
}

.site-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--cream);
}

.site-footer {
  width: min(920px, calc(100% - 1.5rem));
  margin: 0.4rem auto 2rem;
  text-align: center;
  color: var(--green);
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
}

.site-nav a[data-i18n="nav.home"],
.site-nav a[data-i18n="nav.shop"],
.site-footer a[data-i18n="nav.home"],
.site-footer a[data-i18n="nav.shop"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.site-nav a[data-i18n="nav.home"]::after,
.site-nav a[data-i18n="nav.shop"]::after,
.site-footer a[data-i18n="nav.home"]::after,
.site-footer a[data-i18n="nav.shop"]::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
}

.site-nav a[data-i18n="nav.home"]::after,
.site-footer a[data-i18n="nav.home"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M12 1.8C6.2 1.8 1.8 6.2 1.8 10.8h20.4C22.2 6.2 17.8 1.8 12 1.8zM6.1 7.3a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 1 0-2.5 0zM13.2 5.4a1.05 1.05 0 1 0 2.1 0 1.05 1.05 0 1 0-2.1 0z'/%3E%3Cpath fill='%23000' d='M9 11.2h6v6.4a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6.4z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M12 1.8C6.2 1.8 1.8 6.2 1.8 10.8h20.4C22.2 6.2 17.8 1.8 12 1.8zM6.1 7.3a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 1 0-2.5 0zM13.2 5.4a1.05 1.05 0 1 0 2.1 0 1.05 1.05 0 1 0-2.1 0z'/%3E%3Cpath fill='%23000' d='M9 11.2h6v6.4a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-6.4z'/%3E%3C/svg%3E");
}

.site-nav a[data-i18n="nav.shop"]::after,
.site-footer a[data-i18n="nav.shop"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5 3.2h14c.6 0 1 .4 1 1v1.6H4V4.2c0-.6.4-1 1-1zM6.2 6.6h11.6v10.8H6.2zM7.4 8.2h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zM5 18.2h14c.6 0 1 .4 1 1v1.6c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-1.6c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5 3.2h14c.6 0 1 .4 1 1v1.6H4V4.2c0-.6.4-1 1-1zM6.2 6.6h11.6v10.8H6.2zM7.4 8.2h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zM5 18.2h14c.6 0 1 .4 1 1v1.6c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-1.6c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}

.story h1,
.page-title {
  margin: 0 0 0.8rem;
  font-family: Palatino, "Palatino Linotype", serif;
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.25;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 0.8rem;
}

.title-row .page-title {
  margin: 0;
}

#notice-open {
  font-size: 1.12rem;
  padding: 0.6rem 1.05rem;
  background-color: var(--peach);
  background-image: url("/patterns/pattern-5-two-ink.png");
  background-size: 420px auto;
  background-attachment: fixed;
}

.notice {
  width: min(40rem, calc(100% - 2rem));
  max-height: min(85vh, 46rem);
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--beige);
  border-radius: 18px;
  padding: 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 10px 30px rgb(5 20 95 / 18%);
}

.notice::backdrop {
  background: rgb(5 20 95 / 35%);
}

.notice form {
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 46rem);
  margin: 0;
  padding: 1.25rem 1.25rem 1.1rem;
  overflow: hidden;
}

.notice h2 {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 0.8rem;
  font-family: Palatino, "Palatino Linotype", serif;
  font-weight: 500;
  font-size: 1.6rem;
}

.notice h2::after,
.notice p[data-i18n="tool.notice.p2next"]::before,
.notice p[data-i18n="tool.notice.p7"]::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
}

.notice h2::after {
  width: 0.72em;
  height: 0.9em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M7 3h7l6 6v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3v6h6'/%3E%3Cpath d='M9 13h7M9 17h5'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M7 3h7l6 6v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3v6h6'/%3E%3Cpath d='M9 13h7M9 17h5'/%3E%3C/svg%3E");
}

.notice p[data-i18n="tool.notice.p2"],
.notice p[data-i18n="tool.notice.p6"] {
  margin-bottom: 0.35rem;
}

.notice p[data-i18n="tool.notice.p2next"]::before,
.notice p[data-i18n="tool.notice.p7"]::before {
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.28em;
  vertical-align: -0.18em;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
}

.notice-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.25rem;
}

.notice h3 {
  margin: 1.15rem 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.notice p,
.notice li {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.notice ol,
.notice ul {
  margin: 0 0 0.4rem;
  padding-left: 1.2rem;
}

.notice ul.steps {
  list-style: none;
  padding-left: 0;
}

.notice ol.notice-options > li > p {
  margin: 0 0 0.45rem;
}

.notice ol.notice-options > li > p:last-child {
  margin-bottom: 0;
}

.notice .actions {
  margin-top: 0.4rem;
}

.notice button[data-i18n="tool.noticeClose"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.notice button[data-i18n="tool.noticeClose"]::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

.pillars p {
  margin: 0;
  line-height: 1.5;
}

.story p,
.product p,
.bag-note {
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.story p:last-child {
  margin-bottom: 0;
}

.pillars,
.shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-swatch {
  height: 0.55rem;
  margin: -1.25rem -1.25rem 1rem;
  border-radius: 17px 17px 0 0;
}

.tag {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-actions,
.product .primary {
  margin-top: 0.3rem;
}

a.primary,
a.secondary {
  display: inline-block;
  text-decoration: none;
}

a.primary[data-i18n="home.ctaShop"],
a.secondary[data-i18n="home.ctaBag"] {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

a.primary[data-i18n="home.ctaShop"]::after,
a.secondary[data-i18n="home.ctaBag"]::after {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  background: currentColor;
}

a.primary[data-i18n="home.ctaShop"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5 3.2h14c.6 0 1 .4 1 1v1.6H4V4.2c0-.6.4-1 1-1zM6.2 6.6h11.6v10.8H6.2zM7.4 8.2h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zM5 18.2h14c.6 0 1 .4 1 1v1.6c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-1.6c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5 3.2h14c.6 0 1 .4 1 1v1.6H4V4.2c0-.6.4-1 1-1zM6.2 6.6h11.6v10.8H6.2zM7.4 8.2h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zm0 2.5h9.2v1.35H7.4zM5 18.2h14c.6 0 1 .4 1 1v1.6c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1v-1.6c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}

a.secondary[data-i18n="home.ctaBag"]::after {
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 10h17l-1.3 11H4.8L3.5 10z'/%3E%3Cpath d='M8 10c0-2.4 1.1-4 2.4-4'/%3E%3Cpath d='M16 10c0-2.4-1.1-4-2.4-4'/%3E%3C/svg%3E");
}

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.pick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pick label,
.swatches label {
  cursor: pointer;
}

.pick label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--green);
}

.pick label:has(input:checked) {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.pick input {
  accent-color: var(--cream);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.swatches label {
  position: relative;
}

.swatches input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.swatches .dot {
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--beige);
}

.swatches .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.swatches label:has(input:checked) .dot {
  box-shadow: 0 0 0 2px var(--navy);
}

.stack {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.7rem;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#contact-status[data-state="error"] {
  color: #6d1020;
}

textarea {
  font: inherit;
  width: 100%;
  min-height: 4.5rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--beige);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}

.bag-drawing {
  width: min(100%, 220px);
  margin: 0 auto 0.8rem;
  display: block;
}

.bag-summary {
  margin: 0 0 0.8rem;
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.45;
  background: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

main {
  width: min(920px, calc(100% - 1.5rem));
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--beige);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: 0 10px 30px rgb(5 20 95 / 8%);
}

.lead,
.hint {
  margin: 0 0 1rem;
  line-height: 1.45;
}

#bag > .lead {
  margin-bottom: 0.2rem;
}

#bag > .lead.spaced {
  margin-top: 0.95rem;
}

#bag > .lead.spaced:last-of-type {
  margin-bottom: 1rem;
}

.hint {
  color: var(--green);
  font-size: 0.92rem;
}

fieldset {
  border: 1px solid var(--beige);
  border-radius: 12px;
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem 1rem;
}

legend {
  padding: 0 0.35rem;
  font-weight: 650;
}

.presets,
.measures,
.piece,
.width,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.presets button,
.secondary,
.primary,
.ghost,
.lock {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.presets button,
.secondary,
.ghost,
.lock {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.mark {
  color: var(--green);
  font-weight: 700;
  font-family: "Segoe UI", Candara, sans-serif;
}

#add-width,
#add-piece {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mark.plus {
  font-size: 1.85em;
  line-height: 0.7;
}

.presets button[aria-pressed="true"],
.lock[aria-pressed="true"],
.primary {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
}

.lock[data-rotation="turned"] {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.primary {
  padding: 0.7rem 1.2rem;
  font-weight: 650;
}

.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ghost {
  color: var(--navy);
  border-color: var(--beige);
}

label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.92rem;
}

input {
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--beige);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  min-width: 0;
}

.with-unit {
  position: relative;
  display: block;
}

.with-unit input {
  width: 100%;
  padding-right: 3.1rem;
  appearance: textfield;
}

.with-unit input::-webkit-outer-spin-button,
.with-unit input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.with-unit .unit {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a3a3a3;
  pointer-events: none;
}

.measures label {
  flex: 1 1 12rem;
}

.piece,
.width {
  align-items: end;
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--beige);
}

.piece label,
.width label {
  flex: 1 1 8rem;
}

.width label.name,
.piece label.name {
  flex: 2 1 12rem;
}

#add-piece {
  margin-top: 0.2rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-family: Palatino, "Palatino Linotype", serif;
  font-weight: 500;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 0;
}

dt {
  font-size: 0.85rem;
  color: var(--green);
}

dd {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

.choices button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.choices button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.errors {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  color: #6d1020;
}

.voids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.sheet {
  margin-top: 1rem;
  overflow: auto;
  background: var(--peach);
  border: 1px solid var(--navy);
  border-radius: 12px;
}

.sheet svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .pillars,
  .shop,
  .bag-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  dl {
    grid-template-columns: 1fr;
  }

  .piece .ghost {
    flex: 1 1 100%;
  }
}
