:root {
  --ink: #172235;
  --ink-soft: #5d6778;
  --surface: #f3f0ea;
  --surface-strong: #ffffff;
  --surface-alt: #ebe4d8;
  --surface-deep: #14202e;
  --line: rgba(23, 34, 53, 0.12);
  --line-strong: rgba(23, 34, 53, 0.2);
  --brand: #8b4a2f;
  --brand-deep: #4e2d22;
  --accent: #1b5a67;
  --accent-soft: #dbecef;
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, 0.08);
  --shadow: 0 24px 72px rgba(23, 34, 53, 0.14);
  --shadow-soft: 0 16px 42px rgba(23, 34, 53, 0.1);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(139, 74, 47, 0.18), transparent 24%),
    radial-gradient(circle at 10% 8%, rgba(27, 90, 103, 0.12), transparent 16%),
    linear-gradient(180deg, #faf7f2 0%, #f2ede6 55%, #eee7dd 100%);
}

main {
  overflow: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
.brand-copy strong {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 242, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-logo {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.82rem;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(23, 34, 53, 0.2);
}

.brand-copy {
  display: grid;
  gap: 0.02rem;
}

.brand-copy strong {
  max-width: 15rem;
  font-size: 0.94rem;
  line-height: 1.05;
}

.brand-copy small,
.lead,
.section-intro,
.service-card p,
.service-card-rich p,
.info-card p,
.floating-card span,
.checklist-card,
.proof-strip-grid p,
.hero-proof-list span,
.form-note,
.insight-row span,
.process-item span,
.trust-badge p,
.kicker-card p,
.policy-card p,
.site-footer p,
.site-footer a,
.stat-row span,
.quote-summary p,
.mini-note,
.timeline-band p,
.resource-list li {
  color: var(--ink-soft);
}

.brand-copy small + small {
  margin-top: -0.1rem;
  font-size: 0.76rem;
}

.brand-copy small {
  font-size: 0.72rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.button:not(.button-ghost):not(.button-ghost-light),
.site-nav a.button:not(.button-ghost):not(.button-ghost-light):hover,
.site-nav a.button:not(.button-ghost):not(.button-ghost-light):focus-visible {
  color: white;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface-strong);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--ink);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  min-height: 3.1rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #a35a35);
  color: white;
  text-align: center;
  text-decoration: none;
  line-height: 1.05;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(139, 74, 47, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.button-conversion::before,
.button[href*="request-quote"]::before,
button.button[type="submit"]::before {
  opacity: 1;
  animation: button-glint 6.2s ease-in-out infinite;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(139, 74, 47, 0.28);
}

.button-sm {
  min-height: 2.65rem;
}

.button-ghost,
.button-ghost-light {
  background: transparent;
  box-shadow: none;
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

.button-ghost-light {
  color: var(--ink);
  border-color: rgba(23, 34, 53, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(23, 34, 53, 0.08);
}

.button-ghost:hover {
  border-color: rgba(23, 34, 53, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.button-ghost-light:hover {
  border-color: rgba(23, 34, 53, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 32px rgba(23, 34, 53, 0.1);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.08rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.address-suggestions {
  display: grid;
  gap: 0;
  margin-top: 0.2rem;
  overflow: hidden;
  border: 1px solid rgba(13, 34, 53, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(16, 33, 48, 0.1);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestion {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(13, 34, 53, 0.08);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.address-suggestion:last-of-type {
  border-bottom: 0;
}

.address-suggestion strong {
  font-size: 0.97rem;
}

.address-suggestion span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.address-suggestion-distance {
  color: var(--accent);
  font-weight: 700;
}

.address-suggestion.is-active,
.address-suggestion:hover,
.address-suggestion:focus-visible {
  background: rgba(233, 238, 244, 0.92);
  outline: none;
}

.address-suggestions-empty,
.address-suggestions-note {
  margin: 0;
  padding: 0.8rem 1rem;
}

.address-suggestions-empty {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.address-suggestions-note {
  border-top: 1px solid rgba(13, 34, 53, 0.08);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.hero,
.page-hero,
.section {
  padding: 4.75rem 0;
}

.hero-home {
  padding-top: 5.5rem;
}

.page-hero {
  padding-bottom: 2.5rem;
}

.page-hero .container,
.section-heading,
.hero-copy,
.form-panel,
.quote-grid,
.hero-panel,
.process-list,
.insight-panel,
.policy-card {
  position: relative;
}

.hero-home-grid,
.hero-grid,
.page-hero-grid,
.split-grid,
.section-split,
.contact-layout,
.proof-strip-grid,
.service-grid,
.service-grid-rich,
.trust-badge-list,
.kicker-grid,
.cta-grid,
.privacy-grid,
.bullet-grid,
.stat-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-home-grid,
.hero-grid,
.page-hero-grid,
.split-grid,
.section-split,
.contact-layout,
.cta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: start;
}

.section-split-tight {
  align-items: center;
}

.proof-strip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid-rich {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.privacy-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bullet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-badge-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.kicker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
}

.hero-copy {
  z-index: 1;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5vw, 4.9rem);
}

.hero-copy .lead,
.page-hero .lead {
  max-width: 44rem;
  margin-top: 1.1rem;
}

.hero-actions,
.cta-actions,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.mobile-primary-hero-actions {
  display: none;
}

.cta-assurance {
  margin-top: 1rem;
  max-width: 45rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 0;
  list-style: none;
}

.hero-proof-list li,
.proof-strip-grid article,
.floating-card,
.form-panel,
.info-card,
.checklist-card,
.service-card,
.service-card-rich,
.insight-panel,
.process-list,
.trust-badge,
.kicker-card,
.policy-card,
.timeline-band,
.quote-summary {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23, 34, 53, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.hero-proof-list li {
  padding: 1rem 1.1rem;
  backdrop-filter: blur(10px);
}

.hero-proof-list strong,
.proof-number,
.card-kicker,
.service-icon,
.reference-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 34, 53, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-proof-list strong {
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.hero-proof-list span,
.service-stack p {
  display: block;
}

.hero-panel,
.service-stack,
.quote-summary,
.timeline-band {
  display: grid;
  gap: 1rem;
}

.floating-card {
  padding: 1.45rem;
}

.floating-card strong {
  display: block;
  font-size: 1.16rem;
}

.floating-card span {
  display: block;
  margin-top: 0.7rem;
}

.floating-card-primary {
  background:
    linear-gradient(150deg, rgba(139, 74, 47, 0.14), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.94);
}

.floating-card-secondary {
  background:
    linear-gradient(135deg, #204651, #2b6c77);
  color: white;
}

.floating-card-secondary span,
.floating-card-secondary .card-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.floating-card-secondary .card-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.floating-card-neutral {
  background: rgba(255, 255, 255, 0.92);
}

.proof-strip {
  padding-bottom: 0;
}

.proof-strip-grid article {
  padding: 1.35rem;
}

.proof-number,
.reference-pill {
  color: var(--brand-deep);
}

.reference-pill {
  background: rgba(139, 74, 47, 0.08);
}

.section-alt {
  background: linear-gradient(180deg, rgba(235, 228, 216, 0.54), rgba(235, 228, 216, 0.32));
}

.section-heading {
  display: grid;
  gap: 0.9rem;
}

.section-heading h2,
.form-panel h2,
.info-card h2,
.checklist-card h2,
.page-hero h1,
.policy-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-intro,
.narrow {
  max-width: 44rem;
}

.page-hero-photo img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.contact-layout {
  align-items: start;
}

.section-quick-quote .form-panel {
  padding: 1.7rem;
}

.form-panel,
.info-card,
.checklist-card,
.service-card,
.service-card-rich,
.process-list,
.policy-card,
.timeline-band,
.quote-summary {
  padding: 1.55rem;
}

.form-panel {
  overflow: hidden;
}

.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
  background-size: 220% 100%;
  animation: form-line-flow 6s ease-in-out infinite;
}

.quote-grid {
  align-content: start;
  gap: 1.2rem;
}

.quote-form,
.service-stack {
  display: grid;
  gap: 1rem;
}

#quote-form {
  scroll-margin-top: 7.5rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  font-weight: 600;
}

.required-mark {
  color: var(--brand);
  font-weight: 800;
}

.field-help,
.form-context-note,
.form-privacy-note,
.service-area-note,
.office-note,
.license-line {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-context-note {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(27, 90, 103, 0.16);
  border-radius: 14px;
  background: rgba(27, 90, 103, 0.07);
  color: var(--accent);
  font-weight: 700;
}

.service-area-note,
.office-note {
  font-weight: 600;
}

.form-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-support {
  max-width: 22rem;
}

.form-privacy-note {
  flex-basis: 100%;
  max-width: 42rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 34, 53, 0.16);
  border-radius: 14px;
  font: inherit;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(27, 90, 103, 0.48);
  box-shadow: 0 0 0 4px rgba(27, 90, 103, 0.08);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(180, 35, 24, 0.5);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-error {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 600;
}

.form-error-inline {
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.92rem;
}

.what-next-list,
.bullet-list,
.checklist-card ul,
.service-card-rich ul,
.resource-list,
.quote-summary ul {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.1rem;
}

.service-card,
.service-card-rich,
.policy-card {
  display: grid;
  gap: 0.9rem;
}

.service-icon {
  color: var(--accent);
}

.insight-panel {
  display: grid;
  gap: 1rem;
}

.insight-row,
.stat-row {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 34, 53, 0.08);
}

.insight-row:last-child,
.stat-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.insight-row-muted strong {
  color: var(--brand-deep);
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 34, 53, 0.08);
}

.process-item:first-child {
  padding-top: 0;
}

.process-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trust-badge,
.kicker-card {
  padding: 1.35rem;
}

.tag-cloud span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 34, 53, 0.08);
}

.timeline-band {
  background:
    linear-gradient(150deg, rgba(27, 90, 103, 0.12), rgba(255, 255, 255, 0.92));
}

.stat-grid {
  margin-top: 1.6rem;
}

.quote-summary strong,
.timeline-band strong {
  font-size: 1.02rem;
}

.cta-band {
  padding: 4rem 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, var(--surface-deep), #1e3448 70%, #244b53);
  color: white;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.cta-grid {
  align-items: center;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid rgba(23, 34, 53, 0.08);
}

.footer-label {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 0.55rem;
}

.site-footer .license-line,
.site-footer .office-note {
  margin-bottom: 0.45rem;
}

.site-footer .license-line {
  max-width: 18rem;
}

.brand-footer {
  align-items: flex-start;
}

.brand-footer .brand-copy small {
  margin-top: 0.2rem;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.thank-you-card {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  text-align: left;
}

.thank-you-reference {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(27, 90, 103, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.thank-you-reference[hidden] {
  display: none;
}

.thank-you-meta {
  display: grid;
  gap: 0.75rem;
}

.home-stage {
  position: relative;
  min-height: calc(100svh - 84px);
  color: white;
  overflow: clip;
}

.home-stage-media,
.home-stage-wash {
  position: absolute;
  inset: 0;
}

.home-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: home-stage-drift 21s ease-in-out infinite alternate;
}

.home-stage-wash {
  background:
    linear-gradient(90deg, rgba(20, 32, 46, 0.88) 0%, rgba(20, 32, 46, 0.76) 34%, rgba(20, 32, 46, 0.28) 72%, rgba(20, 32, 46, 0.08) 100%),
    linear-gradient(180deg, rgba(20, 32, 46, 0.2) 0%, rgba(20, 32, 46, 0.12) 100%);
}

.home-stage-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 84px);
  padding: 5rem 0 4rem;
}

.home-stage-copy {
  max-width: 26rem;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2.2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(20, 32, 46, 0.86), rgba(20, 32, 46, 0.62));
  box-shadow: 0 22px 62px rgba(20, 32, 46, 0.28);
  backdrop-filter: blur(4px);
}

.home-stage .eyebrow,
.home-stage .lead,
.home-stage-note {
  color: rgba(255, 255, 255, 0.8);
}

.home-stage-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.home-stage h1 {
  max-width: 11ch;
  margin: 0;
  color: white;
  font-size: clamp(2.15rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.home-stage .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.home-stage .button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
}

.cta-band .button-ghost-light,
.thank-you-panel .button-ghost-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  box-shadow: none;
}

.cta-band .button-ghost-light:hover,
.thank-you-panel .button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.home-stage-note {
  max-width: 28rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-stage-fms {
  min-height: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 12%, rgba(183, 133, 84, 0.22), transparent 24rem),
    radial-gradient(circle at 12% 82%, rgba(27, 90, 103, 0.16), transparent 22rem),
    linear-gradient(135deg, #fbf7f0 0%, #efe7db 100%);
}

/* Hero image: raised from 0.12 → 0.52 so the photo is actually visible on desktop.
   The wash gradient below handles text-side legibility. */
.home-stage-fms .home-stage-media {
  opacity: 0.52;
  filter: saturate(0.82) contrast(0.96);
}

.home-stage-fms .home-stage-media img {
  object-position: 68% center;
}

/* Wash: left 52% stays cream-opaque so dark ink headline/subhead hit WCAG AA over the
   warm background; center fades quickly; right side is transparent so the photo shows. */
.home-stage-fms .home-stage-wash {
  background:
    linear-gradient(90deg,
      rgba(251, 247, 240, 0.97) 0%,
      rgba(251, 247, 240, 0.92) 30%,
      rgba(251, 247, 240, 0.62) 52%,
      rgba(251, 247, 240, 0.14) 72%,
      rgba(251, 247, 240, 0.0) 100%),
    radial-gradient(circle at 82% 24%, rgba(139, 74, 47, 0.14), transparent 18rem);
}

.home-stage-fms .home-stage-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.8rem, 4.6vw, 4.8rem);
  align-items: center;
  min-height: auto;
  padding: clamp(2.2rem, 4vw, 3.35rem) 0 clamp(5.2rem, 7vw, 6.4rem);
}

.home-stage-fms .home-stage-copy {
  max-width: 33rem;
  color: var(--ink);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-stage-fms .home-stage-copy::before {
  content: "";
  width: 4.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(139, 74, 47, 0));
}

.home-stage-fms h1 {
  max-width: 11.4ch;
  color: var(--ink);
  font-size: clamp(3.25rem, 5.45vw, 5.35rem);
  letter-spacing: -0.065em;
}

.home-stage-fms .lead {
  max-width: 27rem;
  color: rgba(23, 34, 53, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.home-stage-fms .button-ghost {
  color: var(--ink);
  border-color: rgba(23, 34, 53, 0.24);
  background: rgba(255, 255, 255, 0.5);
}

.home-stage-fms .button-ghost:hover {
  border-color: rgba(23, 34, 53, 0.34);
  background: rgba(255, 255, 255, 0.75);
}

.fms-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.fms-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(23, 34, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(23, 34, 53, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.fms-hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  align-items: stretch;
  min-height: clamp(30rem, 42vw, 35rem);
  isolation: isolate;
}

.fms-hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 0 5% 10%;
  z-index: -1;
  border: 1px solid rgba(23, 34, 53, 0.08);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 20% 30%, rgba(139, 74, 47, 0.16), transparent 12rem);
  box-shadow: 0 28px 80px rgba(23, 34, 53, 0.08);
}

.fms-hero-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 26px 70px rgba(23, 34, 53, 0.13);
  animation: hero-visual-rise 760ms ease 160ms both;
}

.fms-hero-photo img {
  width: 100%;
  height: clamp(25rem, 36vw, 33rem);
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: home-stage-drift 24s ease-in-out infinite alternate;
}

.fms-hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(20, 32, 46, 0.54));
  pointer-events: none;
}

.fms-hero-photo figcaption {
  display: none;
}

.fms-hero-planning {
  position: absolute;
  right: clamp(0.8rem, 2vw, 1.4rem);
  bottom: clamp(-2.6rem, -3vw, -1.6rem);
  left: clamp(-2.2rem, -3vw, -1.1rem);
  display: grid;
  grid-template-columns: minmax(170px, 0.48fr) minmax(0, 1.52fr);
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 60px rgba(23, 34, 53, 0.08);
  backdrop-filter: blur(16px);
  animation: hero-visual-rise 760ms ease 320ms both;
}

.fms-map-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.84rem;
  border: 1px solid rgba(23, 34, 53, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 231, 0.9));
  box-shadow: none;
}

.fms-map-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.fms-map-card p {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.42;
}

.fms-route-map {
  position: relative;
  min-height: 5rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 52%, rgba(27, 90, 103, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(235, 228, 216, 0.9), rgba(255, 255, 255, 0.72));
}

.fms-route-map::before {
  content: "";
  position: absolute;
  inset: 20% 14% 20% 18%;
  border: 2px solid rgba(139, 74, 47, 0.38);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 54% 46% 44% 56%;
  transform: rotate(-18deg);
}

.fms-route-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.45rem 0.22rem 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(23, 34, 53, 0.82);
  font-size: 0.62rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(23, 34, 53, 0.08);
}

.fms-route-map span::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(139, 74, 47, 0.12);
}

.fms-stage-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.fms-stage-rail li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.36rem;
  align-items: start;
  padding: 0.66rem 0.72rem;
  border-left: 1px solid rgba(23, 34, 53, 0.1);
}

.fms-stage-rail span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.64rem;
  background: rgba(139, 74, 47, 0.1);
  color: var(--brand);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.fms-stage-rail strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.fms-stage-rail p {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.34;
}

.fms-map-hero {
  min-height: 0;
}

.fms-map-hero::before {
  display: none;
}

.fms-plan-hero {
  min-height: 0;
}

.fms-plan-hero::before {
  display: none;
}

.fms-plan-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 240, 231, 0.8));
  box-shadow: 0 30px 90px rgba(23, 34, 53, 0.13);
  animation: hero-visual-rise 760ms ease 180ms both;
}

