/* Cards & carousel */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card-body {
  padding: 18px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(12, 20, 36, 0.16);
}

/* Themed sections */
.themed { color: var(--navy); }
.elegance { background: linear-gradient(135deg, #ffffff, #f4eee5); }
.signature { background: linear-gradient(135deg, #ffffff, #f4eee5); }
.melody { background: linear-gradient(135deg, var(--stone), var(--gold)); }
.melody-soft { background: linear-gradient(135deg, var(--blush), var(--peach)); }
.community { background: linear-gradient(135deg, var(--stone), var(--gold)); }
.kids { background: linear-gradient(135deg, var(--blush), var(--peach)); }
.kids-soft { background: linear-gradient(135deg, var(--peach), var(--stone)); }

.themed .btn-primary { background: var(--navy); color: var(--ivory); }
.themed .btn-secondary { background: transparent; color: inherit; border-color: rgba(12, 20, 36, 0.18); }

.section-grid .visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Testimonials */
.testimonial-frame {
  max-width: 1180px;
  width: min(1180px, calc(92vw - 20px));
  margin: 50px auto 20px;
  background: var(--white);
  border: 2px solid rgba(209, 191, 162, 0.8);
  border-radius: 26px;
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 20, 36, 0.16);
  will-change: transform;
  transition: transform 120ms ease-out;
}

.testimonial-track {
  --items-per-page: 3;
  --testimonial-gap: 44px;
  --testimonial-offset: 0px;
  display: flex;
  width: 100%;
  gap: var(--testimonial-gap);
  margin-top: 50px;
  transform: translateX(var(--testimonial-offset));
  transition: transform 500ms ease;
}

.testimonial {
  flex: 0 0 calc(
    (100% - (var(--testimonial-gap) * (var(--items-per-page) - 1))) /
    var(--items-per-page)
  );
  text-align: center;
  color: var(--navy);
  padding: 10px;
}

.testimonial blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
}

.testimonial .name {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(12, 20, 36, 0.35);
  background: rgba(12, 20, 36, 0.06);
  padding: 0;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.dot.active {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 20, 36, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 20px rgba(12, 20, 36, 0.2);
  z-index: 2;
}

.coming-soon {
  background: rgba(12, 20, 36, 0.92);
  color: #fff;
}

.testimonial-note {
  max-width: 760px;
  margin: 6px auto 20px;
  color: rgba(12, 20, 36, 0.75);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .testimonial-track { --testimonial-gap: 18px; }
}

@media (max-width: 768px) {
  .testimonial-frame {
    width: min(100%, 94vw);
    padding: 24px 22px 30px;
    border-radius: 22px;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ivory);
  z-index: 20;
  transition: opacity 250ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(12, 20, 36, 0.15);
  border-top-color: var(--navy);
  animation: spin 1s linear infinite;
}

/* Utility */
.footnote {
  color: rgba(247, 244, 239, 0.9);
}

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

/* Lazyload blur */
.lazy {
  filter: blur(12px);
  opacity: 0.7;
  transition: filter 400ms ease, opacity 400ms ease;
}

.lazy.is-loaded {
  filter: blur(0);
  opacity: 1;
}

/* Program cards */
.program-card {
  height: 460px;
  overflow: hidden;
  position: relative;
}

.program-card .card-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.program-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.program-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 34px 16px 35px;
  margin: -112px 0 0px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  width: 100%;
}

.card-subtitle {
  margin: -9px 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.card-title {
  margin: 2px 0 4px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
}

.card-description {
  margin: 0 0 6px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Stories hub */
.stories-hero {
  background: transparent;
  color: var(--navy);
  padding: 32px 0 22px;
}

.stories-hero h1 {
  margin-bottom: 10px;
}

.stories-hero .hero-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.stories-featured-hero {
  padding: 46px 0 18px;
}

.stories-featured-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: #0c1424;
  isolation: isolate;
  box-shadow: 0 20px 40px rgba(12, 20, 36, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  color: inherit;
}

.stories-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  z-index: 1;
}

.stories-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 36, 0.05), rgba(12, 20, 36, 0.72));
  z-index: 2;
}

