/* ============================================================
   Hastings Business Solutions — hastingsbizsolutions.com
   Brand: HBS Navy #052150 · HBS Gold #C89D3E · Public Sans
   ============================================================ */

:root {
  --navy: #052150;
  --navy-deep: #031637;
  --navy-soft: #0a3170;
  --gold: #C89D3E;
  --gold-light: #dcb968;
  --gold-pale: #f6eedd;
  --gold-text: #8a6a24;    /* AA-compliant gold for small text on light backgrounds */
  --gold-heading: #a57c26; /* AA large-text gold on light backgrounds */
  --ink: #1c2333;
  --slate: #4c566b;
  --mist: #f5f6f8;
  --mist-2: #eceef2;
  --line: #dfe3ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(5, 33, 80, .06), 0 2px 8px rgba(5, 33, 80, .05);
  --shadow-md: 0 2px 6px rgba(5, 33, 80, .07), 0 14px 34px rgba(5, 33, 80, .10);
  --shadow-lg: 0 4px 10px rgba(5, 33, 80, .08), 0 24px 60px rgba(5, 33, 80, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1180px;
}

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

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

body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--navy); text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.narrow { max-width: 800px; }

/* ---------- Utility ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.lead { font-size: 1.15rem; color: var(--slate); }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tint { background: var(--mist); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.hbs-divider { display: block; width: min(240px, 60%); height: 15px; margin: 14px auto 2px; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}

.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(200, 157, 62, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 157, 62, .45); }

.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 18px rgba(5, 33, 80, .25); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(5, 33, 80, .3); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(5, 33, 80, .07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.brand-text { line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--navy); letter-spacing: -.01em; }
.brand-tag { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.site-footer .brand-tag { color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--mist); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 1px;
  background: var(--gold);
  border-radius: 2px;
}

.header-cta { margin-left: 10px; padding: 12px 22px; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(200, 157, 62, .10), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(5, 33, 80, .035) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(105deg, transparent 42%, #000 78%);
  -webkit-mask-image: linear-gradient(105deg, transparent 42%, #000 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 110px) clamp(72px, 9vw, 120px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(200, 157, 62, .45);
  background: rgba(200, 157, 62, .08);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200, 157, 62, .18); }

.hero h1 .accent { color: var(--gold-heading); position: relative; white-space: nowrap; }

.hero .sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--slate);
  max-width: 34em;
  margin: 20px 0 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-proof .item { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--slate); }
.hero-proof svg { flex: none; }

/* Hero portrait card */
.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }

.portrait-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}
.portrait-card img, .portrait-card svg.headshot { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block; }

.portrait-frame {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 2px solid rgba(200, 157, 62, .5);
  border-radius: 26px;
  z-index: -1;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold);
  flex: none;
}
.float-chip .t { font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.float-chip .s { font-size: .7rem; color: var(--slate); font-weight: 500; }
.chip-1 { top: 26px; left: -34px; animation-delay: 0s; }
.chip-2 { bottom: 34px; right: -26px; animation-delay: 2.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Intro strip ---------- */

.intro-strip { border-bottom: 1px solid var(--line); }
.intro-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 60px);
}
.intro-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  flex: none;
}
.intro-avatar img, .intro-avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-copy p { font-size: 1.08rem; color: var(--slate); margin-bottom: .4em; }
.intro-copy .name { font-weight: 700; color: var(--navy); font-size: .95rem; margin: 0; }
.intro-copy .name span { color: var(--gold-text); font-weight: 600; }

/* ---------- Why HBS band (navy accent) ---------- */

.why-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #0a2a63 100%);
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
}
.why-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(100deg, transparent 55%, #000);
  -webkit-mask-image: linear-gradient(100deg, transparent 55%, #000);
}
.why-band .eyebrow { color: var(--gold-light); }
.why-band h2 { color: var(--white); }

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.why-copy p { font-size: 1.06rem; }
.why-points { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 14px; }
.why-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; }
.why-points .tick {
  width: 26px; height: 26px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 157, 62, .18);
  color: var(--gold-light);
}
.why-points b { color: var(--white); }

.cred-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  backdrop-filter: blur(6px);
}
.cred-stat { padding: 20px 4px; display: flex; align-items: baseline; gap: 16px; }
.cred-stat + .cred-stat { border-top: 1px solid rgba(255, 255, 255, .12); }
.cred-stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gold-light);
  min-width: 92px;
  line-height: 1;
}
.cred-stat .lbl { font-size: .95rem; color: rgba(255, 255, 255, .8); line-height: 1.45; }
.cred-stat .lbl b { color: var(--white); display: block; font-size: 1.02rem; }

