/* ==========================================================================
   ANAA Associates LLC
   Stylesheet
   ========================================================================== */

:root {
  --ink:        #0d2033;
  --ink-soft:   #3b4d61;
  --muted:      #667a8f;
  --blue:       #0b4ea2;
  --blue-deep:  #072f63;
  --blue-tint:  #e7eefa;
  --ember:      #e5751f;
  --paper:      #ffffff;
  --mist:       #eef2f7;
  --mist-deep:  #e3e9f1;
  --rule:       #d5dde6;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8.5vw, 124px);
  --header-h: 78px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.45rem, 5vw, 3.95rem); line-height: 1.07; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.6rem);  line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem);   line-height: 1.25; }
h4 { font-size: 1.09rem; line-height: 1.35; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.5em; }

strong { font-weight: 600; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 15px;
}
.skip:focus { left: 12px; top: 12px; color: #fff; }

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--mist { background: var(--mist); }
.section--ruled { border-top: 1px solid var(--rule); }

/* Editorial split: standing heading on the left, content on the right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.split__aside h2 { text-wrap: balance; }
.split__aside p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 34ch;
}

.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.measure { max-width: 64ch; }

/* --------------------------------------------------------------- header -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead.is-stuck { box-shadow: 0 1px 14px rgba(13, 32, 51, 0.07); }

.masthead__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { border-bottom-color: var(--ember); }

.nav__cta {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-deep);
  border: 1px solid var(--blue);
  padding: 9px 18px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav__cta:hover { background: var(--blue); color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-deep); color: #fff; }
.btn--line { border-color: var(--rule); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,0.45); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn--invert { background: #fff; color: var(--blue-deep); }
.btn--invert:hover { background: var(--mist); color: var(--blue-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.textlink {
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.textlink:hover { border-bottom-color: var(--blue); }

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

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 9vw, 132px) clamp(72px, 10vw, 148px);
}
.hero h1 { max-width: 17ch; text-wrap: balance; }
.hero .lede { margin-top: 26px; }
.hero .btn-row { margin-top: 38px; }

.hero__meta {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 760px;
}

.hero__arc {
  position: absolute;
  right: -6%;
  bottom: -14%;
  width: min(1020px, 92%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* one deliberate motion moment: the arc draws itself once on load */
.hero__arc path { stroke-dasharray: 2200; stroke-dashoffset: 2200; }
.arc-draw path { animation: arc-draw 1.5s cubic-bezier(0.22, 0.68, 0.3, 1) forwards; }
.arc-draw path:nth-child(2) { animation-delay: 0.18s; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }

/* page banner for interior pages */
.pagehead {
  background: var(--mist);
  border-bottom: 1px solid var(--mist-deep);
  padding-block: clamp(48px, 6.5vw, 92px);
}
.pagehead h1 { max-width: 18ch; }
.pagehead .lede { margin-top: 20px; }
.pagehead__crumb {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.pagehead__crumb a { color: var(--muted); border-bottom: 1px solid var(--rule); }
.pagehead__crumb a:hover { color: var(--blue); }

/* ------------------------------------------------------------- services -- */

.band { border-top: 1px solid var(--rule); padding-block: clamp(40px, 5.5vw, 68px); }
.band:first-of-type { border-top: none; padding-top: 0; }
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 88px);
  align-items: start;
}
.band__title { text-wrap: balance; }
.band__kicker {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32ch;
}

.speclist { list-style: none; margin: 26px 0 0; padding: 0; }
.speclist li {
  padding: 14px 0 14px 22px;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 70ch;
}
.speclist li::before {
  content: "";
  position: absolute;
  left: 0; top: 25px;
  width: 9px; height: 1.5px;
  background: var(--ember);
}
.speclist li strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------- sector rows ---- */

