/* ==========================================================================
   WNA Labs — shared stylesheet
   Static rebuild of the Hostinger Website Builder site.
   All design tokens live in :root — restyle the whole site from there.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — confirm exact hex values against the original site */
  --brand:         #126ab0;   /* measured from the original: nav, headings, buttons */
  --brand-dark:    #0d4f85;
  --accent:        #126ab0;   /* links, hovers, rules */
  --ink:           #1d1e20;   /* headline text */
  --body:          #000000;   /* paragraph text */
  --muted:         #7c8b99;   /* captions, meta */
  --surface:       #ffffff;
  --surface-alt:   #f4f6f8;   /* alternating section bands */
  --line:          #e2e8ed;
  --on-brand:      #ffffff;

  /* Type */
  --font-display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui:      "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: 0.875rem;                                   /* 14px */
  --step-0:  1rem;                                       /* 16px  body */
  --step-1:  1.125rem;                                   /* 18px  lead */
  --step-2:  clamp(1.5rem, 1.25rem + 1.1vw, 2rem);       /* 32px  article h1 */
  --step-3:  clamp(1.75rem, 1.35rem + 1.9vw, 2.5rem);    /* 40px  section headings */
  --step-4:  clamp(2rem, 1.45rem + 2.6vw, 3rem);         /* 48px  hero h1 */

  /* Layout */
  --container: 1224px;
  --container-article: 812px;        /* article body column, measured */
  --container-article-head: 894px;   /* article title/lead column, measured */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(2.25rem, 5vw, 4.5rem);
  --radius: 4px;
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 46, 0.06), 0 4px 12px rgba(20, 32, 46, 0.06);
  --shadow-md: 0 4px 10px rgba(20, 32, 46, 0.08), 0 16px 40px rgba(20, 32, 46, 0.10);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: normal;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: rgb(236, 239, 243); }   /* grey band, e.g. services support section */
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head--center { max-width: none; margin-inline: auto; text-align: center; }
.section-head--center p { max-width: 46rem; margin-inline: auto; }
.section-head h2 { font-size: var(--step-4); color: var(--accent); }
.section-head--dark h2 { color: #323232; }   /* measured on the original */
.section-head p { font-size: var(--step-1); color: var(--body); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: normal;
  padding: 0.9rem 2.25rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
}
.btn--outline { background: transparent; color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--on-brand); }

