:root {
  color-scheme: light;
  --page: #f4f8f7;
  --green: #46b72b;
  --green-bright: #61d63a;
  --ink: #082747;
  --muted: #52697b;
  --content-gutter: clamp(12px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family:
    "Segoe UI Variable Display", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-shell {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.98), transparent 36%),
    radial-gradient(circle at 92% 4%, rgba(111, 219, 73, 0.17), transparent 30%),
    linear-gradient(135deg, #edf4f2 0%, #fbfdfc 48%, #e8f1ee 100%);
}

@supports (min-height: 100dvh) {
  .site-shell {
    min-height: 100dvh;
  }
}

.background-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.46;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 68, 92, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 68, 92, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 72%);
  animation: grid-drift 24s linear infinite;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.48) 45%, transparent 60%),
    radial-gradient(circle at center, transparent 0 56%, rgba(8, 35, 57, 0.07) 100%);
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.aurora {
  position: absolute;
  z-index: -3;
  width: min(52vw, 760px);
  min-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
  pointer-events: none;
  will-change: transform;
}

.aurora-one {
  top: -22%;
  right: -14%;
  background: var(--green);
  animation: aurora-one 15s ease-in-out infinite alternate;
}

.aurora-two {
  bottom: -38%;
  left: -18%;
  background: #63b7d1;
  animation: aurora-two 18s ease-in-out infinite alternate;
}

.light-beam {
  position: absolute;
  z-index: -2;
  top: -40%;
  left: 49%;
  width: 1px;
  height: 170%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(71, 183, 98, 0.38), transparent);
  box-shadow: 0 0 70px 24px rgba(41, 161, 103, 0.06);
  transform: rotate(19deg);
  animation: beam 9s ease-in-out infinite alternate;
}

.site-header,
.site-footer {
  width: min(calc(100% - (2 * var(--content-gutter))), 1220px);
  min-width: 0;
  margin-inline: auto;
}

.site-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(18px, 3.5vw, 42px);
}

.brand-card {
  position: relative;
  display: block;
  width: min(100%, clamp(285px, 42vw, 520px));
  aspect-ratio: 2164 / 726;
  border: 0;
  background: transparent;
  text-decoration: none;
  animation: logo-float 5.2s ease-in-out infinite;
  transition: filter 220ms ease;
}

.brand-card:hover {
  filter: brightness(1.06);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 24px rgba(12, 43, 55, 0.18))
    drop-shadow(0 0 16px rgba(71, 183, 43, 0.08));
  pointer-events: none;
}

.hero {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - (2 * var(--content-gutter))), 1000px);
  min-width: 0;
  margin-inline: auto;
  padding-block: clamp(30px, 6vh, 68px);
  text-align: center;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  top: 49%;
  left: 50%;
  border: 1px solid rgba(50, 148, 89, 0.18);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit-one {
  width: min(90vw, 940px);
  aspect-ratio: 2.7 / 1;
  box-shadow: 0 0 70px rgba(59, 180, 102, 0.055);
  animation: orbit 18s linear infinite;
}

.orbit-one::after,
.orbit-two::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 18px 4px rgba(104, 243, 73, 0.62);
}

.orbit-two {
  width: min(68vw, 720px);
  aspect-ratio: 2.4 / 1;
  border-color: rgba(52, 127, 166, 0.15);
  transform: translate(-50%, -50%) rotate(18deg);
  animation: orbit-reverse 23s linear infinite;
}

.orbit-two::after {
  right: auto;
  left: -4px;
  background: #5fc7ec;
  box-shadow: 0 0 18px 4px rgba(69, 171, 225, 0.52);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  max-width: 100%;
  margin: 0 0 clamp(18px, 3vw, 28px);
  color: #526a79;
  font-size: clamp(0.58rem, 1vw, 0.74rem);
  font-weight: 700;
  letter-spacing: clamp(0.12em, 0.6vw, 0.22em);
  text-transform: uppercase;
  animation: reveal 800ms 100ms both;
}

