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

html {
  min-height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bnb-header-height) + 1rem);
}

body {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bnb-warm-white);
  color: var(--bnb-ink);
  font-family: var(--bnb-font-sans);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.admin-bar .bnb-site-header {
  top: 32px;
}

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

a {
  color: var(--bnb-sea-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--bnb-terracotta-dark);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--bnb-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--bnb-mediterranean-deep);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  color: var(--bnb-mediterranean);
  font-family: var(--bnb-font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

p {
  margin: 0 0 1.25rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

.bnb-container {
  width: min(calc(100% - 2rem), var(--bnb-container));
  margin-inline: auto;
}

.bnb-reading-width {
  width: min(100%, var(--bnb-reading));
}

.bnb-section {
  position: relative;
  padding-block: clamp(4.75rem, 9vw, 8rem);
}

.bnb-section--sand {
  background: var(--bnb-sand);
}

.bnb-section--white {
  background: #fff;
}

.bnb-section--dark {
  background: var(--bnb-mediterranean);
  color: #fff;
}

.bnb-section--dark :where(h1, h2, h3, p, a) {
  color: inherit;
}

.bnb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--bnb-terracotta-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bnb-eyebrow::before {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.bnb-section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.bnb-section-heading > p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--bnb-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.screen-reader-text,
.bnb-skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bnb-skip-link:focus {
  position: fixed !important;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.8rem 1rem;
  clip: auto;
  background: #fff;
  color: var(--bnb-mediterranean);
  border-radius: 0.5rem;
}

.bnb-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 782px) {
  body.admin-bar .bnb-site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .bnb-section {
    padding-block: 3.75rem;
  }

  .bnb-section-heading {
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