.stories-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(12, 20, 36, 0.16);
}

.stories-featured-overlay {
  position: relative;
  z-index: 3;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  gap: 10px;
  color: var(--ivory);
}

.stories-featured-overlay .story-tag {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ivory);
}

.stories-featured-overlay h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
}

.stories-featured-overlay p {
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

.stories-intro {
  padding: 18px 0 10px;
}

.stories-intro p {
  max-width: 760px;
  color: var(--text-soft);
}

.stories-section {
  padding: 26px 0;
}

.stories-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.stories-section-header a {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  position: relative;
}

.stories-section-header a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.stories-section-header a:hover::after {
  transform: scaleX(1);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.story-card {
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(12, 20, 36, 0.08);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(12, 20, 36, 0.12);
}

.story-card > * {
  position: relative;
  z-index: 2;
}

.story-card .story-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f4eee5;
}

.story-card .story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 20, 36, 0.08);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
  width: max-content;
}

.story-card h3 {
  margin: 2px 0 4px;
  line-height: 1.2;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-excerpt {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-meta {
  display: flex;
  gap: 10px;
  color: rgba(12, 20, 36, 0.7);
  font-size: 12px;
  align-items: center;
}

.story-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  align-items: center;
}

.story-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.story-link:hover::after {
  transform: scaleX(1);
}

.story-link.secondary {
  color: var(--text-soft);
}

.story-card:hover .story-link::after {
  transform: scaleX(1);
}

.story-link.read-link::after {
  content: '→';
  position: static;
  width: auto;
  height: auto;
  transform: none;
  background: none;
  transition: transform 180ms ease;
}

.story-link.read-link:hover::after {
  transform: translateX(2px);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.story-links a {
  position: relative;
  z-index: 2;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: inherit;
}

.btn-link::after {
  content: '→';
  transition: transform 180ms ease;
}

.btn-link:hover::after {
  transform: translateX(3px);
}

.stories-newsletter {
  padding: 20px 0;
}

.stories-newsletter-inner {
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 26px rgba(12, 20, 36, 0.08);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 16px;
}

.stories-newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stories-newsletter input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(12, 20, 36, 0.16);
  font-size: 14px;
}

.stories-newsletter button {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
  cursor: pointer;
  font-weight: 700;
}

.stories-cta {
  background: transparent;
  padding: 18px 0 36px;
}

.stories-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.1);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 12px 24px rgba(12, 20, 36, 0.08);
}

.story-article-hero {
  padding: 70px 0 28px;
}

.story-article-hero h1 {
  margin-bottom: 8px;
}

.story-article-hero .story-meta {
  margin: 6px 0 0;
}

.story-hero-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 18px;
}

.story-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.story-article-body {
  padding: 6px 0 28px;
}

.story-article-body .container {
  max-width: 820px;
  display: grid;
  gap: 16px;
}

.story-article-body h2 {
  margin: 16px 0 6px;
}

.story-article-body p {
  color: var(--text-soft);
  line-height: 1.62;
  margin: 0;
}

.story-related {
  margin: 24px 0;
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.1);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 12px 24px rgba(12, 20, 36, 0.08);
}

.story-related a {
  text-decoration: none;
}

.back-to-stories {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin: 10px 0 0;
}

.back-to-stories::after {
  content: '←';
  font-size: 13px;
}

@media (max-width: 600px) {
  .story-article-hero { padding: 54px 0 20px; }
  .story-article-body .container { gap: 14px; }
}

