:root {
  --bg: #f8f4ec;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --ink: #183243;
  --muted: #556573;
  --line: #d8cfbf;
  --accent: #1f5b75;
  --accent-strong: #143f52;
  --warm: #d7834f;
  --warm-soft: #f1e0cf;
  --shadow: 0 18px 40px rgba(24, 50, 67, 0.09);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1120px;
  --heading-font: Charter, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --body-font: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 131, 79, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 91, 117, 0.12), transparent 26%),
    linear-gradient(180deg, #fcf7f0 0%, #f6efe3 42%, #fbf8f2 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.topbar {
  background: #17303e;
  color: #f7f4ee;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.topbar p {
  margin: 0;
  color: #f7f4ee;
  font-size: 0.95rem;
}

.topbar-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #f7f4ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar-links a,
.footer-links a,
.button-text {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 50, 67, 0.08);
  background: rgba(252, 247, 240, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.15rem;
  height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #2c728f);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-family: var(--heading-font);
  font-size: 1.15rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #e7edf0;
  color: var(--ink);
}

main {
  padding-bottom: 4rem;
}

section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(24, 50, 67, 0.08);
  border-bottom: 1px solid rgba(24, 50, 67, 0.08);
}

.hero {
  padding: 4.75rem 0 4rem;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-brand-accent {
  position: absolute;
  right: -7.5rem;
  top: 50%;
  z-index: 0;
  width: min(34rem, 46vw);
  transform: translateY(-50%);
  opacity: 0.1;
  filter: saturate(0.92) contrast(0.96);
  pointer-events: none;
}

.hero-grid,
.grid-2,
.grid-3,
.logo-strip,
.contact-grid,
.footer-grid,
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.grid-2,
.contact-grid,
.footer-grid,
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
}

.panel,
.card,
.faq details {
  background: var(--surface);
  border: 1px solid rgba(24, 50, 67, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.card,
.faq details,
.contact-card {
  padding: clamp(1.3rem, 2.8vw, 2rem);
}

.contact-card {
  background: linear-gradient(180deg, #17303e 0%, #1b3948 100%);
  color: #f8f5ef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card p,
.contact-card li {
  color: #e7e2d9;
}

.contact-card a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--warm-soft);
  color: #7b4d2c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.38rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  color: var(--ink);
  font-size: 1.12rem;
  max-width: 40rem;
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.hero-actions,
.button-row,
.chips,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 63, 82, 0.14);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: #ffffff;
  border-color: #bfd0d8;
  color: var(--accent-strong);
}

.button-text {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.number-badge {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--warm-soft);
  color: #7b4d2c;
  font-weight: 800;
}

.media-placeholder,
.logo-placeholder {
  border: 1.5px dashed #cbbca8;
  background:
    linear-gradient(135deg, rgba(215, 131, 79, 0.12), rgba(31, 91, 117, 0.08)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.78) 0,
      rgba(255, 255, 255, 0.78) 12px,
      rgba(248, 241, 230, 0.92) 12px,
      rgba(248, 241, 230, 0.92) 24px
    );
  color: #7d614a;
}

.media-placeholder {
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding: 1.4rem;
  border-radius: calc(var(--radius) - 4px);
  font-weight: 800;
}

.media-placeholder small {
  display: block;
  margin-top: 0.45rem;
  font-weight: 600;
  color: #896d58;
}

.logo-placeholder {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
}

.brand-figure,
.video-frame {
  margin: 0;
}

.brand-figure {
  padding: 1rem;
  border: 1px solid rgba(24, 50, 67, 0.08);
  border-radius: calc(var(--radius) - 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 236, 224, 0.9)),
    radial-gradient(circle at top right, rgba(215, 131, 79, 0.16), transparent 38%);
}

.brand-figure img {
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(24, 50, 67, 0.12);
}

.brand-figure figcaption,
.media-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.video-card {
  display: flex;
  flex-direction: column;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 4px);
  background: #10202a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.35rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--warm);
}

.chips {
  margin-top: 1.2rem;
}

.chip {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  font-weight: 700;
}

.faq details + details {
  margin-top: 0.9rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cdbfac;
  border-radius: 14px;
}

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

.form-full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(24, 50, 67, 0.08);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-weight: 800;
}

.footer-links a {
  display: block;
  margin-bottom: 0.55rem;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.reveal-up {
  animation: rise 0.6s ease both;
}

.delay-2 {
  animation-delay: 0.12s;
}

.delay-3 {
  animation-delay: 0.22s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 3px solid rgba(31, 91, 117, 0.38);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .logo-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-brand-accent {
    right: -5rem;
    width: min(30rem, 62vw);
  }
}

@media (max-width: 780px) {
  .topbar-inner,
  .nav-wrap,
  .contact-grid,
  .grid-2,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 0.7rem);
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-brand-accent {
    right: -6rem;
    top: auto;
    bottom: -3.5rem;
    width: min(24rem, 70vw);
    transform: none;
    opacity: 0.08;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  section {
    padding: 3.8rem 0;
  }

  .site-nav a {
    flex-basis: 100%;
  }

  .brand {
    align-items: flex-start;
  }

  .hero-brand-accent {
    right: -5.25rem;
    bottom: -4.25rem;
    width: min(18rem, 78vw);
    opacity: 0.07;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