.fms-plan-card-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 0.8rem;
  align-items: end;
  padding: 0 0.2rem;
}

.fms-plan-card-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.45vw, 2.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.fms-plan-card-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.46;
}

.fms-hero-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.fms-hero-flow article {
  position: relative;
  display: grid;
  gap: 0.46rem;
  min-height: 10.4rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 53, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 243, 0.58));
  box-shadow: 0 20px 54px rgba(23, 34, 53, 0.08);
}

.fms-hero-flow article::after {
  content: "";
  position: absolute;
  right: -2.2rem;
  bottom: -2.5rem;
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 999px;
  background: rgba(139, 74, 47, 0.1);
}

.fms-hero-flow span {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.78rem;
  background: rgba(139, 74, 47, 0.12);
  color: var(--brand);
}

.fms-hero-flow svg {
  width: 1.34rem;
  height: 1.34rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.82;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fms-hero-flow strong {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.fms-hero-flow small {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.38;
}

.fms-service-map-card {
  display: grid;
  gap: 0.82rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 240, 231, 0.78));
  box-shadow: 0 30px 90px rgba(23, 34, 53, 0.13);
  animation: hero-visual-rise 760ms ease 180ms both;
}

.fms-map-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.8rem;
  align-items: end;
  padding: 0 0.2rem;
}