/* ---------- Feature cards ---------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200, 157, 62, .5); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-light);
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(5, 33, 80, .22);
}
.feature-card h3 { margin-bottom: .45em; }
.feature-card p { color: var(--slate); font-size: .98rem; margin-bottom: 0; }

/* ---------- Services ---------- */

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(200, 157, 62, .55); }

.service-num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--gold-text);
}
.service-card h3 { font-size: 1.12rem; margin: 0; }
.service-card p { color: var(--slate); font-size: .95rem; margin: 0; flex: 1; }
.service-card .card-icon { position: absolute; top: 24px; right: 24px; color: var(--navy); opacity: .85; }
.service-card .more { font-size: .88rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { transition: transform .25s var(--ease); }
a.service-card:hover .more svg { transform: translateX(4px); }

/* Service detail rows (Services page) */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-row:last-child { border-bottom: none; }
.service-row .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid rgba(200, 157, 62, .35);
}
.service-row h2 { font-size: 1.25rem; margin-bottom: .3em; }
.service-row p { color: var(--slate); margin-bottom: 0; max-width: 62em; }

/* ---------- Industries ---------- */

.industries-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.industry-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(200, 157, 62, .55); }
.industry-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-light);
  margin-bottom: 18px;
}
.industry-card h3 { font-size: 1.1rem; }
.industry-card p { color: var(--slate); font-size: .94rem; margin: 0; }

/* Industry detail section */
.industry-detail { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.industry-detail:last-child { border-bottom: none; }
.industry-detail h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; }
.industry-detail h2 .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid rgba(200, 157, 62, .35);
  flex: none;
}
.industry-detail p { color: var(--slate); max-width: 66em; }
.industry-detail ul { color: var(--slate); margin: 0 0 1em; padding-left: 22px; }
.industry-detail li { margin-bottom: 6px; }

/* ---------- Process / numbered steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--slate); font-size: .96rem; margin: 0; }

/* ---------- Pricing factors ---------- */

.factor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.factor {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.factor .icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid rgba(200, 157, 62, .35);
}
.factor h3 { font-size: 1.05rem; margin-bottom: .25em; }
.factor p { color: var(--slate); font-size: .93rem; margin: 0; }

/* ---------- Testimonials placeholder ---------- */

.testimonial-placeholder {
  border: 2px dashed rgba(200, 157, 62, .5);
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.testimonial-placeholder .quote-mark { font-size: 3rem; line-height: 1; color: var(--gold); font-weight: 800; }
.testimonial-placeholder p { color: var(--slate); max-width: 44em; margin-inline: auto; }
.testimonial-placeholder p:last-child { margin-bottom: 0; }

/* ---------- Trust bar ---------- */

.trust-bar { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 56px;
  padding-block: 30px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 700; color: var(--navy); }
a.trust-item, a.badge-pill { color: inherit; text-decoration: none; }
a.trust-item:hover, a.badge-pill:hover { text-decoration: underline; text-underline-offset: 3px; }
.trust-item .icon { color: var(--gold); display: grid; place-items: center; }
.trust-item .soon { font-weight: 500; color: var(--slate); font-size: .82rem; }
.trust-item .badge-img { height: 46px; width: auto; display: block; }
.badge-cluster { display: flex; align-items: center; gap: 8px; }
.badge-cluster img { height: 40px; width: auto; display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #0a2a63);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 157, 62, .22), transparent 65%);
  top: -220px; right: -140px;
}
.cta-inner { position: relative; text-align: center; padding-block: clamp(64px, 8vw, 100px); max-width: 760px; margin-inline: auto; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-inner p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; margin-bottom: 34px; }
.cta-inner .btn-gold { font-size: 1.05rem; padding: 17px 36px; }
.cta-note { margin-top: 18px; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(200, 157, 62, .12), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(5, 33, 80, .035) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(105deg, transparent 55%, #000 90%);
  -webkit-mask-image: linear-gradient(105deg, transparent 55%, #000 90%);
  pointer-events: none;
}
.page-hero-inner { position: relative; padding-block: clamp(56px, 7vw, 90px); max-width: 820px; }
.page-hero p { font-size: 1.15rem; color: var(--slate); margin-bottom: 0; max-width: 40em; }
.page-hero .hero-actions { margin-top: 30px; }

.breadcrumb { font-size: .82rem; font-weight: 600; color: var(--slate); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--gold-text); }
.breadcrumb .sep { color: var(--line); }

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.about-photo { position: sticky; top: 110px; }
.about-photo .portrait-card img, .about-photo .portrait-card svg.headshot { aspect-ratio: 4 / 4.8; }
.about-copy p { font-size: 1.08rem; color: var(--ink); }
.about-copy .drop::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: .9;
  font-weight: 800;
  color: var(--gold);
  padding-right: 12px;
  padding-top: 4px;
}
.pull-line {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 30px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.badge-pill .icon { color: var(--gold); display: grid; place-items: center; }

/* ---------- Resources ---------- */

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.resource-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid rgba(200, 157, 62, .35);
  margin-bottom: 16px;
}
.resource-card h3 { font-size: 1.08rem; }
.resource-card p { color: var(--slate); font-size: .93rem; margin-bottom: 0; }
.resource-card .soon-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: var(--white);
  border: 1px solid rgba(200, 157, 62, .5);
  padding: 4px 10px;
  border-radius: 999px;
}

