:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-strong: #0d1a2e;
  --surface-soft: #e9eef8;
  --text: #111c2e;
  --text-soft: #41516d;
  --accent: #d6ab45;
  --accent-strong: #b78a26;
  --line: #d6dfec;
  --success: #1f8f62;
  --radius-sm: 0.55rem;
  --radius-md: 1rem;
  --radius-lg: 1.35rem;
  --shadow-sm: 0 8px 18px rgba(8, 19, 36, 0.08);
  --shadow-md: 0 16px 38px rgba(8, 19, 36, 0.14);
  --max: 76rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(58rem 38rem at 92% -8%, rgba(214, 171, 69, 0.17), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 45%, #eef3fb 100%);
  color: var(--text);
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  line-height: 1.62;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #0f2f56;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  color: #0c1930;
}

h1 {
  font-size: clamp(2rem, 7.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.5rem, 5.2vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 4.1vw, 1.55rem);
}

p {
  margin: 0.75rem 0 0;
}

ul,
ol {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 110;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.4rem 0.65rem;
}

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

.section {
  padding: clamp(3.6rem, 8.2vw, 5.6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, #f7faff 0%, #edf3fc 100%);
  border-top: 1px solid #dce5f2;
  border-bottom: 1px solid #dce5f2;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: #896318;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lead {
  color: var(--text-soft);
  font-size: clamp(1.02rem, 2.85vw, 1.28rem);
  max-width: 46rem;
}

.button-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.76rem 1.24rem;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #e2bc60 0%, #ca9d39 100%);
  color: #142033;
  box-shadow: 0 9px 24px rgba(183, 138, 38, 0.32);
}