.fms-map-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.fms-map-copy p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fms-service-map-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 53, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.fms-service-map-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 620;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.fms-service-map {
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 32vw, 27rem);
  border: 1px solid rgba(23, 34, 53, 0.08);
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.fms-map-attribution {
  margin-top: -0.35rem;
  color: rgba(93, 103, 120, 0.82);
  font-size: 0.72rem;
  text-align: right;
}

.fms-map-attribution a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.fms-map-story {
  display: grid;
  gap: 0.72rem;
  padding: 0.88rem 0.92rem;
  border: 1px solid rgba(23, 34, 53, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.fms-map-story p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.42;
}

.fms-map-story p strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.fms-map-story ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fms-map-story li {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(139, 74, 47, 0.13);
  border-radius: 999px;
  background: rgba(139, 74, 47, 0.08);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fms-map-land {
  stroke: rgba(23, 34, 53, 0.1);
  stroke-width: 1.5;
}

.fms-map-coast {
  stroke: rgba(139, 74, 47, 0.45);
  stroke-width: 5;
  stroke-linecap: round;
}

.fms-map-road {
  stroke: rgba(23, 34, 53, 0.22);
  stroke-width: 3;
  stroke-dasharray: 9 8;
  stroke-linecap: round;
}

.fms-map-route {
  stroke: var(--brand);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 12;
}

.fms-map-water-label,
.fms-map-road-label {
  fill: rgba(27, 90, 103, 0.56);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fms-map-road-label {
  fill: rgba(23, 34, 53, 0.45);
  font-size: 13px;
}

.fms-map-pin circle:first-child {
  fill: #8b4a2f;
  stroke: white;
  stroke-width: 4;
}

.fms-map-pin-primary circle:first-child {
  fill: #1b5a67;
}

.fms-map-pin circle:nth-child(2) {
  fill: white;
}

.fms-map-pin text {
  fill: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.fms-map-pin-primary text {
  font-size: 16px;
}

.fms-map-photo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(11rem, 24%);
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  background: white;
  box-shadow: 0 22px 60px rgba(23, 34, 53, 0.2);
}

.fms-map-photo img {
  width: 100%;
  height: 6.8rem;
  object-fit: cover;
}

.fms-map-photo figcaption {
  display: none;
  padding: 0.68rem 0.75rem 0.75rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.fms-map-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fms-map-process li {
  display: grid;
  gap: 0.35rem;
  padding: 0.82rem;
  border: 1px solid rgba(23, 34, 53, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.fms-map-process span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.62rem;
  background: rgba(139, 74, 47, 0.1);
  color: var(--brand);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.fms-map-process strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.fms-map-process small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.34;
}

.home-rail {
  padding-top: 2rem;
  padding-bottom: 2.75rem;
}

.home-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-rail-grid article {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 34, 53, 0.18);
  border-radius: 0 0 22px 22px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  animation: card-arrive 680ms ease both;
}

.home-rail-grid article:nth-child(2) {
  animation-delay: 90ms;
}

.home-rail-grid article:nth-child(3) {
  animation-delay: 180ms;
}

.home-rail-grid article:nth-child(4) {
  animation-delay: 270ms;
}

.home-rail-grid article:hover {
  transform: translateY(-4px);
  border-top-color: rgba(139, 74, 47, 0.7);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 40px rgba(23, 34, 53, 0.08);
}

.home-rail-grid span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.story-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.story-visual-copy {
  display: grid;
  gap: 1.15rem;
}

.story-scenario-grid {
  display: grid;
  gap: 0.85rem;
}

.story-scenario-grid article {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(23, 34, 53, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(23, 34, 53, 0.06);
}

.story-scenario-grid strong,
.story-path-step h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.story-scenario-grid span,
.story-path-step p {
  color: var(--ink-soft);
}

.story-path-board {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.9rem);
  border: 1px solid rgba(23, 34, 53, 0.1);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 228, 216, 0.74)),
    radial-gradient(circle at 14% 16%, rgba(139, 74, 47, 0.18), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(27, 90, 103, 0.16), transparent 30%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-path-line {
  position: absolute;
  top: 2.25rem;
  bottom: 2.25rem;
  left: 3.05rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0.42;
  transform-origin: top;
  animation: story-line-draw 1.1s ease both;
}

.story-path-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1rem 1rem 1rem 0.3rem;
  border-radius: var(--radius-md);
  animation: card-arrive 700ms ease both;
}

.story-path-step:nth-of-type(2) {
  animation-delay: 120ms;
}

.story-path-step:nth-of-type(3) {
  animation-delay: 240ms;
}

.story-path-step:nth-of-type(4) {
  animation-delay: 360ms;
}

.story-path-step:nth-of-type(5) {
  animation-delay: 480ms;
}

.story-path-number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--surface-deep);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(23, 34, 53, 0.2);
}

.story-path-step h3,
.story-path-step p {
  margin: 0;
}

.story-path-step h3 {
  align-self: end;
  font-size: 1.22rem;
}

.technology-story {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 7rem;
}

.technology-story::before {
  content: "";
  position: absolute;
  inset: 10% -8% auto auto;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 133, 84, 0.18), rgba(183, 133, 84, 0));
  pointer-events: none;
}

