@import url("https://fonts.googleapis.com/css2?family=Aboreto&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #29334d;
  --muted: #606c82;
  --blue: #4c6f9f;
  --blue-deep: #3f5d87;
  --blue-soft: #e6eef9;
  --cream: #f7f9fc;
  --sand: #eff3f9;
  --white: #fff;
  --line: #d9e2ef;
  --radius-card: 28px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --brand: "Aboreto", "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@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;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #b6dce5;
  outline-offset: 4px;
  border-radius: 999px;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--cream);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18em;
  color: var(--ink);
  font-family: var(--brand);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: normal;
}

.brand-name span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.site-nav a {
  color: #3c3945;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta):hover,
.footer-links a:hover {
  color: var(--blue);
}

.site-nav .nav-cta {
  padding: 0.8rem 1.1rem;
  border: 1px solid #c2d1e6;
  border-radius: 999px;
  color: var(--blue-deep);
  transition: background 160ms ease, color 160ms ease;
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--blue);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 96px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 0 0 110px 0;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 45%;
}

@media (min-width: 901px) {
  .hero-image {
    width: 110%;
  }

  .hero .hero-content h1 {
    max-width: 2000px;
  }
}

.hero-shade {
  background: linear-gradient(90deg, rgb(35 49 77 / 57%) 0%, rgb(44 62 94 / 35%) 54%, rgb(37 53 79 / 7%) 100%),
    linear-gradient(0deg, rgb(35 49 77 / 22%), transparent 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 100px 130px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.25rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: #d4e3e3;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.1rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero-copy {
  max-width: 510px;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 88%);
  font-size: 1.04rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button--light {
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 999px;
  color: var(--white);
  background: rgb(255 255 255 / 7%);
}

.button--light:hover {
  color: var(--blue-deep);
  background: var(--white);
}

[hidden] {
  display: none !important;
}

.contact-panel .button--light {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.contact-panel .button--light:hover {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.section-pad {
  padding-block: clamp(80px, 10vw, 142px);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: clamp(4rem, 10vw, 9rem);
}

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

.intro h2,
.section-heading h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 4.4vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.intro-copy p:not(.eyebrow) {
  color: var(--muted);
}

.intro-copy .lead {
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.1rem;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.profile-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.profile-card__portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--blue-soft);
  object-fit: cover;
  object-position: center 35%;
}

.profile-card__ornament {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 30%;
  border: 1px solid #b5c9e7;
  border-radius: 50%;
}

.approach {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 12%, rgb(255 255 255 / 72%), transparent 29%),
    var(--blue-soft);
}

.approach::before,
.approach::after {
  position: absolute;
  border: 1px solid rgb(88 126 183 / 15%);
  border-radius: 50%;
  content: "";
}

.approach::before {
  top: -220px;
  right: -30px;
  width: 570px;
  height: 570px;
}

.approach::after {
  top: -160px;
  right: 30px;
  width: 450px;
  height: 450px;
}

.approach-inner {
  position: relative;
  z-index: 1;
}

.approach h2 {
  max-width: 920px;
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
  font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.approach .eyebrow--light {
  color: var(--blue);
}

.approach-bottom {
  display: grid;
  max-width: 790px;
  grid-template-columns: 65px 1fr;
  gap: 1rem;
  margin-left: auto;
  padding-bottom: 0.5rem;
}

.quote-mark {
  color: #7894c0;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
}

.approach-bottom p {
  color: var(--muted);
  font-size: 0.94rem;
}

.approach-bottom .approach-quote {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.55;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.4rem;
}

.section-heading h2 {
  max-width: 600px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 350px;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 1.7rem;
  border: 1px solid rgb(203 216 235 / 75%);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 10px 28px rgb(67 89 124 / 5%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgb(67 89 124 / 10%);
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-block: 2rem 1.25rem;
  place-items: center;
  border: 1px solid #c4d3e9;
  border-radius: 50%;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.3;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.contact {
  padding-block: clamp(70px, 9vw, 120px);
  background: var(--cream);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  padding: clamp(2.2rem, 6vw, 5.5rem);
  color: var(--ink);
  border: 1px solid #d7e2f1;
  border-radius: 48px;
  background:
    radial-gradient(ellipse at 100% 0%, rgb(255 255 255 / 82%), transparent 43%),
    #e7eef8;
  box-shadow: 0 16px 40px rgb(67 89 124 / 7%);
}

.contact .eyebrow--light {
  color: var(--blue);
}

.contact-copy {
  max-width: 620px;
}

.contact h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 1.7rem;
  color: var(--muted);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 1.8rem;
  align-self: end;
  padding: 2rem 0 0 2.5rem;
  border-left: 1px solid #c8d5e8;
}

.contact-item {
  display: grid;
  gap: 0.55rem;
}

.contact-icon {
  color: var(--blue);
  font-size: 1.5rem;
}

.contact-label {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact .text-link {
  margin-top: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.scheduling {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--blue-soft);
}

.scheduling-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 2rem 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.scheduling-panel h2,
.schedule-page h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.scheduling-panel .eyebrow {
  margin-top: 0;
}

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

.scheduling-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.scheduling-button {
  min-height: 48px;
  color: var(--white);
  background: var(--blue);
}

.scheduling-button:hover {
  background: var(--blue-deep);
}

.schedule-page {
  min-height: 60vh;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.schedule-page .container {
  max-width: 820px;
}

.schedule-page h1 {
  margin-bottom: 1.5rem;
}

.schedule-page__copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.schedule-page__contact {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  margin-top: 3rem;
}

.schedule-page__contact h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.schedule-page__contact .contact-copy > p:not(.eyebrow) {
  margin-bottom: 0;
}

.schedule-page__contact .contact-details {
  align-self: center;
  padding-top: 0;
}

.schedule-page__contact .contact-item a {
  color: var(--blue-deep);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item a[href^="mailto:"] {
  white-space: nowrap;
  font-size: clamp(0.8rem, 4vw, 1.2rem);
}

.schedule-page__contact .contact-item a[href^="mailto:"] {
  font-size: clamp(0.8rem, 4vw, 1.1rem);
}

.schedule-page__contact .contact-item a:hover {
  color: var(--blue);
}

.schedule-page__embed {
  display: grid;
  min-height: 280px;
  margin-top: 2rem;
  padding: 2rem;
  place-items: center;
  border: 1px dashed #aebfd7;
  border-radius: var(--radius-card);
  background: var(--sand);
  text-align: center;
}

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

.spwidget-button-wrapper {
  text-align: center;
}

.spwidget-button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.spwidget-button:hover {
  border-color: var(--blue-deep);
  color: var(--white);
  background: var(--blue-deep);
}

.spwidget-button:active {
  color: var(--white);
  background: var(--blue-deep);
}

.text-link--light {
  color: var(--blue-deep);
}

.site-footer {
  padding-block: 2.5rem;
  color: var(--ink);
  background: #eaf0f8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 2rem;
  row-gap: 1.4rem;
}

.brand--footer .brand-name {
  color: var(--ink);
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
}

.footer-links a {
  color: var(--blue-deep);
  font-size: 0.75rem;
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 48px, 700px);
  }

  .header-inner {
    min-height: 84px;
  }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid #c2d1e6;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0 24px 1.2rem;
    border-radius: 0 0 28px 28px;
    background: var(--cream);
    box-shadow: 0 12px 18px rgb(55 78 113 / 9%);
  }

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

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #c2d1e6;
    border-radius: 999px;
  }

  .hero {
    min-height: calc(100svh - 84px);
  }

  .hero-content {
    padding-block: 90px 120px;
  }

  .intro-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 3rem;
  }

  .profile-card__portrait {
    height: 370px;
  }

  .profile-card__caption {
    right: -15px;
  }

  .approach-seal {
    position: static;
    margin: 3rem 0 0 auto;
  }

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

  .service-card {
    min-height: 250px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    border-radius: 36px;
  }

  .contact-details {
    max-width: 400px;
    padding: 2rem 0 0;
    border-top: 1px solid #c8d5e8;
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-name strong {
    font-size: 0.63rem;
  }

  .hero {
    min-height: calc(100svh - 76px);
    align-items: end;
    border-radius: 0 0 60px 0;
  }

  .hero-image {
    width: 100%;
    object-position: center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgb(35 49 77 / 72%) 0%, rgb(44 62 94 / 42%) 55%, rgb(37 53 79 / 12%) 100%);
  }

  .hero-content {
    padding-block: 110px 100px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .hero-note {
    right: 20px;
    bottom: 20px;
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .section-pad {
    padding-block: 76px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3.8rem;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 2.75rem;
  }

  .profile-card {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .profile-card__portrait {
    height: 390px;
  }

  .profile-card__caption {
    right: 0;
  }

  .approach h2 {
    font-size: 3rem;
  }

  .approach-bottom {
    grid-template-columns: 40px 1fr;
    gap: 0.5rem;
  }

  .quote-mark {
    font-size: 3.8rem;
  }

  .approach-seal {
    width: 105px;
    height: 105px;
  }

  .section-heading {
    display: block;
    margin-bottom: 2.4rem;
  }

  .section-heading > p {
    margin-top: 1.2rem;
  }

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

  .scheduling-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .service-icon {
    margin-block: 1.2rem 0.8rem;
  }

  .contact-panel {
    width: 100%;
    gap: 2.5rem;
    padding: 3rem 20px;
    border-radius: 0 36px 0 36px;
  }

  .contact h2 {
    font-size: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .footer-inner > p {
    margin-top: 0.4rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
