:root {
  --fomster-ink: #1c1915;
  --fomster-ivory: #f3eee6;
  --fomster-paper: #fbf7f1;
  --fomster-burgundy: #6e2a36;
  --fomster-burgundy-deep: #4e1c26;
  --fomster-brass: #6e5428;
  --fomster-brass-bright: #c6a15a;
  --fomster-olive: #3c4a40;
  --fomster-muted: #6b645c;
  --fomster-line: rgba(28, 25, 21, 0.12);
  --fomster-shadow: 0 10px 30px rgba(28, 25, 21, 0.08);
  --fomster-radius: 12px;
  --fomster-font-display: "Outfit", "Segoe UI", sans-serif;
  --fomster-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --fomster-header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--fomster-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--fomster-ink);
  background: var(--fomster-ivory);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fomster-font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--fomster-burgundy);
  color: var(--fomster-paper);
}

:focus-visible {
  outline: 2px solid var(--fomster-brass);
  outline-offset: 3px;
}

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

.fomster-skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  background: var(--fomster-ink);
  color: var(--fomster-paper);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.fomster-skip:focus {
  top: 12px;
}

.fomster-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.fomster-kicker {
  font-family: var(--fomster-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fomster-brass);
  margin-bottom: 12px;
}

.fomster-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 38rem;
  color: var(--fomster-olive);
}

.fomster-block {
  padding: 76px 0;
}

.fomster-pagehead {
  padding: 56px 0 8px;
}

.fomster-pagehead h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  max-width: 16ch;
  margin-bottom: 16px;
}

.fomster-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--fomster-muted);
  margin-bottom: 14px;
}

.fomster-crumb a {
  color: var(--fomster-burgundy);
  text-decoration: none;
}

.fomster-band-paper {
  background: var(--fomster-paper);
}

.fomster-band-ink {
  background: var(--fomster-ink);
  color: var(--fomster-ivory);
}

.fomster-band-wine {
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(198, 161, 90, 0.18), transparent 70%),
    var(--fomster-burgundy-deep);
  color: var(--fomster-paper);
}

.fomster-band-wine .fomster-kicker,
.fomster-band-ink .fomster-kicker {
  color: var(--fomster-brass-bright);
}

.company-logo {
  width: 180px;
  height: 60px;
  background-image: url("img/company-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.fomster-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--fomster-header-h);
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fomster-line);
}

.fomster-header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fomster-brand {
  display: inline-flex;
  text-decoration: none;
  flex: 0 0 auto;
}

.fomster-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--fomster-line);
  background: transparent;
  color: var(--fomster-ink);
  cursor: pointer;
}

.fomster-nav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fomster-nav-panel a {
  text-decoration: none;
  font-family: var(--fomster-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 8px;
}

.fomster-nav-panel a:hover {
  color: var(--fomster-burgundy);
}

.fomster-nav-panel a[aria-current="page"] {
  color: var(--fomster-burgundy);
  box-shadow: inset 0 -2px 0 var(--fomster-brass);
}

.fomster-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--fomster-font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fomster-btn-primary {
  background: var(--fomster-burgundy);
  color: var(--fomster-paper);
}

.fomster-btn-primary:hover {
  background: var(--fomster-burgundy-deep);
  transform: translateY(-1px);
}

.fomster-btn-ghost {
  background: transparent;
  color: var(--fomster-ink);
  border-color: rgba(28, 25, 21, 0.28);
}

.fomster-btn-ghost:hover {
  color: var(--fomster-burgundy);
  border-color: var(--fomster-burgundy);
}

.fomster-btn-light {
  background: var(--fomster-brass-bright);
  color: var(--fomster-ink);
}

.fomster-btn-light:hover {
  background: #ddc07a;
  transform: translateY(-1px);
}

.fomster-btn-line {
  background: transparent;
  color: var(--fomster-paper);
  border-color: rgba(251, 247, 241, 0.4);
}

.fomster-btn-line:hover {
  border-color: var(--fomster-brass-bright);
  color: var(--fomster-brass-bright);
}

.fomster-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fomster-burgundy);
  font-weight: 600;
  text-decoration: none;
}

.fomster-textlink i {
  transition: transform 0.2s ease;
}

.fomster-textlink:hover i {
  transform: translateX(4px);
}

.fomster-frame {
  border-radius: var(--fomster-radius);
  overflow: hidden;
  box-shadow: var(--fomster-shadow);
  background: #e7e0d6;
}

.fomster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fomster-footer {
  background: var(--fomster-ink);
  color: var(--fomster-ivory);
  padding: 56px 0 28px;
}

.fomster-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 36px;
}

.fomster-footer .company-logo {
  margin-bottom: 16px;
}

.fomster-footer p,
.fomster-footer a {
  color: rgba(243, 238, 230, 0.82);
}

.fomster-footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fomster-brass-bright);
  margin-bottom: 14px;
}

.fomster-footer-links {
  display: grid;
  gap: 8px;
}

.fomster-footer-links a {
  text-decoration: none;
}

.fomster-footer-links a:hover,
.fomster-footer-links a[aria-current="page"] {
  color: var(--fomster-paper);
}

.fomster-footer-contact {
  display: grid;
  gap: 12px;
}

.fomster-footer-contact a {
  text-decoration: none;
}

.fomster-footer-contact a:hover {
  color: var(--fomster-paper);
}

.fomster-footer-contact a,
.fomster-footer-contact p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.fomster-footer-contact i {
  color: var(--fomster-brass-bright);
  margin-top: 4px;
}

.fomster-footer-contact span {
  display: block;
}

.fomster-legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 238, 230, 0.12);
  color: rgba(243, 238, 230, 0.62);
  font-size: 0.92rem;
}

.fomster-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: var(--fomster-paper);
  color: var(--fomster-ink);
  border-radius: var(--fomster-radius);
  box-shadow: 0 16px 40px rgba(28, 25, 21, 0.16);
  border: 1px solid var(--fomster-line);
}

.fomster-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.fomster-cookie h2 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.fomster-cookie p {
  color: var(--fomster-muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

.fomster-cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.fomster-motion .fomster-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fomster-motion .fomster-reveal-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .fomster-block {
    padding: 52px 0;
  }

  .fomster-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fomster-header {
    height: auto;
    min-height: var(--fomster-header-h);
  }

  .fomster-header-bar {
    min-height: var(--fomster-header-h);
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .fomster-nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .fomster-nav-panel.fomster-nav-open {
    display: flex;
  }

  .fomster-footer-grid,
  .fomster-cookie-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .fomster-cookie-actions {
    width: 100%;
  }

  .fomster-cookie-actions .fomster-btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fomster-motion .fomster-reveal,
  .fomster-btn,
  .fomster-textlink i {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