.technology-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.technology-copy {
  max-width: 44rem;
}

.technology-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.technology-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 53, 0.13);
  border-radius: 28px;
  background: rgba(23, 34, 53, 0.13);
  box-shadow: 0 28px 70px rgba(23, 34, 53, 0.08);
}

.technology-panel article {
  min-height: 190px;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 241, 233, 0.92));
}

.technology-panel span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.technology-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.15;
}

.technology-panel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.technology-proof-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.technology-proof-list li {
  position: relative;
  padding-left: 1.55rem;
}

.technology-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid rgba(139, 74, 47, 0.58);
  border-radius: 999px;
  background: rgba(139, 74, 47, 0.12);
  box-shadow: 0 0 0 0 rgba(139, 74, 47, 0.22);
  animation: tech-pulse 3.2s ease-out infinite;
}

.technology-panel-rich {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.74fr);
  gap: clamp(0.9rem, 2vw, 1.2rem);
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.3rem);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 74, 47, 0.2), transparent 15rem),
    radial-gradient(circle at 92% 92%, rgba(27, 90, 103, 0.16), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 240, 234, 0.76));
  box-shadow: 0 34px 90px rgba(23, 34, 53, 0.14);
}

.technology-panel-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent) -120% 0 / 55% 100% no-repeat;
  animation: tech-sheen 6.8s ease-in-out infinite;
}

