:root {
  --teal: #1b4557;
  --green: #387b5b;
  --sage: #d5e4d9;
  --mint: #eef5f0;
  --cream: #f7faf8;
  --ink: #1c1c1c;
  --muted: #4a5c55;
  --line: rgba(27, 69, 87, 0.14);
  --header-h: 80px;
  --consult: https://forms.gle/QHkE13iLFGqkXRFL8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Droid Serif", "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100%;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

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

a {
  color: var(--green);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--teal);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: none;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  display: block;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 22px;
}

.nav a {
  color: var(--teal);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.35s ease, transform 0.2s ease;
}

.nav > a:not(.header-cta) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.nav > a:not(.header-cta)::after {
  content: attr(data-label);
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav a.active {
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  background: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(27, 69, 87, 0.2);
}

.nav .header-cta {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--teal);
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-group(site-header) {
  animation: none;
  z-index: 200;
}

::view-transition-old(root) {
  animation: 0.32s ease both fadeOut;
}

::view-transition-new(root) {
  animation: 0.45s ease both fadeUp;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--sage);
  text-align: center;
  padding: 56px 20px 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: min(220px, 52vw);
  margin-bottom: 8px;
}

.hero h1 {
  font-family: "Droid Serif", serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[hidden] {
  display: none !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(27, 69, 87, 0.18);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: #163847;
}

.btn.is-waiting {
  background: #b7c0c4;
  color: #fff;
  box-shadow: none;
  transform: none;
}

.btn.is-waiting:hover {
  background: #b7c0c4;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #fff;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--mint);
}

.page-hero {
  background: var(--sage);
  text-align: center;
  padding: 72px 20px 68px;
}

.page-hero h1 {
  font-family: "Droid Serif", serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 56px);
  line-height: 1.12;
  color: var(--teal);
  margin-bottom: 0;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 16px auto 18px;
  background: var(--green);
  border-radius: 999px;
}

.page-hero-tagline {
  font-family: "Droid Serif", serif;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  color: var(--teal);
  margin-bottom: 14px;
}

.page-hero .lead {
  margin: 0 auto 28px;
}

.section {
  padding: 64px 0;
}

.section--sage {
  background: var(--sage);
}

.section--white {
  background: #fff;
}

.section--teal {
  background: var(--teal);
  color: #fff;
  text-align: center;
}

.section--teal h2,
.section--teal p {
  color: #fff;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}

h2 {
  font-size: 30px;
  line-height: 1.25;
  color: var(--teal);
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
}

.center {
  text-align: center;
}

.center .lead {
  margin: 0 auto 28px;
}

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(27, 69, 87, 0.12);
  border-color: rgba(27, 69, 87, 0.22);
}

.card-photo-wrap {
  overflow: hidden;
  border-radius: 12px;
  margin: 0 0 16px;
}

.card-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-photo {
  transform: scale(1.07);
}

.card h3 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
  text-align: center;
}

.card li {
  margin: 6px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.step {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(27, 69, 87, 0.1);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 17px;
  color: var(--teal);
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.team-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 28px 0 24px;
}

.team-preview figure {
  margin: 0;
  text-align: center;
  flex: 0 1 280px;
  max-width: 300px;
  width: 100%;
}

.team-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.45s ease;
}

.team-preview figure:hover img {
  transform: scale(1.05);
}

.team-preview figcaption {
  margin-top: 10px;
  color: var(--teal);
  font-size: 15px;
}

.team-full {
  display: grid;
  gap: 40px;
  margin-top: 36px;
}

.person {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.person:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 69, 87, 0.1);
}

.person img {
  width: 100%;
  border-radius: 12px;
}

.person h3 {
  color: var(--teal);
  margin-bottom: 8px;
}

.bio-rest {
  display: none;
  margin-top: 10px;
}

.person.open .bio-rest {
  display: block;
}

.read-more {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--green);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
}

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

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 18px 0;
  font-family: inherit;
  font-size: 18px;
  color: var(--teal);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--green);
}

.faq-q svg {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 0 16px;
  color: var(--muted);
}

.faq.open .faq-a {
  display: block;
}

.contact-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  border: 1px solid var(--line);
}

.contact-panel h1 {
  color: var(--teal);
  margin-bottom: 10px;
}

.contact-list {
  margin: 22px 0;
  font-size: 18px;
}

.contact-list a {
  color: var(--teal);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--green);
}

.ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  text-decoration: none;
  margin-top: 8px;
}

.site-footer {
  background: var(--teal);
  color: #e7f0ea;
  padding: 36px 0 28px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin: 6px 0;
}

.product {
  max-width: 520px;
}