.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 72px);
  padding-block: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.row h3 { text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.tags li {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 4px 11px;
  background: #fff;
}
.section--mist .tags li { background: transparent; border-color: var(--mist-deep); }

/* ------------------------------------------------------------ statements */

.stack { display: grid; gap: clamp(26px, 3.2vw, 40px); }
.stack__item { border-top: 1px solid var(--rule); padding-top: 22px; }
.stack__item h4 { margin-bottom: 8px; }
.stack__item p { color: var(--ink-soft); font-size: 16.5px; }

.notes { list-style: none; margin: 0; padding: 0; }
.notes li {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 72ch;
  margin: 0;
}
.notes li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------------------------------------------------------------- table -- */

.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tbl caption { text-align: left; color: var(--muted); font-size: 14.5px; padding-bottom: 14px; }
.tbl th, .tbl td {
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  vertical-align: top;
}
.tbl th {
  font-weight: 600;
  color: var(--ink);
  width: 45%;
}
.tbl td { color: var(--ink-soft); }
.tbl tr:first-child th, .tbl tr:first-child td { border-top: 1px solid var(--rule); }

/* --------------------------------------------------------------- panels -- */

.panel {
  background: var(--mist);
  border: 1px solid var(--mist-deep);
  border-radius: 2px;
  padding: clamp(26px, 3.4vw, 44px);
}
.panel--blue {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}
.panel--blue h2, .panel--blue h3 { color: #fff; }
.panel--blue p { color: rgba(255, 255, 255, 0.82); }
.panel--blue a { color: #fff; }

.priceline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--mist-deep);
  font-size: 16px;
  color: var(--ink-soft);
}
.priceline b {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------ CTA strip -- */

.cta {
  background: var(--blue-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta__inner {
  padding-block: clamp(54px, 7vw, 92px);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.cta h2 { color: #fff; max-width: 20ch; text-wrap: balance; }
.cta p { color: rgba(255, 255, 255, 0.8); }
.cta__arc { position: absolute; right: -8%; top: 8%; width: 720px; opacity: 0.22; z-index: 1; }

/* --------------------------------------------------------------- forms -- */

.form { margin-top: 8px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #b3261e; }
.field .err { display: none; color: #b3261e; font-size: 14px; margin-top: 6px; }
.field .err.is-shown { display: block; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formnote { font-size: 14.5px; color: var(--muted); max-width: 60ch; margin-top: 6px; }

.formstatus { display: none; margin-bottom: 22px; padding: 15px 18px; border-radius: 2px; font-size: 16px; }
.formstatus.is-shown { display: block; }
.formstatus.is-ok  { background: var(--blue-tint); border: 1px solid #b9cdec; color: var(--blue-deep); }
.formstatus.is-bad { background: #fdecea; border: 1px solid #f2c3bf; color: #8c1d18; }

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

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(52px, 6vw, 76px) 30px;
  font-size: 15.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer img { height: 40px; width: auto; }
.footer p { color: rgba(255, 255, 255, 0.62); font-size: 15px; max-width: 34ch; margin-top: 20px; }
.footer h5 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #fff; }

.footer__base {
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__base ul { display: flex; gap: 22px; }
.footer__base li { margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
  .split, .band__grid, .row, .cta__inner { grid-template-columns: 1fr; }
  .cta__inner { align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__arc { width: 720px; right: -22%; bottom: -8%; opacity: 0.55; }
  .cta__arc { display: none; }
}

@media (max-width: 780px) {
  body { font-size: 16.5px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 26px;
    box-shadow: 0 18px 30px rgba(13, 32, 51, 0.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 17px;
  }
  .nav__link[aria-current="page"] { border-bottom-color: var(--rule); color: var(--blue); }
  .nav__cta { margin-top: 18px; text-align: center; padding: 14px 18px; }
  .burger { display: inline-flex; }
  .field-pair { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  .tbl th { width: auto; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl th { border-bottom: none; padding-bottom: 2px; }
  .tbl td { padding-top: 0; }
  .brand img { height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero__arc path { stroke-dashoffset: 0; }
}

@media print {
  .masthead, .nav, .cta, .burger { display: none !important; }
  body { font-size: 12pt; }
}