/* Solid pill, as used on the resource cards in the original */
.btn--solid {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.btn--solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--on-brand); }
.btn--light { background: #fff; border-color: #fff; color: var(--brand); }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-logo { flex: 0 0 auto; }
.site-logo img { width: auto; height: 52px; object-fit: contain; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-ui);
  font-size: var(--step-0);
  font-weight: 400;
  letter-spacing: normal;
  color: var(--accent);
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav[data-open="true"] { max-height: 60vh; overflow-y: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 1rem 0; }
  .site-nav a::after { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(380px, 62vh, 640px);
  padding-block: clamp(3rem, 9vw, 6rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* No overlay: the source image is already blue-tinted, matching the
     original which applies no darkening layer. */
  background: transparent;
}
.hero__inner { max-width: 72rem; margin-inline: auto; text-align: center; }
.hero h1 {
  font-weight: 600;
  font-size: var(--step-4);
  color: #fff;
  text-wrap: balance;
  margin-bottom: 0.4em;
}
.hero h1 .hero__break { display: block; }
.hero__sub {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.9);
  margin-inline: auto;
  margin-bottom: 0;
}
.hero--short { min-height: 283px; }
.hero--short { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
/* Contact's banner holds the overlapping form card; keep its previous
   bottom padding so the card overlap position is unchanged. */
.contact-page .hero--short { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem); }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* Page header without a background image (Blogs) */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: var(--step-4); color: var(--accent); margin-bottom: 0.25em; }
.page-head--center { text-align: center; }
.page-head--center p { margin-inline: auto; }
.page-head--hero {
  background: linear-gradient(16deg, rgb(64, 120, 161), rgb(255, 255, 255));
  border-bottom: none;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.page-head--hero.page-head--hero h1 { color: #fff; }
.page-head--hero.page-head--hero p { color: #123a52; margin-inline: auto; }
.page-head p { font-size: var(--step-1); color: var(--muted); max-width: 44rem; margin: 0; }

/* --------------------------------------------------------------------------
   7. Split / feature rows
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
}
.split + .split { margin-top: clamp(3rem, 7vw, 6rem); }
.split__body h2 { font-size: var(--step-3); color: var(--accent); }
.split__body h3 { font-size: var(--step-3); color: var(--accent); }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.split__actions { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

/* Bare images in a grid: the CDN used to crop these to a fixed shape.
   Now that we serve uncropped originals, pin the ratio here instead. */
.grid > img {
  width: 100%;
  aspect-ratio: 768 / 845;
  object-fit: cover;
  border-radius: var(--radius);
}

.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.card__body { padding: 1rem 0 0; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: var(--step-1); }
.card__body p { color: var(--body); }
.card__actions { margin-top: auto; padding-top: 1.5rem; }
.card__link {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card__link::after { content: " →"; }
.card--action { background: transparent; }
.card--action .card__body { padding: 0; }
.card--action h3 {
  font-family: var(--font-ui);
  font-size: var(--step-4);
  font-weight: 700;
  color: rgb(35, 107, 176);
  margin-bottom: 0;
  white-space: nowrap;
}
.card--action p { margin-top: 1.25rem; margin-bottom: 0; }
.card--action .card__actions { padding-top: 2rem; }


/* --------------------------------------------------------------------------
   8b. Feature grid ("Modular solutions" section) — measured from the original:
   heading above image, 48px blue heading, muted body colour, square corners.
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
.feature h3 { font-size: var(--step-4); color: var(--accent); margin-bottom: 0.5rem; min-height: 2.6em; }
.feature p { color: #56585e; margin-bottom: 1.5rem; }
.feature img { width: 100%; aspect-ratio: 768 / 436; object-fit: cover; border-radius: 0; }

/* --------------------------------------------------------------------------
   9. Product blocks (Products page)
   -------------------------------------------------------------------------- */
.product-block { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  /* Two equal columns: text occupies one cell, images fill the rest,
     producing the original's layout — text on one side, one big image beside
     it, two big images on the row below (2x2 for 3-image sections). */
  .product-block { grid-template-columns: repeat(2, 1fr); }
  /* Default (e.g. Work benches): text sits on the RIGHT. Push the body to the
     second column, first row; images flow into the remaining cells. */
  .product-block__body { grid-column: 2; grid-row: 1; }
  /* Reverse (e.g. Service modules, Caseworks): text on the LEFT (default flow). */
  .product-block--reverse .product-block__body { grid-column: 1; grid-row: 1; }
}
.product-block + .product-block {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.product-block__body { align-self: center; }
.product-block__body h2 { font-size: var(--step-3); color: var(--accent); }
.product-block__img img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16 / 10;   /* ~606x384 like the original */
  display: block;
}

/* --------------------------------------------------------------------------
   10. Media / video
   -------------------------------------------------------------------------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: rgba(10, 26, 43, 0.35);
  cursor: pointer;
  transition: background 0.25s ease;
}
.video__play:hover { background: rgba(10, 26, 43, 0.15); }
.video__play span {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-size: 26px;
  padding-left: 6px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
}
.video__play:hover span { transform: scale(1.07); }

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  padding-inline: 0.75rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.6; color: var(--ink); font-style: italic; }
.quote figcaption { margin-top: auto; }
.quote__name { display: block; font-weight: 700; color: var(--ink); font-style: normal; }
.quote__role { display: block; font-size: var(--step--1); color: var(--muted); }

.review { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review p { font-style: italic; color: var(--ink); margin: 0; }
.review__person { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.review__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.review__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.review__place { font-size: var(--step--1); color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Blog carousel / grid
   -------------------------------------------------------------------------- */
.blog-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.post__meta { font-size: var(--step-0); color: var(--ink); margin: 0.85rem 0 0; }
.post__excerpt { margin-bottom: 0; }
.post__title { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.post .card__body { padding-top: 0.9rem; }
.post__title a { color: inherit; }
.post__title a:hover { color: var(--accent); text-decoration: none; }

/* --------------------------------------------------------------------------
   12b. Article (blog post) pages
   -------------------------------------------------------------------------- */
.container--narrow { max-width: calc(var(--container-article) + 2 * var(--gutter)); }
.container--head { max-width: calc(var(--container-article-head) + 2 * var(--gutter)); }

.article { padding-block: clamp(2rem, 5vw, 3.5rem) var(--section-y); }

.article__back { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.article__back--end { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }

.article__head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.article__head h1 { font-size: var(--step-2); font-weight: 700; text-wrap: balance; margin-bottom: 0.4em; }
.article__lead { font-size: var(--step-1); color: var(--ink); }
.article__meta { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.article__hero { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.article__hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.article__body { font-size: var(--step-0); line-height: 1.5; color: #000; }
.article__body p { margin: 0 0 1.35em; }
.article__body strong { color: var(--ink); font-weight: 700; }
.article__body h2 { font-size: var(--step-2); color: var(--accent); margin-top: 1.6em; }
.article__body h3 { font-size: 1.375rem; color: var(--accent); margin-top: 1.5em; }
.article__body a { text-decoration: underline; text-underline-offset: 2px; }

.article__gallery { display: grid; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.article__gallery img { width: 100%; border-radius: var(--radius); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.chip {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.post__cats {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.post__cats a { color: var(--muted); }
.post__cats a:hover { color: var(--accent); }

.pager { display: flex; justify-content: center; gap: 0.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pager button {
  min-width: 44px; height: 44px;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pager button:hover { border-color: var(--accent); color: var(--accent); }
.pager button[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .pager__arrow { border-color: transparent; font-size: 1.35rem; line-height: 1; color: var(--ink); }
.pager .pager__arrow:hover:not(:disabled) { border-color: transparent; color: var(--accent); }
.pager button:disabled { opacity: 0.35; cursor: default; }

.empty-state {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; max-width: 34rem; }
/* Honeypot: off-screen (not display:none, so bots still fill it) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.field .req { color: #c0392b; }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}
.field textarea { min-height: 90px; resize: vertical; }
.field .error { font-size: var(--step--1); color: #c0392b; min-height: 1.2em; }
.form__status { font-size: var(--step--1); }
.form__status--success { color: #1a7f37; font-weight: 600; font-size: var(--step-0); }
.form__status--error { color: #a01722; font-weight: 600; }

.contact-details dl { display: grid; gap: 1.1rem; margin: 0; }
.contact-details dt { font-size: var(--step-0); font-weight: 500; color: rgb(13, 19, 26); }
.contact-details dd { margin: 0.15rem 0 0; font-size: var(--step-1); color: var(--ink); font-weight: 600; }
.contact-details dd a { color: var(--ink); }
.contact-details dd a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-band h2 { color: #fff; font-size: var(--step-3); text-wrap: balance; }
.cta-band p { max-width: 46rem; margin-inline: auto; }
.cta-band .btn { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
}
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: var(--step-1); }

.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-logo img { width: auto; height: 64px; object-fit: contain; margin-bottom: 1.25rem; }
.footer-contact dl { display: grid; gap: 0.75rem; margin: 0; }
.footer-contact dt { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.footer-contact dd { margin: 0; font-weight: 700; color: #fff; }

.footer-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.1rem;
  max-width: 28rem;
}
.footer-newsletter__form input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
}
.footer-newsletter__form input::placeholder { color: var(--muted); }
.footer-newsletter__form .btn { align-self: flex-start; white-space: nowrap; }
.footer-newsletter__status { margin: 0.35rem 0 0; font-size: var(--step--1); color: #eaf3ff; min-height: 1.2em; }
.footer-newsletter__status--error { color: #e57373; font-weight: 700; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--step--1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   16. Motion preferences
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   17. Load-in animation
   Matches what's on the live original: the hero content (and, on Contact,
   its overlapping form) fades and lifts in once on page load. Reusable
   class — currently only wired up on Contact per request.
   -------------------------------------------------------------------------- */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.9s ease-out both;
}

/* Contact page: white card overlapping the hero image, matching the
   original (measured: 606px wide, 20px radius, 30px padding, no shadow). */
.contact-card {
  margin: 1.5rem auto 0;
  max-width: 38rem;
  padding: 1.875rem;
  background: var(--surface);
  border-radius: 20px;
  text-align: left;
}
.contact-card .form { max-width: none; gap: 1.1rem; }
.contact-card .field .error { min-height: 0; }
.contact-card .form > div:last-of-type { display: flex; justify-content: center; margin-top: 0; }

.contact-details--centered {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}
.contact-details--centered dl { justify-content: center; }
.contact-details--centered h2 { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.fade-in-up), *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}