/* ==========================================================================
   Right Hand Consulting — core stylesheet
   ========================================================================== */

:root {
  /* Color tokens (Derived from brand logo) */
  --c-cobalt: #003FB3;
  --c-navy: #001D4A;
  --c-midnight: #0A1322;
  --c-charcoal: #1E242B;
  --c-ivory: #F7F5EF;
  --c-muted-blue: #5C7699;
  --c-gold: #B58A4A;
  --c-beige: #EAE6DC;
  --c-line: rgba(30, 36, 43, 0.12);
  --c-line-on-dark: rgba(247, 245, 239, 0.16);

  /* Type */
  --f-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --max: 1240px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--c-ivory);
  color: var(--c-charcoal);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--navy { background: var(--c-navy); color: var(--c-ivory); }
.section--green { background: var(--c-navy); color: var(--c-ivory); }
.section--charcoal { background: var(--c-midnight); color: var(--c-ivory); }
.section--beige { background: var(--c-beige); }
.section--border-top { border-top: 1px solid var(--c-line); }

.eyebrow {
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.kicker {
  font-size: 1.05rem;
  color: var(--c-muted-blue);
  font-family: var(--f-head);
  font-weight: 600;
}
.section--navy .kicker, .section--green .kicker, .section--charcoal .kicker { color: var(--c-beige); opacity: 0.8; }

h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--c-charcoal);
  opacity: 0.82;
  max-width: 40em;
}
.section--navy .lede, .section--green .lede, .section--charcoal .lede { color: var(--c-ivory); opacity: 0.82; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9rem 1.6rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary {
  background: var(--c-cobalt);
  color: var(--c-ivory);
  border-color: var(--c-cobalt);
}
.btn-primary:hover { background: var(--c-navy); border-color: var(--c-navy); }
.btn-ghost {
  background: transparent;
  color: var(--c-charcoal);
  border-color: var(--c-charcoal);
}
.btn-ghost:hover { background: var(--c-navy); color: var(--c-ivory); border-color: var(--c-navy); }
.section--navy .btn-ghost, .section--green .btn-ghost, .section--charcoal .btn-ghost {
  color: var(--c-ivory);
  border-color: var(--c-line-on-dark);
}
.section--navy .btn-ghost:hover, .section--green .btn-ghost:hover, .section--charcoal .btn-ghost:hover {
  background: var(--c-ivory);
  color: var(--c-navy);
  border-color: var(--c-ivory);
}
.section--navy .btn-primary, .section--green .btn-primary, .section--charcoal .btn-primary {
  background: var(--c-gold);
  color: var(--c-midnight);
  border-color: var(--c-gold);
}
.section--navy .btn-primary:hover, .section--green .btn-primary:hover, .section--charcoal .btn-primary:hover {
  background: #cba065;
  border-color: #cba065;
}
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.link-inline {
  font-family: var(--f-head);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
  transition: opacity 0.2s var(--ease);
}
.link-inline:hover { opacity: 0.7; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.1;
  text-decoration: none;
}
.brand__logo {
  height: clamp(36px, 4vw, 44px);
  width: auto;
  object-fit: contain;
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--c-navy);
}
.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted-blue);
  margin-top: 0.2rem;
}
@media (max-width: 480px) {
  .brand__logo { height: 32px; }
  .brand__name { font-size: 0.98rem; }
  .brand__sub { font-size: 0.62rem; }
  .nav-toggle { width: 36px; height: 36px; }
}

.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2vw, 2.4rem);
  }
  .nav-desktop a {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-charcoal);
    position: relative;
    padding-bottom: 4px;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--c-gold);
    transition: right 0.25s var(--ease);
  }
  .nav-desktop a:hover::after,
  .nav-desktop a[aria-current="page"]::after { right: 0; }
  .nav-desktop a[aria-current="page"] { color: var(--c-cobalt); }
  .nav-desktop a:hover { color: var(--c-cobalt); }
}

.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 2px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--c-charcoal);
  width: 18px;
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--c-navy);
  color: var(--c-ivory);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 6.5rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.6rem; }
