:root {
  --ink: #142420;
  --forest: #103b35;
  --forest-dark: #092b27;
  --mint: #8de0be;
  --paper: #f5f6f2;
  --white: #ffffff;
  --muted: #67746f;
  --line: #d9dfda;
  --amber: #f1bd57;
  --shell: min(1120px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 104px 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 80px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { color: rgba(255,255,255,.72); font-size: 14px; transition: color .2s ease; }
.site-header nav a:hover { color: var(--white); }

.hero { color: var(--white); background: var(--forest-dark); }
.hero-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 80px; min-height: 700px; padding-top: 100px; }
.hero-copy { padding: 72px 0; }
.eyebrow, .section-label { margin-bottom: 22px; color: var(--forest); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow { color: var(--mint); }
h1 { margin-bottom: 28px; font-size: 68px; font-weight: 650; }
.hero-text { max-width: 610px; margin-bottom: 34px; color: rgba(255,255,255,.68); font-size: 18px; }
.primary-button { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 19px; color: var(--forest-dark); background: var(--mint); font-size: 14px; font-weight: 700; transition: background-color .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--white); transform: translateY(-2px); }
.primary-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero-brand { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 390px; padding: 56px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-brand::after { content: ""; position: absolute; inset: 40px 0 40px 40px; border: 1px solid rgba(141,224,190,.14); pointer-events: none; }
.hero-brand > img { position: relative; z-index: 1; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.brand-lines { position: relative; z-index: 1; display: flex; gap: 20px; margin-top: 34px; }
.brand-lines span { color: rgba(255,255,255,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.brand-lines span + span::before { content: "/"; margin-right: 20px; color: var(--mint); }

.section-heading { display: grid; grid-template-columns: 190px 1fr; margin-bottom: 54px; }
.section-heading h2 { max-width: 650px; margin: 0; font-size: 46px; font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article { min-height: 260px; padding: 32px; border-right: 1px solid var(--line); }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { padding-right: 0; border-right: 0; }
.service-grid article > span { color: var(--forest); font-size: 11px; font-weight: 700; }
.service-grid h3 { margin: 54px 0 16px; font-size: 22px; font-weight: 650; }
.service-grid p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.company { color: var(--white); background: var(--forest); }
.company-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 96px; }
.section-label.light { color: var(--mint); }
.company h2 { margin-bottom: 24px; font-size: 46px; font-weight: 600; }
.company-note { max-width: 380px; margin: 0; color: rgba(255,255,255,.62); }
.company-details { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.company-details > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.company-details dt { color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.company-details dd { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0; font-size: 17px; font-weight: 600; }
.company-details button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: var(--mint); background: transparent; border: 1px solid rgba(255,255,255,.25); cursor: pointer; font-size: 11px; font-weight: 700; }
.company-details button:hover { border-color: var(--mint); }
.company-details button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.site-footer { color: var(--white); background: var(--forest-dark); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 100px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.45); font-size: 11px; text-align: center; }
.footer-inner > a { display: grid; place-items: center; justify-self: end; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); }
.footer-inner > a svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.toast { position: fixed; z-index: 20; right: 20px; bottom: 20px; padding: 10px 15px; color: var(--white); background: var(--ink); font-size: 12px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

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

@media (max-width: 860px) {
  .hero-layout { grid-template-columns: 1fr; gap: 0; padding-top: 112px; }
  .hero-copy { padding-bottom: 30px; }
  h1 { font-size: 58px; }
  .hero-brand { min-height: 280px; padding: 44px 0 60px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-brand::after { inset: 28px 0; }
  .hero-brand > img { width: 120px; height: 120px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:first-child, .service-grid article:last-child { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid article:last-child { border-bottom: 0; }
  .service-grid h3 { margin: 22px 0 10px; }
  .company-layout { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 580px) {
  :root { --shell: min(100% - 32px, 1120px); }
  .section { padding: 74px 0; }
  .site-header { height: 70px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 12px; }
  .brand { gap: 9px; font-size: 13px; }
  .brand img { width: 34px; height: 34px; }
  .hero-layout { min-height: auto; padding-top: 94px; }
  .hero-copy { padding: 46px 0 32px; }
  h1 { font-size: 43px; }
  .hero-text { font-size: 16px; }
  .hero-brand { min-height: 235px; }
  .hero-brand > img { width: 96px; height: 96px; }
  .brand-lines { gap: 9px; margin-top: 24px; }
  .brand-lines span { font-size: 9px; }
  .brand-lines span + span::before { margin-right: 9px; }
  .section-heading h2, .company h2 { font-size: 36px; }
  .company-details > div { grid-template-columns: 1fr; gap: 8px; }
  .company-details dd { font-size: 15px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { display: none; }
}

@media (max-width: 370px) {
  h1 { font-size: 38px; }
  .site-header nav { gap: 12px; }
}

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

@media print {
  .site-header, .hero-brand, .primary-button, .site-footer, .toast { display: none !important; }
  .hero, .company { color: var(--ink); background: var(--white); }
  .hero-layout { display: block; min-height: auto; padding: 36px 0; }
  .hero-copy { padding: 0; }
  .eyebrow, .company-note, .company-details dt { color: var(--ink); }
  .section { padding: 36px 0; }
  .company-details { border-color: var(--ink); }
  .company-details > div { border-color: var(--line); }
  .company-details button { display: none; }
}
