/* Soft coastal shapes, warm neutrals, and quieter surfaces. */
:root {
  --ink: #173b42;
  --navy: #0b2934;
  --teal: #246c70;
  --mint: #c5e6d9;
  --paper: #faf9f4;
  --muted: #607574;
  --curve: 28px;
}

body { background: var(--paper); }
header {
  background: #fffffff2;
  border-bottom-color: #e7ece5;
  box-shadow: 0 4px 28px #173b4204;
}
.header-contact, .menu-toggle, .button, .copy-email, .filters button {
  border-radius: 999px;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.header-contact { border-color: #d2ded5; background: #f5f8f2; }
.button { padding: 15px 28px; box-shadow: 0 5px 18px #102e3610; }
.button span { transition: transform .25s ease; }
.button:hover span { transform: translate(2px, -2px); }
.button:hover { box-shadow: 0 9px 24px #102e361c; }
.hero {
  margin: 18px 24px 0;
  border-radius: 34px 34px 100px 34px;
  height: calc(100svh - 134px);
  box-shadow: 0 20px 50px #0b293415;
}
.hero h1 { font-weight: 350; }
.hero h1 em { color: #d1ebdf; }
.hero-content { padding-bottom: 120px; }
.hero-bottom { bottom: 32px; }
.eyebrow { letter-spacing: 2.8px; }
.intro-grid { padding-top: 110px; padding-bottom: 70px; }
.intro-grid h2, .page-intro h1 { line-height: 1.45; }
.lead { line-height: 2.05; }
.service-grid { gap: 25px; }
.service-card img {
  border-radius: 60px 24px 24px 24px;
  box-shadow: 0 9px 25px #173b420a;
}
.service-card:nth-child(even) img { border-radius: 24px 24px 60px 24px; }
.service-card > div { border-top: 0; margin-top: 4px; padding: 22px 22px 5px 5px; }
.service-card h3 { line-height: 1.65; }
.service-card .arrow { top: 25px; color: var(--teal); }
.feature {
  width: calc(100% - 64px);
  max-width: 1440px;
  margin: 55px auto;
  border-radius: 32px 90px 32px 32px;
  overflow: hidden;
  background: #10333e;
  box-shadow: 0 18px 45px #173b4210;
}
.feature h2 { line-height: 1.5; }
.news-card img { border-radius: var(--curve); }
.news-card { transition: transform .3s ease; }
.news-card h2, .news-card h3 { line-height: 1.75; }
.text-link { padding-bottom: 10px; }
.text-link.dark { border-color: #b3cbc1; }
.cta {
  width: calc(100% - 80px);
  border-radius: 60px 28px 60px 28px;
  background: radial-gradient(ellipse at 90% 20%, #edf3e5, transparent 65%), #e1eee6;
  padding-top: 65px;
  padding-bottom: 65px;
}
.cta h2 { line-height: 1.5; }
.split > img {
  border-radius: 90px 28px 28px 28px;
  box-shadow: 0 14px 35px #173b420c;
}
.service-detail:nth-of-type(odd) > img { border-radius: 28px 90px 28px 28px; }
.service-detail { border-bottom-color: #e1e8df; padding-bottom: 80px; margin-bottom: 40px; }
.principles > div { border-top-color: #cddbd2; }
.principles > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf0e7;
}
.filters { gap: 12px; margin-bottom: 40px; }
.filters button { border-color: #d3ded4; padding: 10px 24px; }
.gallery-image { border-radius: var(--curve); overflow: hidden; }
.gallery-image img { transition: transform .5s ease; }
.gallery-image span {
  border-radius: 999px;
  background: #ffffffed;
  right: 20px;
  bottom: 20px;
  padding: 9px 18px;
}
.project-card h3 { padding-left: 5px; }
.project-card p { padding-left: 5px; }
.clients { background: #eef2e9; border-radius: 40px; }
.product-card {
  border-radius: 30px;
  overflow: hidden;
  border-color: #e4e9e0;
  box-shadow: 0 8px 30px #153c4105;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product-card > img { padding: 38px; }
.product-card > div { padding: 30px 36px 36px; }
.product-card details { border-color: #e5ebe2; }
.article > img { border-radius: 35px; }
.article-text { line-height: 2.1; }
.contact .email { border-bottom-color: #b9cdc1; padding-bottom: 5px; }
footer {
  border-radius: 55px 55px 0 0;
  padding-top: 75px;
  background: #10303a;
}
dialog { border-radius: 24px; padding: 48px 20px 14px; }
dialog img { border-radius: 14px; }
.close-dialog { top: 10px; right: 15px; border-radius: 999px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .news-card:hover { transform: translateY(-4px); }
  .product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px #153c4110; }
  .gallery-image:hover img { transform: scale(1.035); }
}

@media (max-width: 760px) {
  nav { border-radius: 0 0 24px 24px; }
  .hero { margin: 10px 12px 0; border-radius: 25px 25px 60px 25px; height: auto; }
  .hero-content { padding-top: 65px; padding-bottom: 125px; }
  .hero-bottom { right: 10%; bottom: 30px; }
  .intro-grid { padding-top: 65px; padding-bottom: 30px; }
  .service-grid { gap: 25px 18px; }
  .service-card img { border-radius: 40px 18px 18px 18px; }
  .service-card:nth-child(even) img { border-radius: 18px 18px 40px 18px; }
  .service-card > div { padding: 14px 16px 0 1px; }
  .service-card .arrow { top: 17px; }
  .feature { width: calc(100% - 24px); margin: 30px auto; border-radius: 25px 55px 25px 25px; }
  .news-card img, .gallery-image { border-radius: 22px; }
  .cta { width: auto; margin: 25px 6% 55px; border-radius: 40px 22px 40px 22px; padding: 38px 7%; }
  .split > img { border-radius: 55px 24px 24px 24px; }
  .service-detail:nth-of-type(odd) > img { border-radius: 24px 55px 24px 24px; }
  .service-detail { padding-bottom: 45px; margin-bottom: 25px; }
  .clients { border-radius: 30px; }
  .product-card { border-radius: 24px; }
  .product-card > div { padding: 24px; }
  .article > img { border-radius: 24px; }
  footer { border-radius: 35px 35px 0 0; padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
