:root {
  color-scheme: light;
  --ink: #102c2a;
  --muted: #48635f;
  --aqua: #83ddd2;
  --paper: #f5f7f3;
  --line: #cbdad3;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #168476; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1230px); margin-inline: auto; }
.skip { position: absolute; top: -10rem; background: white; padding: .75rem; z-index: 2; }
.skip:focus { top: .5rem; left: .5rem; }
.header { background: #0b201f; color: #f0fff9; border-bottom: 1px solid #2d4844; }
.nav, .nav nav, .brand, .actions { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 4.5rem; gap: .75rem; }
.brand { gap: .65rem; font-weight: 750; text-decoration: none; }
.mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid #8ecec2; border-radius: .45rem; color: var(--aqua); font-size: .79rem; }
.nav nav { gap: clamp(.8rem, 3vw, 2.5rem); }
.nav nav a, .footer a { text-decoration: none; }
.nav nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero {
  color: #f2fffa;
  background: linear-gradient(90deg, #081e1ef7 5%, #081e1edb 37%, #081e1e30 83%),
    url("./assets/hero.webp") 64% center / cover no-repeat, #0b2624;
}
.hero-inner { min-height: 570px; padding-block: clamp(4.5rem, 10vw, 8rem); }
.eyebrow { margin: 0 0 .6rem; color: #37695f; font-size: .75rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { color: var(--aqua); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6.8vw, 6.25rem); line-height: 1.09; letter-spacing: -.075em; margin-bottom: 1.35rem; }
h1 em { color: var(--aqua); font-style: normal; }
.intro { max-width: 34rem; color: #deeeea; font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 2rem; }
.actions { flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; padding: .72rem 1.05rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 750; text-decoration: none; }
.primary { color: #092a26; background: var(--aqua); }
.primary:hover { background: #a5ebe2; }
.ghost { border-color: #afc9c3; color: #f2fffa; background: #14302e80; }
.ghost:hover { background: #2b534f; }
.catalog { padding-block: 4.2rem; scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
h2 { margin-bottom: 1rem; font-size: clamp(1.85rem, 4vw, 3.25rem); line-height: 1.16; letter-spacing: -.055em; }
#project-count { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: .4rem 0 1.55rem; }
.filters button { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 2rem; padding: .45rem .9rem; cursor: pointer; }
.filters button:hover { border-color: #498477; }
.filters button[aria-pressed="true"] { background: #d4f3ec; border-color: #6eb9aa; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.card { display: flex; min-width: 0; min-height: 15rem; background: #fff; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; scroll-margin-top: 1rem; }
.card:target { border-color: #258c7b; }
.card-body { padding: clamp(1.15rem, 2.5vw, 1.85rem); flex: 1; }
.card h3 { margin-bottom: .65rem; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.035em; }
.card p:not(.eyebrow) { color: var(--muted); margin-bottom: 1rem; }
.text-link { display: inline-block; color: #075b50; font-weight: 750; text-underline-offset: .25em; }
.card details { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
summary { color: var(--ink); font-size: .91rem; font-weight: 650; cursor: pointer; }
.links { margin-bottom: 0; padding-left: 1.2rem; }
.links a { color: #075b50; text-underline-offset: .2em; }
.feature { grid-column: 1 / -1; min-height: 17rem; background: #0e2927; color: #f2fffa; }
.feature .card-body { align-self: center; flex-basis: 45%; padding: clamp(1.3rem, 4vw, 3rem); }
.feature h3 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.feature p:not(.eyebrow), .feature .eyebrow, .feature .text-link { color: #baeee1; }
.feature-visual { display: grid; align-items: end; flex: 1 1 55%; padding: 1.25rem; min-height: 16rem; background: linear-gradient(0deg, #092523e8, transparent 65%), url("./assets/office.webp") center / cover, #17423d; }
.contact-wrap { margin-bottom: 3rem; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; border-radius: .85rem; padding: clamp(1.25rem, 4.5vw, 3.5rem); background: #123432; color: #f2fffa; }
.contact h2 { margin-bottom: .55rem; }
.contact p { margin-bottom: 0; color: #c0ded7; }
.contact .button { flex: none; }
.footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 1.4rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .wrap { width: min(100% - 2rem, 1230px); }
  .hero { background-image: linear-gradient(90deg, #081e1ef2, #081e1ea1), url("./assets/hero.webp"); }
  .hero-inner { min-height: auto; padding-block: 4.5rem; }
  .catalog { padding-block: 3rem; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: auto; }
  .feature, .contact { flex-direction: column; align-items: stretch; }
  .feature-visual { flex-basis: auto; min-height: 12rem; }
  .contact .button { align-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
