:root {
  color-scheme: light;
  --ink: #12232c;
  --ink-soft: #4f6067;
  --paper: #f6f3ea;
  --sand: #ece4d1;
  --white: #ffffff;
  --line: #ddd4bf;
  --river: #1d6f86;
  --river-tint: #e1edee;
  --river-deep: #0a3349;
  --brass: #c98a2e;
  --brass-bright: #e2a53f;
  --moss: #5c7a48;
  --shadow: 0 18px 60px rgba(16, 34, 44, 0.16);
  --radius: 10px;
  --radius-pill: 999px;
  --max: 1160px;
  --header-height: 76px;
  --font-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* Signature wave-rule: the river motif from the JaxWorks logo, used as a
   recurring divider so the brand's own mark carries through the page. */
.wave-rule {
  display: block;
  width: 48px;
  height: 8px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0,5 C2.5,0 7.5,0 10,5 C12.5,10 17.5,10 20,5' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0,5 C2.5,0 7.5,0 10,5 C12.5,10 17.5,10 20,5' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 20px 8px;
  mask-size: 20px 8px;
}

.rule-row {
  width: 100%;
  height: 8px;
  color: var(--line);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 234, 0.94);
  border-bottom: 1px solid rgba(18, 35, 44, 0.1);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--header-height);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(18, 35, 44, 0.14);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.nav-links a {
  transition: color 0.15s;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--river);
}

.nav-links a:focus-visible {
  outline: 3px solid var(--river);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-cta {
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white) !important;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 44%, var(--river-deep) 44%, #082a3c 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 84px;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(460px, 1fr);
  align-items: center;
  gap: 68px;
}

.hero-visual {
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-badge {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 0 0 2px var(--brass), 0 22px 44px rgba(10, 51, 73, 0.24);
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.86);
}

.hero-content {
  color: var(--white);
  display: grid;
  justify-items: start;
}

.hero-content > * {
  width: min(560px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--river);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a9e8e0;
}

.tagline-ribbon {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 15ch;
  font-size: 4.8rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.08rem;
}

.hero-copy {
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.button-primary {
  background: var(--brass);
  color: #221604;
  box-shadow: 0 10px 30px rgba(201, 138, 46, 0.32);
}

.button-primary:hover {
  background: var(--brass-bright);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.trust-row {
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-row div,
.trust-row dt,
.trust-row dd {
  margin: 0;
}

.trust-row dt {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 600;
}

.trust-row dd {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section,
.section-band,
.quote-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section {
  padding: 96px 0;
}

.section-band {
  position: relative;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-muted {
  position: relative;
  background: var(--sand);
  border-block: 1px solid var(--line);
}

.section-band::before,
.section-muted::before,
.quote-section::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 8px;
  color: var(--line);
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0,5 C2.5,0 7.5,0 10,5 C12.5,10 17.5,10 20,5' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0,5 C2.5,0 7.5,0 10,5 C12.5,10 17.5,10 20,5' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 24px 8px;
  mask-size: 24px 8px;
}

.quote-section::before {
  color: rgba(255, 255, 255, 0.35);
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  padding: 24px 0;
}

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.intro-grid p {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--river);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

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

.service-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 44, 0.06);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.service-card:hover {
  border-color: var(--river);
  box-shadow: 0 16px 40px rgba(16, 34, 44, 0.1);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--river-tint);
  color: var(--river-deep);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 58px;
}

.results-copy {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--moss);
  border-bottom: 3px solid var(--moss);
  transform: rotate(-45deg);
}

.compare {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compare-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #b9b6aa;
}

.compare-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-image-after {
  clip-path: inset(0 0 0 var(--reveal));
}

.compare-label {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.compare-label span {
  position: absolute;
  top: 16px;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(18, 35, 44, 0.8);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-label-before span {
  left: 16px;
}

.compare-label-after span {
  right: 16px;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(18, 35, 44, 0.18);
}

.compare-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(18, 35, 44, 0.22);
}

.compare-control {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
}

.compare-control input {
  width: 100%;
  accent-color: var(--river);
}

.result-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 44, 0.07);
}

.result-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.result-card figcaption {
  padding: 18px;
}

.result-card strong,
.result-card span {
  display: block;
}

.result-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.result-card span {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.process-list li {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--river-deep);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.quote-section {
  padding: 96px 0;
  background: var(--river-deep);
  color: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
}

.quote-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 8px;
}

.contact-panel a {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-label {
  margin: 0;
  color: var(--brass-bright) !important;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label,
.quote-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cdc4ac;
  border-radius: var(--radius);
  background: #fbfaf6;
  color: var(--ink);
  padding: 10px 12px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(29, 111, 134, 0.24);
  border-color: var(--river);
}

.quote-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.quote-form legend {
  padding: 0 6px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.checkbox-grid label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--ink-soft);
  font-weight: 700;
}

.checkbox-grid input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--river);
}

.quote-form .button {
  width: 100%;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 52px;
  align-items: center;
}

.reviews-layout .section-heading {
  margin-bottom: 0;
}

.reviews-actions {
  padding-left: 36px;
  border-left: 1px solid var(--line);
  display: grid;
  justify-items: start;
  gap: 16px;
}

.reviews-actions p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 46px 0;
  background: #0d1a20;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-mark {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-footer small,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 12px 0 0;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% - 6px);
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    padding: 0 10px;
  }

  .hero {
    background: var(--river-deep);
  }

  .hero-inner {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    gap: 34px;
  }

  .hero-badge {
    width: min(220px, 100%);
  }

  .service-grid,
  .process-list,
  .result-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-grid,
  .quote-grid,
  .reviews-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid,
  .reviews-layout,
  .faq-grid {
    gap: 30px;
  }

  .reviews-actions {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    padding: 0 16px;
  }

  .nav-links {
    left: 16px;
    right: 16px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 40px 0 54px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    justify-items: center;
  }

  .hero-badge {
    width: min(220px, 68vw);
  }

  h1 {
    max-width: 11ch;
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.9rem;
  }

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

  .button,
  .text-link {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section,
  .quote-section {
    padding: 64px 0;
  }

  .service-grid,
  .process-list,
  .result-gallery,
  .field-grid,
  .checkbox-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list li,
  .quote-form {
    padding: 20px;
  }

  .compare-visual {
    min-height: 300px;
  }
}