.tech-orbit {
  position: absolute;
  inset: 1.05rem 1.05rem auto auto;
  width: 7.5rem;
  height: 7.5rem;
  border: 1px solid rgba(23, 34, 53, 0.12);
  border-radius: 999px;
  opacity: 0.82;
  animation: tech-orbit 15s linear infinite;
}

.technology-panel-rich .tech-orbit span {
  position: absolute;
  display: block;
  margin: 0;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--brand);
}

.technology-panel-rich .tech-orbit span:nth-child(1) {
  left: 50%;
  top: -0.32rem;
}

.technology-panel-rich .tech-orbit span:nth-child(2) {
  right: 0.4rem;
  bottom: 1.1rem;
  background: var(--accent);
}

.technology-panel-rich .tech-orbit span:nth-child(3) {
  left: 0.45rem;
  bottom: 1.05rem;
  background: rgba(23, 34, 53, 0.38);
}

.tech-screen {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  overflow: hidden;
  border: 1px solid rgba(23, 34, 53, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(78, 45, 34, 0.98), rgba(27, 90, 103, 0.9)),
    var(--surface-deep);
  color: white;
  box-shadow: 0 24px 70px rgba(23, 34, 53, 0.2);
}

.tech-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent);
}

.tech-screen-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.technology-panel-rich .tech-screen-bar span,
.technology-panel-rich .tech-flow-list span,
.technology-panel-rich .tech-card-grid span {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: inherit;
  text-transform: none;
}

