/* ==========================================================================
   Allure Management Solutions
   Palette sampled from the AMS wordmark: navy #0A1A3C · gold #AC8D57
   Type: Source Serif 4 (display) · Inter (body) · IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ink:      #0A1A3C;
  --navy:     #0E2350;
  --navy-mid: #1D3A6B;
  --slate:    #3D4757;
  --muted:    #6E7787;
  --line:     #E6E1D8;
  --mist:     #F8F6F2;
  --paper:    #FFFFFF;
  --gold:     #AC8D57;
  --gold-lt:  #C9A96B;
  --gold-dp:  #8A6E3C;

  --display: "Source Serif 4", Georgia, serif;
  --body:    "Inter", system-ui, sans-serif;
  --data:    "IBM Plex Mono", ui-monospace, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 92vw;

  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.87rem);
  --step-0:  clamp(1rem, 0.97rem + 0.16vw, 1.06rem);
  --step-1:  clamp(1.15rem, 1.07rem + 0.4vw, 1.34rem);
  --step-2:  clamp(1.45rem, 1.25rem + 0.95vw, 2rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.8vw, 2.95rem);
  --step-4:  clamp(2.25rem, 1.7rem + 2.9vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

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

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100;
  font-family: var(--body); font-size: var(--step--1);
}
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------------- type */

.eyebrow {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin: 0 0 1.1rem;
}
.eyebrow--rule { display: flex; align-items: center; gap: .9rem; }
.eyebrow--rule::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .45; }
.eyebrow--center { text-align: center; }
.eyebrow--center span { display: inline-flex; align-items: center; gap: 1rem; }
.eyebrow--center span::before, .eyebrow--center span::after {
  content: ""; width: 3rem; height: 1px; background: var(--gold); opacity: .55;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.14;
  color: var(--ink);
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.06; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }

p { margin: 0 0 1.1rem; max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--slate); }
.center { text-align: center; margin-inline: auto; }

.pending {
  font-family: var(--data);
  font-size: .8em; letter-spacing: .05em;
  color: #8A5A12;
  background: rgba(172, 141, 87, .16);
  border-bottom: 1px dashed rgba(138, 110, 60, .8);
  padding: .1em .45em;
}

/* --------------------------------------------------------------- masthead */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: .85rem;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: clamp(38px, 5vw, 52px); width: auto; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem); }
.nav a {
  font-family: var(--body); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  padding-block: .4rem; border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-dp); border-bottom-color: var(--gold); }
.nav .btn { border-bottom: 0; }

.nav__toggle {
  display: none; background: none;
  border: 1px solid var(--line); color: var(--navy);
  font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .55rem .85rem; cursor: pointer;
}

@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    min-height: 100vh; min-height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: .4rem var(--gutter) 2rem;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding-block: 1.05rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav .btn { margin-top: 1.25rem; text-align: center; }
}
body[data-nav-open="true"] { overflow: hidden; }

/* ------------------------------------------------------------------- hero */

.hero { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__grid > * { min-width: 0; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { display: block; color: var(--gold-dp); }
.hero__rule { width: 4.5rem; height: 2px; background: var(--gold); margin-bottom: 1.6rem; }
.hero__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }

/* -------------------------------------------------------------- utilities */

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.band--navy h2, .band--navy h3, .band--navy h4 { color: #fff; }
.band--navy p { color: rgba(255,255,255,.82); }
.band--navy .eyebrow { color: var(--gold-lt); }
.band--navy .eyebrow--rule::after { background: var(--gold-lt); }
.band--rule { border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split > * { min-width: 0; }

.figure { margin: 0; }
.figure img { width: 100%; object-fit: cover; }
.figure--wide img { aspect-ratio: 21 / 8; }

.placeholder-img {
  aspect-ratio: 21 / 8;
  background:
    repeating-linear-gradient(45deg, rgba(14,35,80,.045) 0 14px, transparent 14px 28px),
    var(--mist);
  border: 1px dashed rgba(14, 35, 80, .3);
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  font-family: var(--data); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); line-height: 1.7;
}

/* ------------------------------------------------------------- what we do */

.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.services--3 { grid-template-columns: repeat(3, 1fr); }
.services--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .services--3, .services--2 { grid-template-columns: 1fr; } }

.service {
  background: var(--paper);
  padding: clamp(1.7rem, 3vw, 2.5rem);
  position: relative; overflow: hidden;
  transition: background .3s ease;
}
.service::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: var(--gold); transition: width .5s cubic-bezier(.2,.7,.3,1);
}
.service:hover::before { width: 100%; }
.service:hover { background: var(--mist); }
.service__idx {
  font-family: var(--data); font-size: .7rem; letter-spacing: .18em;
  color: var(--gold-dp); display: block; margin-bottom: 1.2rem;
}
.service h3 { margin-bottom: .65rem; }
.service p { font-size: .96rem; margin: 0; color: var(--slate); }

