:root {
  --ink: #102b27;
  --ink-soft: #25443e;
  --paper: #f5f1e8;
  --paper-deep: #ebe5d9;
  --white: #fffdf8;
  --mint: #9ecbb9;
  --mint-bright: #b8ead1;
  --lime: #d8e89b;
  --line: rgba(16, 43, 39, 0.17);
  --shadow: 0 22px 70px rgba(13, 44, 39, 0.14);
  --shell: min(1180px, calc(100% - 48px));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
summary { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: top 160ms ease;
}
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand-mark { display: flex; align-items: end; gap: 3px; width: 25px; height: 22px; }
.brand-mark span { width: 5px; background: var(--mint-bright); border-radius: 1px; transform: skewY(-20deg); }
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 22px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.desktop-nav a { position: relative; }
.desktop-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--mint-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.44); border-radius: 999px; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 88% 18%, rgba(85, 150, 127, 0.32), transparent 28%), linear-gradient(120deg, #0b2522 0%, #12352f 63%, #153f36 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -240px;
  bottom: -330px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(184, 234, 209, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(184, 234, 209, 0.035), 0 0 0 180px rgba(184, 234, 209, 0.025);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 15%, black 75%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: 7vw;
  align-items: center;
  padding-top: 188px;
  padding-bottom: 118px;
}
.eyebrow, .section-kicker {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow { color: var(--mint-bright); }
.eyebrow::before, .section-kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin: 0 12px 4px 0;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
h1 { max-width: 760px; margin-bottom: 30px; font-size: clamp(54px, 6.1vw, 86px); }
h2 { margin-bottom: 0; font-size: clamp(43px, 5vw, 68px); }
.hero-intro { max-width: 630px; margin-bottom: 38px; color: rgba(255, 253, 248, 0.76); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: #e5f3af; }
.text-link { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.9); font-size: 14px; }
.text-link span { margin-left: 8px; }

.signal-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(245, 241, 232, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}
.signal-card::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; z-index: -1; border: 1px solid rgba(184, 234, 209, 0.15); }
.signal-header, .signal-value, .signal-footer { display: flex; align-items: center; justify-content: space-between; }
.signal-header { padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.signal-header strong, .signal-label { display: block; }
.signal-header strong { font-size: 15px; font-weight: 600; }
.signal-label { margin-bottom: 4px; color: rgba(255, 255, 255, 0.5); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; }
.live-pill { padding: 6px 10px; border: 1px solid rgba(184, 234, 209, 0.22); border-radius: 999px; color: var(--mint-bright); font-size: 10px; text-transform: uppercase; }
.live-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--mint-bright); box-shadow: 0 0 0 4px rgba(184, 234, 209, 0.1); }
.signal-value { align-items: end; padding: 30px 0 8px; }
.signal-value > span { color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.signal-value strong { margin-left: auto; font-family: var(--serif); font-size: 50px; font-weight: 400; line-height: 1; }
.signal-value strong span { color: rgba(255, 255, 255, 0.5); font-size: 22px; }
.signal-value small { margin: 0 0 4px 12px; color: var(--mint-bright); }
.chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 142px;
  padding: 14px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: repeating-linear-gradient(to bottom, transparent 0 34px, rgba(255, 255, 255, 0.06) 34px 35px);
}
.chart i { flex: 1; height: var(--bar); min-height: 20px; background: linear-gradient(to top, rgba(158, 203, 185, 0.42), var(--mint-bright)); border-radius: 2px 2px 0 0; }
.signal-footer { gap: 12px; padding-top: 22px; }
.signal-footer div { flex: 1; }
.signal-footer span, .signal-footer strong { display: block; }
.signal-footer span { color: rgba(255, 255, 255, 0.46); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.signal-footer strong { margin-top: 3px; font-size: 12px; font-weight: 550; }

.section { padding: 128px 0; }
.about-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10vw; }
.about h2 { max-width: 560px; }
.about-copy { padding-top: 40px; }
.about-copy p { max-width: 630px; color: #49605c; }
.about-copy .lead { color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.45; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.principles span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12px; }

.services { border-top: 1px solid var(--line); background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 9vw; align-items: end; margin-bottom: 68px; }
.section-heading h2 { max-width: 680px; }
.section-heading > p { max-width: 390px; margin-bottom: 4px; color: #62716e; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  min-height: 310px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 220ms ease, transform 220ms ease;
}
.service-card:hover { z-index: 2; background: #f4f8f2; transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card.featured { background: var(--paper); }
.service-number { color: #71817d; font-family: var(--serif); font-size: 14px; }
.service-card h3 { max-width: 360px; margin: 28px 0 16px; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.service-card p { max-width: 390px; margin: 0; color: #5b6e69; font-size: 14px; }
.service-card .service-tag { margin: 1px 0 -18px; color: #4b685e; font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.card-arrow { position: absolute; right: 34px; bottom: 30px; color: #71817d; font-size: 18px; }

.next { position: relative; overflow: hidden; padding: 130px 0; background: var(--ink); color: var(--white); }
.next-pattern { position: absolute; inset: 0 auto 0 0; width: 44%; opacity: 0.12; background: linear-gradient(135deg, transparent 48%, var(--mint) 49%, transparent 51%) 0 0 / 38px 38px, linear-gradient(45deg, transparent 48%, var(--mint) 49%, transparent 51%) 0 0 / 38px 38px; mask-image: linear-gradient(to right, black, transparent 90%); }
.next-layout { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10vw; }
.section-kicker-light { color: var(--mint-bright); }
.next h2 { max-width: 580px; }
.next-items { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.next-items article { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.next-items article > span { color: var(--mint); font-family: var(--serif); font-size: 13px; }
.next-items h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.next-items p { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 14px; }

.contact { background: var(--paper-deep); }
.contact-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 9vw; align-items: end; padding: 74px; background: var(--white); box-shadow: 0 30px 100px rgba(37, 62, 56, 0.08); }
.contact-card h2 { max-width: 650px; }
.contact-action p { max-width: 420px; color: #5b6e69; }
.contact-action a { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(20px, 2vw, 29px); line-height: 1.2; }

.site-footer { padding: 48px 0; background: #0b211e; color: rgba(255, 255, 255, 0.64); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.brand-footer { color: var(--white); }
.footer-inner p { margin: 0; font-size: 12px; }
.footer-inner p:last-child { text-align: right; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 72px; padding-top: 170px; padding-bottom: 96px; }
  .hero-copy { max-width: 790px; }
  .signal-card { max-width: 580px; margin: 0; }
  .about-layout, .next-layout, .contact-card { grid-template-columns: 1fr; gap: 54px; }
  .about-copy { max-width: 690px; padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p { max-width: 600px; }
  .contact-card { padding: 60px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 620px); }
  .header-inner { min-height: 76px; }
  .desktop-nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: grid; gap: 6px; width: 40px; height: 40px; padding: 13px 8px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 24px; height: 1px; background: var(--white); transition: transform 180ms ease; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: 50px; right: 0; display: grid; width: min(290px, calc(100vw - 32px)); padding: 10px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); }
  .mobile-menu nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .hero-layout { gap: 58px; padding-top: 132px; padding-bottom: 74px; }
  h1 { margin-bottom: 24px; font-size: clamp(46px, 14vw, 65px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .signal-card { padding: 22px; }
  .signal-footer { display: grid; grid-template-columns: repeat(3, 1fr); }
  .signal-footer span { letter-spacing: 0; }
  .section, .next { padding: 88px 0; }
  h2 { font-size: clamp(39px, 12vw, 54px); }
  .about-copy .lead { font-size: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; padding: 28px; }
  .service-card h3 { margin-top: 20px; font-size: 28px; }
  .next-layout { gap: 58px; }
  .next-pattern { width: 100%; opacity: 0.07; }
  .contact-card { width: 100%; padding: 56px 24px; }
  .contact-action a { overflow-wrap: anywhere; font-size: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner p:last-child { text-align: left; }
}

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