.technology-panel-rich .tech-screen-bar span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.technology-panel-rich .tech-screen-bar strong {
  display: inline-flex;
  margin: 0;
  color: white;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.tech-flow-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  opacity: 0;
  animation: tech-row-rise 620ms ease both;
}

.tech-flow-list li:nth-child(2) {
  animation-delay: 110ms;
}

.tech-flow-list li:nth-child(3) {
  animation-delay: 220ms;
}

.tech-flow-list li:nth-child(4) {
  animation-delay: 330ms;
}

.technology-panel-rich .tech-flow-list strong {
  display: block;
  margin: 0;
  color: #f1d4ba;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.technology-panel-rich .tech-flow-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.tech-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.82rem;
}

.technology-panel-rich .tech-card-grid article {
  min-height: 0;
  padding: 1rem;
  border: 1px solid rgba(23, 34, 53, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 233, 0.86));
  box-shadow: 0 14px 34px rgba(23, 34, 53, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.technology-panel-rich .tech-card-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(23, 34, 53, 0.13);
}

.technology-panel-rich .tech-card-grid span {
  margin-bottom: 0.7rem;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.technology-panel-rich .tech-card-grid strong {
  display: block;
  margin: 0 0 0.42rem;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.12;
}

.technology-panel-rich .tech-card-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.58;
}

