:root {
  --paper: #f7f8f5;
  --white: #ffffff;
  --mist: #edf3ef;
  --sage: #d9e6dd;
  --teal: #174947;
  --teal-deep: #102f2e;
  --ink: #173130;
  --text: #445a58;
  --muted: #70817f;
  --gold: #c9963b;
  --gold-soft: #f0ddb4;
  --coral: #d98268;
  --line: #dce5e0;
  --shadow: 0 20px 55px rgba(21, 55, 52, .09);
  --radius: 8px;
  --max: 1180px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { color: var(--text); }

.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus {
  position: fixed; z-index: 1000; top: 12px; left: 12px; width: auto; height: auto;
  padding: 10px 14px; clip: auto; background: var(--white); color: var(--teal-deep);
  border: 1px solid var(--teal); border-radius: 6px;
}

.site-header {
  position: sticky; z-index: 50; top: 0; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(23, 73, 71, .1);
}
.nav-shell {
  width: min(var(--max), calc(100% - 40px)); height: 74px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; width: 154px; height: 48px; align-items: center; gap: 8px; flex: 0 0 auto; }
.brand-symbol { width: 32px; height: 32px; object-fit: contain; }
.brand-wordmark { width: 110px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { position: relative; color: #526765; font-size: 12px; font-weight: 700; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px;
  transform: scaleX(0); background: var(--gold); transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.button, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 6px;
  font-family: var(--body); font-size: 13px; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.primary, .nav-cta { color: var(--white); background: var(--teal); }
.nav-cta { min-height: 42px; padding-inline: 18px; }
.secondary { color: var(--white); border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.button:hover, .nav-cta:hover, .text-link:hover { transform: translateY(-2px); }
.primary:hover, .nav-cta:hover { background: var(--teal-deep); }
.button:focus-visible, .nav-cta:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-soft); outline-offset: 3px;
}

.hero {
  position: relative; min-height: 620px; width: 100%; overflow: hidden;
  display: flex; align-items: center; isolation: isolate;
}
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; object-fit: cover; object-position: center; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 38, 37, .92) 0%, rgba(10, 38, 37, .78) 36%, rgba(10, 38, 37, .16) 68%, rgba(10, 38, 37, .04) 100%);
}
.hero-copy { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 84px 0 112px; }
.hero-copy > * { max-width: 620px; }
.eyebrow {
  margin: 0 0 14px; color: var(--gold); font-family: var(--body); font-size: 11px;
  line-height: 1.3; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 500; letter-spacing: 0; }