.nav-mobile a {
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 600;
}
.nav-mobile .btn { margin-top: 2.5rem; align-self: flex-start; }
@media (min-width: 900px) { .nav-mobile { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
}
.hero--fullbleed {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--c-navy);
  color: var(--c-ivory);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-backdrop__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.92) contrast(1.05);
}
.hero-backdrop__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 24, 64, 0.88) 0%,
    rgba(0, 18, 48, 0.82) 45%,
    rgba(10, 19, 34, 0.96) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__header {
  max-width: 860px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-ivory);
  margin-bottom: 1.4rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 10px var(--c-gold);
}
.hero__title {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 1.4rem 0;
}
.hero__phrase {
  display: inline;
}
@media (max-width: 640px) {
  .hero__phrase {
    display: block;
  }
  .hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
    line-height: 1.22;
  }
}
.hero__lede {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.9);
  max-width: 44rem;
  margin: 0 0 2.2rem 0;
}
.hero__btn-ghost {
  border-color: rgba(247, 245, 239, 0.4);
  color: var(--c-ivory);
}
.hero__btn-ghost:hover {
  background: rgba(247, 245, 239, 0.15);
  border-color: var(--c-ivory);
  color: #FFFFFF;
}

/* 5 frosted-glass brand principle cards */
.hero__cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 600px) {
  .hero__cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .hero__cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 1.4rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.glass-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(181, 138, 74, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.hero-card__num {
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.hero-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}
.hero-card p {
  font-size: 0.92rem;
  line-height: 1.48;
  color: rgba(247, 245, 239, 0.82);
  margin: 0;
}

/* ---------- page header (interior pages) ---------- */
.page-header {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--c-line);
}
.page-header h1 { max-width: 16em; margin-top: 1.2rem; }
.page-header .lede { margin-top: 1.3rem; }

/* ---------- two-col intro ---------- */
.intro {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .intro { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
}
.intro h2 { max-width: 11em; }

/* ---------- services list ---------- */
.service-list { border-top: 1px solid var(--c-line); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.service-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr 1.2fr;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--c-line);
  transition: padding-left 0.3s var(--ease);
}
@media (min-width: 720px) {
  .service-item { grid-template-columns: 4rem 1fr 1.3fr; gap: 2rem; padding: 1.7rem 0; }
}
.service-item:hover { padding-left: 0.5rem; }
.service-item__num {
  font-family: var(--f-head);
  color: var(--c-gold);
  font-weight: 700;
  font-size: 0.95rem;
}
.service-item__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(0.96rem, 2.2vw, 1.15rem);
}
.service-item__desc {
  color: var(--c-charcoal);
  opacity: 0.78;
  font-size: clamp(0.86rem, 1.8vw, 0.98rem);
  line-height: 1.45;
  margin-top: 0;
}
.service-item__tags {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--c-muted-green);
}
.service-list__expandable {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.service-list__expandable.is-expanded {
  grid-template-rows: 1fr;
}
.service-list__inner {
  overflow: hidden;
}

.btn-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-toggle__icon {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-toggle.is-expanded .btn-toggle__icon {
  transform: rotate(180deg);
}

/* ---------- sectors ---------- */
.sector-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 720px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
}
.sector-card {
  background: var(--c-ivory);
  border: 1px solid rgba(0, 29, 74, 0.08);
  border-top: 3px solid transparent;
  border-radius: 4px;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 29, 74, 0.09);
  border-top-color: var(--c-cobalt);
  border-color: rgba(0, 63, 179, 0.25);
}
.sector-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.sector-num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-gold);
  letter-spacing: 0.05em;
}
.sector-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 63, 179, 0.08);
  color: var(--c-cobalt);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.sector-card:hover .sector-icon {
  background: var(--c-cobalt);
  color: var(--c-ivory);
}
.sector-card h3 {
  font-size: 1.24rem;
  margin-bottom: 0.75rem;
  color: var(--c-navy);
}
.sector-card p {
  color: var(--c-charcoal);
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.6;
}
.sector-cta {
  display: flex;
  align-items: center;
}