@media (max-width: 900px) {
  .stories-featured-card { min-height: 300px; }
  .stories-section-header { flex-direction: column; align-items: flex-start; }
  .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories-newsletter-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .stories-hero { padding: 40px 0 26px; }
  .stories-hero .hero-actions { justify-content: center; }
  .contact-bar-inner { min-width: 0; }
  .stories-featured-card { min-height: 260px; }
  .stories-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .stories-newsletter-inner { padding: 18px; }
}

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

.service-subnav {
  background: var(--white);
  border-bottom: 1px solid rgba(12, 20, 36, 0.06);
  backdrop-filter: none;
  position: sticky;
  top: calc(var(--header-height) - 6px);
  z-index: 6;
  transition: transform var(--transition), opacity var(--transition);
  margin-top: -2px;
}

.service-subnav.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.service-subnav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  flex-wrap: nowrap;
  padding-left: 0;
}

.service-subnav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.service-subnav-links::-webkit-scrollbar {
  display: none;
}

.service-subnav-home {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--navy);
  text-decoration: none;
  margin-right: 15px;
  transform: translateX(4px);
}

.service-subnav-home::before {
  content: '';
  width: 24px;
  height: 24px;
  display: inline-block;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230c1424' aria-hidden='true'%3E%3Cpath d='M12 2.5 2.5 10.4a1 1 0 0 0 .64 1.78H5v8.32A2.5 2.5 0 0 0 7.5 23h3.25v-6.25c0-.69.56-1.25 1.25-1.25h0c.69 0 1.25.56 1.25 1.25V23H16.5A2.5 2.5 0 0 0 19 20.5v-8.32h1.86a1 1 0 0 0 .64-1.78L12 2.5Z'/%3E%3C/svg%3E");
}

.service-subnav-home:focus-visible {
  outline: 2px solid rgba(12, 20, 36, 0.25);
  outline-offset: 4px;
  border-radius: 6px;
}

.service-subnav-link {
  flex: 0 0 auto;
  position: relative;
  white-space: nowrap;
  padding: 6px 10px;
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.service-subnav-more .service-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  text-align: center;
  padding: 6px 10px;
  text-decoration: none;
}