.btn-primary:hover {
  color: #0e1f38;
  background: linear-gradient(135deg, #ebc874 0%, #d5a746 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: #c7d4e8;
  color: #20304a;
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: #afc2dc;
}

.btn-nav {
  background: #102341;
  border-color: #102341;
  color: #f8fbff;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background: #173258;
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d8e2f1;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(145deg, #13284b 0%, #0b1a31 100%);
  color: #f6fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.02rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 0.14rem;
  color: #5a6f8f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.nav-toggle {
  border: 1px solid #b9c9e0;
  background: #ffffff;
  color: #173154;
  border-radius: 0.6rem;
  padding: 0.45rem 0.72rem;
  min-width: 2.8rem;
  min-height: 2.8rem;
  font: inherit;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.7rem;
  background: #fbfdff;
  border-bottom: 1px solid #d8e2f1;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

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

.site-nav a {
  text-decoration: none;
  color: #31445f;
  border-radius: 0.45rem;
  padding: 0.62rem 0.68rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #ecf3fd;
  color: #122b4c;
}

/* Keep the header order CTA readable and distinct from link styles */
.site-nav .btn-nav,
.site-nav .btn-nav:visited {
  color: #ffffff;
  background: #102341;
  border-color: #102341;
}

.site-nav .btn-nav:hover,
.site-nav .btn-nav:focus-visible,
.site-nav .btn-nav:active {
  color: #ffffff;
  background: #173258;
  border-color: #173258;
}

.breadcrumbs {
  padding: 0.72rem 0 0;
  font-size: 0.87rem;
  color: #536888;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.breadcrumbs a {
  color: #355b8f;
  text-decoration: none;
}

.crumb-sep {
  opacity: 0.48;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -22% -14% auto auto;
  width: 18rem;
  aspect-ratio: 1;
  background: radial-gradient(circle at 42% 40%, rgba(214, 171, 69, 0.33), rgba(214, 171, 69, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 1.7rem;
  align-items: center;
}

.hero-home .hero-copy h1 {
  max-width: 17ch;
}

.button-row-hero .btn-primary {
  box-shadow: 0 11px 28px rgba(183, 138, 38, 0.36);
}

.hero-order-note {
  margin-top: 0.85rem;
  color: #526987;
  font-size: 0.95rem;
  max-width: 42rem;
}

.pill-list {
  margin-top: 0.95rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.pill-list li {
  background: #f4f8ff;
  border: 1px solid #d2e0f3;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  color: #405876;
  font-size: 0.87rem;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #cfdbed;
  background: #dfe8f6;
  box-shadow: var(--shadow-md);
}

.media-frame figcaption {
  padding: 0.55rem 0.68rem 0.65rem;
  font-size: 0.81rem;
  color: #50698a;
  background: #f4f8fe;
}

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

.hero-media img {
  aspect-ratio: 16 / 10;
}

.meta-list {
  margin-top: 1.15rem;
  padding-left: 1rem;
  color: #5a6f8d;
}

.meta-list li + li {
  margin-top: 0.35rem;
}

.trust-strip {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.stats-grid {
  display: grid;
  gap: 0.8rem;
}

.stats-grid article {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #d4e0f0;
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-sm);
}

.stats-grid strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.12rem;
}

.card-grid {
  display: grid;
  gap: 0.95rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid #d3deef;
  box-shadow: var(--shadow-sm);
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #bccfe7;
  box-shadow: 0 14px 30px rgba(8, 19, 36, 0.12);
}

.card-media {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.card-media-link {
  display: block;
}

.card-body {
  padding: 1rem 1rem 1.15rem;
  display: grid;
  gap: 0.22rem;
}

.card-body p {
  color: #4c6180;
}

.card h2,
.card h3 {
  margin-bottom: 0.45rem;
}

.section-link {
  margin-top: 0.95rem;
}

.section-head {
  margin-bottom: 1.15rem;
  max-width: 44rem;
}

.gallery-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #d0ddef;
  background: #dae4f4;
  box-shadow: var(--shadow-sm);
  display: grid;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.gallery-caption {
  margin: 0;
  padding: 0.52rem 0.62rem 0.6rem;
  font-size: 0.79rem;
  line-height: 1.35;
  color: #4b6281;
  background: #f4f8ff;
  border-top: 1px solid #d9e3f3;
}

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

.steps-grid,
.timeline {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-grid li,
.timeline article {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #d4e0f0;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
}

.steps-grid strong,
.timeline h2 {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.2rem;
}

.timeline article span {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #7d5c1a;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.split-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.spec-grid,
.ideas-grid {
  display: grid;
  gap: 0.8rem;
}

.spec-grid article,
.ideas-grid article {
  background: #ffffff;
  border: 1px solid #d3deef;
  border-radius: 0.9rem;
  padding: 0.85rem 0.92rem;
  box-shadow: var(--shadow-sm);
}

.spec-grid h3,
.ideas-grid h2 {
  margin-bottom: 0.25rem;
}

.section-cta {
  padding-top: 2.2rem;
}

.cta-band {
  background: linear-gradient(145deg, #11213e 0%, #0b162c 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #263f64;
  color: #edf4ff;
  padding: clamp(1rem, 3.5vw, 1.5rem);
  display: grid;
  gap: 0.9rem;
  align-items: center;
}

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

.cta-band p {
  color: #d4e1f4;
}

.cta-meta {
  margin-top: 0.72rem;
  font-size: 0.9rem;
  color: #bdd2ec;
}

.cta-meta a {
  color: #f0c56b;
}

.article-layout,
.article-layout-single {
  max-width: 74rem;
}

.article-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.article-layout article {
  background: #ffffff;
  border: 1px solid #d4e0f0;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.article-layout article h2 {
  margin-top: 0.9rem;
}

.article-layout article h2:first-child {
  margin-top: 0;
}

.article-meta {
  font-size: 0.92rem;
  color: #546b8a;
  margin-top: 0.9rem;
}

.article-aside {
  background: #ffffff;
  border: 1px solid #d4e0f0;
  border-radius: var(--radius-md);
  padding: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.article-aside h3 {
  margin-bottom: 0.35rem;
}

.article-aside ul {
  margin-top: 0.3rem;
}

.article-hero-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid #d3deef;
  border-radius: 0.9rem;
  padding: 0.8rem 0.92rem;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq-list details[open] {
  border-color: #b6cbe8;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #0f1c32 0%, #0a1426 100%);
  color: #d6e2f3;
  border-top: 1px solid #21375a;
}

.footer-grid {
  padding: 2rem 0 1rem;
  display: grid;
  gap: 0.8rem;
}

.footer-grid h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.32rem 0 0;
}

.footer-grid li + li {
  margin-top: 0.24rem;
}

.footer-grid a {
  color: #d8e5f7;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-meta {
  padding: 0.85rem 0 1.45rem;
  border-top: 1px solid #1f3558;
  color: #afc1da;
  font-size: 0.92rem;
}

.footer-meta p {
  margin: 0.35rem 0 0;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.text-link {
  color: #1f5087;
  font-weight: 600;
}

.blog-grid {
  row-gap: 1.2rem;
}

.blog-media {
  aspect-ratio: 16 / 10;
}

.blog-title {
  margin-top: 0.08rem;
  font-size: clamp(1.28rem, 3.8vw, 1.72rem);
}

.blog-title a {
  text-decoration: none;
}

.blog-excerpt {
  color: #4c6180;
  margin-top: 0.22rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.8em;
}

.read-more {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more::after {
  content: "\2192";
  font-size: 0.95em;
  transition: transform 0.18s ease;
}

.read-more:hover::after {
  transform: translateX(2px);
}

.contact-cards h2 {
  margin-bottom: 0.3rem;
}

.contact-info-section {
  padding-bottom: clamp(1.6rem, 4.2vw, 2.6rem);
}

.contact-form-section {
  padding-top: clamp(1.6rem, 4.2vw, 2.6rem);
}

.tc-contact-form-wrap {
  background: #ffffff;
  border: 1px solid #d4e0f0;
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}

.tc-contact-form-wrap h2 {
  margin-bottom: 0.45rem;
}

.tc-form-status {
  margin-top: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.68rem 0.82rem;
  font-weight: 600;
}

.tc-form-status[data-state="success"] {
  background: #e8f6ef;
  color: #0d6040;
  border-color: #9fd7bd;
}

.tc-form-status[data-state="error"] {
  background: #fbeaea;
  color: #7c1b1b;
  border-color: #efbbbb;
}

.tc-contact-form {
  margin-top: 1rem;
}

.tc-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tc-form-grid {
  display: grid;
  gap: 0.85rem;
}

.tc-field {
  display: grid;
  gap: 0.35rem;
}

.tc-field label {
  font-weight: 700;
  color: #1c2d47;
}

.tc-field input,
.tc-field textarea {
  width: 100%;
  border: 1px solid #bfd0e6;
  border-radius: 0.72rem;
  background: #fbfdff;
  color: #12233c;
  padding: 0.68rem 0.72rem;
  font: inherit;
}

.tc-field input:focus,
.tc-field textarea:focus {
  outline: 2px solid #9ab7dd;
  outline-offset: 1px;
  border-color: #8fadd5;
}

.tc-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.tc-field-help {
  margin-top: 0;
  color: #546b8a;
  font-size: 0.9rem;
}

.tc-file-count {
  font-size: 0.84rem;
}

.tc-submit[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.tc-form-note {
  margin-top: 0.8rem;
  color: #546b8a;
}

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

  .hero-grid,
  .article-hero-grid,
  .split-grid {
    grid-template-columns: 1.15fr 1fr;
  }

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

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

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

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

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

}

@media (min-width: 52rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.12rem;
  }

  .site-nav a {
    padding: 0.5rem 0.66rem;
    font-size: 0.94rem;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }

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

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

  .gallery-grid-xl .gallery-caption {
    min-height: 2.85rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid > *,
  .article-hero-grid > *,
  .card,
  .media-frame,
  .timeline article,
  .steps-grid li,
  .faq-list details {
    animation: rise-in 0.55s ease both;
  }

  .hero-grid > :nth-child(2),
  .article-hero-grid > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .card:nth-child(2n),
  .timeline article:nth-child(2n),
  .steps-grid li:nth-child(2n) {
    animation-delay: 0.06s;
  }

  .card:nth-child(3n) {
    animation-delay: 0.1s;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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