@font-face {
  font-family: "DotMatrix";
  src: url("/static/core/fonts/dotmatrix.varduo-ultracondensed-regular.e1a5135b1360.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bedstead";
  src: url("/static/core/fonts/bedstead-bold.0d46096e2a15.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Compagnon";
  src: url("/static/core/fonts/compagnon-medium.f0f920753c6b.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acari Sans";
  src: url("/static/core/fonts/acari-sans.regular.4f170f2aa76e.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Werbedeutsch";
  src: url("/static/core/fonts/werbedeutsch.heavy.3a66e444d395.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-sans: "Acari Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Bedstead", var(--font-sans);
  --font-prose: "Compagnon", var(--font-sans);
  --font-accent: "DotMatrix", var(--font-sans);
  --font-sig: "Werbedeutsch", var(--font-sans);
}

body { margin: 0; font-family: var(--font-sans); line-height: 1.5; }
a { color: inherit; }
nav a { text-decoration: none; margin-left: 12px; }
main h1 { font-size: 48px; margin: 32px 0 8px; }
main p { font-size: 18px; color: #333; }
.container { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.rule { border-bottom: 1px solid #e5e5e5; }

body {
  margin: 0;
  background: #ffffff;
  color: #000;
  font-family: var(--font-sans);
}

/* baseline */
html, body { height: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.font-display { font-family: var(--font-display); }
.font-prose { font-family: var(--font-prose); }
.font-accent { font-family: var(--font-accent); }
.font-sig {
  font-family: var(--font-sig);
  font-weight: 900;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 800px) {
  .container, .page-content {
    padding: 0 20px ! important;
  }
}

/* sticky footer layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
  padding: 48px 0; /* controls how far down the hero sits */
}

/* hero */
.hero h1 {
  font-family: var(--font-accent);
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

/* footer */
.footer {
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #444;
}

.footer-faq {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 15px;
}

/* faq */
.faq-page {
  max-width: 720px;
}

.faq-page > h1 {
  font-family: var(--font-accent);
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 32px;
}

.faq-section {
  border-top: 1px solid #dedede;
  padding: 26px 0;
}

.faq-section h2,
.faq-section h3,
.faq-section p {
  margin-top: 0;
}

.faq-section h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 28px;
}

.faq-section h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.faq-section p {
  margin-bottom: 20px;
  color: #333;
  font-family: var(--font-prose);
  font-size: 18px;
}

.faq-section p:last-child {
  margin-bottom: 0;
}

.faq-size-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--font-prose);
  font-size: 18px;
}

.faq-note {
  font-style: italic;
}

/* navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
  background: #fff;
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  height: 26px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 18px;
  font-family: var(--font-display);
}

.nav-links a:hover {
  text-decoration-thickness: 2px;
}

.nav-menu {
  margin-left: auto;
  position: relative;
}

.nav-menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.nav-menu-toggle::-webkit-details-marker {
  display: none;
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.nav-menu-icon {
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-menu-icon span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: #111;
  transform-origin: center;
  transition: transform 180ms ease, opacity 140ms ease;
}

.nav-menu[open] .nav-menu-icon span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-menu[open] .nav-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-menu[open] .nav-menu-icon span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 150px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

.nav-menu-panel a {
  display: block;
  margin: 0;
  border-radius: 5px;
  padding: 9px 12px;
  font-family: var(--font-display);
  font-size: 16px;
  white-space: nowrap;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible {
  background: #f2f2f2;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu-icon span {
    transition: none;
  }
}

.nav-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0 4px;
  background: #d71920;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.home-splash .nav {
  opacity: 0;
  pointer-events: none;
}

.home-splash {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.home-splash .page-content {
  min-height: 0;
  padding: 0 !important;
}

.home-splash.nav-ready .nav {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.home-hero {
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
}

.home-hero-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.home-logo {
  width: min(520px, 70vw);
  height: auto;
  display: block;
}

.home-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 20px;
}

.home-links a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.home-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.home-links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .home-links {
    flex-direction: column;
    gap: 12px;
    font-size: 18px;
  }
}

@media (min-width: 900px) {
  .home-hero-inner {
    transform: translateY(-36px);
  }
}

.footer-links img {
  height: 18px;
  opacity: 0.85;
}

.footer-links img:hover {
  opacity: 1;
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 24px 0;
}

.gallery-page h1 {
  margin: 0 0 20px;
  font-family: var(--font-accent);
  font-size: 56px;
  line-height: 1.1;
}

.gallery-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.custom-gallery-item,
.custom-gallery-plus {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
}

.profile-page {
  display: grid;
  gap: 28px;
  max-width: 720px;
}

.profile-header h1,
.profile-header p {
  margin: 0;
}

.profile-header h1 {
  font-size: 52px;
  line-height: 1.05;
}

.profile-subpage {
  max-width: 680px;
}

.profile-intro {
  margin-top: 8px !important;
  color: #555;
  font-family: var(--font-prose);
  font-size: 18px;
}

.profile-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  padding: 20px 0;
}

.profile-identity > div {
  display: grid;
  gap: 2px;
}

.profile-identity strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.profile-identity span:not(.profile-monogram) {
  color: #555;
  font-size: 14px;
}

.profile-monogram {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 22px;
  text-transform: uppercase;
}

.profile-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-menu a {
  display: flex;
  min-height: 112px;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.profile-menu a:hover {
  border-color: #888;
  text-decoration: none;
  transform: translateY(-2px);
}

.profile-menu a > span:first-child {
  display: grid;
  align-content: start;
  gap: 5px;
}

.profile-menu strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.profile-menu small {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

.profile-menu-arrow {
  font-size: 22px;
  line-height: 1;
}

.back-link-text {
  width: fit-content;
  color: #555;
  font-size: 14px;
  text-decoration: underline;
}

.profile-panel {
  display: grid;
  gap: 18px;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 24px;
}

.profile-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.profile-panel-header h2,
.profile-panel-header p {
  margin: 0;
}

.profile-save-state {
  color: #267347;
  font-size: 14px;
}

.profile-form {
  display: grid;
  gap: 14px;
}

.profile-readonly-field {
  display: grid;
  gap: 3px;
  border-top: 1px solid #e5e5e5;
  margin-top: 4px;
  padding-top: 16px;
}

.profile-readonly-field > span {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.profile-readonly-field strong {
  font-weight: 400;
}

.profile-readonly-field small {
  color: #666;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #111;
  font: inherit;
}

.form-row textarea {
  padding: 10px 12px;
}

.errorlist {
  margin: 0;
  padding-left: 18px;
  color: #9b1c1c;
  font-size: 14px;
}

.profile-actions,
.profile-logout-form {
  display: flex;
  gap: 10px;
}

.profile-logout-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
}

.btn-primary {
  min-height: 42px;
  border: 1px solid #111;
  border-radius: 8px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.profile-order-list {
  display: grid;
  gap: 12px;
}

.profile-order {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 14px;
}

.profile-order h3,
.profile-order p,
.profile-empty-state {
  margin: 0;
}

.profile-order p,
.profile-empty-state {
  color: #444;
  font-size: 15px;
}

.profile-order .product-cta {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .profile-header h1 {
    font-size: 42px;
  }

  .profile-menu {
    grid-template-columns: 1fr;
  }

  .profile-order {
    align-items: start;
    flex-direction: column;
  }
}

.custom-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-gallery-item {
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

.custom-gallery-item:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.custom-lightbox[hidden] {
  display: none;
}

.custom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(0, auto) minmax(48px, 1fr);
  align-items: center;
  padding: 56px 16px 44px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
}

.custom-lightbox-image {
  grid-column: 2;
  grid-row: 1;
  display: block;
  max-width: min(82vw, 1100px);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  object-fit: contain;
}

.custom-lightbox button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.custom-lightbox-arrow {
  grid-row: 1;
  align-self: stretch;
  min-width: 48px;
  padding: 0;
  font: 300 56px/1 Arial, sans-serif;
  opacity: 0.82;
}

.custom-lightbox-arrow:hover,
.custom-lightbox-arrow:focus-visible,
.custom-lightbox-close:hover,
.custom-lightbox-close:focus-visible {
  opacity: 1;
}

.custom-lightbox-previous {
  grid-column: 1;
}

.custom-lightbox-next {
  grid-column: 3;
}

.custom-lightbox-close {
  position: absolute;
  top: 12px;
  right: 18px;
  padding: 4px 10px;
  font: 300 38px/1 Arial, sans-serif;
  opacity: 0.82;
}

.custom-lightbox-count {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .custom-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-inline: 0;
  }

  .custom-lightbox-image {
    max-width: 100%;
  }

  .custom-lightbox-arrow {
    min-width: 44px;
    font-size: 46px;
  }
}

.custom-gallery-plus {
  position: relative;
  background: #f3f3f3;
  border: 1px solid #d8d8d8;
  box-sizing: border-box;
}

.custom-gallery-plus::before,
.custom-gallery-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 2px;
  background: #111;
  transform: translate(-50%, -50%);
}

.custom-gallery-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.custom-form {
  width: 100%;
  margin: 24px auto 0;
  display: grid;
  gap: 14px;
  max-width: 640px;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 14px;
  color: #222;
}

.form-row input[type="email"],
.form-row input[type="text"],
.form-row input[type="password"],
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-row-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary,
.custom-form button {
  width: fit-content;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
}

.btn-primary:hover,
.custom-form button:hover {
  background: #000;
}

.form-success {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #b8e5bd;
  background: #f3fff4;
  color: #1f5e28;
  border-radius: 6px;
}

.form-errors,
.field-error {
  color: #9e1c1c;
  font-size: 14px;
}

.errorlist {
  margin: 0;
  padding-left: 18px;
}

/* auth mock */
.auth-page {
  display: grid;
  gap: 32px;
}

.auth-header {
  max-width: 640px;
}

.auth-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  margin: 0 0 10px;
  color: #555;
}

.auth-header h1 {
  margin: 0 0 8px;
  font-size: 48px;
}

.auth-subtitle {
  margin: 0;
  color: #444;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.guest-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 14px 24px;
  align-items: center;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  color: #555;
}

.guest-checkout-heading {
  display: grid;
  gap: 2px;
  font-size: 14px;
}

.guest-checkout-heading strong { color: #222; }

.guest-checkout-fields {
  display: flex;
  gap: 10px;
}

.guest-checkout-fields input {
  min-width: 0;
  flex: 1;
  box-sizing: border-box;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 9px 11px;
  font: inherit;
}

.guest-checkout-fields button {
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #444;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  white-space: nowrap;
}

.guest-checkout-errors { grid-column: 2; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.auth-card-alt {
  background: #f8f8f8;
}

.auth-card-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.auth-card-header p {
  margin: 0;
  color: #444;
}

.auth-card button {
  width: 100%;
  justify-content: center;
}

.auth-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.auth-footnote {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-header h1 {
    font-size: 40px;
  }

  .guest-checkout {
    grid-template-columns: 1fr;
  }

  .guest-checkout-errors { grid-column: 1; }
}

body.soft-gate-open {
  overflow: hidden;
}

.soft-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.soft-gate-card {
  width: min(100%, 420px);
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.soft-gate-card h2,
.soft-gate-card p {
  margin: 0;
}

.soft-gate-card h2 {
  font-size: 36px;
  line-height: 1.1;
}

.soft-gate-card > p:not(.soft-gate-kicker):not(.soft-gate-error) {
  color: #444;
}

.soft-gate-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soft-gate-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
}

.soft-gate-card input:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.soft-gate-card button {
  width: 100%;
  justify-content: center;
}

.soft-gate-error {
  color: #9f1d1d;
  font-size: 14px;
}

@media (max-width: 520px) {
  .soft-gate-card {
    padding: 24px;
  }
}

.profile-page {
  display: grid;
  gap: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.profile-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.profile-card p {
  margin: 0;
  color: #444;
}

.profile-actions {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
