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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f3ec;
  color: #241f1a;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #1c1915;
}

h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.14;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 0;
}

::selection {
  background: #ead9bc;
  color: #1c1915;
}

:focus-visible {
  outline: 2px solid #6d5130;
  outline-offset: 3px;
}

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

.niubbe-wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

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

.niubbe-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f7f3ec;
  border-bottom: 1px solid #e4dacd;
}

.niubbe-header-rule {
  height: 3px;
  background: #b0873f;
}

.niubbe-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.niubbe-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.niubbe-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d9cec0;
  border-radius: 4px;
  background: transparent;
  color: #241f1a;
  cursor: pointer;
}

.niubbe-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.niubbe-nav-link,
.niubbe-nav-sub a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}

.niubbe-nav-link {
  padding: 8px 0;
  box-shadow: inset 0 -2px 0 transparent;
}

.niubbe-nav-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #b0873f;
}

.niubbe-nav-group {
  position: relative;
}

.niubbe-nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  padding-top: 10px;
  opacity: 0;
  pointer-events: none;
}

.niubbe-nav-sub a {
  display: block;
  background: #fffdfb;
  border: 1px solid #e4dacd;
  padding: 10px 14px;
  white-space: nowrap;
}

.niubbe-nav-sub a[aria-current="page"] {
  color: #6d5130;
}

.niubbe-nav-group:hover .niubbe-nav-sub,
.niubbe-nav-group:focus-within .niubbe-nav-sub {
  opacity: 1;
  pointer-events: auto;
}

.niubbe-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d5130;
}

.niubbe-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #b0873f;
  flex: 0 0 auto;
}

.niubbe-lede {
  max-width: 40rem;
  margin-top: 18px;
  color: #5c564e;
  font-size: 1.12rem;
  line-height: 1.7;
}

.niubbe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 4px;
  border: 1px solid #241f1a;
  background: #241f1a;
  color: #f7f3ec;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.niubbe-btn:hover {
  background: #3a3229;
  border-color: #3a3229;
  transform: translateY(-1px);
}

.niubbe-btn-line {
  background: transparent;
  color: #241f1a;
  border-color: #c9bbaa;
}

.niubbe-btn-line:hover {
  background: transparent;
  border-color: #241f1a;
  color: #241f1a;
}

.niubbe-btn-light {
  background: #f7f3ec;
  color: #241f1a;
  border-color: #f7f3ec;
}

.niubbe-btn-light:hover {
  background: #fffdfb;
  border-color: #fffdfb;
  color: #241f1a;
}

.niubbe-text-link {
  color: #6d5130;
  font-weight: 500;
  text-underline-offset: 3px;
}

.niubbe-pagehead {
  position: relative;
  padding: 72px 0 12px;
  overflow: hidden;
}

.niubbe-pagehead::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(176, 135, 63, 0.35);
  border-radius: 50%;
  right: -140px;
  top: -180px;
  pointer-events: none;
}

.niubbe-pagehead h1 {
  max-width: 16ch;
  position: relative;
}

.niubbe-crumb {
  margin: 0 0 18px;
  color: #6d645b;
  font-size: 0.92rem;
}

.niubbe-crumb a {
  text-decoration: none;
}

.niubbe-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.niubbe-footer {
  margin-top: 20px;
  background: #1c1915;
  color: #f3eee6;
  padding: 56px 0 28px;
}

.niubbe-footer a {
  text-decoration: none;
}

.niubbe-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.niubbe-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr 0.8fr;
  gap: 32px;
}

.niubbe-footer-name {
  margin-top: 14px;
  max-width: 16rem;
  color: #f3eee6;
}

.niubbe-footer-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7c4a2;
}

.niubbe-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.niubbe-footer-note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 238, 230, 0.16);
  color: #cbbfae;
  font-size: 0.92rem;
  max-width: 48rem;
}

.niubbe-cookie-set .niubbe-cookie {
  display: none;
}

.niubbe-cookie[hidden] {
  display: none;
}

.niubbe-cookie {
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: #fffdfb;
  border: 1px solid #e4dacd;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(28, 25, 21, 0.12);
}

.niubbe-cookie-title {
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.niubbe-cookie p {
  color: #5c564e;
  font-size: 0.95rem;
}

.niubbe-cookie-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.niubbe-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.niubbe-field span {
  font-size: 0.92rem;
  font-weight: 500;
}

.niubbe-field input,
.niubbe-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9cec0;
  border-radius: 4px;
  background: #fffdfb;
}

.niubbe-field textarea {
  min-height: 140px;
  resize: vertical;
}

.niubbe-field input.niubbe-field-invalid,
.niubbe-field textarea.niubbe-field-invalid {
  border-color: #8c3d32;
}

.niubbe-form-note {
  min-height: 1.4em;
  color: #5c564e;
  font-size: 0.95rem;
}

.niubbe-js .niubbe-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.niubbe-js .niubbe-reveal-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .niubbe-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .niubbe-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .niubbe-header {
    position: sticky;
  }

  .niubbe-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 24px 18px;
    background: #f7f3ec;
    border-bottom: 1px solid #e4dacd;
  }

  .niubbe-nav-open {
    display: flex;
  }

  .niubbe-nav-sub {
    position: static;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 8px 12px;
  }

  .niubbe-nav-sub a {
    border: 0;
    background: transparent;
    padding: 6px 0;
  }

  .niubbe-cookie {
    flex-direction: column;
    align-items: stretch;
  }

  .niubbe-cookie-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .niubbe-wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .niubbe-footer-grid {
    grid-template-columns: 1fr;
  }

  .company-logo {
    width: 148px;
    height: 50px;
  }

  h1 {
    font-size: 2.45rem;
  }
}

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

  .niubbe-js .niubbe-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .niubbe-btn {
    transition: none;
  }
}
