/*
 * ForgePoint Consulting: site styles.
 * Built on the ForgePoint Accounting design system so the two sister
 * brands share one palette, one type pairing and one set of components.
 *
 * 1. Foundations: reset, brand tokens, accessibility helpers, reveals.
 * 2. Shared components: type, buttons, header, sections, cards, footer.
 * 3. Home page: hero system panel, model, services rail, packages, industries.
 * 4. Inner pages: page header, services, service detail, packages, about.
 * 5. Amber contact panel and form.
 */

/* =====================================================================
   1. Foundations
   ===================================================================== */

:root {
  /* Brand palette, shared with ForgePoint Accounting. Every color on the
     pages is one of these four, or a transparency / mix of them. */
  --black: #000000;
  --amber: #E79A01;
  --graphite: #313130;
  --mist: #DBDADA;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --z-base: 1;
  --z-raised: 10;
  --z-header: 100;
  --z-overlay: 200;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

body.nav-open { overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-overlay);
  padding: 0.75rem 1.1rem;
  background: var(--amber);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline: 2px solid var(--black); outline-offset: 2px; }

[data-scroll-sentinel] {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 72px;
  pointer-events: none;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__img { width: auto; height: var(--logo-height, 52px); }

/* Reveal mechanics. Only active when JS is running (html.js), so content
   never depends on it. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.7s var(--ease-out) calc(var(--i, 0) * 80ms),
    transform 0.9s var(--ease-out) calc(var(--i, 0) * 80ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none !important; transition: opacity 0.4s linear !important; }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* =====================================================================
   2. Shared components
   ===================================================================== */

.fp {
  --bg: #FFFFFF;
  --ink: var(--black);
  --ink-soft: var(--graphite);
  --muted: rgb(49 49 48 / 0.9);
  --tint: color-mix(in srgb, var(--mist) 42%, #FFFFFF);
  --line: rgb(0 0 0 / 0.13);
  --line-strong: rgb(0 0 0 / 0.3);

  --radius-lg: 24px;
  --radius: 14px;
  --pill: 999px;

  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --sans: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo-height: 58px;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.fp ::selection { background: var(--black); color: #FFFFFF; }
.fp .container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }

/* ------------------------------------------------------------ Typography */
.fp h1,
.fp h2,
.fp h3 { font-family: var(--display); }
.fp h1 { font-size: clamp(2.4rem, 4.05vw, 3.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.fp h1 .line { display: block; }
/* Amber marker stroke, shared with the ForgePoint Accounting tagline. */
.fp h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 0 62%, var(--amber) 62% 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.fp h2 { font-size: clamp(2rem, 1.3rem + 2.7vw, 3.3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.fp h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.fp h4 { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.fp .eyebrow { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--ink-soft); }

/* Large statement text set in the display face. */
.fp .bigquote {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.fp .rule { display: block; width: 4.5rem; height: 5px; background: var(--amber); border-radius: 3px; }

.fp a:focus-visible,
.fp button:focus-visible,
.fp summary:focus-visible { outline: 2.5px solid var(--black); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------- Buttons */
.fp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid var(--black);
  border-radius: var(--pill);
  transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.fp .btn:active { transform: scale(0.97); }
.fp .btn .ph { font-size: 1.1em; transition: transform 220ms var(--ease-out); }
.fp .btn--primary { background: var(--black); color: #FFFFFF; }
.fp .btn--ghost { background: transparent; color: var(--black); }
.fp .btn--amber { background: var(--amber); border-color: var(--amber); color: var(--black); }
.fp .btn--light { background: transparent; border-color: rgb(255 255 255 / 0.6); color: #FFFFFF; }
.fp .btn--sm { min-height: 46px; padding: 0 1.25rem; font-size: 0.94rem; }
@media (hover: hover) and (pointer: fine) {
  .fp .btn--primary:hover { background: var(--amber); border-color: var(--amber); color: var(--black); }
  .fp .btn--ghost:hover { background: var(--black); color: #FFFFFF; }
  .fp .btn--amber:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--black); }
  .fp .btn--light:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--black); }
  .fp .btn:hover .ph-arrow-right { transform: translateX(3px); }
  .fp .btn:hover .ph-arrow-up-right { transform: translate(2px, -2px); }
}

/* Plain text link with an arrow, used inside cards. */
.fp .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.fp .text-link .ph { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fp .text-link:hover .ph { transform: translateX(4px); }
}

/* ---------------------------------------------------------------- Header */
.fp .site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); }
.fp .site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
  padding-inline: max(1.25rem, calc((100vw - 1200px) / 2));
}
.fp .site-header__glass {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 0.8);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: opacity 300ms ease;
}
[data-scrolled] .fp .site-header__glass,
.fp.nav-open .site-header__glass { opacity: 1; }
@media (prefers-reduced-transparency: reduce) {
  .fp .site-header__glass { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.fp .brand,
.fp .nav-toggle,
.fp .site-nav { position: relative; z-index: var(--z-base); }

.fp .site-nav { display: flex; align-items: center; gap: 1.25rem; }
.fp .site-nav__list { display: flex; gap: 0.15rem; }
.fp .site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--pill);
  transition: background-color 220ms ease;
}
.fp .site-nav__list a::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  bottom: 5px;
  left: 0.95rem;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms var(--ease-out);
}
.fp .site-nav__list a[aria-current] { font-weight: 600; }
.fp .site-nav__list a[aria-current]::after { transform: scaleX(1); }
.fp .site-nav__login .ph { margin-right: 0.35rem; font-size: 1.05em; }
@media (hover: hover) and (pointer: fine) {
  .fp .site-nav__list a:hover { background: rgb(0 0 0 / 0.06); }
}

.fp .nav-toggle { display: none; width: 48px; height: 48px; place-items: center; background: var(--black); border: 0; border-radius: 50%; }
.fp .nav-toggle__bars,
.fp .nav-toggle__bars::before,
.fp .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: #FFFFFF; border-radius: 2px; transition: transform 240ms var(--ease-out); }
.fp .nav-toggle__bars { position: relative; background: transparent; }
.fp .nav-toggle__bars::before,
.fp .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.fp .nav-toggle__bars::before { transform: translateY(-4px); }
.fp .nav-toggle__bars::after { transform: translateY(4px); }
.fp .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.fp .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

@media (max-width: 999px) {
  .js .fp .nav-toggle { display: inline-grid; }
  html:not(.js) .fp .site-nav__list { display: none; }
  .js .fp .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-height: calc(100dvh - 84px);
    padding: 0.5rem 1.25rem 1.5rem;
    overflow-y: auto;
    background: rgb(255 255 255 / 0.9);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.45);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
  }
  .js .fp .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s; }
  .js .fp .site-nav__list { flex-direction: column; gap: 0; }
  .js .fp .site-nav__list a { display: flex; min-height: 60px; padding: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .fp .site-nav__list a::after { display: none; }
  .js .fp .site-nav__list a[aria-current] { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
  .js .fp .site-nav .btn { min-height: 56px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .js .fp .site-nav { transform: none; } }

/* -------------------------------------------------------------- Sections */
.fp .section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.fp .section--tint { background: var(--tint); }
.fp .section__head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.fp .section__head p:not(.eyebrow) { max-width: 38rem; font-size: 1.15rem; color: var(--muted); }
.fp .section__head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.fp .section__more { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ----------------------------------------------------------- Icon circle */
.fp .icon-dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.55rem;
  color: var(--amber);
  background: var(--black);
  border-radius: 50%;
  transition: transform 420ms var(--ease-out), background-color 260ms ease, color 260ms ease;
}

/* ------------------------------------------------------------ Checklist */
.fp .checklist { margin: 0; padding: 0; list-style: none; }
.fp .checklist li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; line-height: 1.45; border-top: 1px solid var(--line-strong); }
.fp .checklist .ph { display: grid; flex: none; place-items: center; width: 1.75rem; height: 1.75rem; margin-top: -0.1rem; font-size: 0.8rem; background: var(--amber); color: var(--black); border-radius: 50%; }

/* -------------------------------------------------------- Rail controls */
.fp .rail__controls { display: flex; flex: none; gap: 0.6rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.fp .icon-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.25rem;
  color: var(--black);
  background: transparent;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease, opacity 220ms ease;
}
.fp .icon-btn:active { transform: scale(0.94); }
.fp .icon-btn[aria-disabled="true"] { opacity: 0.32; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .fp .icon-btn:not([aria-disabled="true"]):hover { background: var(--black); color: #FFFFFF; }
}
.fp .rail {
  display: flex;
  gap: 1rem;
  margin: 0 calc(50% - 50vw);
  padding: 0.75rem max(1.25rem, calc((100vw - 1200px) / 2)) 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.fp .rail::-webkit-scrollbar { display: none; }
.fp .rail:focus-visible { outline: 2.5px solid var(--black); outline-offset: -4px; }

/* ------------------------------------------------- Dark and amber bands */
.fp .band { padding: clamp(3rem, 6vw, 5rem) 0; }
.fp .band + .band { padding-top: 0; }
.fp .band__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.75rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.75rem);
  border-radius: 30px;
}
.fp .band__panel > div:first-child { display: grid; gap: 0.9rem; max-width: 44rem; }
.fp .band__panel p:not(.eyebrow) { font-size: 1.15rem; line-height: 1.55; }
.fp .band--amber .band__panel { background: var(--amber); color: var(--black); }
.fp .band--amber .eyebrow { color: var(--black); }
.fp .band--dark .band__panel { background: var(--black); color: #FFFFFF; }
.fp .band--dark .eyebrow { color: var(--amber); }
.fp .band--dark .band__panel p:not(.eyebrow) { color: rgb(255 255 255 / 0.84); }
.fp .band--dark a:focus-visible { outline-color: var(--amber); }
.fp .band--tint .band__panel { background: var(--tint); }
@media (hover: hover) and (pointer: fine) {
  .fp .band--amber .btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; }
}

/* ---------------------------------------------------------------- Footer */
.fp .site-footer { padding: 4.5rem 0 6rem; background: var(--black); color: var(--mist); border-radius: 28px 28px 0 0; }
.fp .site-footer a:focus-visible { outline-color: var(--amber); }
.fp .site-footer__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.fp .site-footer__brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.fp .site-footer__brand .brand__img { height: 84px; }
.fp .site-footer__tagline { max-width: 20rem; font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: #FFFFFF; }
.fp .site-footer__brand p:not(.site-footer__tagline) { max-width: 22rem; font-size: 0.98rem; color: rgb(219 218 218 / 0.8); }
.fp .site-footer h2 { margin-bottom: 0.6rem; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: rgb(219 218 218 / 0.74); }
.fp .site-footer ul { margin: 0; padding: 0; list-style: none; }
.fp .site-footer li a { display: inline-flex; align-items: center; min-height: 38px; text-decoration: none; overflow-wrap: anywhere; transition: color 200ms ease; }
.fp .site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; font-size: 0.92rem; color: rgb(219 218 218 / 0.74); border-top: 1px solid rgb(219 218 218 / 0.18); }
.fp .site-footer__top { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--mist); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .fp .site-footer li a:hover,
  .fp .site-footer__top:hover { color: var(--amber); }
}


/* =====================================================================
   3. Home page
   ===================================================================== */

/* ------------------------------------------------------------------ Hero
   Copy on the left. On the right, a rounded black square, where the photo
   sits on the ForgePoint Accounting site. It carries the mountain mark and
   the six ForgePoint disciplines as links.                              */
.fp .hero { position: relative; display: grid; align-items: center; min-height: max(46rem, min(100dvh, 54rem)); padding: 9rem 0 5.5rem; }
.fp .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.fp .hero__copy { display: grid; gap: 1.4rem; justify-items: start; max-width: 35rem; }
.fp .hero__lede { font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.fp .hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }

.fp .hero__panel {
  /* Square by default; if the content ever needs more room it grows taller
     instead of clipping (no overflow: hidden, so aspect-ratio is a minimum). */
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  justify-self: end;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1 / 1;
  padding: clamp(1.75rem, 3.4vw, 3rem);
  color: #FFFFFF;
  background: var(--black);
  border-radius: 28px;
  box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.55);
}
.fp .hero__mountains {
  width: min(100%, 44rem);
  height: auto;
  margin: 0 0 auto -0.5rem;
  pointer-events: none;
}
.js .fp .hero__mountains { animation: fp-rise 1.6s var(--ease-out) both; }
@keyframes fp-rise { from { opacity: 0; transform: translateY(18px) scale(1.04); } to { opacity: 1; transform: none; } }

