@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: "WerbeDeutsch";
  src: url("/static/core/fonts/werbedeutsch.heavy.3a66e444d395.woff2") format("woff2");
  font-weight: 800;
  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;
}

:root {
  color-scheme: light;
  --font-sans: "Acari Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "WerbeDeutsch", var(--font-sans);
  --font-accent: "DotMatrix", 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-accent { font-family: var(--font-accent); }

.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-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;
}

/* 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-profile {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
}

.nav-profile img {
  width: 18px;
  height: 18px;
  display: block;
}

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

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

.home-hero {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 40px 0 24px;
}

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

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

.home-links {
  display: flex;
  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;
}

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

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

.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 {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.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;
}

.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;
  }
}

.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;
  }
}
