/* ─────────────────────────────────────────────────────────────
   "Fresh" theme: light, airy, rounded. Loaded after editorial.css
   so it can restyle the shared components. To go back to the
   previous look, remove its <link> in src/templates/layout.mjs
   (the previous hero/services markup was replaced, though).
   Fonts and colors live in tokens.css.
   ───────────────────────────────────────────────────────────── */

body {
  background: var(--color-ivory);
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-ivory {
  background: var(--color-white);
  border-block: 1px solid var(--color-line);
}
.journey {
  background: transparent;
}

/* Illustrations */
.art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Eyebrows and labels: short, readable, sentence-ish */
.eyebrow {
  font-family: var(--font-label);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}
.brand-sub,
.card-more,
.area-card-sub,
.values-num,
.svc-num {
  font-family: var(--font-label);
}

/* ── Brand (on the white pill; inverted in the footer) ───── */
.brand {
  color: var(--color-navy);
}
.brand-mono {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-gold);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold-deep);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
}
.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-gold-deep);
}
.site-footer .brand {
  color: var(--color-white);
}
.site-footer .brand-mono,
.site-footer .brand-sub {
  color: var(--color-gold);
}

/* ── Floating pill header ─────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 12px 0;
  color: var(--color-navy);
}
.header-wrap {
  position: relative;
}
.header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled .header-pill,
.site-header.is-open .header-pill {
  box-shadow: 0 8px 28px rgba(11, 32, 62, 0.12);
}
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
}
.menu-toggle .menu-icon-close,
.menu-toggle[aria-expanded='true'] .menu-icon-open {
  display: none;
}
.menu-toggle[aria-expanded='true'] .menu-icon-close {
  display: block;
}
.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: var(--gutter);
  right: var(--gutter);
  display: none;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: var(--space-3) var(--space-5) var(--space-5);
  box-shadow: 0 16px 40px rgba(11, 32, 62, 0.14);
}
.site-header.is-open .site-nav {
  display: block;
}
.site-nav ul {
  margin-bottom: var(--space-4);
}
.site-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}
.site-nav a[aria-current='page']:not(.btn),
.site-nav a:not(.btn):hover {
  color: var(--color-gold-deep);
}
.site-nav .btn {
  width: 100%;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .site-nav,
  .site-header.is-open .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-6);
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    display: flex;
    gap: var(--space-5);
    margin: 0;
  }
  .site-nav a:not(.btn) {
    border: 0;
    font-size: 1rem;
    min-height: 44px;
  }
  .site-nav .btn {
    width: auto;
  }
}

/* ── Buttons: pill, readable labels, arrow dot ────────────── */
.btn {
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 24px;
}
.btn-dot-wrap {
  padding: 6px 6px 6px 24px;
  gap: var(--space-4);
}
.btn-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  transition: transform 0.3s var(--ease);
}
.btn-dot .icon {
  width: 18px;
  height: 18px;
}
.btn-lg.btn-dot-wrap .btn-dot {
  width: 42px;
  height: 42px;
}
.btn-dot-wrap:hover .btn-dot,
.btn-dot-wrap:focus-visible .btn-dot {
  transform: translateX(4px);
}
.btn-outline,
.btn-outline-light {
  border-width: 1.5px;
}

/* ── Hero: light, illustrated, floating cards ─────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-mist) 0%, var(--color-ivory) 100%);
  color: var(--color-navy);
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-9);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 1rem + 4vw, 4.25rem);
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: var(--space-5);
}
.hero .lead {
  color: var(--color-slate);
  margin-bottom: var(--space-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
}
.hero-actions .text-link .icon {
  color: var(--color-gold-deep);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chips a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s;
}
.chips a:hover,
.chips a:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-ivory);
}
.hero-media {
  position: relative;
  margin: 0;
}
.hero-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  border-radius: 36px;
  border: 1px solid var(--color-line);
  background: var(--color-mist);
}
.hero-img .art {
  height: 100%;
}
.hero-cards {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 12px;
}
.float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  padding: 12px;
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.float-card:hover,
.float-card:focus-visible {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.float-card-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-navy);
  color: var(--color-gold);
}
.float-card:nth-child(2) .float-card-tile {
  background: var(--color-mist);
  color: var(--color-navy);
}
.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
}
.float-card .sub {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold-deep);
}
@media (min-width: 768px) and (max-width: 1023px), (min-width: 1280px) {
  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
  .hero-grid {
    grid-template-columns: 6fr 5fr;
    gap: var(--space-8);
  }
}

/* ── Marquee: upright, friendly ───────────────────────────── */
.marquee-group {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
}

/* ── Services: illustrated cards ──────────────────────────── */
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: none;
}
.section-head--split h2 {
  max-width: 18ch;
  margin: 0;
}
.svc-cards {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .svc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .svc-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.svc-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.svc-card:hover,
.svc-card:focus-within {
  border-color: var(--color-gold);
}
@media (prefers-reduced-motion: no-preference) {
  .svc-card:hover {
    transform: translateY(-4px);
  }
}
.svc-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.svc-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc-card-media .art {
  height: 100%;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-card-media .art {
  transform: scale(1.05);
}
.svc-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold-deep);
}
.svc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 24px 26px 28px;
}
.svc-card h3 {
  font-size: 1.5625rem;
  margin: 0;
}
.svc-card-text {
  flex: 1;
  color: var(--color-slate);
  font-size: 1rem;
}
.svc-card .card-more {
  margin-top: var(--space-2);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

/* ── Rounded shapes across the site ───────────────────────── */
.card,
.line-block,
.review,
.form-card,
.quote-aside {
  border-radius: 28px;
}
.form-card {
  border-top-width: 1px;
}
.field input,
.field select,
.field textarea {
  border-radius: 14px;
  min-height: 52px;
}
.intro-photo,
.values-photo,
.journey-step-img,
.page-hero-media {
  border-radius: 28px;
}
.page-hero-media {
  padding: 0;
  border: 1px solid rgba(184, 154, 94, 0.5);
}
.page-hero-media .art {
  aspect-ratio: 4 / 3;
  height: auto;
}
.journey.is-pinned .journey-media {
  border-radius: 32px;
}
.area-card-city,
.statement {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.final-cta .final-cta-grid .final-cta-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
}
.how-num {
  background: var(--color-ivory);
}
.section.section-ivory .how-num,
.section-ivory .how-num {
  background: var(--color-white);
}
.motion-toggle {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.action-bar .btn {
  font-size: 1rem;
}
.motion-toggle {
  left: auto;
  right: var(--space-4);
}

/* Checkboxes and radios must not inherit the 52px text-field height,
   and their labels must stay on one row (flex), not stack. */
.field .check {
  display: flex;
}
.field input[type='checkbox'],
.field input[type='radio'] {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .motion-toggle {
    left: auto;
    right: var(--space-4);
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-line);
  }
}