/* ---------- approach / principles ---------- */
.principles {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line-on-dark);
}
@media (min-width: 780px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
.principle {
  padding: clamp(2rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--c-line-on-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
}
@media (min-width: 780px) {
  .principle:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--c-line-on-dark); }
  .principle:nth-child(even) { padding-left: 2.5rem; }
  .principle:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
    padding-right: 0;
  }
}
.principle__num {
  font-family: var(--f-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.principle h3 { margin-bottom: 0.6rem; }
.principle p { opacity: 0.82; }

/* ---------- who we serve ---------- */
.audience-list {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 700px) {
  .audience-list { grid-template-columns: repeat(2, 1fr); }
}
.audience-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.audience-item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-gold);
  flex: none;
}
@media (min-width: 700px) {
  .audience-list > .audience-item:nth-child(odd) { padding-right: 2rem; }
  .audience-list > .audience-item:nth-child(even) { padding-left: 2rem; }
}

/* ---------- why us ---------- */
.why-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(2rem, 4vw, 2.8rem);
}
@media (min-width: 760px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-item { border-top: 2px solid var(--c-charcoal); padding-top: 1.1rem; }
.why-item h3 { margin-bottom: 0.6rem; }
.why-item p { opacity: 0.78; }

/* ---------- image + text feature ---------- */
.feature {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media { aspect-ratio: 5/4; overflow: hidden; border-radius: 2px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body h2 { margin-bottom: 1.2rem; }
.feature__body p + p { margin-top: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: left;
  background:
    radial-gradient(ellipse 70% 60% at 85% 50%, rgba(0, 63, 179, 0.16), transparent 70%),
    var(--c-midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 138, 74, 0.5), transparent);
}
.cta-band__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) {
  .cta-band__grid { grid-template-columns: 1.15fr 0.85fr; }
}
.cta-band h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.18;
  color: var(--c-ivory);
  letter-spacing: -0.015em;
  max-width: 14em;
}
.cta-band .lede {
  color: rgba(247, 245, 239, 0.82);
  line-height: 1.65;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  max-width: 32em;
}
.cta-band .btn-primary {
  padding: 0.95rem 2.2rem;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 63, 179, 0.35);
}

.cta-contact {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--c-gold);
  border-radius: 0;
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  font-family: var(--f-head);
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}
.cta-contact a,
.cta-contact span {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--c-ivory);
  transition: color 0.2s ease, transform 0.2s ease;
}
.cta-contact a {
  border-bottom: 1px solid transparent;
}
.cta-contact a:hover {
  color: var(--c-gold);
  transform: translateX(4px);
}
.cta-contact a[href^="tel:"]::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 63, 179, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%23F7F5EF' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24 11.72 11.72 0 003.68.59 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.72 11.72 0 00.59 3.68 1 1 0 01-.24 1.02l-2.23 2.09z'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cta-contact a[href^="mailto:"]::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 63, 179, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%23F7F5EF' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cta-contact span::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 63, 179, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%23F7F5EF' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 010-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-contact a:hover::before {
  background-color: var(--c-cobalt);
  border-color: var(--c-gold);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--c-midnight);
  color: var(--c-beige);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-line-on-dark);
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand__name { font-family: var(--f-head); font-weight: 700; color: var(--c-ivory); font-size: 1.2rem; }
.footer-brand__tag { margin-top: 0.7rem; color: var(--c-muted-blue); font-size: 0.92rem; max-width: 24em; }
.footer-col-title { font-family: var(--f-head); font-weight: 700; color: var(--c-ivory); font-size: 0.92rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a:hover { color: var(--c-ivory); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--c-muted-blue);
}
.footer-bottom a:hover { color: var(--c-ivory); }

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
  max-width: 40rem;
}
@media (min-width: 640px) {
  .form-grid--2col { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  color: var(--c-charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--c-gold);
  outline-offset: 1px;
  border-color: var(--c-gold);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--c-muted-blue);
  max-width: 40rem;
}

.contact-card {
  border-top: 1px solid var(--c-line);
  padding-top: 1.6rem;
  margin-top: 2rem;
  display: grid;
  gap: 0.6rem;
  font-family: var(--f-head);
  font-weight: 600;
}
.contact-card a:hover { color: var(--c-cobalt); }

/* ---------- utility ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.grid-divider-top { border-top: 1px solid var(--c-line); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-cobalt);
  color: var(--c-ivory);
  padding: 0.8rem 1.2rem;
  z-index: 200;
}
.skip-link:focus { left: var(--gutter); top: 0.8rem; }

/* ---------- reveal-on-load (progressive enhancement) ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .glass-card, .hero-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
