@font-face {
  font-family: "NLTG Wave";
  src: url("../fonts/nltg-wave-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Text";
  src: url("../fonts/red-hat-text.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/source-sans-pro-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thomas Headline";
  src: url("../fonts/thomas-headline-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thomas Headline";
  src: url("../fonts/thomas-headline-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff8f2;
  --text: #111111;
  --text-muted: #4e4e4e;
  --accent: #f58a21;
  --accent-strong: #f15f22;
  --border: #efdfd2;
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(25, 20, 14, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans Pro", "Red Hat Text", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-family: "Thomas Headline", "Source Sans Pro", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--text-muted);
  padding: 0.35rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.site-nav .nav-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: var(--accent-strong);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  border-color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.hero,
.page-hero {
  padding: 5.5rem 0 3rem;
}

/* Text-first legal pages: less air above/below the title block */
.page-hero--compact {
  padding: 2rem 0 1rem;
}

.page-hero--compact h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0.35rem 0 0.5rem;
}

.section--tight {
  padding: 1rem 0 2.25rem;
}

.policy--legal {
  padding: 1rem 1.15rem;
}

.hero--photo {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 12vw, 6rem) 0 3.5rem;
  margin-top: 0;
  min-height: min(78vh, 880px);
  display: flex;
  align-items: center;
  background-color: #e8e4df;
  background-image: linear-gradient(
      105deg,
      rgba(18, 16, 14, 0.38) 0%,
      rgba(18, 16, 14, 0.2) 45%,
      rgba(18, 16, 14, 0.1) 100%
    ),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero--photo h1 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 20px rgba(0, 0, 0, 0.18);
}

.btn-on-dark {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.page-hero--tail,
.page-hero--winglet {
  position: relative;
  padding: clamp(3.5rem, 10vw, 5rem) 0 2.75rem;
  min-height: min(44vh, 520px);
  display: flex;
  align-items: flex-end;
  background-color: #2a2622;
  background-size: cover;
  background-position: center;
}

.page-hero--tail {
  background-image: linear-gradient(100deg, rgba(12, 10, 8, 0.52) 0%, rgba(12, 10, 8, 0.24) 100%),
    url("../images/tail.png");
}

.page-hero--winglet {
  background-image: linear-gradient(100deg, rgba(12, 10, 8, 0.55) 0%, rgba(12, 10, 8, 0.22) 100%),
    url("../images/winglet.png");
}

.page-hero--tail h1,
.page-hero--winglet h1 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 16px rgba(0, 0, 0, 0.15);
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.section-brand {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
}

.brand-panel {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  color: #ffffff;
}

.brand-panel p {
  color: rgba(255, 255, 255, 0.95);
  margin: 1rem 0 1.25rem;
}

.brand-panel-lockup {
  display: block;
  max-width: min(280px, 86vw);
  height: auto;
  width: auto;
  margin-inline: auto;
}

.brand-panel .btn-primary {
  background: #ffffff;
  color: var(--accent-strong);
}

.brand-panel .btn-primary:hover,
.brand-panel .btn-primary:focus-visible {
  background: #fff8f2;
  color: #b43f0f;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.6fr 1fr;
}

.hero h1,
.page-hero h1 {
  line-height: 1.2;
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin: 0.45rem 0 0.9rem;
  font-family: "NLTG Wave", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Muted body copy only on light heroes (not photo / tail / winglet) */
.hero:not(.hero--photo) p,
.page-hero:not(.page-hero--tail):not(.page-hero--winglet) p {
  color: var(--text-muted);
}

.hero p,
.page-hero p {
  max-width: 60ch;
}

/* Hard-read white copy on dark hero backgrounds (wins over .eyebrow and p rules above) */
.hero--photo .eyebrow,
.page-hero--tail .eyebrow,
.page-hero--winglet .eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero--photo p,
.page-hero--tail p,
.page-hero--winglet p {
  color: #f4f4f4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.66rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--accent-strong);
  background: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
}

.btn-wide {
  width: 100%;
}

.hero-card,
.card,
.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.2rem;
}

.hero-card h2 {
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.section {
  padding: 3.3rem 0;
}

.section-muted {
  background: var(--surface-soft);
}

.section-head h2 {
  margin-top: 0.5rem;
  font-family: "Thomas Headline", "Source Sans Pro", sans-serif;
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 1rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1rem 1.05rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.card h2,
.card h3,
.policy h2 {
  font-family: "Thomas Headline", "Source Sans Pro", sans-serif;
  font-weight: 700;
}

.tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #fff4ea;
  color: #b64f1a;
  border: 1px solid #f7d7bf;
  border-radius: 999px;
  padding: 0.14rem 0.55rem;
}

.split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
}

.section-livery {
  padding: 2.25rem 0;
  background: #fffaf6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-livery a:not(.livery-credit-logo-link) {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-livery a:not(.livery-credit-logo-link):hover,
.section-livery a:not(.livery-credit-logo-link):focus-visible {
  color: var(--accent);
}

.livery-credit-logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
}

.livery-credit-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.livery-split {
  align-items: center;
}

.livery-credit {
  text-align: center;
  padding: 0.5rem 0;
}

.aanerud-logo {
  max-height: 110px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.policy {
  padding: 1.3rem;
}

.policy h2 {
  margin-top: 1.2rem;
}

.policy h3 {
  font-family: "Thomas Headline", "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.policy ul {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.15rem 0;
  background: #fffaf6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  max-width: 40rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #3d3a35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .three-col,
  .four-col,
  .media-split {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    padding: 0.8rem 4%;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }
}
