:root {
  --teal: #087f8c;
  --teal-dark: #056976;
  --navy: #08275a;
  --sky: #8ec9eb;
  --orange: #e39a73;
  --orange-dark: #d4835c;
  --cream: #fbf8f0;
  --white: #ffffff;
  --ink: #112b4c;
  --muted: #50647a;
  --line: rgba(8, 39, 90, 0.16);
  --shadow: 0 18px 50px rgba(8, 39, 90, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Aptos, "Segoe UI", Arial, sans-serif;
  --container: 1340px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner,
.header-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(8, 39, 90, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-calligraphy {
  width: 54px;
  height: 42px;
  background: url("assets/calligraphy-ask.png") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(35%) sepia(33%) saturate(1712%) hue-rotate(140deg) brightness(88%) contrast(96%);
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.brand em,
.footer-brand em,
.about h2 em {
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-style: normal;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  box-shadow: 0 8px 22px rgba(212, 131, 92, 0.2);
  color: var(--navy);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--orange-dark);
  box-shadow: 0 12px 28px rgba(212, 131, 92, 0.28);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.calendar-arrow:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid currentColor;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100svh - var(--header-height)));
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  overflow: hidden;
  background: var(--cream);
}

.hero-copy {
  z-index: 2;
  align-self: center;
  width: min(100% - 48px, 660px);
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
  padding: 92px 28px 150px 0;
}

.hero h1,
.services h2,
.about h2,
.schedule h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 650px;
  color: var(--navy);
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 1.01;
}

.hero-copy > p {
  max-width: 585px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 36px;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  top: -7%;
  bottom: -7%;
  left: -86px;
  width: 165px;
  content: "";
  background: var(--cream);
  border-radius: 0 58% 46% 0 / 0 48% 54% 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.portrait-dots {
  width: 82px;
  height: 58px;
  background-image: radial-gradient(circle, var(--sky) 3px, transparent 3.5px);
  background-size: 24px 24px;
}

.hero-wave {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: -1px;
  left: -2%;
  height: 88px;
  background: var(--teal);
  clip-path: polygon(0 50%, 8% 79%, 18% 49%, 30% 87%, 41% 62%, 56% 96%, 70% 67%, 82% 83%, 92% 56%, 100% 78%, 100% 100%, 0 100%);
}

.services {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: var(--teal);
  color: var(--white);
}

.services-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px 70px;
}

.apple-mark {
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 8px;
}

.apple-mark svg,
.final-apple svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.apple-mark img,
.final-apple img {
  width: 100%;
  height: auto;
}

.services-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 60px;
}

.services h2 {
  max-width: 720px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.05;
}

.services-copy p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.ufli-panel {
  display: grid;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  grid-column: 2;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
}

.ufli-eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ufli-panel h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
}

.ufli-panel p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.ufli-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  list-style: none;
}

.ufli-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.ufli-panel li::before {
  position: absolute;
  top: 0.53em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.service-list {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  grid-template-columns: repeat(4, 1fr);
  grid-column: 2;
}

.service-list article {
  min-height: 220px;
  padding: 26px 24px 0 0;
}

.service-list article + article {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.service-number {
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-list h3 {
  margin: 44px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.55;
}

.about {
  position: relative;
  padding: 120px 0 130px;
  overflow: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(8, 39, 90, 0.05) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 120px;
}

.about h2 {
  color: var(--teal-dark);
  font-size: clamp(58px, 6vw, 86px);
  line-height: 1;
}

.about h2 em {
  font-size: 0.88em;
  font-weight: 400;
}

.about-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.75;
}

.about-copy .text-link {
  margin-top: 32px;
}

.portrait-wrap {
  position: relative;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 0.92;
  border: 9px solid var(--sky);
  border-radius: 47% 53% 46% 54% / 55% 45% 55% 45%;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
}

.portrait-scribble {
  position: absolute;
  top: -42px;
  right: -58px;
  width: 130px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-width: 4;
}

.portrait-dots {
  position: absolute;
  right: -68px;
  bottom: 4px;
  background-image: radial-gradient(circle, var(--navy) 3px, transparent 3.5px);
}

.schedule {
  position: relative;
  padding: 120px 0 160px;
  overflow: hidden;
  background: var(--white);
}

.schedule-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  align-items: center;
  gap: 90px;
}

.schedule h2 {
  max-width: 470px;
  color: var(--navy);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1.02;
}

.schedule-copy > p:not(.setup-note) {
  max-width: 480px;
  margin: 28px 0 32px;
  color: var(--ink);
  font-size: 20px;
}

.setup-note {
  max-width: 455px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.calendar-shell {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.calendar-preview {
  position: relative;
  padding: 34px 38px;
}

.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 30px;
}

.calendar-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  place-items: center;
}

.calendar-arrow svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.calendar-grid {
  display: grid;
  margin-top: 28px;
  gap: 11px 7px;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-day-label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-date {
  display: grid;
  aspect-ratio: 1;
  align-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 14px;
}

.calendar-empty {
  display: grid;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px dashed rgba(8, 39, 90, 0.22);
  border-radius: 12px;
  background: rgba(142, 201, 235, 0.12);
  grid-template-columns: 42px 1fr;
  color: var(--muted);
  font-size: 13px;
}

.calendar-empty strong {
  color: var(--navy);
  font-size: 15px;
}

.calendar-empty-icon {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--orange);
  font-size: 30px;
}

.calendar-live,
.calendar-live iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
  border-radius: inherit;
}