.fp .hero__panel-title { position: relative; max-width: 18ch; font-family: var(--display); font-size: clamp(1.6rem, 1rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.fp .system { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.fp .system a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding: 0.6rem 0.9rem 0.6rem 0.65rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--mist);
  text-decoration: none;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(219 218 218 / 0.18);
  border-radius: var(--radius);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 160ms var(--ease-out);
}
.fp .system a:active { transform: scale(0.98); }
.fp .system a:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 2px; }
.fp .system .ph:first-child { display: grid; flex: none; place-items: center; width: 40px; height: 40px; font-size: 1.2rem; color: var(--black); background: var(--amber); border-radius: 50%; }
.fp .system .ph:last-child { margin-left: auto; font-size: 1rem; opacity: 0.55; transition: transform 220ms var(--ease-out), opacity 220ms ease; }
@media (hover: hover) and (pointer: fine) {
  .fp .system a:hover { color: var(--black); background: var(--amber); border-color: var(--amber); }
  .fp .system a:hover .ph:first-child { color: var(--amber); background: var(--black); }
  .fp .system a:hover .ph:last-child { opacity: 1; transform: translate(2px, -2px); }
}

/* ----------------------------------------------------------- The model */
.fp .model__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fp .model__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fp .vendors { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.fp .vendors li { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; font-size: 1.1rem; line-height: 1.4; border-top: 1px solid var(--line-strong); }
.fp .vendors .ph { display: grid; flex: none; place-items: center; width: 44px; height: 44px; font-size: 1.25rem; background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 50%; }
.fp .model__answer { display: grid; gap: 1.5rem; }
.fp .statement {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--display);
  font-size: clamp(1.45rem, 1rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  background: var(--amber);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 50px -32px rgb(0 0 0 / 0.55);
}
.fp .model__answer > p:not(.statement) { font-size: 1.15rem; line-height: 1.6; }

/* ---------------------------------------------------------- Services rail
   Six cards in one row that scrolls sideways and bleeds to the window
   edges, the same pattern as the ForgePoint Accounting service row. */
.fp .services { overflow-x: clip; }
.fp .svc-card {
  display: flex;
  flex: 0 0 clamp(17.5rem, 27vw, 21.5rem);
  flex-direction: column;
  gap: 0.9rem;
  min-height: 20rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--tint);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.fp .svc-card .icon-dot { margin-bottom: 0.6rem; }
.fp .svc-card p { color: var(--muted); }
.fp .svc-card .text-link { margin-top: auto; }
.fp .svc-card__index { margin-left: auto; font-family: var(--display); font-size: 1.05rem; font-weight: 700; opacity: 0.5; }
.fp .svc-card__top { display: flex; align-items: flex-start; }
.fp .svc-card:nth-child(2) { background: var(--black); color: #FFFFFF; }
.fp .svc-card:nth-child(2) p { color: rgb(255 255 255 / 0.84); }
.fp .svc-card:nth-child(2) .icon-dot { background: var(--amber); color: var(--black); }
.fp .svc-card:nth-child(2) a:focus-visible { outline-color: var(--amber); }
.fp .svc-card:nth-child(5) { background: var(--amber); }
.fp .svc-card:nth-child(5) p { color: var(--black); }
.fp .svc-card:nth-child(5) .text-link { text-decoration-color: var(--black); }
@media (hover: hover) and (pointer: fine) {
  .fp .svc-card:hover { transform: translateY(-8px); box-shadow: 0 32px 50px -34px rgb(0 0 0 / 0.55); }
  .fp .svc-card:hover .icon-dot { transform: rotate(-10deg) scale(1.08); }
}

/* -------------------------------------------------------------- Packages
   Four plan cards. They sit side by side on wide screens and become a
   sideways rail below that. Growth is inverted to black.               */
.fp .plans-rail .rail { gap: 0.85rem; }
.fp .plan {
  position: relative;
  display: flex;
  flex: 1 0 14.25rem;
  flex-direction: column;
  gap: 1.15rem;
  padding: 3.1rem 1.25rem 1.4rem;
  background: #FFFFFF;
  border: 1.5px solid var(--black);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  transition: background-color 280ms ease, transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.fp .plan h3 { display: flex; align-items: flex-end; min-height: 2.4em; font-size: 1.45rem; }
.fp .plan__for { min-height: 3.2em; color: var(--muted); }
.fp .plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem; }
.fp .plan__amount { font-family: var(--display); font-size: clamp(2.1rem, 1.7rem + 0.7vw, 2.45rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fp .plan__per { color: var(--muted); }
.fp .plan__list { display: grid; gap: 0.7rem; margin: 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid var(--line-strong); }
.fp .plan__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.97rem; line-height: 1.4; }
.fp .plan__list .ph { flex: none; margin-top: 0.2rem; font-size: 0.95rem; color: var(--amber); }
.fp .plan .btn { width: 100%; margin-top: auto; }
.fp .plan__badge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--black);
  background: var(--amber);
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
}
.fp .plan--featured { background: var(--black); color: #FFFFFF; }
.fp .plan--featured .plan__amount { color: var(--amber); }
.fp .plan--featured .plan__for,
.fp .plan--featured .plan__per { color: rgb(255 255 255 / 0.82); }
.fp .plan--featured .plan__list { border-top-color: rgb(255 255 255 / 0.22); }
.fp .plan--featured a:focus-visible { outline-color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .fp .plan:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -34px rgb(0 0 0 / 0.5); }
}
@media (min-width: 1000px) {
  .fp .plans-rail .rail__controls { display: none; }
  .fp .plans-rail .rail { margin: 0; padding: 0.75rem 0 1rem; overflow: visible; }
}

/* ------------------------------------------------------------ Industries */
.fp .industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fp .industry {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--tint);
  border-radius: var(--radius-lg);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.fp .section--tint .industry { background: #FFFFFF; }
.fp .industry .icon-dot { width: 52px; height: 52px; margin-bottom: 0.5rem; font-size: 1.5rem; }
.fp .industry h3 { font-size: 1.35rem; line-height: 1.25; }
.fp .industry p { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .fp .industry:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -34px rgb(0 0 0 / 0.5); }
  .fp .industry:hover .icon-dot { background: var(--amber); color: var(--black); transform: rotate(-8deg) scale(1.06); }
}

/* -------------------------------------------------------- Why ForgePoint */
.fp .why__panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding: clamp(2rem, 6vw, 4.5rem);
  color: #FFFFFF;
  background: var(--black);
  border-radius: 30px;
}
.fp .why__panel .eyebrow { margin-bottom: 1.1rem; color: var(--amber); }
.fp .why__panel h2 { max-width: 16ch; }
.fp .why__copy { display: grid; gap: 1.1rem; justify-items: start; }
.fp .why__copy p { font-size: 1.12rem; line-height: 1.6; color: rgb(255 255 255 / 0.84); }
.fp .why__copy p strong { font-weight: 600; color: #FFFFFF; }
.fp .why__copy .btn { margin-top: 0.5rem; }
.fp .why__panel a:focus-visible { outline-color: var(--amber); }


/* =====================================================================
   4. Inner pages
   ===================================================================== */

/* ----------------------------------------------------------- Page header */
.fp .page-hero { padding: 10.5rem 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.fp .page-hero .container { display: grid; gap: 1.25rem; justify-items: start; }
.fp .page-hero h1 { max-width: 20ch; }
.fp .page-hero__lede { max-width: 44rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.fp .page-hero .hero__actions { margin-top: 0.5rem; }
.fp .crumb { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.fp .crumb .ph { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fp .crumb:hover { color: var(--black); }
  .fp .crumb:hover .ph { transform: translateX(-3px); }
}

/* ----------------------------------------------- Statement + two columns */
.fp .story { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.fp .story__head { display: grid; gap: 1.25rem; }
.fp .story__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem clamp(2rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1.5px solid var(--black); }
.fp .story__body p { font-size: 1.1rem; line-height: 1.65; color: var(--muted); }
.fp .story__body--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* -------------------------------------------------------- Services index */
.fp .svc-page__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fp .svc-index { position: sticky; top: 7.5rem; display: grid; gap: 1.5rem; justify-items: start; }
.fp .svc-index ul { width: 100%; margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--black); }
.fp .svc-index li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 220ms ease;
}
.fp .svc-index li a::after { content: ""; flex: none; width: 10px; height: 10px; background: var(--amber); opacity: 0; transition: opacity 220ms ease; }
.fp .svc-index li a[aria-current] { font-weight: 600; background: var(--tint); }
.fp .svc-index li a[aria-current]::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .fp .svc-index li a:hover { background: var(--tint); }
}

.fp .svc-list { display: grid; gap: 1.25rem; }
.fp .svc-detail { display: grid; gap: 1.1rem; justify-items: start; padding: clamp(1.5rem, 3vw, 2.6rem); background: var(--tint); border-radius: var(--radius-lg); scroll-margin-top: 7rem; }
.fp .svc-detail header { display: flex; align-items: center; gap: 1rem; }
.fp .svc-detail h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }
.fp .svc-detail__lede { max-width: 44rem; font-size: 1.1rem; color: var(--muted); }
.fp .svc-detail .btn { margin-top: 0.4rem; }
.fp .svc-detail:nth-child(2) { background: var(--black); color: #FFFFFF; }
.fp .svc-detail:nth-child(2) .eyebrow { color: var(--amber); }
.fp .svc-detail:nth-child(2) .svc-detail__lede { color: rgb(255 255 255 / 0.84); }
.fp .svc-detail:nth-child(2) .icon-dot { background: var(--amber); color: var(--black); }
.fp .svc-detail:nth-child(2) .btn--ghost { color: #FFFFFF; border-color: rgb(255 255 255 / 0.6); }
.fp .svc-detail:nth-child(2) a:focus-visible { outline-color: var(--amber); }
.fp .svc-detail:nth-child(5) { background: var(--amber); }
.fp .svc-detail:nth-child(5) .eyebrow,
.fp .svc-detail:nth-child(5) .svc-detail__lede { color: var(--black); }
@media (hover: hover) and (pointer: fine) {
  .fp .svc-detail:nth-child(2) .btn--ghost:hover { background: var(--amber); border-color: var(--amber); color: var(--black); }
}

/* ------------------------------------------------ What we handle (cards) */
.fp .handle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fp .handle-grid--3,
.fp .handle-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fp .hcard {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.fp .hcard__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  background: var(--black);
  border-radius: 50%;
}
.fp .hcard h3 { font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.55rem); }
.fp .hcard p { color: var(--muted); }
.fp .hcard:nth-child(2) { background: var(--black); color: #FFFFFF; }
.fp .hcard:nth-child(2) p { color: rgb(255 255 255 / 0.84); }
.fp .hcard:nth-child(2) .hcard__num { background: var(--amber); color: var(--black); }
.fp .handle-grid--3 .hcard:nth-child(3),
.fp .handle-grid--4 .hcard:nth-child(3),
.fp .handle-grid--6 .hcard:nth-child(6) { background: var(--amber); }
.fp .handle-grid--3 .hcard:nth-child(3) p,
.fp .handle-grid--4 .hcard:nth-child(3) p,
.fp .handle-grid--6 .hcard:nth-child(6) p { color: var(--black); }
@media (hover: hover) and (pointer: fine) {
  .fp .hcard:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -34px rgb(0 0 0 / 0.5); }
}

/* ----------------------------------------------------------- Principles */
.fp .principles__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin: 0; }
.fp .principles__list div { display: grid; gap: 0.45rem; align-content: start; padding: 1.5rem 0 1.75rem; border-top: 1.5px solid var(--black); }
.fp .principles__list dt { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.fp .principles__list dd { max-width: 32rem; color: var(--muted); }

/* --------------------------------------------------------- Packages page */
.fp .pkg-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; padding: 0; list-style: none; }
.fp .pkg-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--pill);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.fp .pkg-jump b { font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .fp .pkg-jump a:hover { background: var(--black); border-color: var(--black); color: #FFFFFF; }
}

.fp .pkg-list { display: grid; gap: 1.25rem; }
.fp .pkg {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--tint);
  border-radius: var(--radius-lg);
  scroll-margin-top: 7rem;
}
.fp .pkg__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.fp .pkg__intro { display: grid; gap: 0.7rem; justify-items: start; }
.fp .pkg__intro p:not(.eyebrow) { max-width: 40rem; font-size: 1.1rem; color: var(--muted); }
.fp .pkg__buy { display: grid; gap: 1rem; justify-items: end; }
.fp .pkg__price { display: flex; align-items: baseline; gap: 0.4rem; }
.fp .pkg__amount { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fp .pkg__per { color: var(--muted); }
.fp .pkg__badge { display: inline-flex; padding: 0.4rem 0.85rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--black); background: var(--amber); border-radius: var(--pill); }
/* One row on wide screens, however many groups a package has (4 or 5). */
.fp .pkg__groups { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1rem; }
.fp .pkg-group { display: grid; gap: 0.6rem; align-content: start; padding: 1.25rem; background: #FFFFFF; border-radius: var(--radius); }
.fp .pkg-group h3 { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.fp .pkg-group h3 .ph { display: grid; place-items: center; width: 34px; height: 34px; font-size: 1.05rem; color: var(--amber); background: var(--black); border-radius: 50%; }
.fp .pkg-group ul { display: grid; gap: 0.55rem; margin: 0; padding: 0.75rem 0 0; list-style: none; border-top: 1px solid var(--line-strong); }
.fp .pkg-group li { display: flex; gap: 0.5rem; font-size: 0.95rem; line-height: 1.4; }
.fp .pkg-group li .ph { flex: none; margin-top: 0.2rem; font-size: 0.9rem; color: var(--amber); }
.fp .pkg--featured { background: var(--black); color: #FFFFFF; }
.fp .pkg--featured .eyebrow { color: var(--amber); }
.fp .pkg--featured .pkg__intro p:not(.eyebrow),
.fp .pkg--featured .pkg__per { color: rgb(255 255 255 / 0.82); }
.fp .pkg--featured .pkg__amount { color: var(--amber); }
.fp .pkg--featured .pkg-group { color: var(--black); }
.fp .pkg--featured a:focus-visible { outline-color: var(--amber); }

/* ------------------------------------------------------- Industries page
   Overview cards link down to one section per industry. Each section shows
   the six ForgePoint services applied to that industry.                 */
.fp .section--flush { padding-top: 0; }
.fp .industry .text-link { margin-top: auto; padding-top: 0.25rem; }
.fp .ind-list { display: grid; gap: 1.25rem; }
.fp .ind {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--tint);
  border-radius: var(--radius-lg);
  scroll-margin-top: 7rem;
}
.fp .ind__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.25rem; align-items: center; }
.fp .ind__intro { display: grid; gap: 0.35rem; }
.fp .ind__intro h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }
.fp .ind__who { max-width: 46rem; color: var(--muted); }
.fp .ind__summary { max-width: 54rem; padding-top: 1.25rem; font-size: 1.1rem; line-height: 1.55; border-top: 1.5px solid var(--black); }
.fp .ind__summary b { font-weight: 600; }
.fp .ind__services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.fp .ind-svc { display: grid; gap: 0.6rem; align-content: start; padding: 1.25rem 1.3rem 1.4rem; background: #FFFFFF; border-radius: var(--radius); }
.fp .ind-svc h3 { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.fp .ind-svc h3 .ph { display: grid; flex: none; place-items: center; width: 34px; height: 34px; font-size: 1.05rem; color: var(--amber); background: var(--black); border-radius: 50%; }
.fp .ind-svc h3 a { text-decoration: none; background-image: linear-gradient(var(--amber), var(--amber)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 260ms var(--ease-out); }
.fp .ind-svc p { font-size: 0.97rem; line-height: 1.5; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .fp .ind-svc h3 a:hover { background-size: 100% 2px; }
}
@media (max-width: 1100px) {
  .fp .ind__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .fp .ind__head { grid-template-columns: auto minmax(0, 1fr); }
  .fp .ind__head .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .fp .ind__head { grid-template-columns: minmax(0, 1fr); }
  .fp .ind__head .btn { width: 100%; }
  .fp .ind__services { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .fp .ind-svc h3 a { transition: none; }
}

/* ------------------------------------------------------- Meet the founder
   About page: photo with an amber statement card overlapping its bottom
   edge, the same device ForgePoint Accounting uses on its About section. */
.fp .founder__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fp .founder__media { margin: 0; }
.fp .founder__photo { aspect-ratio: 1376 / 768; overflow: hidden; background: var(--graphite); border-radius: var(--radius-lg); }
.fp .founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.fp .founder__statement { position: relative; z-index: var(--z-raised); margin: -3.5rem 1.5rem 0; font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.55rem); }
.fp .founder__copy { display: grid; gap: 1.1rem; justify-items: start; }
.fp .founder__copy h2 { margin-bottom: 0.2rem; }
.fp .founder__copy p:not(.eyebrow):not(.founder__sign) { max-width: 36rem; font-size: 1.1rem; line-height: 1.65; color: var(--muted); }
.fp .founder__sign { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.fp .founder__sign span { display: block; margin-top: 0.2rem; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.fp .founder__sign::before { content: ""; display: block; width: 3rem; height: 4px; margin-bottom: 0.75rem; background: var(--amber); border-radius: 2px; }
.fp .founder__copy .btn { margin-top: 0.4rem; }
@media (max-width: 899px) {
  .fp .founder__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .fp .founder__statement { margin: -2.5rem 0.75rem 0; }
}

/* Contact panel: a small founder note under the contact details. */
.contact-amber .founder-note { display: flex; align-items: center; gap: 1rem; margin: 0.5rem 0 0; padding: 1.1rem 1.2rem; background: rgb(255 255 255 / 0.35); border-radius: var(--radius); }
.contact-amber .founder-note img { flex: none; width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--black); border-radius: 50%; }
.contact-amber .founder-note figcaption { display: grid; gap: 0.35rem; }
.contact-amber .founder-note blockquote { font-family: var(--display); font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.contact-amber .founder-note span { font-size: 0.92rem; line-height: 1.45; }
.contact-amber .founder-note b { font-weight: 600; }
.contact-amber .founder-note a { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }

/* ------------------------------------------------------------ About page */
.fp .approach__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  color: #FFFFFF;
  background: var(--black);
  border-radius: 30px;
}
.fp .approach__intro { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.fp .approach__intro .eyebrow { color: var(--amber); }
.fp .approach__intro .btn { margin-top: 0.75rem; }
.fp .approach__close { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 0.8vw, 1.6rem); font-weight: 700; line-height: 1.3; color: var(--amber); }
.fp .approach__list { margin: 0; padding: 0; list-style: none; }
.fp .approach__list li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; font-size: 1.12rem; line-height: 1.45; color: rgb(255 255 255 / 0.9); border-top: 1px solid rgb(255 255 255 / 0.2); }
.fp .approach__list li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.fp .approach__list .ph { display: grid; flex: none; place-items: center; width: 44px; height: 44px; font-size: 1.25rem; color: var(--black); background: var(--amber); border-radius: 50%; }
.fp .approach__panel a:focus-visible { outline-color: var(--amber); }

/* ---------------------------------------------------- Client login page */
.fp .portal-card { display: grid; gap: 1rem; justify-items: center; max-width: 42rem; margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: var(--tint); border-radius: var(--radius-lg); }
.fp .portal-card .icon-dot { width: 64px; height: 64px; margin-bottom: 0.5rem; font-size: 1.8rem; }
.fp .portal-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.fp .portal-card p { max-width: 34rem; color: var(--muted); }
.fp .portal-card .portal-card__warn { display: flex; gap: 0.6rem; align-items: flex-start; padding: 1rem 1.15rem; font-weight: 600; text-align: left; color: var(--black); background: #FFFFFF; border: 1.5px solid var(--black); border-radius: var(--radius); }
.fp .portal-card__warn .ph { flex: none; margin-top: 0.15rem; font-size: 1.2rem; color: var(--amber); }

/* -------------------------------------------------------- Privacy policy */
.fp .prose { max-width: 50rem; }
.fp .prose > * + * { margin-top: 1.1rem; }
.fp .prose h2 { margin-top: 2.75rem; padding-top: 1.5rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-top: 1.5px solid var(--black); }
.fp .prose p,
.fp .prose li { color: var(--muted); }
.fp .prose strong { color: var(--black); }
.fp .prose ul { display: grid; gap: 0.6rem; padding-left: 1.25rem; }
.fp .prose li::marker { color: var(--amber); }
.fp .prose a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.fp .prose__updated { display: inline-flex; padding: 0.45rem 0.9rem; font-size: 0.95rem; background: var(--tint); border-radius: var(--pill); }
.fp .prose__contact { padding: 1.4rem 1.5rem; line-height: 1.7; background: var(--tint); border-radius: var(--radius); }

/* -------------------------------------------------------------------- 404 */
.fp .notfound { display: grid; align-items: center; min-height: 82dvh; padding: 10rem 0 5rem; }
.fp .notfound .container { display: grid; gap: 1.25rem; justify-items: start; }
.fp .notfound p { max-width: 34rem; font-size: 1.2rem; color: var(--muted); }
.fp .notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }


/* =====================================================================
   5. Amber contact panel and form (same build as ForgePoint Accounting)
   ===================================================================== */
.contact-amber {
  --ca-radius: 36px;
  --ca-field-radius: 14px;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.fp .contact { padding-top: 0; }
.fp .contact--page { padding-top: clamp(2.5rem, 5vw, 4rem); }
.contact-amber .contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(1.5rem, 5vw, 4.25rem);
  color: var(--black);
  background: var(--amber);
  border-radius: var(--ca-radius);
}
.contact-amber .contact__copy { display: grid; gap: 1.25rem; }
.contact-amber .contact__copy .eyebrow { color: var(--black); }
.contact-amber .contact__copy h2 { color: var(--black); }
.contact-amber .contact__copy > p:not(.eyebrow) { max-width: 28rem; font-size: 1.15rem; line-height: 1.55; }
.contact-amber .contact__details { display: grid; margin: 1rem 0 0; padding: 0; list-style: none; }
.contact-amber .contact__details li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0;
  font-weight: 500;
  line-height: 1.45;
  border-top: 1.5px solid rgb(0 0 0 / 0.22);
}
.contact-amber .contact__details .ph { flex: none; font-size: 1.35rem; }
.contact-amber a:focus-visible,
.contact-amber button:focus-visible { outline: 2.5px solid var(--black); outline-offset: 3px; }

.contact-amber .form-shell {
  padding: clamp(1.25rem, 3vw, 2.1rem);
  background: rgb(255 255 255 / 0.42);
  border: 1px solid rgb(255 255 255 / 0.85);
  border-radius: calc(var(--ca-radius) - 8px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 26px 60px -30px rgb(0 0 0 / 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.contact-amber .form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-amber .field { display: grid; gap: 0.45rem; align-content: start; margin-bottom: 1.1rem; }
.contact-amber .field label { font-size: 0.95rem; font-weight: 700; line-height: 1.4; }
.contact-amber .field__optional { font-weight: 400; }
.contact-amber .field input,
.contact-amber .field select,
.contact-amber .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1.05rem;
  color: var(--black);
  background: rgb(255 255 255 / 0.78);
  border: 1.5px solid rgb(0 0 0 / 0.4);
  border-radius: var(--ca-field-radius);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.contact-amber .field textarea { min-height: 124px; line-height: 1.5; resize: vertical; }
.contact-amber .select { position: relative; display: block; }
.contact-amber .select select { padding-right: 2.75rem; appearance: none; }
.contact-amber .select .ph { position: absolute; top: 50%; right: 1.05rem; font-size: 1.05rem; pointer-events: none; transform: translateY(-50%); }
.contact-amber .field input:focus-visible,
.contact-amber .field select:focus-visible,
.contact-amber .field textarea:focus-visible {
  outline: none;
  background: rgb(255 255 255 / 0.95);
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.85);
}
.contact-amber .field [aria-invalid="true"] { border-color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.contact-amber .field__hint { font-size: 0.88rem; line-height: 1.45; color: var(--graphite); }
.contact-amber .field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mist);
  background: var(--black);
  border-radius: 10px;
}
.contact-amber .field__error .ph { flex: none; margin-top: 0.08rem; font-size: 1.1rem; color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .contact-amber .field input:hover,
  .contact-amber .field select:hover,
  .contact-amber .field textarea:hover { border-color: var(--black); }
}

.contact-amber .form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.contact-amber .form__status { font-weight: 700; }
.contact-amber .send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0 0.55rem 0 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--mist);
  background: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  transition: transform 160ms var(--ease-out), background-color 220ms ease, border-color 220ms ease;
}
.contact-amber .send:active { transform: scale(0.97); }
.contact-amber .send:disabled { cursor: progress; opacity: 0.7; }
.contact-amber .send__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  color: var(--black);
  background: var(--amber);
  border-radius: 50%;
  transition: transform 260ms var(--ease-out);
}
.contact-amber .again {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 0.75rem;
  padding: 0 1.5rem;
  font-weight: 700;
  color: var(--black);
  background: transparent;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease;
}
.contact-amber .again:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .contact-amber .send:hover { background: var(--graphite); border-color: var(--graphite); }
  .contact-amber .send:hover .send__icon { transform: translateX(3px) rotate(-45deg); }
  .contact-amber .again:hover { background: var(--black); color: var(--mist); }
}

