/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #2C3547;
  background: #060A12;
  -webkit-font-smoothing: antialiased;
}

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --navy:      #0D1F3C;
  --navy-mid:  #163356;
  --navy-deep: #070E1C;
  --teal:      #1B8C8C;
  --teal-lt:   #24B5B5;
  --off-white: #F7F8FA;
  --mid-grey:  #8A96A8;
  --body-text: #2C3547;
  --rule:      #E2E6ED;
}

/* ── Utilities ────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--teal { color: var(--teal-lt); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  border: none;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover { background: #1a9e9e; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(7,14,28,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36,181,181,0.1);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 400;
  color: #fff;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
}

.nav__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover { color: #fff; }

.nav__cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--teal);
  padding: 9px 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: #1a9e9e; transform: translateY(-1px); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #060D1C 0%, #0D1F3C 55%, #091D33 100%);
  overflow: hidden;
  padding-top: 68px;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36,181,181,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,181,181,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(27,140,140,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero__rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  transform: translate(-50%, -50%);
}
.hero__ring--1 { width: 520px; height: 520px; border-color: rgba(36,181,181,0.05); }
.hero__ring--2 { width: 380px; height: 380px; border-color: rgba(36,181,181,0.07); }
.hero__ring--3 { width: 240px; height: 240px; border-color: rgba(36,181,181,0.08); }

.hero__watermark {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  opacity: 0.07;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 580px;
  margin-left: calc((100vw - 1160px) / 2);
  margin-left: max(24px, calc((100vw - 1160px) / 2));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-lt);
  background: rgba(36,181,181,0.1);
  border: 1px solid rgba(36,181,181,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-lt);
}

.hero__h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 24px;
}
.hero__h1 em {
  font-style: italic;
  color: var(--teal-lt);
}

.hero__sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}
.trust-sep { margin: 0 10px; opacity: 0.3; }

/* ── Services ─────────────────────────────────────────────────── */
.services {
  background: var(--off-white);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 12px;
}
.section-title--dark { color: var(--navy); }

.section-sub {
  font-size: 15px;
  color: var(--mid-grey);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13,31,60,0.1);
}

.card__icon {
  width: 44px; height: 44px;
  background: rgba(27,140,140,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 10px;
}

.card__body {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ── About ────────────────────────────────────────────────────── */
.about {
  background: var(--navy);
  padding: 100px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: #fff;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about__body {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about__cta {
  color: var(--teal-lt);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.about__cta:hover { opacity: 0.75; }

.cred-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(36,181,181,0.15);
  border-radius: 12px;
  padding: 32px;
}

.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
.cred-list li em { color: rgba(255,255,255,0.4); font-style: normal; }

.cred-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-lt);
  margin-top: 5px;
}

/* ── Book ─────────────────────────────────────────────────────── */
.book {
  background: linear-gradient(120deg, #0a1628 0%, #0f2744 50%, #091d33 100%);
  padding: 100px 0;
  border-top: 1px solid rgba(36,181,181,0.1);
  border-bottom: 1px solid rgba(36,181,181,0.1);
}

.book__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.book__text { max-width: 560px; }

.book__heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: #fff;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.book__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 32px;
}

.btn--large {
  padding: 16px 32px;
  font-size: 15px;
}

.book__badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.book__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(36,181,181,0.12);
  border-radius: 8px;
  padding: 12px 20px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .book__inner { flex-direction: column; gap: 40px; }
  .book__badges { flex-direction: row; flex-wrap: wrap; }
  .book__badge { white-space: normal; }
}

/* ── Contact ──────────────────────────────────────────────────── */
.contact {
  background: var(--navy-deep);
  padding: 100px 0;
}

.contact__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact__heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: #fff;
  font-variation-settings: 'opsz' 32, 'SOFT' 55, 'WONK' 0;
  margin-bottom: 14px;
}

.contact__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__row { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.form__input {
  background: rgba(13,31,60,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form__input::placeholder { color: rgba(255,255,255,0.25); }
.form__input:focus { border-color: var(--teal); }

.form__textarea { resize: vertical; min-height: 110px; }

.contact__form .btn { margin-top: 6px; }

.contact__email {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.contact__email a {
  color: var(--teal-lt);
  text-decoration: none;
}
.contact__email a:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: #060A12;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 0 20px;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__name {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer__nav {
  display: flex;
  gap: 28px;
}
.footer__nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__nav a:hover { color: rgba(255,255,255,0.75); }

.footer__email {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__email:hover { color: var(--teal-lt); }

.footer__micro {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ── Animations ───────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.15s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.section-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(7,14,28,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(36,181,181,0.1);
  }
  .nav__links.open { display: flex; }

  .nav__link, .nav__cta {
    padding: 14px 24px;
    border-radius: 0;
  }
  .nav__cta {
    margin: 8px 24px;
    text-align: center;
    border-radius: 5px;
  }

  .nav__hamburger { display: flex; }

  .hero__content {
    margin-left: 0;
    padding: 100px 24px 60px;
  }
  .hero__watermark { width: 200px; height: 200px; opacity: 0.05; }

  .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .footer__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 375px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
