@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #222a33;
  --muted: #46525e;
  --pink: #a5144b;
  --pink-deep: #820b39;
  --blush: #fde3ed;
  --blue: #155775;
  --blue-soft: #e9f6fc;
  --line: #d8e7ee;
  --sans: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 1.6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
h1, h2, h3, figure, p, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { color: var(--pink); font-style: normal; }
:focus-visible { outline: 2px solid #246d79; outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  padding: .65em 1em;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(74rem, calc(100% - 6rem)); margin-inline: auto; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.35rem;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; text-decoration: none; }
.brand-mark {
  width: 2.86rem;
  height: 2.86rem;
  flex: none;
  border: 1px solid #eed6e0;
  border-radius: 50%;
}
.brand-name { font-size: 1.12rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.brand-name span {
  display: block;
  margin-top: .32rem;
  color: var(--blue);
  font: 700 .68rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navigation { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.6rem); }
.navigation a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.navigation a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: .32em; }
.header-inner > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  gap: .72rem;
  padding: .85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .22rem;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button-small { min-height: 2.7rem; padding: .55rem 1rem; font-size: .88rem; }
.button-outline { color: var(--pink); border-color: #d889a6; }
.button-outline:hover { background: #fff0f5; border-color: var(--pink); }
.button-primary { color: white; background: var(--pink); }
.button-primary:hover { background: var(--pink-deep); }

.icon-definitions { display: none; }
.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-link { display: inline-flex; align-items: center; gap: .48rem; }
.inline-social .icon { margin-right: .23em; vertical-align: -.17em; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--pink);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration-color: #c77b97;
  text-underline-offset: .31em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 20% 92%, #fff 0%, #fff0 60%),
    linear-gradient(112deg, #fff5f9 8%, #fff0f5 40%, #e8f7fd 97%);
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 43rem;
  height: 77rem;
  left: max(53%, calc(50% + 7rem));
  top: -16rem;
  border: 1px solid #cf63874d;
  border-radius: 50%;
  rotate: -29deg;
  pointer-events: none;
}
.hero::after { transform: translate(1.1rem, 2.2rem); border-color: #309aca4d; }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 6rem);
  padding-block: clamp(3.25rem, 6.4vw, 5.8rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .68rem;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 1.35rem; height: 1px; flex: none; background: currentColor; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; }
h1 { margin-top: 1.2rem; font-size: clamp(3.8rem, 6.3vw, 6.35rem); letter-spacing: -.05em; }
h1 em { display: block; }
h2 { margin-top: .85rem; font-size: clamp(2.6rem, 4.55vw, 4.7rem); letter-spacing: -.047em; }

.hero-intro { max-width: 26rem; margin-top: 1.4rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.55rem; margin-top: 1.85rem; }

.hero-portrait {
  justify-self: end;
  width: min(100%, 25.4rem);
  padding: .72rem .72rem .52rem;
  border: 1px solid #ebc6d6;
  border-radius: 1.3rem .25rem 1.3rem .25rem;
  background: var(--paper);
  box-shadow: .65rem .65rem 0 #e7c1d745;
}

.portrait-field {
  overflow: hidden;
  aspect-ratio: .79;
  border-radius: .85rem .15rem .85rem .15rem;
  background: var(--blush);
}
.portrait-picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.portrait-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .1rem .7rem;
  flex-wrap: wrap;
  padding: .72rem .14rem .17rem;
  color: var(--blue);
  font-size: .8rem;
}
.portrait-caption-name { color: var(--ink); font-size: 1.08rem; font-weight: 700; line-height: 1.2; }

.section { padding-block: clamp(4.5rem, 8vw, 7.3rem); }
.service { background: var(--paper); }
.service-layout, .questions-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(2rem, 8vw, 7.1rem);
}
.section-lead { color: var(--blue); margin-top: .8rem; font-weight: 600; }
.service-content { align-self: center; color: var(--muted); font-size: 1.08rem; }
.service-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.85rem 0 0;
  gap: 1rem 1.6rem;
}
.service-details div { padding: .9rem 0 0; border-top: 1px solid #b2d9ea; }
.service-details dt { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; }
.service-icon { width: 1.72rem; height: 1.72rem; padding: .22rem; color: var(--blue); border-radius: .4rem; background: var(--blue-soft); }
.service-details dd { margin: .24rem 0 0; font-size: .98rem; }

.about { background: var(--blue-soft); }
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7.5rem);
  width: min(65rem, calc(100% - 6rem));
}

