:root {
  --navy: #0b2d50;
  --navy-dark: #061b31;
  --gold: #c59a2d;
  --gold-dark: #a77c13;
  --ink: #18212b;
  --muted: #617080;
  --cream: #f6f3ed;
  --soft: #f4f7fa;
  --white: #ffffff;
  --line: #dfe5eb;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 22px 55px rgba(7, 28, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(11, 45, 80, 0.1);
  box-shadow: 0 5px 20px rgba(6, 27, 49, 0.04);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 190px;
  height: 100px;
  flex: 0 0 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  overflow: visible;
}

.logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #263544;
  font-size: 14px;
  font-weight: 650;
}

.nav a:not(.cta) {
  position: relative;
  padding: 43px 0 40px;
}

.nav a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 33px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:not(.cta):hover::after,
.nav a.active:not(.cta)::after {
  transform: scaleX(1);
}

.nav .cta {
  padding: 12px 18px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 7px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav .cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: clamp(590px, 74vh, 790px);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--navy-dark);
  isolation: isolate;
}

.hero-media,
.hero-media::after,
.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media::after {
  content: "";
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 18, 34, 0.88) 0%, rgba(5, 31, 57, 0.7) 42%, rgba(4, 18, 32, 0.25) 75%, rgba(2, 12, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(1, 9, 17, 0.25), transparent 35%);
}

.hero-video,
.hero-fallback {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-fallback {
  display: none;
}

.hero-media.is-paused .hero-video {
  display: none;
}

.hero-media.is-paused .hero-fallback {
  display: block;
}

.hero-panel {
  position: relative;
  z-index: 3;
  padding-block: 90px;
}

.hero-panel > * {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 76px);
}

.hero-kicker {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section {
  position: relative;
  padding: 100px 0;
}

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

.intro {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.intro-copy {
  max-width: 630px;
}

.lead {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.media-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 45, 80, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.portrait-card {
  max-width: 560px;
  justify-self: end;
  background: #f1f1ef;
}

.title {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

.title.center,
.center-text {
  text-align: center;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-heading .muted {
  margin: 0;
  font-size: 18px;
}

.experience {
  background: #fff;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.achievement {
  min-height: 220px;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.achievement:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 154, 45, 0.55);
  box-shadow: 0 20px 40px rgba(7, 28, 52, 0.09);
}

.achievement-number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.achievement h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.3;
}

.achievement p {
  margin: 0;
  color: var(--muted);
}

.services {
  background: var(--cream);
}

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

.service {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 45, 80, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(7, 28, 52, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(7, 28, 52, 0.13);
}

.service img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #e9edf0;
}

.service-copy {
  padding: 28px 30px 32px;
}

.service-copy h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.3;
}

.service-copy p {
  margin: 0;
  color: var(--muted);
}

.trust {
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.trust .title {
  color: #fff;
}

.trust p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.trust-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.testimonial {
  max-width: 940px;
  margin-inline: auto;
  padding: 50px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.4;
}

.testimonial b {
  display: block;
  margin-top: 24px;
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  min-height: 410px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--navy-dark);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 18, 34, 0.92), rgba(7, 40, 70, 0.62), rgba(4, 20, 35, 0.3));
}

.page-hero-about {
  background-image: url("assets/family-home.jpg");
  background-position: center 43%;
}

.page-hero-contact {
  background-image: url("assets/hero-reunion.jpg");
  background-position: center 55%;
}

.page-hero .container {
  padding-block: 78px;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 72px);
}

.page-hero p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.steps {
  max-width: 950px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.step h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 25px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: stretch;
}

.contact-card,
.contact-form-wrap {
  border-radius: var(--radius);
}

.contact-card {
  padding: 38px;
  color: #fff;
  background: var(--navy);
}

.contact-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.contact-card > p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-items {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.contact-items p,
.footer-card p {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.contact-items a:hover,
.footer-card a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(7, 28, 52, 0.08);
}

.contact-form-wrap .title {
  font-size: clamp(34px, 4vw, 48px);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.form label {
  display: block;
  color: #304254;
  font-size: 13px;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cfd8e1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 154, 45, 0.15);
}

.form textarea {
  min-height: 135px;
  resize: vertical;
}

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

.notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  color: #225a2c;
  background: #edf7ef;
  border-radius: 8px;
}

.calendly-frame {
  overflow: hidden;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(7, 28, 52, 0.08);
}

.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 700px;
  overflow: hidden;
  background: #fff;
}

.calendly-inline-widget:empty {
  border: 1px solid var(--line);
}

.contact-map {
  width: 100%;
  min-height: 480px;
  display: block;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tiny-icon {
  width: 18px;
  height: 20px;
  flex: 0 0 18px;
  margin: 3px 11px 0 0;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.button-light {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.button-light:hover {
  color: #fff;
}

.button-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
}

.button-outline:hover {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.site-footer {
  padding: 65px 0 24px;
  color: #dce5ee;
  background: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
}

.footer-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.footer-card > p:not(:has(.tiny-icon)) {
  color: #adbdcc;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.copyright {
  margin: 48px 0 0;
  padding-top: 20px;
  color: #8295a8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .nav {
    gap: 15px;
    font-size: 13px;
  }

  .logo {
    width: 155px;
    flex-basis: 155px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 82px;
  }

  .nav-wrap {
    min-height: 82px;
  }

  .logo {
    width: 150px;
    height: 72px;
    flex-basis: 150px;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    color: var(--ink);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(6, 27, 49, 0.14);
  }

  .nav.open {
    display: flex;
    flex-direction: column;
  }

  .nav a:not(.cta) {
    padding: 14px 8px;
    border-bottom: 1px solid #edf0f3;
  }

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

  .nav .cta {
    margin-top: 16px;
    text-align: center;
  }

  .split,
  .trust-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    width: min(100%, 560px);
    justify-self: center;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 670px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(3, 18, 34, 0.86), rgba(4, 25, 45, 0.58));
  }

  .hero-panel {
    padding-block: 70px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-kicker {
    font-size: 18px;
  }

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

  .section {
    padding: 74px 0;
  }

  .split {
    gap: 42px;
  }

  .experience-list,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .achievement {
    min-height: 0;
  }

  .service-copy {
    padding: 24px;
  }

  .testimonial {
    padding: 32px 22px;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero .container {
    padding-block: 62px;
  }

  .page-hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 24px;
  }

  .contact-card,
  .contact-form-wrap {
    padding: 27px 22px;
  }

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

  .calendly-frame {
    padding: 7px;
  }

  .calendly-inline-widget {
    min-width: 0;
  }

  .contact-map {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
