:root {
  --ink: #123744;
  --muted: #45636e;
  --paper: #f4fbfc;
  --line: #c8e2e8;
  --teal: #007f8c;
  --cyan: #16b9c2;
  --sun: #ffd44e;
  --navy: #073743;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 Tiresias, "Trebuchet MS", "Noto Sans", Arial, sans-serif; }
body::before { content: ""; position: fixed; inset: 0 auto auto 0; z-index: 50; width: 100%; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--sun)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  body::before { animation: reading-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes reading-progress { to { transform: scaleX(1); } }
img { max-width: 100%; }
section[id] { scroll-margin-top: 90px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
a { color: inherit; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 84px; padding: 10px max(24px, calc((100vw - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; background: color-mix(in srgb, #fff 90%, transparent); backdrop-filter: blur(14px); }
.wordmark { flex: 0 0 auto; }
.wordmark img { display: block; width: 158px; height: auto; mix-blend-mode: multiply; }
.topbar nav, footer nav { display: flex; align-items: center; gap: 30px; }
.topbar nav a, .phone, footer nav a, footer nav span { font-size: 15px; text-decoration: none; }
.topbar nav a { font-weight: 700; }
.topbar nav a:hover, footer nav a:hover { color: var(--teal); }
.phone { flex: 0 0 auto; color: var(--teal); font-weight: 700; }
.hero { min-height: 600px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,40,49,.72), rgba(3,40,49,.2) 70%, rgba(3,40,49,.02)); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-copy { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin-inline: auto; padding-block: 90px; }
.hero-copy h1 { max-width: 710px; margin: 0 0 34px; font-size: clamp(42px, 6.4vw, 78px); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; }
.kicker { margin: 0 0 16px; color: var(--teal); font-size: 16px; letter-spacing: .02em; font-weight: 700; }
.hero .kicker { color: var(--sun); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 26px; padding: 0 22px; background: var(--teal); color: white; text-decoration: none; font-size: 16px; font-weight: 700; }
.button:hover { background: var(--cyan); color: var(--navy); }
.button span { font-size: 18px; }
.button-light { background: var(--sun); color: var(--navy); }
.hero-caption { position: absolute; z-index: 1; right: 24px; bottom: 19px; margin: 0; color: white; font-size: 10px; font-weight: 700; }
.section { padding-block: 100px; }
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(200px, .8fr); gap: 40px; align-items: center; }
.about h2, .section h2 { margin: 0 0 22px; font-size: clamp(34px, 4.2vw, 51px); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; }
.about-main > p:last-child, .mission > div:last-child > p:not(.kicker) { max-width: 680px; color: var(--muted); font-size: 18px; }
.stats { display: flex; justify-content: flex-end; gap: 32px; padding: 24px; background: #d8f4f3; border-radius: 18px; }
.stats strong { display: block; color: var(--teal); font-size: 43px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.stats strong span { color: #ec824e; }
.stats small { display: block; margin-top: 9px; max-width: 130px; color: var(--ink); font-size: 14px; }
.services { background: #e1f7f8; }
.services .section-heading { margin: 0 0 40px; }
.section-heading .kicker { margin-bottom: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-grid article { min-width: 0; padding: 24px; background: #fff; border-top: 4px solid var(--cyan); border-radius: 8px 8px 14px 14px; overflow: hidden; container-type: inline-size; }
.service-grid article:nth-child(even) { border-top-color: #ffbd38; }
.service-grid article > img { display: block; width: calc(100% + 48px); height: clamp(170px, 18vw, 230px); max-width: none; margin: -24px -24px 20px; object-fit: cover; }
.service-grid h3 { margin: 0 0 12px; color: var(--teal); font-size: 23px; line-height: 1.25; text-wrap: balance; }
.service-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
@container (max-width: 250px) { .service-grid h3 { font-size: 20px; } .service-grid p { font-size: 15px; } }
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7%; align-items: center; }
.mission-image { display: block; width: 100%; height: 430px; object-fit: cover; object-position: center; border-radius: 14px; }
.mission .kicker { margin-bottom: 15px; }
.mission h2 { font-size: clamp(34px, 3.8vw, 46px); }
.projects { background: #d8f4f3; }
.gallery-row { position: relative; }
.gallery-viewport { width: 100%; min-width: 0; overflow: hidden; border-radius: 14px; background: #fff; }
.project-grid { width: 100%; }
.gallery-page { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 16px; animation: gallery-enter .45s ease both; }
.gallery-page[hidden] { display: none; }
.project-grid figure { min-width: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 12px; background: #fff; }
.project-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.project-grid figure:hover img { transform: scale(1.045); }
@keyframes gallery-enter { from { opacity: .35; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; width: 52px; height: 52px; transform: translateY(-50%); border: 0; border-radius: 50%; background: var(--teal); color: #fff; font: inherit; font-size: 27px; line-height: 1; cursor: pointer; box-shadow: 0 3px 14px #082f3b38; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-arrow:hover { background: var(--sun); color: var(--navy); }
.testimonial { max-width: 960px; margin-inline: auto; text-align: center; }
.testimonial .kicker { font-size: 16px; }
.review-slide { min-height: 220px; margin: 0; padding: 35px clamp(20px, 6vw, 80px); display: grid; align-content: center; border-radius: 18px; background: linear-gradient(135deg, #e1f7f8, #fff1ae); animation: review-enter .55s ease both; }
.review-slide[hidden] { display: none; }
.review-slide blockquote { margin: 10px auto 15px; color: var(--navy); font-size: clamp(26px, 3.6vw, 42px); line-height: 1.35; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.review-slide figcaption { color: var(--muted); font-size: 14px; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.review-dots { display: flex; justify-content: center; gap: 8px; }
.review-dot { width: 8px; height: 8px; border-radius: 50%; background: #a9cbd0; transition: width .25s, background-color .25s; }
.review-dot.is-active { width: 26px; border-radius: 99px; background: var(--teal); }
.review-toggle { padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--teal); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.review-toggle:hover { background: #d8f4f3; }
@keyframes review-enter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.quote-author { color: var(--muted); font-size: 13px; }
.contact { background: #fff1ae; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 10%; align-items: center; }
.contact h2 { font-size: clamp(37px, 4.5vw, 55px); }
.contact-layout > div:first-child > p:not(.kicker) { color: var(--muted); font-size: 14px; }
.contact-phone { display: inline-block; margin-top: 10px; color: var(--teal); font-size: 23px; font-weight: 700; text-decoration: none; }
.form-card { min-width: 0; padding: 32px; background: #fff; border-radius: 14px; box-shadow: 0 12px 34px #16404c16; }
.form-card h3 { margin: 0; color: var(--teal); font-size: 23px; }
.form-card > p { color: var(--muted); font-size: 14px; }
.legal-page { padding-block: 78px 110px; }
.legal-page h1 { margin: 0 0 26px; font-size: clamp(40px, 6vw, 66px); line-height: 1.1; text-wrap: balance; }
.legal-card { max-width: 820px; margin: 30px 0; padding: clamp(24px, 5vw, 48px); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px #12374412; }
.legal-card h2 { margin: 26px 0 8px; color: var(--teal); font-size: 23px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 8px 0 22px; color: var(--muted); }
.legal-note { max-width: 820px; padding: 16px 20px; border-left: 4px solid var(--sun); background: #fff1ae; font-size: 15px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px max(24px, calc((100vw - 1160px)/2)); background: var(--navy); color: #fff; }
footer .wordmark img { width: 155px; padding: 7px; background: white; mix-blend-mode: normal; }
footer p { color: #d1ebee; font-size: 14px; }
footer nav { gap: 18px; }
footer nav a, footer nav span { font-size: 14px; }
@supports (animation-timeline: view()) {
  .service-grid article, .mission, .projects h2, .testimonial { animation: section-arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
}
@keyframes section-arrive { from { opacity: .25; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 900px) {
  .phone { display: none; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stats { justify-content: flex-start; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { gap: 6%; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 66px; padding: 8px 14px; gap: 10px; }
  .wordmark img { width: clamp(90px, 30vw, 118px); }
  .topbar nav { flex: 1; justify-content: flex-end; gap: clamp(7px, 2.5vw, 13px); }
  .topbar nav a { white-space: nowrap; font-size: clamp(12px, 3.6vw, 14px); }
  .hero { min-height: min(650px, 82svh); }
  .hero-copy { width: calc(100% - 36px); padding-block: 56px; }
  .hero-copy h1 { font-size: clamp(38px, 10.5vw, 57px); }
  .hero-image { object-position: 58% center; }
  .hero-caption { left: 18px; right: auto; font-size: 8px; }
  .section { padding-block: 70px; }
  .about h2, .section h2 { font-size: clamp(31px, 9vw, 42px); }
  .stats { justify-content: flex-start; gap: 38px; padding: 20px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-grid article { padding: 20px; }
  .service-grid article > img { width: calc(100% + 40px); height: 210px; margin: -20px -20px 18px; }
  .service-grid h3 { margin-bottom: 9px; }
  .mission { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mission-image { height: auto; aspect-ratio: 4 / 3; }
  .projects .kicker { font-size: 29px; }
  .gallery-row { margin-inline: -18px; }
  .gallery-viewport { border-radius: 8px; }
  .gallery-page { gap: 10px; }
  .project-grid figure { border-radius: 9px; }
  .gallery-arrow { width: 44px; height: 44px; font-size: 23px; }
  .gallery-prev { left: 11px; }
  .gallery-next { right: 11px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .form-card { padding: 23px; }
  .legal-page { padding-block: 54px 78px; }
  footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 28px 18px; gap: 14px; }
  footer .wordmark img { width: clamp(95px, 30vw, 125px); }
  footer p { margin: 0; }
  footer nav { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { display: none; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
