:root {
  color-scheme: light;
  --ink: #14333b;
  --deep: #0b3f4d;
  --teal: #0f6971;
  --mint: #d8eee8;
  --orange: #f28a43;
  --paper: #fbfaf6;
  --muted: #edf3ef;
  --line: #d7e1dd;
  --shadow: 0 18px 50px rgb(7 45 51 / 10%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
.container { width: min(100% - 40px, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 99; top: -80px; left: 16px; padding: 10px 16px; background: white; color: var(--deep); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand-logo { display: block; width: 220px; height: auto; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; font-size: .92rem; font-weight: 700; }
.main-nav a, .site-footer a { text-decoration: none; }
.main-nav a:hover, .site-footer a:hover { color: var(--teal); }
.main-nav .nav-contact { padding: 9px 17px; border: 1px solid var(--teal); border-radius: 999px; color: var(--deep); }
.main-nav .nav-contact:hover { background: var(--mint); }
.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 132px) 0; color: white; background: radial-gradient(circle at 88% 10%, #227d7c 0, transparent 35%), linear-gradient(132deg, #083c49, #0c505b 65%, #0b3b47); }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; bottom: -250px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 50%; box-shadow: 0 0 0 80px rgb(255 255 255 / 3%), 0 0 0 160px rgb(255 255 255 / 2%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); align-items: center; gap: clamp(36px, 6vw, 85px); }
.eyebrow { margin-bottom: 18px; color: var(--teal); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .contact-band .eyebrow { color: #a5e1d4; }
.hero h1 { max-width: 800px; margin-bottom: 26px; color: white; }
.hero-lead { max-width: 660px; color: #e0f0eb; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: .94rem; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #132f36; background: var(--orange); }
.button-primary:hover { background: #ff9e5d; }
.button-outline { border-color: rgb(255 255 255 / 60%); color: white; }
.button-outline:hover { background: rgb(255 255 255 / 12%); }
.hero-note { margin: 18px 0 0; color: #b8d9d7; font-size: .86rem; }
.system-card { overflow: hidden; border: 1px solid rgb(255 255 255 / 22%); border-radius: 18px; background: rgb(248 255 252 / 9%); box-shadow: 0 25px 70px rgb(2 24 32 / 23%); backdrop-filter: blur(12px); }
.system-topline { display: flex; align-items: center; gap: 9px; padding: 19px 25px; border-bottom: 1px solid rgb(255 255 255 / 15%); font-size: .86rem; font-weight: 700; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #9ce5bf; box-shadow: 0 0 0 4px rgb(156 229 191 / 15%); }
.system-flow { padding: 26px; }
.system-flow > div { display: grid; grid-template-columns: 43px 1fr; column-gap: 11px; align-items: center; padding: 13px 15px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 12px; background: rgb(255 255 255 / 8%); }
.system-flow strong, .system-flow small { grid-column: 2; }
.system-flow strong { font-size: .95rem; }
.system-flow small { color: #cae5e1; font-size: .78rem; }
.flow-index { grid-row: 1 / 3; color: #9ce5bf; font-weight: 800; }
.flow-connector { display: block; height: 20px; width: 2px; margin-left: 35px; background: #8dd8c4; }
.system-footnote { margin: 0; padding: 0 26px 24px; color: #c1dcda; font-size: .73rem; }
.intro-strip { background: #e5eee9; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 28px; }
.intro-grid p { margin: 0; padding-left: 20px; border-left: 2px solid var(--teal); font-size: .94rem; }
.intro-grid strong { color: var(--deep); }
.section { padding: clamp(70px, 8vw, 112px) 0; }
.section-muted { background: var(--muted); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 18px; color: var(--deep); }
.section-heading > p:last-child { color: #4c6264; font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.service-card { min-height: 225px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.card-number { color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card h3 { margin: 28px 0 11px; color: var(--deep); }
.service-card p { margin: 0; color: #53686b; font-size: .9rem; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.application-card { display: flex; flex-direction: column; min-height: 255px; padding: 28px; border: 1px solid #d4e0da; border-radius: 15px; background: #f9fbf8; }
.application-card.featured { min-height: 350px; background: white; box-shadow: 0 12px 32px rgb(18 65 67 / 6%); }
.tag { align-self: flex-start; margin-bottom: 22px; padding: 5px 10px; border-radius: 999px; color: var(--deep); background: var(--mint); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.application-card h3 { color: var(--deep); font-size: 1.55rem; }
.application-card p { flex: 1; color: #53686b; font-size: .93rem; }
.application-card a, .text-link { color: var(--teal); text-decoration: none; font-size: .92rem; font-weight: 800; }
.application-card a:hover, .text-link:hover { text-decoration: underline; }
.method-section { background: white; }
.method-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 8vw, 110px); }
.method-grid h2 { color: var(--deep); }
.method-grid > div > p:not(.eyebrow) { max-width: 450px; color: #53686b; font-size: 1.06rem; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-list li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.method-list strong { color: var(--deep); }
.method-list span { color: #53686b; font-size: .91rem; }
.gallery-section { background: #e9f0ec; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.gallery-heading > div { max-width: 700px; }
.gallery-heading h2 { color: var(--deep); }
.gallery-heading p:last-child { color: #53686b; }
.gallery-heading .text-link { white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 245px; margin: 0; padding: 32px; border: 2px dashed #a8c4bc; border-radius: 16px; color: #53686b; text-align: center; background: rgb(255 255 255 / 55%); }
.gallery-item { overflow: hidden; margin: 0; border-radius: 14px; background: white; box-shadow: var(--shadow); }
.gallery-item a { display: block; color: inherit; text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dce7e2; }
.gallery-item figcaption { padding: 16px 18px 19px; }
.gallery-item .gallery-type { display: block; margin-bottom: 7px; color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-item figcaption strong { display: block; color: var(--deep); }
.gallery-item figcaption span { display: block; margin-top: 4px; color: #53686b; font-size: .82rem; }
.contact-band { padding: 65px 0; color: white; background: var(--deep); }
.contact-band-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band h2 { max-width: 670px; margin-bottom: 13px; color: white; font-size: clamp(2rem, 4vw, 3rem); }
.contact-band p:last-child { max-width: 680px; margin-bottom: 0; color: #c9e3df; }
.contact-band .button { flex: none; }
.site-footer { padding: 43px 0; color: #d2e6e2; background: #102f38; }
.footer-row { display: grid; grid-template-columns: 1.1fr 1.5fr auto; gap: 24px; align-items: start; }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; width: 205px; height: auto; }
.footer-row p { margin: 7px 0 0; font-size: .84rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .86rem; }
.copyright { white-space: nowrap; }
.page-hero { padding: 75px 0 52px; background: var(--muted); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { max-width: 840px; margin-bottom: 18px; color: var(--deep); font-size: clamp(2.55rem, 5vw, 4.5rem); }
.page-hero p:last-child { max-width: 730px; color: #53686b; font-size: 1.1rem; }
.page-section { padding: 65px 0 95px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-panel { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.contact-panel h2 { color: var(--deep); font-size: 1.7rem; }
.contact-panel p, .contact-panel li { color: #53686b; }
.contact-panel ul { padding-left: 19px; }
.contact-panel .button { margin-top: 15px; }
.email-address { display: block; margin: 25px 0 0; color: var(--deep); font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .system-card { max-width: 560px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .application-card.featured { min-height: 320px; }
  .method-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav-row { min-height: 80px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 15px; padding-block: 17px; }
  .brand-logo { width: 205px; }
  .main-nav { gap: 8px 17px; font-size: .82rem; }
  .main-nav .nav-contact { padding: 5px 10px; }
  .hero { padding: 72px 0; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
  .intro-grid { grid-template-columns: 1fr; gap: 14px; }
  .application-grid, .service-grid, .gallery-grid, .contact-layout { grid-template-columns: 1fr; }
  .service-card, .application-card, .application-card.featured { min-height: 0; }
  .gallery-heading, .contact-band-grid { align-items: flex-start; flex-direction: column; }
  .gallery-heading .text-link { white-space: normal; }
  .method-list li { grid-template-columns: 1fr; gap: 5px; }
  .footer-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
