:root {
  --white: #ffffff;
  --green: #379b91;
  --coral: #f1af9f;
  --navy: #103c5a;
  --ink: #082b42;
  --soft: #f7fbfa;
  --line: rgba(16, 60, 90, 0.14);
  --shadow: 0 30px 90px rgba(16, 60, 90, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(241, 175, 159, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(55, 155, 145, 0.2), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8fcfb 44%, #ffffff 100%);
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--green);
}

a {
  color: inherit;
  text-decoration: none;
}

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

#mind-particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 155, 145, 0.16), transparent 68%);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(16, 60, 90, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 9rem;
}

.brand img {
  width: 9rem;
  height: 2.35rem;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(16, 60, 90, 0.74);
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #155b7e);
  box-shadow: 0 18px 36px rgba(16, 60, 90, 0.24);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.button.full {
  width: 100%;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(16, 60, 90, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100vh - 6.5rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0 3rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 0.98;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
}

h3 {
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
}

p {
  color: rgba(8, 43, 66, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-copy p {
  max-width: 39rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 41rem;
  perspective: 1000px;
}

.image-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-frame {
  height: min(70vh, 43rem);
  min-height: 35rem;
  transform: rotate(1deg);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.35rem;
  max-width: 16rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(16, 60, 90, 0.16);
  backdrop-filter: blur(16px);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.floating-card:hover,
.service-card:hover,
.contact-line:hover,
.contact-card:hover {
  border-color: rgba(55, 155, 145, 0.58);
  box-shadow:
    0 0 0 1px rgba(55, 155, 145, 0.14),
    0 0 34px rgba(55, 155, 145, 0.34),
    0 0 80px rgba(241, 175, 159, 0.24),
    0 26px 75px rgba(16, 60, 90, 0.18);
}

.floating-card strong {
  color: var(--navy);
}

.floating-card span {
  color: rgba(8, 43, 66, 0.66);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-one {
  right: -1.2rem;
  top: 16%;
}

.card-two {
  left: -1.5rem;
  bottom: 12%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--line);
}

.metrics div {
  display: grid;
  gap: 0.7rem;
  min-height: 9.5rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
}

.metrics strong {
  color: var(--coral);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
}

.metrics span {
  max-width: 18rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 0.7fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.service-card {
  min-height: 33rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 55px rgba(16, 60, 90, 0.1);
  transform-style: preserve-3d;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(55, 155, 145, 0.12), rgba(255, 255, 255, 0.9));
}

.service-card img {
  width: 100%;
  height: 16.5rem;
  object-fit: cover;
}

.service-card div {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
}

.service-card span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.method {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.method-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 1.5rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 60, 90, 0.94), rgba(18, 87, 111, 0.92)),
    radial-gradient(circle at 80% 10%, rgba(241, 175, 159, 0.34), transparent 20rem);
  box-shadow: var(--shadow);
}

.method-panel h2,
.method-panel h3,
.method-panel p,
.method-panel .section-kicker {
  color: var(--white);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-item span {
  grid-row: span 2;
  color: var(--coral);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.structure {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.62fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.wide-frame {
  height: 32rem;
}

.structure-copy p {
  margin-top: 1rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr minmax(19rem, 0.58fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(55, 155, 145, 0.13), rgba(241, 175, 159, 0.16));
}

.contact-copy p {
  max-width: 34rem;
  margin-top: 1.2rem;
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 25px 70px rgba(16, 60, 90, 0.12);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.contact-line {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.contact-line:hover {
  transform: translateY(-2px);
}

.contact-line span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  color: var(--navy);
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  color: rgba(8, 43, 66, 0.62);
  font-size: 0.9rem;
}

.site-footer img {
  width: 8rem;
  height: 2.1rem;
  object-fit: contain;
  object-position: left center;
}

.site-footer a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(55, 155, 145, 0.45);
  text-underline-offset: 0.22rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .split,
  .method-panel,
  .structure,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .cursor-glow {
    display: none;
  }

  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    border-radius: 1rem;
  }

  .brand img {
    width: 7.8rem;
  }

  .header-cta {
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero {
    width: calc(100% - 1rem);
    padding-top: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-frame {
    height: 31rem;
    min-height: 31rem;
    border-radius: 1rem;
  }

  .floating-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 0.8rem;
  }

  .metrics,
  .services {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
  }

  .section,
  .contact {
    width: calc(100% - 1rem);
  }

  .method {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .service-card {
    min-height: auto;
  }

  .wide-frame {
    height: 22rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 1rem);
  }
}
