:root {
  --bg: #fbfbfc;
  --bg-soft: #f7eef5;
  --surface: #ffffff;
  --surface-muted: #fcf8fb;
  --text: #2d242d;
  --muted: #655866;
  --line: #e5d6e3;
  --line-strong: #d5bdd1;
  --primary: #801c6e;
  --primary-soft: #cc4ad2;
  --content: 68rem;
  --radius-sm: 0.35rem;
  --radius-md: 0.6rem;
  --radius-lg: 0.9rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(204, 74, 210, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.topbar {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.topbar-inner {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.topbar-inner p {
  margin: 0;
}

.topbar-inner a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

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

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

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

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.brand-mark {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name,
.heading-display,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav {
  display: none;
  width: 100%;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.site-nav.is-open {
  display: block;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

main {
  display: block;
}

.hero,
.page-hero {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffefd 0%, #fbf6fa 100%);
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heading-display {
  margin: 0 0 0.9rem;
  font-size: clamp(2.05rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #6f165e;
  color: #fff;
}

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

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

.text-link {
  padding-inline: 0;
  color: var(--primary);
}

.hero-card,
.panel,
.service-card,
.contact-card,
.story-card,
.cta-strip,
.stat-card,
.split-card,
.footer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.hero-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  height: 100%;
  padding: 1rem;
}

.hero-carousel {
  display: grid;
  gap: 0.9rem;
}

.hero-carousel-track {
  position: relative;
  min-height: 24rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-media {
  overflow: hidden;
  min-height: 18rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.hero-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0 0;
}

.hero-slide-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.hero-slide-copy span {
  color: var(--muted);
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.carousel-btn,
.carousel-dot {
  border: 1px solid var(--line);
  background: #fff;
}

.carousel-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.floating-badge,
.floating-top,
.floating-bottom {
  display: none;
}

.section {
  padding: 2.25rem 0;
  border-bottom: 1px solid #f0e5ee;
}

.section-header {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
}

.pill-row,
.stats-grid,
.cards-grid,
.gallery-grid,
.about-grid,
.highlights-grid,
.values-grid,
.steps-grid,
.service-grid,
.contact-list {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.pill {
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary-soft);
  border-radius: var(--radius-sm);
  background: #fff;
}

.stat-card,
.service-card,
.panel,
.story-card,
.contact-card,
.split-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  padding: 1.25rem;
}

.service-card,
.panel,
.contact-card,
.story-card {
  background: #fff;
}

.service-card {
  border-left: 4px solid #e9b4e5;
}

.stat-card {
  min-width: 0;
  background: var(--surface-muted);
  border-top: 3px solid var(--primary);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.25;
}

.stat-card span {
  display: block;
  color: var(--muted);
}

.service-card h3,
.panel h3,
.story-card h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.service-card p,
.panel p,
.story-card p,
.contact-card p,
.contact-card address {
  margin: 0;
  color: var(--muted);
}

.story-card p + p,
.panel p + p,
.service-card p + p,
.contact-card p + p,
.split-card p + p {
  margin-top: 0.8rem;
}

.service-card ul,
.panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.service-card li + li,
.panel li + li {
  margin-top: 0.45rem;
}

.split-card {
  background: var(--surface-muted);
}

.split-card h3,
.split-card h2 {
  margin: 0;
  line-height: 1.2;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
}

.check-list li + li {
  margin-top: 0.7rem;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-soft);
}

.cta-strip {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 3rem;
  padding: 1.4rem;
  background: var(--surface-muted);
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.15;
}

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

.contact-card address {
  font-style: normal;
}

.contact-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-list-wrap {
  background: transparent;
}

.contact-simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-simple-list li {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.contact-simple-list li + li {
  border-top: 0;
}

.contact-simple-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-simple-list strong {
  font-size: 1rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.gallery-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
}

.gallery-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.gallery-card span {
  color: var(--muted);
}

.about-photo-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  height: 100%;
  justify-self: stretch;
}

.about-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.about-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.about-grid > * {
  height: 100%;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.footer-details {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  color: var(--muted);
}

.footer-details p {
  margin: 0;
}

.footer-details a {
  text-decoration: none;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social .icon-dot {
  fill: currentColor;
  stroke: none;
}

.footer-social .social-facebook svg {
  fill: currentColor;
  stroke: none;
}

.footer-top {
  display: grid;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: flex-start;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.section .split-grid + .stats-grid,
.section .story-card + .about-grid,
.section .contact-grid + .cards-grid,
.section .contact-grid + .values-grid,
.section .section-header + .service-grid,
.section .section-header + .contact-grid,
.section .section-header + .cards-grid,
.section .section-header + .values-grid,
.section .section-header + .steps-grid {
  margin-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 40rem) {
  .topbar {
    display: block;
  }

  .topbar-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }

  .pill-row,
  .cards-grid,
  .gallery-grid,
  .values-grid,
  .steps-grid,
  .service-grid,
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-self: start;
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .header-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
    padding-top: 0;
    border-top: 0;
    justify-self: end;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: start;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
    align-items: start;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
    align-items: stretch;
  }

  .about-photo-card {
    justify-self: end;
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .values-grid,
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

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

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