@keyframes tech-sheen {
  0%,
  42% {
    background-position: -120% 0;
  }

  70%,
  100% {
    background-position: 220% 0;
  }
}

@keyframes tech-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes tech-row-rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes tech-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 74, 47, 0.22);
  }

  50% {
    box-shadow: 0 0 0 0.55rem rgba(139, 74, 47, 0);
  }
}

.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem;
  align-items: center;
}

.home-story-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.home-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.home-story:hover .home-story-photo img {
  transform: scale(1.03);
}

.home-story-copy {
  display: grid;
  gap: 1rem;
}

.home-story-list {
  display: grid;
  gap: 1rem;
}

.home-story-list div {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 34, 53, 0.12);
}

.home-story-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.home-convert .contact-layout {
  align-items: start;
}

.home-stage-copy > * {
  animation: home-stage-rise 700ms ease both;
}

.home-stage-copy > *:nth-child(1) {
  animation-delay: 60ms;
}

.home-stage-copy > *:nth-child(2) {
  animation-delay: 140ms;
}

.home-stage-copy > *:nth-child(3) {
  animation-delay: 220ms;
}

.home-stage-copy > *:nth-child(4) {
  animation-delay: 300ms;
}

.home-stage-copy > *:nth-child(5) {
  animation-delay: 380ms;
}

@keyframes home-stage-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes home-stage-drift {
  0% {
    transform: scale(1.07) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.12) translate3d(-1.1%, -0.75%, 0);
  }
}

