:root {
  --ink: #16212e;
  --navy: #30455c;
  --slate: #4d637a;
  --amber: #ffb54c;
  --amber-deep: #e89b2c;
  --paper: #ffffff;
  --mist: #eef1f5;
  --line: #d7dee6;
  --muted: #5b6b7d;
  --nav-h: 74px;
  --wrap: 1220px;
  --gut: 28px;
  --display: 'Kanit', 'Trebuchet MS', sans-serif;
  --body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); }

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 600;
  z-index: 2000;
}
.skip-link:focus { left: 0; }

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

.wrap-narrow {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.wrap-narrow > * { max-width: 860px; }

.band { padding: 96px 0; }
.band-tight { padding: 64px 0; }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-slate { background: var(--slate); color: #fff; }
.band-slate h2, .band-slate h3 { color: #fff; }

.label {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--amber);
  flex: none;
}
.band-navy .label, .band-slate .label { color: var(--amber); }

.lede {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 62ch;
}
.band-navy .lede, .band-slate .lede { color: rgba(255, 255, 255, 0.86); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 15px 30px;
  border: 2px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s linear, color 0.15s linear, border-color 0.15s linear;
}
.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.band-navy .btn-ghost, .band-slate .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.band-navy .btn-ghost:hover, .band-slate .btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

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

.site-nav, .site-footer, .promo {
  --ink: #16212e;
  --navy: #30455c;
  --slate: #4d637a;
  --amber: #ffb54c;
  --amber-deep: #e89b2c;
  --paper: #ffffff;
  --mist: #eef1f5;
  --line: #d7dee6;
  --muted: #5b6b7d;
  --display: 'Kanit', 'Trebuchet MS', sans-serif;
  --body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.nav-inner {
  height: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  font-family: var(--display);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: none;
}
.brand span:first-child { color: var(--amber); }
.brand span:last-child { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-links > li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: 4px;
  background: none;
  border: 0;
  font-family: var(--body);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--mist); }

.nav-link .caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.nav-cta {
  margin-left: 10px;
  padding: 11px 22px;
  font-size: 0.95rem;
}

.mega {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  padding: 20px;
}
.mega::before {
  content: '';
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
}
.mega.open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.mega.mega-wide { width: 760px; }
.mega.mega-wide.open { grid-template-columns: repeat(3, 1fr); }

.mega a {
  padding: 9px 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.mega a:hover { background: var(--mist); border-left-color: var(--amber); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gut) 60px;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-cta { margin: 18px 0 0; width: 100%; }
  .mega {
    position: static;
    width: 100%;
    border: 0;
    border-left: 3px solid var(--amber);
    padding: 6px 0 14px 14px;
  }
  .mega::before { content: none; }
  .mega.open, .mega.mega-wide.open { grid-template-columns: 1fr; }
}

.site-footer { background: var(--navy); color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 74px 0 54px;
}

.footer-grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 16px;
  font-family: var(--body);
  letter-spacing: 0;
}

.footer-grid a, .footer-grid p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  margin: 0 0 9px;
  text-decoration: none;
  display: block;
}
.footer-grid a:hover { color: var(--amber); }

.footer-note { font-size: 0.85rem !important; color: rgba(255, 255, 255, 0.55) !important; }

.footer-mail {
  font-weight: 600;
  color: #fff !important;
  border-bottom: 2px solid var(--amber);
  display: inline-block !important;
  margin-bottom: 4px !important;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bar a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-bar a:hover { color: var(--amber); }
.footer-bar .spacer { margin-left: auto; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar .spacer { margin-left: 0; }
}

.promo {
  background: var(--mist);
  border-top: 1px solid var(--line);
}
.promo-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}
.promo-copy { padding: 80px 0; }
.promo-media { align-self: stretch; position: relative; min-height: 320px; }
.promo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .promo-inner { grid-template-columns: 1fr; gap: 0; }
  .promo-copy { padding: 60px 0 40px; }
  .promo-media { min-height: 240px; margin-bottom: -1px; }
}

