:root {
  --sky-deep: #0a2744;
  --sky-mid: #1b6ca8;
  --sky-bright: #4aa3d8;
  --sky-soft: #e8f4fc;
  --cloud: #f5f9fc;
  --runway: #d61f26;
  --runway-dark: #9e1018;
  --amber: #f0a500;
  --ink: #132536;
  --muted: #4a6275;
  --line: rgba(10, 39, 68, 0.12);
  --radius: 4px;
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(74, 163, 216, 0.28), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(240, 165, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #dceef8 0%, var(--cloud) 28%, #f7fbfe 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sky-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--runway);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sky-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 249, 252, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  text-decoration: none;
  line-height: 1;
}

.brand span {
  color: var(--runway);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--sky-deep);
  padding: 0.55rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--runway);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--runway);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--runway-dark);
}

/* Hero — one composition */
.hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 39, 68, 0.78) 0%, rgba(10, 39, 68, 0.45) 48%, rgba(10, 39, 68, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 39, 68, 0.15) 0%, rgba(10, 39, 68, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  max-width: 34rem;
  justify-self: start;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero-brand span {
  color: #ff6b6b;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.hero p {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--runway);
  color: #fff;
}

.btn-primary:hover {
  background: var(--runway-dark);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-mid);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
  color: var(--sky-deep);
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 46ch;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: -1;
}

.split-media img,
.split-media svg {
  width: 100%;
  border-radius: var(--radius);
}

.feature-band {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.feature-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 39, 68, 0.82), rgba(10, 39, 68, 0.9));
}

.feature-band .section-inner {
  position: relative;
  z-index: 1;
}

.feature-band h2,
.feature-band .section-label {
  color: #fff;
}

.feature-band .section-label {
  color: #ffc857;
}

.feature-band .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--sky-mid);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 1;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tip {
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--sky-bright);
}

.tip h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--sky-deep);
}

.tip p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--sky-deep);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--runway);
}

.faq-item[open] summary::after {
  content: "–";
}

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

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border-top: 2px solid var(--runway);
  padding-top: 1rem;
  transition: transform 0.25s var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border-radius: var(--radius);
  background: #d7e8f4;
}

.post-card time {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0.35rem 0 0.5rem;
  letter-spacing: 0.02em;
  color: var(--sky-deep);
  line-height: 1.15;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--sky-deep), var(--sky-mid));
  color: #fff;
  text-align: left;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  background: var(--sky-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}

.footer-brand span {
  color: #ff6b6b;
}

.disclaimer {
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.footer-meta a {
  color: #fff;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.plane-float {
  animation: plane-float 5.5s ease-in-out infinite;
}

@keyframes plane-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Single / archive */
.page-shell {
  width: min(100% - 2.5rem, 760px);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.page-shell h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: var(--sky-deep);
  margin: 0 0 1rem;
}

.entry-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 2rem;
  color: var(--sky-deep);
}

.featured-image {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
}

.entry-content .wp-block-image,
.entry-content figure {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.entry-content .wp-block-image img,
.entry-content figure img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .feature-list,
  .tips-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 249, 252, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
}

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

  .reveal,
  .plane-float,
  .btn,
  .post-card {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