h1 { max-width: 760px; font-size: 64px; line-height: 1.02; }
h2 { font-size: 40px; line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #f3ce80; }
.hero-lede { margin: 24px 0 0; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .primary { color: var(--teal-deep); background: #f2d486; }
.hero .primary:hover { background: #f7e3ad; }
.hero-note {
  position: absolute; left: 50%; bottom: 24px; width: min(var(--max), calc(100% - 40px));
  transform: translateX(-50%); display: flex; gap: 10px 28px; flex-wrap: wrap;
  color: rgba(255,255,255,.74); font-size: 12px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 9px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f2d486; }

.section, .page-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading > p:not(.eyebrow), .simple-hero > p:not(.eyebrow) { max-width: 720px; font-size: 17px; }
.split { display: flex; align-items: end; justify-content: space-between; gap: 28px; max-width: none; }
.text-link { color: var(--teal); font-size: 14px; font-weight: 800; transition: transform .2s ease; }
.text-link::after { content: "  →"; color: var(--gold); }

.transformation { padding-top: 104px; }
.before-after { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 22px; align-items: center; }
.state-panel, .detail-card, .solution-card, .insight-card, .benefit-grid article {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.state-panel { padding: 26px; }
.state-panel span {
  display: block; margin-bottom: 18px; color: var(--muted); font-size: 11px;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.state-panel p { margin: 8px 0; }
.connected { background: var(--mist); border-color: #cddfd4; }
.connected span { color: var(--teal); }
.hubfy-core { display: grid; place-items: center; gap: 8px; color: var(--teal); font-size: 12px; font-weight: 800; }
.hubfy-core img { width: 58px; aspect-ratio: 1; }

.card-grid { display: grid; gap: 14px; }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.solution-card, .insight-card {
  min-height: 188px; padding: 25px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.solution-card:hover, .insight-card:hover, .industry-card:hover {
  transform: translateY(-4px); border-color: #b8cec2; box-shadow: var(--shadow);
}
.solution-card span { display: block; margin-bottom: 14px; color: var(--ink); font-family: var(--display); font-size: 22px; line-height: 1.2; }
.solution-card p, .insight-card p { margin-bottom: 0; font-size: 15px; }
.solution-card.featured, .detail-card.featured { background: var(--mist); border-color: #c9ddd2; }

.industry-showcase { background: var(--mist); }
.industry-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.industry-photo-card { overflow: hidden; border: 1px solid #d4e1da; border-radius: var(--radius); background: var(--white); }
.industry-photo-card img { width: 100%; height: 260px; object-fit: cover; transition: transform .45s ease; }
.industry-photo-card:hover img { transform: scale(1.02); }
.industry-photo-card > div { padding: 24px; }
.industry-photo-card h3 { font-size: 26px; }
.industry-photo-card p:last-child { margin-bottom: 0; }

.service-model { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.service-model.compact { padding-top: 70px; }
.service-flow { display: grid; gap: 10px; }
.service-flow div {
  position: relative; padding: 17px 20px; border: 1px solid #cfddd6; border-radius: 6px;
  background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700;
}
.service-flow div:not(:last-child)::after {
  content: ""; position: absolute; left: 25px; bottom: -11px; z-index: 1;
  width: 2px; height: 11px; background: var(--gold);
}

.process-section { padding-top: 72px; }
.process-track {
  display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.process-track article { min-height: 210px; padding: 24px 20px; border-right: 1px solid var(--line); }
.process-track article:last-child { border-right: 0; }
.process-track span { color: var(--gold); font-family: var(--display); font-size: 26px; }
.process-track h3 { margin-top: 36px; font-size: 21px; }
.process-track p { font-size: 14px; line-height: 1.55; }

.technology { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.capability-cloud, .insight-categories { display: flex; flex-wrap: wrap; gap: 9px; }
.capability-cloud span, .insight-categories span {
  padding: 9px 13px; border: 1px solid #cfddd6; border-radius: 999px;
  background: var(--white); color: var(--text); font-size: 13px;
}
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit-grid article { min-height: 118px; padding: 22px; }
.benefit-grid h3 { font-size: 19px; }
.indicator { width: 26px; height: 3px; margin-bottom: 24px; border-radius: 2px; background: var(--coral); }

.final-cta { margin: 76px auto 0; padding: 96px 24px; text-align: center; background: var(--sage); }
.final-cta h2 { max-width: 760px; margin: 0 auto; }
.final-cta p:not(.eyebrow) { max-width: 560px; margin: 18px auto 28px; }

.site-footer { position: relative; padding: 58px 0 28px; background: var(--teal-deep); color: var(--white); }
.footer-network { display: none; }
.footer-grid, .footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 38px; }
.footer-logo { width: 160px; height: auto; margin-bottom: 14px; }
.footer-grid p { max-width: 430px; color: rgba(255,255,255,.68); }
.footer-grid nav { display: grid; align-content: start; gap: 10px; color: rgba(255,255,255,.76); font-size: 14px; }
.footer-grid a:hover, .link-button:hover { color: #f2d486; }
.link-button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; padding-top: 38px; margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 13px;
}

.page-shell { padding: 58px 0 100px; }
.simple-hero { max-width: 900px; padding: 54px 0 58px; }
.simple-hero h1 { font-size: 54px; line-height: 1.08; }
.simple-hero p { margin-bottom: 0; }
.media-banner { width: 100%; height: 410px; margin: 0 0 72px; overflow: hidden; border-radius: var(--radius); }
.media-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.solution-list, .about-panels { display: grid; gap: 14px; }
.detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 30px; }
.detail-card h2 { font-size: 30px; }
.detail-card ul, .industry-card ul { columns: 2; margin: 0; padding-left: 18px; color: var(--text); }
.detail-card li, .industry-card li { margin-bottom: 5px; }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.industry-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .22s ease, box-shadow .22s ease;
}
.industry-card > img { width: 100%; height: 260px; object-fit: cover; }
.industry-card-body { padding: 28px; }
.industry-card h2 { font-size: 32px; }
.industry-card small {
  display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); line-height: 1.5;
}
.service-cards { margin-top: 26px; }
.insight-categories { margin-bottom: 28px; }

.contact-layout { display: grid; grid-template-columns: .72fr 1fr; gap: 42px; align-items: start; }
.contact-aside { position: sticky; top: 106px; }
.contact-aside h2 { font-size: 34px; }
.contact-photo { width: 100%; height: 290px; margin-top: 26px; object-fit: cover; border-radius: var(--radius); }
.contact-form {
  display: grid; gap: 17px; padding: 30px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
label span { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; border: 1px solid #cbd9d2; border-radius: 6px; background: var(--paper);
  color: var(--ink); padding: 13px 14px; font: 16px/1.35 var(--body);
  transition: border-color .2s ease, background .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); background: var(--white); }
textarea { resize: vertical; }
.honeypot { display: none; }
.privacy-note { margin: 0; font-size: 13px; }
.form-errors, .form-success { padding: 14px; border-radius: 6px; }
.form-errors { border: 1px solid #e2aaa0; background: #fff1ef; }
.form-errors p { margin: 3px 0; color: #8b3d34; }
.form-success { border: 1px solid #b7d5c3; background: #edf8f0; color: #245b3b; }

.reveal { animation: reveal .7s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1040px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; }
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid; place-items: center; gap: 4px; width: 42px; height: 42px;
    margin-left: auto; border: 1px solid #cbd9d2; border-radius: 6px; background: var(--white);
  }
  .nav-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--teal); }
  .site-nav {
    position: fixed; inset: 74px 20px auto; display: none; padding: 20px;
    border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 6px 0; font-size: 14px; }
  .hero { min-height: 600px; }
  .hero-media { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,38,37,.94), rgba(10,38,37,.76) 58%, rgba(10,38,37,.28)); }
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .three { grid-template-columns: repeat(2, 1fr); }
  .service-model, .technology, .contact-layout { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .process-track article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-track article:last-child { border-bottom: 0; }
  .process-track h3 { margin-top: 14px; }
  .before-after { grid-template-columns: 1fr; }
  .hubfy-core { padding: 8px 0; }
  .detail-card, .footer-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

@media (max-width: 640px) {
  .nav-shell, .section, .page-shell, .hero-copy, .hero-note, .footer-grid, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .brand { width: 132px; gap: 6px; }
  .brand-symbol { width: 29px; height: 29px; }
  .brand-wordmark { width: 96px; }
  .hero { min-height: 650px; align-items: end; }
  .hero-media { object-position: 65% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,38,37,.96) 0%, rgba(10,38,37,.78) 56%, rgba(10,38,37,.2) 100%); }
  .hero-copy { margin-bottom: 54px; padding: 210px 0 88px; }
  h1, .simple-hero h1 { font-size: 42px; line-height: 1.08; }
  h2 { font-size: 32px; }
  .hero-lede { font-size: 16px; }
  .hero-actions, .split, .footer-bottom { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-note { bottom: 20px; gap: 6px 14px; font-size: 11px; }
  .section { padding: 68px 0; }
  .transformation { padding-top: 72px; }
  .two, .three, .benefit-grid, .industry-photo-grid, .industry-grid, .form-row { grid-template-columns: 1fr; }
  .industry-photo-card img, .industry-card > img { height: 220px; }
  .media-banner { height: 280px; margin-bottom: 54px; }
  .simple-hero { padding: 38px 0 42px; }
  .detail-card { gap: 12px; padding: 24px; }
  .detail-card ul, .industry-card ul { columns: 1; }
  .contact-form { padding: 20px; }
  .final-cta { padding: 72px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    scroll-behavior: auto !important; transition-duration: .01ms !important;
  }
}