.material-icons {
  font-family: 'Material Icons', sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.grid-feature { grid-template-columns: repeat(6, 1fr); }
.grid-feature > * { grid-column: span 2; }
.grid-feature > *:nth-last-child(-n+2) { grid-column: span 3; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-feature { grid-template-columns: repeat(2, 1fr); }
  .grid-feature > *, .grid-feature > *:nth-last-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 620px) {
  .grid, .grid-feature { grid-template-columns: 1fr; }
}

.grid-card {
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: -1px -1px 0 0;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: background-color 0.15s linear, color 0.15s linear;
}
.grid-card h3 { margin-bottom: 10px; }
.grid-card p { font-size: 0.96rem; color: var(--muted); margin: 0; }

.grid-card .mark {
  width: 46px;
  height: 46px;
  background: var(--amber);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  border-radius: 3px;
  overflow: hidden;
  transition: background-color 0.15s linear;
}
.grid-card .mark svg { width: 24px; height: 24px; display: block; }
.grid-card .mark .material-icons { font-size: 24px; }

a.grid-card:hover { background: var(--navy); color: #fff; }
a.grid-card:hover h3 { color: #fff; }
a.grid-card:hover p { color: rgba(255, 255, 255, 0.82); }

.grid-card .go {
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber-deep);
}
a.grid-card:hover .go { color: var(--amber); }

.strip {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
}
.strip-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
  justify-content: center;
}
.strip-inner b { color: var(--amber); font-weight: 600; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }

.stat-cell { background: var(--navy); padding: 32px 26px; }
.stat-cell .n {
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-cell p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.8); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 120px;
  height: 120px;
  border-right: 10px solid var(--amber);
  border-bottom: 10px solid var(--amber);
  pointer-events: none;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media::after { display: none; }
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid var(--line);
  font-size: 1.03rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 22px;
  height: 22px;
  background: var(--amber);
  border-radius: 3px;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 25px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.band-navy .checks li, .band-slate .checks li { border-bottom-color: rgba(255, 255, 255, 0.18); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field label { font-weight: 600; font-size: 0.94rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 15px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(255, 181, 76, 0.45);
  outline-offset: 0;
}
.field textarea { resize: vertical; min-height: 130px; }

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--amber);
  padding: 40px;
}
@media (max-width: 560px) { .form-panel { padding: 26px 20px; } }

.is-hidden { display: none; }

.prose { max-width: 78ch; }
.prose h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 10px; }
.prose h2 {
  font-size: 1.42rem;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.prose p, .prose li { font-size: 1.02rem; color: #2c3a48; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose .stamp {
  display: inline-block;
  background: var(--mist);
  border-left: 3px solid var(--amber);
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 68px;
  text-align: left;
}
.hero img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 26px;
  max-width: 84px;
}
.hero h1 { max-width: 20ch; margin-bottom: 20px; }
.hero p {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 28px;
}
.hero .wrap > a {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s linear, border-color 0.15s linear;
}
.hero .wrap > a:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

.services-section { padding: 90px 0; }
.services-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 36px;
  max-width: 20ch;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 28px;
  text-align: left;
  position: relative;
  transition: background-color 0.15s linear;
}
.tile:has(.expand) { cursor: pointer; }
.tile:has(.expand):hover { background: var(--mist); }
.tile.active { background: var(--mist); }
.tile.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}

.tile .material-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 3px;
  margin-bottom: 18px;
  overflow: hidden;
}

.tile h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
}
.tile p { font-size: 0.96rem; color: var(--muted); line-height: 1.6; margin: 0; }

.tile .expand {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}
.tile.active .expand { display: block; }
.tile .expand a { color: var(--navy); font-weight: 600; }

.view-button {
  margin-top: 16px;
  font-weight: 600;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  text-decoration: none;
}
.view-button i { font-size: 1rem; }

.cta-section {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 86px 0;
}
.cta-section h2 { color: #fff; max-width: 20ch; margin-bottom: 26px; }
.cta-section a {
  display: inline-flex;
  padding: 15px 30px;
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s linear, border-color 0.15s linear;
}
.cta-section a:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding: 62px 0; }
  .services-section, .hero { padding: 54px 0; }
  .cta-section { padding: 62px 0; }
}

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