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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--osh-text);
  background: var(--osh-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.osh-nav-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  body:not(.osh-admin-toolbar-on):not(.adm-body) {
    padding-bottom: var(--osh-tabbar-clearance);
  }
}

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

a {
  color: var(--osh-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--osh-accent);
}

:focus-visible {
  outline: 3px solid var(--osh-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--osh-deep-river);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--osh-deep-river);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}

.section--aqua {
  background: linear-gradient(180deg, #eef8f9 0%, var(--osh-warm-white) 100%);
}

.section--sand {
  background: linear-gradient(180deg, #f7f2ea 0%, var(--osh-warm-white) 85%);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--text-section);
  margin-bottom: 0.5rem;
}

.section-heading::before {
  content: "";
  width: 2rem;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--osh-accent);
  flex-shrink: 0;
}

.section-lead {
  color: var(--osh-text-secondary);
  max-width: 38rem;
  font-size: var(--text-support);
  margin-bottom: 2rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.wave-divider {
  display: block;
  width: 100%;
  height: clamp(3rem, 8vw, 5.5rem);
  color: var(--osh-warm-white);
  margin-top: -1px;
}

.wave-divider path {
  fill: currentColor;
}

/* Context sidebar is styled in app.css; homepage simply omits the markup. */