@keyframes button-glint {
  0%,
  42% {
    left: -45%;
  }

  58%,
  100% {
    left: 120%;
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes story-line-draw {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 0.42;
  }
}

@keyframes form-line-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.reveal-delay {
  transition-delay: 0s;
}

.reveal-delay-2 {
  transition-delay: 0s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-home-grid,
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .section-split,
  .contact-layout,
  .cta-grid,
  .proof-strip-grid,
  .service-grid-rich,
  .trust-badge-list,
  .privacy-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 900px) {
  .hero-home-grid,
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .section-split,
  .contact-layout,
  .cta-grid,
  .proof-strip-grid,
  .service-grid,
  .service-grid-rich,
  .trust-badge-list,
  .kicker-grid,
  .privacy-grid,
  .bullet-grid,
  .stat-grid,
  .footer-grid,
  .form-split,
  .hero-proof-list,
  .home-rail-grid,
  .home-story-grid,
  .story-visual-grid,
  .home-stage-fms .home-stage-shell,
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .home-stage-fms,
  .home-stage-fms .home-stage-shell {
    min-height: auto;
  }

  .home-stage-fms .home-stage-shell {
    padding-top: 4rem;
  }

  .home-stage-fms .home-stage-copy {
    max-width: 100%;
  }

  .home-stage-fms h1 {
    max-width: 11ch;
  }

  .fms-hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fms-hero-planning {
    position: static;
    grid-template-columns: 1fr;
  }

  .fms-map-copy {
    grid-template-columns: 1fr;
  }

  .fms-plan-card-copy {
    grid-template-columns: 1fr;
  }

  .fms-service-map-wrap {
    min-height: 0;
  }

  .fms-service-map {
    min-height: 22rem;
  }

  .fms-map-photo {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .fms-map-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fms-hero-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fms-hero-visual::before {
    inset: 3% 0 8%;
  }

  .fms-hero-photo,
  .fms-map-card,
  .fms-stage-rail {
    grid-column: 1;
    grid-row: auto;
  }

  .fms-hero-photo img {
    height: clamp(18rem, 52vw, 26rem);
  }

  .fms-stage-rail {
    grid-template-columns: 1fr 1fr;
  }

  .technology-panel {
    grid-template-columns: 1fr;
  }

  .technology-panel-rich {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-heading h2,
  .form-panel h2,
  .info-card h2,
  .checklist-card h2,
  .policy-card h2 {
    font-size: clamp(1.8rem, 6vw, 2.45rem);
  }

  .hero-copy h1,
  .page-hero h1,
  .cta-band h2 {
    max-width: none;
  }

  .hero-home {
    padding-top: 4.4rem;
  }

  .hero,
  .page-hero,
  .section {
    padding: 4rem 0;
  }

  .form-actions {
    align-items: stretch;
  }

  .mobile-primary-hero-actions {
    display: flex;
    margin-top: 1.1rem;
  }

  .form-actions .button,
  .button-sm {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 1.25rem, 1120px);
  }

  .tech-flow-list li {
    grid-template-columns: 1fr;
  }

  .home-stage,
  .home-stage-shell {
    min-height: auto;
  }

  .home-stage-shell {
    align-items: end;
    padding: 6rem 0 3rem;
  }

  .home-stage-fms .home-stage-shell {
    padding: 2rem 0 2.75rem;
  }

  .home-stage h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .home-stage-fms h1 {
    font-size: clamp(3.1rem, 14vw, 4.55rem);
  }

  .fms-hero-proof {
    gap: 0.45rem;
  }

  .fms-hero-proof span {
    font-size: 0.72rem;
  }

  .fms-map-card,
  .fms-stage-rail {
    border-radius: 22px;
  }

  .fms-route-map {
    min-height: 8rem;
  }

  .fms-stage-rail {
    grid-template-columns: 1fr;
  }

  .fms-service-map-card {
    border-radius: 26px;
  }

  .fms-service-map,
  .fms-service-map-wrap {
    min-height: 0;
  }

  .fms-map-process {
    grid-template-columns: 1fr;
  }

  .fms-plan-card {
    border-radius: 26px;
  }

  .fms-hero-flow {
    grid-template-columns: 1fr;
    gap: 0.56rem;
  }

  .fms-hero-flow article {
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 0.82rem 0.88rem;
    border-radius: 18px;
  }

  .fms-hero-flow span {
    grid-row: span 2;
  }

  .fms-hero-flow small {
    font-size: 0.74rem;
  }

  .brand-copy small {
    font-size: 0.85rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2.05rem, 10vw, 2.8rem);
    letter-spacing: 0;
    line-height: 1.04;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .form-panel,
  .info-card,
  .checklist-card,
  .service-card,
  .service-card-rich,
  .process-list,
  .floating-card,
  .policy-card,
  .timeline-band,
  .quote-summary {
    padding: 1.25rem;
  }
}

/* Polish 2026-06-08: live-chat shows launcher only (hide closed-state peek composer that overlapped the hero); matches AMS */
.fdwd-live-chat__closed-composer{display:none!important}