.service-subnav-more {
  text-align: center;
  user-select: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-subnav-link:hover,
.service-subnav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.service-subnav-current {
  font-weight: 700;
  color: var(--navy);
}

.service-subnav-toggle {
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  padding: 6px 6px 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-left: 3px;
  margin-top: 2px;
  margin-bottom: 3px;
}

.service-subnav-toggle:focus-visible {
  outline: 2px solid rgba(12, 20, 36, 0.25);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .service-subnav {
    top: calc(var(--header-height) - 4px);
  }

  .service-subnav-toggle {
    margin-left: 16px;
  }
}

.service-subnav-toggle::before {
  content: '›';
  font-size: 37px;
  font-weight: 800;
  display: inline-block;
  transition: transform 200ms ease;
}

.service-subnav-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.service-subnav-toggle img {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.service-subnav-more {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(12, 20, 36, 0.16);
  padding: 12px 16px;
  display: none;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}

.service-subnav-more.is-open {
  display: flex;
}

.service-hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-hero {
  padding-top: 33px;
  position: relative;
  overflow: hidden;
}

.service-hero .media-block img {
  width: 95%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.service-hero .btn-secondary {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-soft);
}

.service-hero .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(12, 20, 36, 0.16);
}

.service-hero .content-block {
  padding: 0;
}

.service-hero h1 {
  margin-bottom: 10px;
}

.service-hero .lede {
  margin-bottom: 16px;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.service-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}

.service-points li::before {
  content: '•';
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
}

.parallax-img {
  will-change: transform;
  transition: transform 120ms ease-out;
}

.note-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.note-rain .note {
  position: absolute;
  top: -10%;
  font-size: 20px;
  color: rgba(12, 20, 36, 0.33);
  animation: noteFall 8s linear infinite;
}

.note-rain .note:nth-child(1) { left: 12%; animation-duration: 9s; }
.note-rain .note:nth-child(2) { left: 28%; animation-duration: 7.5s; animation-delay: 1s; }
.note-rain .note:nth-child(3) { left: 42%; animation-duration: 8.5s; animation-delay: 0.6s; }
.note-rain .note:nth-child(4) { left: 58%; animation-duration: 7.8s; animation-delay: 1.3s; }
.note-rain .note:nth-child(5) { left: 70%; animation-duration: 9.4s; animation-delay: 0.8s; }
.note-rain .note:nth-child(6) { left: 83%; animation-duration: 8.2s; animation-delay: 1.6s; }
.note-rain .note:nth-child(7) { left: 50%; animation-duration: 10s; animation-delay: 0.4s; }
.note-rain .note:nth-child(8) { left: 6%; animation-duration: 7.2s; animation-delay: 0.7s; }
.note-rain .note:nth-child(9) { left: 18%; animation-duration: 8.8s; animation-delay: 1.1s; }
.note-rain .note:nth-child(10) { left: 34%; animation-duration: 7.6s; animation-delay: 0.3s; }
.note-rain .note:nth-child(11) { left: 46%; animation-duration: 9.6s; animation-delay: 1.4s; }
.note-rain .note:nth-child(12) { left: 62%; animation-duration: 8.1s; animation-delay: 0.9s; }
.note-rain .note:nth-child(13) { left: 76%; animation-duration: 9.2s; animation-delay: 1.7s; }
.note-rain .note:nth-child(14) { left: 90%; animation-duration: 7.4s; animation-delay: 0.5s; }
.note-rain .note:nth-child(15) { left: 24%; animation-duration: 8.9s; animation-delay: 1.2s; }

@keyframes noteFall {
  0% { transform: translateY(-10%) rotate(-6deg); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: translateY(120vh) rotate(6deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .about-logo img { animation: aboutLogoFade 0.6s ease forwards; }
  .parallax-img { transform: none !important; transition: none; }
  .note-rain { display: none; }
}

/* About page layout */
.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.about-hero.brand-layout {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
}

.about-hero-copy {
  max-width: 540px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.value-card {
  padding: 18px;
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(12, 20, 36, 0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.stat-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}

.team-intro {
  grid-column: span 2;
  max-width: 420px;
}

.team-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(12, 20, 36, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(12, 20, 36, 0.08);
}

.team-card .role {
  font-weight: 600;
  color: var(--text-soft);
  margin: 4px 0 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.how-we-work {
  padding: 140px 0 180px;
  text-align: center;
}

.how-we-work-quote {
  margin: 70px auto 0;
  max-width: 860px;
}

.how-we-work-quote blockquote {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(15px, 5vw, 17px);
  line-height: 1.16;
  letter-spacing: -0.6px;
  color: var(--navy);
}

.how-we-work-quote figcaption {
  margin-top: 12px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 20, 36, 0.7);
}

.word-hero {
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 900px;
}

.about-logo {
  width: min(468px, 63vw);
  justify-self: center;
  text-align: center;
}

.about-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  box-shadow: none;
  animation: aboutLogoFade 2s ease forwards, logoFloat 6s ease-in-out infinite 2s;
}

.about-logotype {
  opacity: 0;
  animation: aboutLogoFade 2s ease forwards;
  animation-delay: 0.2s;
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 12px;
}

.about-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.08em;
  color: var(--navy);
}

.about-tagline {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: rgba(12, 20, 36, 0.8);
}

@media (max-width: 768px) {
  .team-intro {
    grid-column: span 1;
  }
}

@keyframes aboutLogoFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(-4px); }
}

.image-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, #f4eee5, #e5d8c9);
  border: 1px dashed rgba(12, 20, 36, 0.25);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: rgba(12, 20, 36, 0.7);
  font-weight: 700;
}

.image-placeholder.image-xl {
  min-height: 280px;
}

.image-placeholder.image-square {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (max-width: 768px) {
  .team-intro {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .card img { height: 160px; }
}