/* ---------------------------------------------------------------- pillars */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; gap: 2.5rem; } }
.pillar { padding-inline: clamp(1rem, 3vw, 2.5rem); text-align: center; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) { .pillar { border-left: 0; padding-inline: 0; } }
.pillar__mark {
  width: 42px; height: 42px; margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold-dp); font-family: var(--data); font-size: .8rem;
}
.pillar h3 { margin-bottom: .7rem; }
.pillar p { font-size: .95rem; margin: 0 auto; max-width: 34ch; }

.band--navy .pillar { border-left-color: rgba(255,255,255,.18); }
.band--navy .pillar__mark { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ------------------------------------------------------------ mission/vis */

.creed { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 800px) { .creed { grid-template-columns: 1fr; } }
.creed__col { border-top: 2px solid var(--gold); padding-top: 1.4rem; min-width: 0; }
.creed__col h3 { margin-bottom: .8rem; }
.creed__col p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- leadership */

.leader { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } }
.leader > * { min-width: 0; }
.leader__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.leader__name { font-family: var(--display); font-weight: 700; font-size: var(--step-2); color: var(--ink); margin: 0 0 .35rem; }
.leader__role {
  font-family: var(--body); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dp);
  margin-bottom: 1.6rem;
}

/* ---------------------------------------------------------------- records */

.record { font-family: var(--data); font-size: var(--step--1); line-height: 1.55; }
.record__row {
  display: grid; grid-template-columns: 10rem 1fr; gap: 1rem;
  padding-block: .72rem; border-bottom: 1px solid var(--line);
}
.record__row:first-child { border-top: 1px solid var(--line); }
.record__row > * { min-width: 0; }
.record__key {
  color: var(--gold-dp); letter-spacing: .1em; text-transform: uppercase;
  font-size: .68rem; padding-top: .2rem;
}
.record__val { color: var(--ink); letter-spacing: .015em; overflow-wrap: anywhere; }
.band--navy .record__row { border-color: rgba(255,255,255,.18); }
.band--navy .record__row:first-child { border-top-color: rgba(255,255,255,.18); }
.band--navy .record__val { color: #fff; }
.band--navy .record__key { color: var(--gold-lt); }
@media (max-width: 560px) { .record__row { grid-template-columns: 1fr; gap: .25rem; } }

/* --------------------------------------------------------------- credential chips */

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--data); font-size: .72rem; letter-spacing: .09em;
  padding: .6rem 1rem; border: 1px solid var(--line); color: var(--navy);
  text-align: center; line-height: 1.4;
}
.chips li.is-key { border-color: var(--gold); color: var(--gold-dp); font-weight: 500; }
.band--navy .chips li { border-color: rgba(255,255,255,.28); color: #fff; }
.band--navy .chips li.is-key { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ----------------------------------------------------- past performance */

.pp { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); margin-top: 3rem; }
@media (max-width: 900px) { .pp { grid-template-columns: 1fr; } }
.pp__card { border: 1px solid var(--line); padding: clamp(1.7rem, 3vw, 2.4rem); background: var(--paper); min-width: 0; }
.pp__agency {
  font-family: var(--body); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dp);
  margin: 0 0 .6rem;
}
.pp__card h3 { margin-bottom: 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.pp__card h3 span { display: block; font-size: .82em; font-weight: 400; color: var(--slate); margin-top: .25rem; }
.pp__meta { font-family: var(--data); font-size: .78rem; line-height: 1.5; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.pp__meta div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; }
.pp__meta dt { color: var(--gold-dp); letter-spacing: .07em; text-transform: uppercase; font-size: .66rem; padding-top: .15rem; }
.pp__meta dd { margin: 0; color: var(--ink); }
@media (max-width: 520px) { .pp__meta div { grid-template-columns: 1fr; gap: .1rem; } }
.pp__h4 { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 .5rem; }
.pp__card p { font-size: .94rem; }
.pp__caps { font-size: .88rem; color: var(--slate); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 2.5rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; border-left: 1px solid var(--line); padding-inline: 1rem; }
.stat:first-child { border-left: 0; }
@media (max-width: 760px) { .stat:nth-child(3) { border-left: 0; } }
.stat__mark {
  width: 38px; height: 38px; margin: 0 auto .9rem; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-dp);
  font-family: var(--data); font-size: .72rem;
}
.stat__label { font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--navy); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block; font-family: var(--body); font-size: .74rem;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; padding: .95rem 1.7rem; cursor: pointer;
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  transition: background .22s, color .22s, border-color .22s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: transparent; color: var(--gold-lt); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.band--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.band--navy .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

/* ------------------------------------------------------------------- form */

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 1rem; padding: .82rem 1rem;
  border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06);
  color: #fff; border-radius: 0; width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent;
}
.field select option { color: var(--ink); }