.eyebrow-line {
  flex: 0 0 auto;
  width: clamp(22px, 5vw, 42px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 10px rgba(89, 213, 52, 0.5);
}

h1 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-size: clamp(2.35rem, 11.8vw, 8.3rem);
  font-weight: 650;
  letter-spacing: -0.072em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 span {
  display: block;
  max-width: 100%;
}

.title-quiet {
  margin-bottom: 0.1em;
  color: #153b5c;
  font-size: 0.48em;
  font-weight: 350;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
  animation: reveal 800ms 180ms both;
}

.title-glow {
  position: relative;
  width: 100%;
  padding: 0 0.06em 0.12em 0;
  overflow: visible;
  color: transparent;
  background:
    linear-gradient(105deg, #08264c 0%, #176b62 30%, #54c936 58%, #2a7d42 78%, #08264c 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 0.98;
  white-space: nowrap;
  filter: drop-shadow(0 16px 36px rgba(48, 139, 66, 0.12));
  animation:
    reveal 900ms 240ms both,
    title-shine 7s 1.3s linear infinite;
}

.hero-copy {
  width: min(100%, 590px);
  margin: clamp(22px, 4vh, 38px) auto 0;
  padding-inline: clamp(0px, 2vw, 12px);
  color: var(--muted);
  font-size: clamp(0.94rem, 1.7vw, 1.15rem);
  font-weight: 400;
  line-height: 1.68;
  text-wrap: balance;
  animation: reveal 800ms 360ms both;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
  width: min(100%, 760px);
  min-width: 0;
  margin: clamp(28px, 5vh, 50px) auto 0;
  padding: 8px;
  border: 1px solid rgba(26, 94, 104, 0.14);
  border-radius: 25px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(235, 245, 242, 0.84));
  box-shadow:
    0 28px 70px rgba(25, 63, 73, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
  animation: reveal 850ms 450ms both;
}

.contact-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 68px;
  padding: 16px 18px;
  border-radius: 18px;
  text-align: left;
  text-decoration: none;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.contact-link:hover {
  background: rgba(59, 146, 99, 0.08);
  transform: translateY(-1px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(68, 179, 77, 0.28);
  border-radius: 10px;
  color: #318a24;
  background: rgba(88, 190, 75, 0.1);
  font: 700 0.63rem/1 "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
}

.contact-link small,
.contact-link strong {
  display: block;
  min-width: 0;
}

.contact-link small {
  margin-bottom: 5px;
  color: #60788a;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link strong {
  color: var(--ink);
  font-size: clamp(0.84rem, 1.5vw, 0.98rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-arrow {
  color: #3f8c62;
  font-size: 1rem;
  transition: transform 220ms ease;
}

.contact-link:hover .contact-arrow {
  transform: translate(2px, -2px);
}

.contact-divider {
  width: 1px;
  margin-block: 16px;
  background: linear-gradient(transparent, rgba(39, 92, 105, 0.16), transparent);
}

.site-footer {
  flex: 0 0 auto;
  padding-bottom: max(clamp(18px, 3vw, 34px), env(safe-area-inset-bottom));
}

.services-strip {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(31, 84, 99, 0.13);
  border-bottom: 1px solid rgba(31, 84, 99, 0.13);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.services-track {
  display: flex;
  width: max-content;
  animation: ticker 27s linear infinite;
}

.services-track span {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 28px 15px 0;
  color: #607688;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.services-track i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 17px;
  color: #718392;
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-rule {
  width: 26px;
  height: 1px;
  background: #b6c9c5;
}

a:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 4px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-7px) rotateX(1.2deg);
  }
}

@keyframes title-shine {
  to {
    background-position: -200% center;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(348deg);
  }
}

@keyframes orbit-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-342deg);
  }
}

@keyframes beam {
  to {
    opacity: 0.3;
    transform: translateX(80px) rotate(19deg);
  }
}

@keyframes aurora-one {
  to {
    transform: translate(-11vw, 12vh) scale(1.12);
  }
}

@keyframes aurora-two {
  to {
    transform: translate(13vw, -6vh) scale(0.9);
  }
}

@keyframes grid-drift {
  to {
    background-position: 72px 72px;
  }
}

@media (max-width: 800px) {
  :root {
    --content-gutter: clamp(12px, 3.8vw, 28px);
  }

  .brand-card {
    width: min(100%, 420px);
  }

  .hero {
    padding-block: clamp(28px, 5vh, 48px);
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 570px);
    border-radius: 22px;
  }

  .contact-divider {
    width: auto;
    height: 1px;
    margin: 0 14px;
    background: linear-gradient(90deg, transparent, rgba(39, 92, 105, 0.16), transparent);
  }
}

@media (max-width: 520px) {
  :root {
    --content-gutter: 12px;
  }

  .site-header {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .brand-card {
    width: min(100%, 360px);
  }

  .hero {
    padding-block: 26px 30px;
  }

  .eyebrow {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
    font-size: clamp(0.54rem, 2.7vw, 0.64rem);
    letter-spacing: 0.14em;
    line-height: 1.45;
  }

  .eyebrow-line {
    display: none;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 3.75rem);
    letter-spacing: -0.064em;
  }

  .title-quiet {
    margin-bottom: 0.16em;
  }

  .hero-copy {
    margin-top: 20px;
    padding-inline: 5px;
    font-size: clamp(0.88rem, 4vw, 0.98rem);
    line-height: 1.58;
  }

  .contact-panel {
    margin-top: 24px;
    padding: 6px;
    border-radius: 18px;
  }

  .contact-link {
    gap: 10px;
    min-height: 62px;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .contact-icon {
    width: 31px;
    height: 31px;
  }

  .contact-link small {
    font-size: 0.6rem;
  }

  .contact-link strong {
    font-size: clamp(0.78rem, 3.8vw, 0.92rem);
  }

  .contact-arrow {
    font-size: 0.86rem;
  }

  .services-track span {
    gap: 20px;
    padding: 13px 20px 13px 0;
    font-size: 0.58rem;
  }

  .footer-meta {
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 0.52rem;
    text-align: center;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 11.1vw;
  }

  .contact-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-arrow {
    display: none;
  }

  .footer-rule {
    display: none;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (max-height: 760px) and (min-width: 801px) {
  .site-header {
    padding-top: 16px;
  }

  .brand-card {
    width: min(400px, 38vw);
  }

  .hero {
    padding-block: 22px;
  }

  h1 {
    font-size: clamp(3.8rem, 10.5vh, 6.6rem);
  }

  .hero-copy {
    margin-top: 18px;
  }

  .contact-panel {
    margin-top: 22px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .site-header {
    padding-top: 10px;
  }

  .brand-card {
    width: min(300px, 43vw);
  }

  .hero {
    justify-content: flex-start;
    padding-block: 16px 22px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero-copy {
    margin-top: 14px;
  }

  .contact-panel {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