.schedule-wave {
  position: absolute;
  right: -2%;
  bottom: -1px;
  left: -2%;
  height: 90px;
  background: var(--teal);
  clip-path: polygon(0 52%, 12% 84%, 24% 58%, 38% 82%, 50% 52%, 64% 85%, 79% 58%, 91% 84%, 100% 61%, 100% 100%, 0 100%);
}

.final-cta {
  padding: 100px 0;
  background: var(--teal);
  color: var(--white);
}

.final-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
}

.final-apple {
  color: var(--white);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
}

.final-cta p {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.button-light {
  background: var(--cream);
  box-shadow: none;
  color: var(--navy);
}

.button-light:hover {
  background: var(--white);
}

.site-footer {
  padding: 34px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-calligraphy {
  width: 58px;
  height: 42px;
  background: url("assets/calligraphy-ask.png") center / contain no-repeat;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-decoration: none;
}

.footer-email svg {
  width: 22px;
  fill: none;
  stroke: var(--sky);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.setup-dialog {
  width: min(92vw, 520px);
  padding: 48px;
  border: 0;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 30px 90px rgba(8, 39, 90, 0.3);
  color: var(--ink);
  text-align: center;
}

.setup-dialog::backdrop {
  background: rgba(8, 39, 90, 0.66);
  backdrop-filter: blur(4px);
}

.setup-dialog h2 {
  margin: 12px 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
}

.setup-dialog p {
  margin: 0 0 26px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 30px;
}

.dialog-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-size: 28px;
  place-items: center;
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero h1 {
    font-size: clamp(50px, 6vw, 70px);
  }

  .services-inner {
    grid-template-columns: 110px 1fr;
    gap: 32px 44px;
  }

  .services-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ufli-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-inner,
  .schedule-inner {
    gap: 60px;
  }

  .final-inner {
    grid-template-columns: 110px 1fr;
  }

  .final-inner .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .section-inner,
  .header-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 49;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    padding: 26px 24px 30px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    gap: 20px;
    transform: translateY(-140%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    font-size: 18px;
  }

  .site-nav .button {
    width: 100%;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    width: min(calc(100% - 36px), 680px);
    margin: 0 auto;
    padding: 68px 0 48px;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-copy > p {
    font-size: 19px;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-wave {
    height: 62px;
  }

  .services-inner,
  .services-copy,
  .about-inner,
  .schedule-inner,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .ufli-panel,
  .service-list {
    grid-column: auto;
  }

  .apple-mark {
    width: 122px;
    grid-row: auto;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-list article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .service-list article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .portrait-wrap {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .schedule-copy {
    text-align: center;
  }

  .schedule h2,
  .schedule-copy > p,
  .setup-note {
    margin-right: auto;
    margin-left: auto;
  }

  .final-inner {
    text-align: center;
  }

  .final-apple {
    width: 120px;
    margin-inline: auto;
  }

  .final-inner .button {
    grid-column: auto;
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-email {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand span {
    max-width: 150px;
    line-height: 1.05;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .services,
  .about,
  .schedule {
    padding-top: 84px;
  }

  .services-copy p {
    font-size: 17px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article,
  .service-list article + article,
  .service-list article:nth-child(3) {
    min-height: auto;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .service-list h3 {
    margin-top: 16px;
  }

  .portrait-scribble,
  .portrait-dots {
    display: none;
  }

  .calendar-preview {
    padding: 24px 16px;
  }

  .calendar-heading h3 {
    font-size: 22px;
  }

  .calendar-grid {
    gap: 8px 3px;
  }

  .calendar-empty {
    margin-top: 24px;
  }

  .ufli-panel {
    padding: 24px 20px;
  }

  .ufli-panel ul {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 72px 0;
  }

  .footer-email {
    font-size: 14px;
  }

  .setup-dialog {
    padding: 44px 24px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
