:root {
  --ink: #17201f;
  --muted: #66706e;
  --paper: #f4f1ea;
  --paper-deep: #e9e4da;
  --white: #fffdf8;
  --line: rgba(23, 32, 31, 0.14);
  --teal: #0f665f;
  --teal-deep: #0a4844;
  --lime: #c9ef6a;
  --coral: #ff6f52;
  --shadow: 0 22px 70px rgba(22, 49, 45, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
svg { display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px;
  background: var(--ink); color: #fff; transform: translateY(-150%); border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; z-index: 20; inset: 0 0 auto; height: 82px;
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { height: 70px; background: rgba(244, 241, 234, .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: -.035em; }
.brand-mark { position: relative; width: 27px; height: 27px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; }
.brand-mark span { display: block; background: var(--teal); border-radius: 1px; }
.brand-mark span:nth-child(1) { height: 55%; }
.brand-mark span:nth-child(2) { height: 100%; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 73%; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: .87rem; font-weight: 620; }
.main-nav a { text-decoration: none; }
.main-nav > a:not(.nav-contact) { position: relative; }
.main-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--teal); transition: right .2s; }
.main-nav > a:not(.nav-contact):hover::after { right: 0; }
.nav-contact { padding: 11px 18px; color: #fff; background: var(--ink); border-radius: 999px; transition: transform .2s, background .2s; }
.nav-contact:hover { transform: translateY(-2px); background: var(--teal); }

.hero { position: relative; min-height: 760px; overflow: hidden; padding: 174px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .48;
  background-image: linear-gradient(rgba(23,32,31,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,31,.055) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-glow { position: absolute; width: 700px; height: 700px; left: -260px; top: 90px; border-radius: 50%; background: rgba(201,239,106,.3); filter: blur(8px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; gap: 84px; align-items: center; }
.eyebrow, .section-label { margin: 0 0 25px; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 800; color: var(--teal); }
.eyebrow { display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,111,82,.13); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(3.65rem, 6.4vw, 6rem); line-height: .97; letter-spacing: -.065em; font-weight: 730; }
h1 em { color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-intro { max-width: 650px; margin-bottom: 38px; color: var(--muted); font-size: 1.16rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 54px; padding: 0 24px; border-radius: 4px; font-size: .9rem; font-weight: 730; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--teal); box-shadow: 0 14px 30px rgba(15,102,95,.2); }
.button-primary:hover { background: var(--teal-deep); box-shadow: 0 18px 38px rgba(15,102,95,.25); }
.text-link { padding-bottom: 4px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--ink); }

.system-card { position: relative; padding: 20px; background: rgba(255,253,248,.8); border: 1px solid rgba(23,32,31,.12); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(9px); transform: rotate(1.5deg); }
.system-card::after { content: ""; position: absolute; z-index: -1; inset: 20px -17px -18px 20px; border: 1px solid rgba(23,32,31,.16); border-radius: 12px; }
.system-card-top { display: flex; justify-content: space-between; padding: 2px 2px 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; font-weight: 800; }
.status { display: flex; align-items: center; gap: 6px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #71a941; box-shadow: 0 0 0 4px rgba(113,169,65,.12); }
.system-flow { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.flow-row { display: grid; grid-template-columns: 32px 1fr 26px; align-items: center; gap: 12px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.flow-row:last-child { border: 0; }
.flow-number { color: var(--teal); font-family: Georgia, serif; font-style: italic; }
.flow-row div { display: flex; flex-direction: column; gap: 3px; }
.flow-row strong { font-size: .9rem; }
.flow-row small { color: var(--muted); font-size: .72rem; }
.flow-icon { width: 25px; height: 25px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; color: var(--teal); }
.system-note { margin: 18px 2px 1px; color: var(--muted); font-family: Georgia, serif; font-style: italic; font-size: .87rem; text-align: center; }

.services { background: var(--ink); color: #f8f5ed; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading h2, .about-copy h2, .contact-panel h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.055em; }
.section-heading > p { margin-bottom: 5px; color: #aeb7b4; line-height: 1.7; }
.services .section-label { color: var(--lime); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.service-card { position: relative; min-height: 330px; padding: 38px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); transition: background .25s; }
.service-card:hover { background: rgba(255,255,255,.045); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 62px; border: 1px solid rgba(201,239,106,.35); border-radius: 50%; color: var(--lime); }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; top: 39px; right: 38px; color: #6f7a77; font: italic 1rem Georgia, serif; }
.service-card h3 { max-width: 390px; margin-bottom: 13px; font-size: 1.45rem; letter-spacing: -.025em; }
.service-card > p:not(.service-number) { max-width: 470px; color: #aeb7b4; line-height: 1.65; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-tags span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #cbd2d0; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--paper-deep); overflow: hidden; border-radius: 50% 50% 5px 50%; }
.about-visual::before { content: ""; position: absolute; width: 130px; height: 130px; right: 13%; top: 12%; background: var(--coral); border-radius: 50%; opacity: .9; }
.orbit { position: absolute; border: 1px solid rgba(15,102,95,.34); border-radius: 50%; }
.orbit-one { width: 72%; height: 72%; }
.orbit-two { width: 108%; height: 42%; transform: rotate(-35deg); }
.about-monogram { position: relative; z-index: 2; color: var(--teal); font: 500 clamp(3rem, 7vw, 6.5rem) Georgia, serif; letter-spacing: -.08em; }
.visual-label { position: absolute; left: 9%; bottom: 9%; color: var(--teal-deep); text-transform: uppercase; letter-spacing: .14em; font-size: .61rem; font-weight: 800; line-height: 1.5; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy > p:not(.section-label) { color: var(--muted); line-height: 1.75; }
.about-copy .about-lead { color: var(--ink) !important; font-size: 1.2rem; line-height: 1.65 !important; }
.company-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0 0; padding-top: 25px; border-top: 1px solid var(--line); }
.company-facts div { display: flex; flex-direction: column; gap: 8px; }
.company-facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: .64rem; font-weight: 800; }
.company-facts dd { margin: 0; font-size: .87rem; font-weight: 700; }

.contact { padding-top: 0; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 70px; padding: 74px 78px; color: #fff; background: var(--teal); border-radius: 7px; overflow: hidden; position: relative; }
.contact-panel::before { content: ""; position: absolute; width: 350px; height: 350px; right: -110px; top: -170px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.contact-panel > * { position: relative; }
.contact-panel h2 { max-width: 680px; margin-bottom: 16px; }
.contact-panel p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.section-label.light { color: var(--lime); }
.button-light { flex-shrink: 0; color: var(--ink); background: var(--lime); }
.button-light:hover { background: #d8f88c; }

.site-footer { padding: 32px 0 42px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: .72rem; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { justify-self: end; }
.footer-brand { color: var(--ink); font-size: .9rem; }
.footer-brand .brand-mark { width: 22px; height: 22px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.8,.25,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 900px) {
  .hero { padding-top: 148px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .system-card { max-width: 560px; transform: none; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .about-visual { max-width: 560px; width: 100%; }
  .contact-panel { padding: 58px 48px; flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner p:nth-child(2) { display: none; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 30px, 1180px); }
  .section { padding: 78px 0; }
  .site-header { height: 70px; }
  .main-nav > a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 9px 14px; }
  .hero { min-height: auto; padding: 126px 0 85px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .eyebrow { align-items: flex-start; line-height: 1.5; }
  .eyebrow span { margin-top: 4px; flex: 0 0 auto; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; padding: 30px; }
  .service-icon { margin-bottom: 54px; }
  .service-number { top: 31px; right: 30px; }
  .about-grid { gap: 55px; }
  .company-facts { grid-template-columns: 1fr; }
  .contact { padding-top: 0; }
  .contact-panel { padding: 44px 28px; gap: 38px; }
  .button-light { width: 100%; padding: 0 15px; font-size: .82rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p:last-child { justify-self: start; }
}

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