/* FAQ accordion */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(200, 157, 62, .55); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--navy);
  transition: transform .3s var(--ease), background .3s;
}
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--gold); color: var(--white); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--slate); }
.faq-item .faq-body p { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  border-radius: 20px;
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 157, 62, .25), transparent 65%);
  bottom: -160px; right: -120px;
}
.contact-info-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-rows { position: relative; display: grid; gap: 6px; margin-top: 26px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(200, 157, 62, .16);
  color: var(--gold-light);
}
.contact-row > div { min-width: 0; }
.contact-row .lbl { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.contact-row .val { font-weight: 600; color: var(--white); font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-row .val a { color: var(--white); }
.contact-row .val a:hover { color: var(--gold-light); }
.contact-row .note { font-size: .85rem; color: rgba(255,255,255,.6); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .84rem; font-weight: 700; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 157, 62, .15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-disclaimer { font-size: .8rem; color: var(--slate); margin-top: 14px; }

/* ---------- Legal pages ---------- */

.legal-body { max-width: 800px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.5em; margin-bottom: .5em; }
.legal-body p, .legal-body li { color: var(--slate); }
.legal-placeholder {
  border: 2px dashed rgba(200, 157, 62, .5);
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--slate);
  font-size: .95rem;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(52px, 6vw, 76px) 0 44px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: .92rem; margin-top: 14px; max-width: 30em; }
.footer-col h2 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col h2::after { content: ""; display: block; width: 26px; height: 2px; background: var(--gold); margin-top: 8px; border-radius: 2px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .fc-row { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer-col .fc-row svg { flex: none; margin-top: 3px; color: var(--gold); }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0 0;
  margin-bottom: -6px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.footer-disclaimer + .footer-bottom { border-top: none; padding-top: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal-links { display: flex; gap: 20px; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses earlier than the layout: the inline nav (brand + 7 links + CTA)
   only fits at >=1280px — below that it overflows and hides the CTA. */
@media (max-width: 1279px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(5, 33, 80, .12);
    padding: 14px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav a { padding: 13px 14px; font-size: 1.02rem; border-radius: 10px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--mist); }
  .header-cta { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { width: min(100%, 380px); }
  .chip-1 { left: -8px; }
  .chip-2 { right: -8px; }

  .why-grid { grid-template-columns: 1fr; }
  .cards-3, .steps, .services-grid, .industries-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 380px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { white-space: normal; }
  .hero h1 .accent { white-space: normal; }
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: .88rem; }
  .brand-tag { font-size: .58rem; }
  .cards-3, .steps, .services-grid, .industries-grid, .resource-grid, .factor-list, .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .page-hero .hero-actions .btn { width: auto; }
  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-avatar { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .float-chip { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand { flex: 0 1 auto; min-width: 0; gap: 7px; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: .78rem; white-space: normal; }
  .brand-tag { font-size: .52rem; letter-spacing: .09em; }
  .brand-mark { width: 32px; height: 32px; }
}

@media (min-width: 1600px) {
  .hero-inner, .page-hero-inner { max-width: var(--maxw); }
}