.contact-amber .form-success { display: grid; gap: 0.75rem; justify-items: start; padding: 0.75rem 0.25rem; }
.contact-amber .form-success > .ph { font-size: 3rem; }
.contact-amber .form-success h3 { font-size: 1.8rem; line-height: 1.15; color: var(--black); }
.contact-amber .form-success__demo { font-size: 0.9rem; color: var(--graphite); }

@media (prefers-reduced-transparency: reduce) {
  .contact-amber .form-shell { background: color-mix(in srgb, var(--amber) 45%, white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}


/* =====================================================================
   Responsive
   ===================================================================== */

/* Five menu links plus the button: tighten them on narrow laptop widths
   so the menu stays on one line until the phone menu takes over. */
@media (min-width: 1000px) and (max-width: 1160px) {
  .fp .site-nav { gap: 0.6rem; }
  .fp .site-nav__list a { padding: 0 0.6rem; font-size: 0.93rem; }
  .fp .site-nav__list a::after { right: 0.6rem; left: 0.6rem; }
  .fp .site-nav .btn--sm { padding: 0 1rem; font-size: 0.9rem; }
  .fp { --logo-height: 50px; }
}

/* Small laptops: tighten the hero square so its content still fits. */
@media (min-width: 900px) and (max-width: 1100px) {
  .fp .hero__panel { gap: 1rem; padding: 1.6rem; }
  .fp .hero__panel-title { font-size: clamp(1.45rem, 0.9rem + 1.2vw, 1.8rem); }
  .fp .system { gap: 0.5rem; }
  .fp .system a { min-height: 50px; padding-block: 0.4rem; font-size: 0.95rem; }
  .fp .system .ph:first-child { width: 34px; height: 34px; font-size: 1.05rem; }
}

@media (max-width: 1100px) {
  .fp .pkg__groups { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp .handle-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp .handle-grid--6 .hcard:nth-child(6) { background: #FFFFFF; }
  .fp .handle-grid--6 .hcard:nth-child(6) p { color: var(--muted); }
  .fp .handle-grid--6 .hcard:nth-child(5) { background: var(--amber); }
  .fp .handle-grid--6 .hcard:nth-child(5) p { color: var(--black); }
}

@media (max-width: 1040px) {
  .fp .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .fp .hero { min-height: 0; padding: 7.5rem 0 3rem; }
  .fp .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fp .hero__copy { max-width: none; }
  .fp .hero__panel { justify-self: stretch; max-width: none; aspect-ratio: auto; padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius-lg); }
  .fp .hero__mountains { margin: 0 auto 0.5rem; width: min(100%, 34rem); }
  .fp .model__grid,
  .fp .why__panel,
  .fp .approach__panel,
  .fp .svc-page__grid,
  .fp .story__body,
  .fp .story__body--three,
  .fp .pkg__head,
  .contact-amber .contact__panel { grid-template-columns: minmax(0, 1fr); }
  .fp .pkg__buy { justify-items: start; }
  .fp .principles__list { grid-template-columns: minmax(0, 1fr); }
  .fp .svc-index { position: static; }
  .fp .svc-index .btn { display: none; }
  .fp .page-hero { padding-top: 8.5rem; }
  .fp .band__panel { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fp .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .fp .pkg__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp .handle-grid,
  .fp .handle-grid--3,
  .fp .handle-grid--6 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .fp { --logo-height: 48px; }
  .fp .container { width: min(100% - 2rem, 1200px); }
  .fp h1 { font-size: clamp(2.2rem, 10.4vw, 2.9rem); }
  .fp .system { grid-template-columns: minmax(0, 1fr); }
  .fp .hero__actions { width: 100%; }
  .fp .hero__actions .btn { flex: 1 1 100%; }
  .fp .section__head-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .fp .section__head-row .section__head { margin-bottom: 1.25rem; }
  .fp .rail__controls { margin-bottom: 1.25rem; }
  .fp .rail { padding-inline: 1rem; scroll-padding-inline: 1rem; }
  .fp .svc-card { flex-basis: 82vw; min-height: 18rem; }
  .fp .plan { flex: 0 0 80vw; padding-top: 1.6rem; }
  .fp .plan--featured { padding-top: 3.1rem; }
  .fp .plan h3,
  .fp .plan__for { min-height: 0; }
  .fp .industries { grid-template-columns: minmax(0, 1fr); }
  .fp .pkg__groups { grid-template-columns: minmax(0, 1fr); }
  .fp .band__panel { border-radius: 24px; }
  .fp .band__panel .btn { width: 100%; }
  .fp .why__panel,
  .fp .approach__panel { border-radius: 24px; }
  .fp .notfound__actions .btn { flex: 1 1 100%; }
  .contact-amber { --ca-radius: 26px; }
  .contact-amber .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-amber .send { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .fp .hero__mountains { animation: none; }
  .fp .svc-card,
  .fp .plan,
  .fp .industry,
  .fp .hcard,
  .fp .icon-dot,
  .fp .btn { transition-duration: 0.01ms; }
  .fp .svc-card:hover,
  .fp .plan:hover,
  .fp .industry:hover,
  .fp .hcard:hover,
  .fp .svc-card:hover .icon-dot,
  .fp .industry:hover .icon-dot { transform: none; }
}