.about-image {
  position: relative;
  justify-self: center;
  width: min(95%, 25rem);
  padding: .65rem;
  border: 1px solid #a4cbdc;
}
.about-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: .9rem -.9rem -.9rem .9rem;
  border: 1px solid #a4cbdc;
  pointer-events: none;
}
.about-image img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: .92;
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--blue-soft);
}
.about-copy > p:not(.eyebrow) { max-width: 32rem; margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.about-copy blockquote {
  margin: 1.35rem 0 .6rem;
  padding: .25rem 0 .25rem .92rem;
  border-left: 2px solid #d98aac;
  color: var(--pink);
  font-size: clamp(1.32rem, 2.25vw, 2.05rem);
  font-weight: 650;
  line-height: 1.35;
}

.first-contact { background: #fff8fb; }
.steps-heading { display: grid; justify-items: center; text-align: center; }
.steps-heading .eyebrow { justify-content: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.2rem 0 0;
  padding-left: 0;
  counter-reset: contact-step;
  list-style: none;
}
.steps li {
  counter-increment: contact-step;
  padding: 1.35rem 1.4rem 1.6rem;
  border: 1px solid #efd3df;
  border-top: 2px solid #de9ab5;
  border-radius: .45rem;
  background: var(--paper);
}
.steps li::before {
  display: block;
  margin-bottom: .55rem;
  content: counter(contact-step) ".";
  color: var(--pink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.steps h3 { font-size: clamp(1.12rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.steps p { margin-top: .6rem; color: var(--muted); }

.questions { background: var(--paper); }
.questions-layout h2 { max-width: 25rem; font-size: clamp(2.45rem, 4vw, 3.75rem); }
.questions-list { border-top: 1px solid #b6d5e2; }
.questions-list details { border-bottom: 1px solid #c8dee8; }
.questions-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
  padding-block: .9rem;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after {
  content: "";
  width: .83rem;
  height: .83rem;
  flex: none;
  background:
    linear-gradient(var(--pink), var(--pink)) center / 100% 1px no-repeat,
    linear-gradient(var(--pink), var(--pink)) center / 1px 100% no-repeat;
}
.questions-list details[open] summary::after { background-size: 100% 1px, 0 0; }
.questions-list details p { padding: 0 1.3rem 1.1rem 0; color: var(--muted); }
.questions-list details p a { color: var(--pink); text-underline-offset: .22em; }

.site-footer {
  padding-top: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid #cfe7f2;
  background: linear-gradient(180deg, #effaff, #e8f5fc);
}
.footer-invitation::before, .footer-invitation::after {
  content: "";
  position: absolute;
  inset: -16rem -11rem auto auto;
  z-index: -1;
  width: 42rem;
  height: 37rem;
  border: 1px solid #b52c6242;
  border-radius: 53% 47% 51% 49%;
  rotate: -23deg;
  pointer-events: none;
}
.footer-invitation::after { inset: -17rem -9rem auto auto; border-color: #1a80b141; }
.footer-invitation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.55rem 3rem;
  padding: clamp(1.5rem, 4.6vw, 4rem);
  border: 1px solid #edc4d5;
  border-radius: 1.5rem .4rem 1.5rem .4rem;
  background: linear-gradient(119deg, #fff6fa 6%, #fbe1ed 74%, #f7e4ef);
}
.footer-copy > p:not(.eyebrow) { max-width: 29rem; margin-top: .7rem; color: var(--muted); }
.footer-invitation > .button { flex: none; margin-bottom: .2rem; }

.footer-information {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.9rem 2rem;
  padding-block: 2.45rem;
  border-bottom: 1px solid #bad7e5;
}
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.05rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.footer-logo { display: inline-block; border: 1px solid #cfe2eb; border-radius: .5rem; overflow: hidden; }
.footer-logo img { width: 7.15rem; height: auto; }
.footer-group { display: grid; justify-items: start; align-content: start; gap: .36rem; }
.footer-group p { color: var(--blue); font-size: .94rem; font-weight: 700; margin-bottom: .13rem; }
.footer-group a { color: var(--ink); font-size: .95rem; text-decoration-color: #7795a4; text-underline-offset: .28em; }
.footer-group .icon { color: var(--pink); }
.footer-group a:hover, .footer-last a:hover { text-decoration-color: currentColor; }
.footer-last {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
  padding-block: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: .85rem;
}
.footer-last a { text-decoration-color: #7795a4; text-underline-offset: .27em; }

@media (max-width: 58rem) {
  .shell, .about-layout { width: calc(100% - 3.75rem); }
  .header-inner { gap: 1rem; }
  .hero-layout { gap: 1.65rem; }
  h1 { font-size: clamp(3.55rem, 7.2vw, 5.65rem); }
  .hero-actions { gap: .45rem 1.05rem; }
  .steps { gap: .85rem; }
  .steps li { padding-inline: 1rem; }
}

@media (max-width: 44rem) {
  .shell, .about-layout { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; padding-top: .78rem; gap: .7rem .6rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 2.55rem; height: 2.55rem; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid var(--line); gap: .5rem; }
  .navigation a { display: inline-flex; align-items: center; min-height: 2.65rem; font-size: .89rem; }
  .hero-layout, .about-layout, .service-layout, .questions-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 2.05rem; padding-block: 3rem 2.6rem; }
  h1 { font-size: clamp(2.85rem, 10.9vw, 4.75rem); }
  h2 { font-size: clamp(2.35rem, 7.8vw, 3.7rem); }
  .hero-intro { margin-top: .92rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-portrait { justify-self: center; width: min(100%, 25rem); }
  .portrait-field { aspect-ratio: .87; }
  .about-image { width: min(90%, 23rem); order: 1; justify-self: start; }
  .steps-heading { justify-items: start; text-align: start; }
  .steps { grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; }
  .steps li { padding: 1rem 1.1rem; }
  .footer-information { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 23rem) {
  .shell, .about-layout { width: calc(100% - 1.75rem); }
  .brand { gap: .38rem; }
  .brand-name { font-size: .97rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .header-inner > .button { gap: .3rem; padding-inline: .55rem; font-size: .79rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .service-details { grid-template-columns: minmax(0, 1fr); }
  .footer-information { column-gap: .85rem; }
  .footer-group a { font-size: .89rem; }
}

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