/* ----------------------------------------------------------------- footer */

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 1.8rem; font-size: .93rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.1fr 1.3fr .9fr;
  gap: clamp(2rem, 5vw, 3.5rem); padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__grid > * { min-width: 0; }
.footer h4 {
  font-family: var(--body); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer img { height: 46px; width: auto; margin-bottom: 1.2rem; }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.6rem; font-family: var(--data); font-size: .68rem;
  letter-spacing: .06em; color: rgba(255,255,255,.5);
}

/* ------------------------------------------------------------------ motion */

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

html, body { overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- badge row */

.badges {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 1.25rem; margin-top: 1.5rem;
}
.badges img { height: clamp(74px, 9vw, 104px); width: auto; }
.badges__slot {
  height: clamp(74px, 9vw, 104px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center;
  border: 1px dashed rgba(14, 35, 80, .3);
  font-family: var(--data); font-size: .68rem; letter-spacing: .1em;
  color: var(--muted); line-height: 1.6;
}
.badges__slot span { font-size: .82em; opacity: .75; }
@media (max-width: 940px) { .badges { justify-content: flex-start; } }


/* ============================ fixes ==================================== */

/* nav CTA: .nav a was overriding .btn colour and hiding the label */
.nav a.btn { color: #fff; border-bottom: 0; }
.nav a.btn:hover { color: var(--ink); border-bottom: 0; }

/* footer chips sat navy-on-navy and stretched full width */
.footer .chips {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.footer .chips li {
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.24);
  font-size: .68rem;
  padding: .55rem .6rem;
}
.footer .chips li.is-key { color: var(--gold-lt); border-color: rgba(201,169,107,.6); }

/* badge sits on a light plate so the navy laurel reads on a dark footer */
.footer .badge-plate {
  display: inline-grid; place-items: center;
  background: #fff; border-radius: 50%;
  width: 96px; height: 96px; margin: 0 0 1.2rem;
}
.footer .badge-plate img { height: 82px; width: 82px; margin: 0; }

/* hero badge lockup */
.badges { align-items: stretch; }
.badges img { height: auto; width: clamp(96px, 11vw, 128px); }
.badges__slot {
  width: clamp(96px, 11vw, 128px); height: auto; aspect-ratio: 1;
  border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: .15rem;
  font-family: var(--body); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; color: var(--gold-dp); line-height: 1.3;
}
.badges__slot span {
  display: block; font-weight: 500; font-size: .58rem;
  letter-spacing: .14em; color: var(--muted); opacity: 1;
}

/* balance the partnerships band — chips move under the heading */
.split--balanced { align-items: start; }

/* ---------------------------------------------------- badges, second pass */

.badges { align-items: center; gap: 1.5rem; }
.badges img {
  width: clamp(92px, 10.5vw, 124px);
  height: clamp(92px, 10.5vw, 124px);
  object-fit: contain;
}

.footer .badge-row { display: flex; gap: .75rem; margin: 0 0 1.2rem; }
.footer .badge-plate { margin: 0; width: 84px; height: 84px; }
.footer .badge-plate img { width: 68px; height: 68px; object-fit: contain; }

/* short intro columns were stranding a few hundred px of empty space —
   pin them so the heading tracks the copy beside it */
@media (min-width: 901px) {
  .split > *:first-child { position: sticky; top: 108px; }
  .leader > *:first-child { position: static; }
}

/* ------------------------------------------------- badge plates, refined */

/* the SBA mark is rectangular — a circular plate crowded its corners */
.footer .badge-plate {
  border-radius: 6px;
  width: 88px; height: 88px;
}
.footer .badge-plate img { width: 72px; height: 72px; }

/* ---- hero photo panel ---- */
.hero__media picture { display: block; }
.hero__media picture img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 45%;
}

/* ---- full-bleed photo divider ---- */
.photo-band { display: block; line-height: 0; }
.photo-band img {
  display: block;
  width: 100%;
  height: clamp(140px, 18vw, 240px);
  object-fit: cover;
  object-position: center 55%;
}

/* ---- stat icons ---- */
.stat__mark svg { width: 30px; height: 30px; display: block; margin: 0 auto .55rem; }

/* ---- past performance facility image ---- */
.hero__media picture img,
.split picture img { aspect-ratio: 3 / 2; }
.stat__label { line-height: 1.25; }

/* ---- service photo ---- */
.service-photo {
  margin: clamp(2rem, 4vw, 3rem) auto clamp(2.5rem, 5vw, 3.5rem);
  max-width: 860px;
  width: 100%;
}
.service-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.service-photo { max-width: min(860px, 92vw) !important; }




/* ---- centered intros ---- */
.center p { max-width: none; margin-inline: 0; }
.center p:not(.eyebrow) { text-align: justify; }
.pillar p { text-align: justify; }