.product img {
  background: #000;
  border-radius: 12px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 10px 16px;
    gap: 8px;
  }

  .brand {
    font-size: 15px;
    gap: 10px;
    white-space: nowrap;
    line-height: 1;
  }

  .brand img {
    width: auto;
    height: 42px;
    max-width: none;
    flex: 0 0 auto;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  h1, h2, p, li {
    overflow-wrap: break-word;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header > .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav .header-cta {
    display: flex;
    padding: 12px 8px;
  }

  .nav > a:not(.header-cta)::after {
    display: none;
  }

  .nav .header-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .paths,
  .steps,
  .reasons,
  .service-grid,
  .split,
  .person,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 14px;
    gap: 8px;
  }

  .brand img {
    height: 36px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-section {
  opacity: 0;
  transform: translateY(22px);
}

html.js .reveal-section.visible {
  opacity: 1;
  transform: none;
  animation: fadeUp 0.9s ease both;
}

html.js .reveal-section.visible.in-view {
  animation: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}

body.page-inner main {
  animation: fadeUp 0.7s ease both;
}

body.vt-swap.page-inner main,
body.vt-swap .hero-inner {
  animation: none;
}

body.page-leaving main,
body.page-leaving .site-footer {
  animation: fadeOut 0.32s ease both;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-section,
  html.js .reveal-section,
  .hero-inner,
  body.page-inner main {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  body.page-leaving main,
  body.page-leaving .site-footer {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .card:hover,
  .step:hover,
  .person:hover,
  .btn:hover,
  .header-cta:hover,
  .nav a:hover {
    transform: none;
  }
}

@media (hover: none) {
  .card:hover,
  .step:hover,
  .person:hover {
    transform: none;
    box-shadow: none;
  }
}

.form-card {
  max-width: 640px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}

.form-card h2 {
  margin-bottom: 10px;
}

.form-card p {
  margin-bottom: 22px;
}

.intake-wrap {
  max-width: 920px;
}

.intake-wrap h1 {
  color: var(--teal);
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 10px;
}

.intake-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  margin: 28px 0 32px;
}

.intake-progress li {
  position: relative;
  padding: 10px 8px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid var(--line);
}

.intake-progress li.is-active,
.intake-progress li.is-done {
  color: var(--teal);
  border-bottom-color: var(--green);
}

.intake-form h2 {
  font-size: 24px;
  margin: 8px 0 16px;
}

.intake-form h3 {
  font-size: 18px;
  color: var(--teal);
  margin: 18px 0 10px;
}

.intake-form label,
.sig-label {
  display: block;
  font-size: 15px;
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 14px;
}

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form input[type="tel"],
.intake-form input[type="date"],
.intake-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.intake-form textarea {
  resize: vertical;
}

.intake-form input:focus,
.intake-form textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.intake-form input.is-invalid,
.intake-form textarea.is-invalid,
.sig-canvas.is-invalid {
  border: 2px solid #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.parent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 18px;
}

.parent-col {
  background: var(--mint);
  border-radius: 16px;
  padding: 18px 16px 8px;
}

.check-set {
  border: 0;
  margin: 0 0 14px;
}

.check-set legend,
.check-line {
  font-size: 15px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.check-set label,
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.check-set.inline-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.check-set.inline-checks legend {
  width: 100%;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  color: inherit;
  margin: 0 4px 0 0;
}

.release-line {
  line-height: 1.8;
}

.fee-bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  font-weight: 400;
  color: var(--muted);
}

.fee-bullets li {
  margin: 4px 0;
}

.check-line {
  font-weight: 700;
  color: var(--teal);
}

.legal-copy,
.legal-list {
  color: var(--muted);
  margin-bottom: 14px;
}

.consent-block {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 10px;
  margin: 0 0 22px;
}

.consent-block h2 {
  margin-top: 0;
}

.legal-list {
  padding-left: 22px;
}

.initial-line {
  max-width: 240px;
}

.table-scroll {
  overflow-x: auto;
  margin: 12px 0 22px;
}

.intake-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.intake-table th,
.intake-table td {
  border: 1px solid var(--line);
  padding: 8px;
  vertical-align: top;
  text-align: left;
}

.intake-table th {
  background: var(--mint);
  color: var(--teal);
  font-size: 13px;
}

.intake-table.fees th {
  width: 78%;
}

.sig-field {
  margin: 8px 0 22px;
}

.sig-canvas {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 160px;
  border: 1px dashed var(--teal);
  border-radius: 12px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.sig-clear {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.form-actions .btn {
  min-width: 160px;
}

.form-error {
  color: #8a2b2b;
  background: #fdeeee;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 0;
}

.intake-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 18px) 16px 16px;
  background: rgba(27, 69, 87, 0.48);
  backdrop-filter: blur(5px);
}

.intake-success-banner {
  width: min(560px, 100%);
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 18px 22px 20px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(27, 69, 87, 0.24);
}

.intake-success-banner h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.intake-success-banner p {
  color: var(--muted);
  margin: 0;
}

.intake-success-banner .cta-row {
  justify-content: center;
  margin-top: 16px;
}

body.intake-locked {
  overflow: hidden;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

@media (max-width: 800px) {
  .form-grid,
  .form-grid.three,
  .form-grid.four,
  .parent-grid {
    grid-template-columns: 1fr;
  }

  .intake-progress {
    grid-template-columns: repeat(2, 1fr);
  }
}

