:root {
  --navy: #0b1628;
  --navy-mid: #132038;
  --teal: #0eb8a0;
  --teal-light: #2dd4be;
  --white: #ffffff;
  --mist: #7a93b0;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 70% at 85% 40%, rgba(14,184,160,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 42% 52% at 10% 80%, rgba(200,150,42,0.05) 0%, transparent 60%);
}
body.modal-open { overflow: hidden; }
a { color: inherit; }

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  padding: 20px 64px 10px;
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}
.logo-text span { color: var(--teal); }

.hero {
  width: min(1320px, 100%);
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 52px;
  padding: 0 64px 6px;
}
.hero-copy {
  max-width: 700px;
  transform: translateY(-10vh);
  animation: fadeUp 650ms ease both;
}
h1 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 5.7vw, 82px);
  line-height: 0.95;
  letter-spacing: -2.6px;
  font-weight: 700;
}
h1 em {
  display: block;
  color: var(--teal);
  font-style: normal;
}
.lead {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.68);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  font-weight: 300;
}
.contact-line {
  margin: 0 0 26px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.55;
}
.contact-line a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.contact-line a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-primary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: none;
  border-radius: 6px;
  background: var(--teal);
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(14,184,160,0.25);
}

.brand-visual {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-8vh);
  animation: fadeIn 850ms 100ms ease both;
}
.logo-360 { width: 330px; height: 330px; position: relative; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid transparent; }
.orbit-1 { inset: 0; border-color: rgba(14,184,160,0.14); animation: spin 55s linear infinite; }
.orbit-2 { inset: 30px; border-color: rgba(14,184,160,0.09); animation: spin 38s linear infinite reverse; }
.orbit-3 { inset: 60px; border-color: rgba(14,184,160,0.18); animation: spin 24s linear infinite; }
.orbit-4 { inset: 90px; border-color: rgba(14,184,160,0.07); animation: spin 16s linear infinite reverse; }
.orbit::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(14,184,160,0.5);
}
.orbit-2::before { width: 6px; height: 6px; top: -3px; background: var(--teal-light); }
.orbit-3::before { width: 10px; height: 10px; top: -5px; box-shadow: 0 0 18px rgba(14,184,160,0.6); }
.orbit-4::before { width: 5px; height: 5px; top: -2.5px; background: var(--teal-light); }
.logo-core {
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  border: 1.5px solid rgba(14,184,160,0.35);
  background: rgba(11,22,40,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(14,184,160,0.1);
}
.logo-core-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}
.logo-core-deg {
  margin-top: 7px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}


@media (max-width: 900px) {
  .site-nav { padding: 16px 24px 6px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 18px 24px 10px;
    gap: 0;
    text-align: center;
  }
  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
    transform: translateY(0);
  }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: clamp(46px, 10vw, 66px); margin-bottom: 14px; }
  .lead { margin-bottom: 20px; }
  .brand-visual {
    min-height: 220px;
    transform: translateY(-18px);
  }
  .logo-360 { width: 220px; height: 220px; }
  .logo-core { inset: 66px; }
  .logo-core-num { font-size: 36px; }
  .site-footer { padding: 14px 24px 18px; }
}

@media (max-width: 560px) {
  .site-nav { padding: 14px 16px 4px; }
  .hero { padding: 0 16px 2px; }
  .hero-copy { padding-top: 0; transform: translateY(-12px); }
  .eyebrow { font-size: 9.5px; letter-spacing: 1.8px; margin-bottom: 12px; }
  h1 { font-size: clamp(42px, 13vw, 58px); line-height: 0.94; margin-bottom: 12px; }
  .lead { font-size: 17px; margin-bottom: 18px; }
  .contact-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; }
  .brand-visual { min-height: 180px; transform: translateY(-10px); }
  .logo-360 { width: 180px; height: 180px; }
  .logo-core { inset: 54px; }
  .logo-core-num { font-size: 31px; }
  .logo-core-deg { font-size: 7px; letter-spacing: 1.6px; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px 16px;
  }
  .modal-dialog { padding: 28px 20px 22px; }
  .modal h2 { font-size: 32px; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .site-nav { padding-top: 14px; }
  .hero { padding-top: 12px; padding-bottom: 8px; }
  .hero-copy { transform: translateY(-2vh); }
  .brand-visual { min-height: 400px; transform: translateY(-2vh); }
  .logo-360 { width: 340px; height: 340px; }
  .logo-core { inset: 103px; }
}

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