/* V6 — screenshot-aligned Home and About Us refinements */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

.home-page,
.about-page {
  --container: min(1600px, calc(100% - 88px));
  --ink: #21146f;
  --ink-2: #34346f;
  --muted: #566080;
  --pink: #ed5bad;
  --pink-2: #d94b9e;
  --pink-soft: #fbe4f6;
  color: #211b58;
  font-family: 'Manrope', 'DM Sans', Arial, sans-serif;
  background: #fff;
}
.home-page .container,
.about-page .container {
  width: var(--container);
  max-width: 1600px;
}
.home-page .site-header,
.about-page .site-header {
  --header-h: 78px;
  background: rgba(255, 255, 255, .985);
  border-bottom: 1px solid rgba(230, 219, 241, .8);
  box-shadow: 0 2px 12px rgba(44, 28, 90, .025);
}
.home-page .nav-wrap,
.about-page .nav-wrap {
  min-height: 78px;
  gap: 20px;
}
.home-page .logo,
.about-page .logo {
  width: clamp(190px, 22vw, 232px);
  max-width: 232px;
}
.home-page .nav,
.about-page .nav {
  gap: 0;
}
.home-page .nav a,
.about-page .nav a {
  padding: 12px 8px;
  border-radius: 0;
  font-family: 'Manrope', 'DM Sans', Arial, sans-serif;
  font-size: clamp(.72rem, .86vw, .84rem);
  font-weight: 600;
  letter-spacing: -.015em;
  color: #201b53;
}
.home-page .nav a:hover,
.about-page .nav a:hover,
.home-page .nav a.active,
.about-page .nav a.active {
  color: #1e126f;
  background: transparent;
}
.home-page .nav a.active::after,
.about-page .nav a.active::after {
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 2px;
  background: #ed5bad;
}
.home-page .search-btn,
.about-page .search-btn {
  width: 36px;
  height: 38px;
  margin-left: 10px;
  flex: 0 0 36px;
  background: transparent;
  border-radius: 50%;
  color: #20156d;
}
.home-page .menu-btn,
.about-page .menu-btn {
  background: #fff3fb;
  color: #251a71;
  border: 1px solid #f4ddec;
}
.home-page .mobile-nav,
.about-page .mobile-nav {
  top: var(--header-h);
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100dvh - var(--header-h));
  padding: 12px clamp(18px, 4vw, 28px) 20px;
  border: 0;
  border-top: 1px solid #f0e5f2;
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 24px 40px rgba(32, 22, 83, .15);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.home-page .mobile-nav a,
.about-page .mobile-nav a {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 700 .95rem/1.3 'Manrope', 'DM Sans', Arial, sans-serif;
  color: #26205f;
}
.home-page .mobile-nav a.active,
.about-page .mobile-nav a.active {
  color: #921d88;
  border-color: #f4d5eb;
  background: linear-gradient(100deg, #fff2fa, #f8f2ff);
}
.home-page .mobile-search button,
.about-page .mobile-search button {
  font: 700 .92rem 'Manrope', 'DM Sans', Arial, sans-serif;
  border: 1px solid #efd8eb;
  background: #fff4fb;
}

/* The hero reference uses one panorama spanning the viewport with text over its
   intentionally pale left side. Keeping it in one layer prevents the image from
   looking like only half a picture in a separate right-hand column. */
.home-page .hero-full,
.about-page .hero-full {
  position: relative;
  overflow: hidden;
  background: #fbf3fc;
}
.home-page .hero-shell,
.about-page .hero-shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 0;
  isolation: isolate;
}
.home-page .hero-shell { height: clamp(440px, 44.4vw, 660px); }
.about-page .hero-shell { height: clamp(420px, 41.5vw, 620px); }
.home-page .hero-copy,
.about-page .hero-copy {
  position: relative;
  z-index: 2;
  width: min(48%, 740px);
  min-width: 0;
  padding: 38px 0 40px clamp(42px, 5vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-page .hero-media,
.about-page .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #f9effb;
}
.home-page .hero-media img,
.about-page .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center 53%;
}
.about-page .hero-media img { object-position: center 46%; }
.home-page .hero-media::after,
.about-page .hero-media::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 250, 254, .90) 0%,
    rgba(255, 249, 254, .79) 30%,
    rgba(255, 249, 254, .44) 44%,
    rgba(255, 249, 254, .06) 61%,
    rgba(255, 249, 254, 0) 100%);
  pointer-events: none;
}
.home-page .eyebrow,
.about-page .eyebrow {
  margin-bottom: 10px;
  color: #c959b5;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .10em;
}
.home-page .display,
.about-page .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #20136c;
  font-size: clamp(3.25rem, 5.6vw, 5.5rem);
  line-height: .88;
  letter-spacing: -.045em;
}
.home-page .lead,
.about-page .lead {
  color: #221a61;
  font-family: 'Manrope', 'DM Sans', Arial, sans-serif;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 1.56;
  margin-top: 14px;
}
.home-page .hero-note,
.about-page .hero-note {
  color: #515a7d;
  font-size: clamp(.85rem, .97vw, .97rem);
  line-height: 1.5;
  margin-top: 10px;
}
.home-page .actions,
.about-page .actions { margin-top: 22px; gap: 12px; }
.home-page .btn,
.about-page .btn {
  font-family: 'Manrope', 'DM Sans', Arial, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  min-height: 42px;
  padding: 11px 22px;
}
.home-page .btn.primary,
.about-page .btn.primary {
  background: linear-gradient(100deg, #f36cb8 0%, #e84ea8 100%);
  box-shadow: 0 7px 18px rgba(228, 78, 168, .16);
}

/* Restore the horizontal visual rhythms visible in the screenshots. */
.home-page .feature-strip,
.about-page .feature-strip {
  background: linear-gradient(105deg, #fffafd, #fff5fc 58%, #fbf8ff);
  border-color: #f2e7f1;
}
.home-page .feature-grid,
.about-page .feature-grid {
  width: min(1600px, calc(100% - 96px));
  max-width: 1600px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
}
.home-page .feature,
.about-page .feature {
  min-width: 0;
  min-height: 142px;
  padding: 18px clamp(10px, 1.5vw, 22px);
  gap: 12px;
  border-right: 1px solid #f0e3f1;
}
.home-page .feature:last-child,
.about-page .feature:last-child { border-right: 0; }
.home-page .feature .icon-circle,
.about-page .feature .icon-circle {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  background: #fbe1f5;
}
.home-page .feature .icon-circle svg,
.about-page .feature .icon-circle svg { width: 27px; height: 27px; }
.home-page .feature h3,
.about-page .feature h3 {
  font: 700 clamp(.98rem, 1.12vw, 1.16rem)/1.08 'Manrope', 'DM Sans', Arial, sans-serif;
  letter-spacing: -.025em;
  margin-bottom: 7px;
  color: #211963;
}
.home-page .feature p,
.about-page .feature p { font-size: .78rem; line-height: 1.45; color: #69718e; }
#manufacturing { scroll-margin-top: 96px; }

.home-page .section,
.about-page .section { padding-block: 18px; }
.home-page .section.compact,
.about-page .section.compact { padding-block: 13px; }
.home-page .section.soft,
.about-page .section.soft { background: linear-gradient(100deg, #fff8fc 0%, #fcf6ff 100%); }
.home-page .h2,
.about-page .h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #20146b;
  font-size: clamp(2.35rem, 3.55vw, 3.7rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.home-page .split-copy .lead,
.about-page .split-copy .lead { color: #565e7e; font-size: .91rem; line-height: 1.55; }

/* The Home purpose picture intentionally bleeds to the right edge as in the reference. */
.home-page .purpose-section { padding-block: 28px; }
.home-page .purpose-section .container.split {
  width: min(1600px, calc(100% - 52px));
  max-width: 1600px;
  margin-left: clamp(26px, 5vw, 90px);
  margin-right: 0;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  gap: clamp(24px, 4vw, 64px);
}
.home-page .purpose-section .media-card.auto {
  margin-right: calc(-1 * clamp(26px, 5vw, 90px));
  border-radius: 20px 0 0 20px;
  box-shadow: none;
  background: transparent;
}
.home-page .purpose-section .media-card.auto img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}
.home-page .purpose-section .split-copy { padding-block: 10px; }
.home-page .purpose-section .split-copy .h2 { max-width: 540px; }

/* Home portfolio cards: taller, cleaner photos like the supplied screenshot. */
.home-page .portfolio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.home-page .portfolio-card {
  border: 1px solid #f0e7f2;
  border-radius: 13px;
  background: #fffafd;
  box-shadow: none;
  min-width: 0;
}
.home-page .portfolio-card img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 2.5 / 1 !important;
  object-fit: cover !important;
  object-position: center;
  background: #fbf5fc;
}
.home-page .portfolio-body { padding: 13px 14px 15px; }
.home-page .portfolio-body h3 { font: 700 1rem/1.25 'Manrope', 'DM Sans', Arial, sans-serif; color: #251b6b; }
.home-page .portfolio-body p { margin-top: 7px; font-size: .78rem; line-height: 1.48; color: #68718f; }
.home-page .portfolio-card:hover { transform: translateY(-2px); }

/* Full-width banner artwork; don't constrain a pre-designed strip inside a card. */
.home-page main > .section:last-of-type,
.about-page main > .section:last-of-type { padding: 0; }
.home-page .full-bleed-image,
.about-page .full-bleed-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.home-page .full-bleed-image img,
.about-page .full-bleed-image img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: none;
  object-fit: contain !important;
}

/* About value cards and full story collage/captions. */
.about-page .value-grid {
  width: min(1600px, calc(100% - 54px));
  max-width: 1600px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-inline: auto;
}
.about-page .value-card {
  min-width: 0;
  min-height: 246px;
  padding: 14px 22px 17px;
  border-radius: 18px;
  border: 1px solid #fbf1f8;
  background: linear-gradient(145deg, #fffafd 0%, #fff7fc 100%);
  box-shadow: none;
}
.about-page .value-card .icon-circle {
  width: 60px;
  height: 60px;
  margin-bottom: 9px;
  background: #fbe1f5;
}
.about-page .value-card .icon-circle svg { width: 29px; height: 29px; }
.about-page .value-card h3 {
  font: 700 1.24rem/1.15 'Cormorant Garamond', Georgia, serif;
  color: #21145f;
  margin: 0;
}
.about-page .value-card p {
  font: 500 .83rem/1.44 'Manrope', 'DM Sans', Arial, sans-serif;
  color: #5c6684;
  margin-top: 7px;
}
.about-page .value-list { gap: 5px; margin-top: 8px; }
.about-page .value-list span { font: 500 .81rem/1.25 'Manrope', 'DM Sans', Arial, sans-serif; color: #424a70; }
.about-page .value-list span::before { width: 16px; height: 16px; flex-basis: 16px; }
.about-page #story .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 3.2vw, 42px); }
.about-page .story-collage.exact-visual { width: 100%; min-width: 0; }
.about-page .story-main.exact { height: auto; overflow: visible; border-radius: 17px; }
.about-page .story-main.exact img { width: 100%; height: auto !important; object-fit: contain !important; border-radius: 17px; }
.about-page .caption-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.about-page .caption-row span {
  min-width: 0;
  font: 700 clamp(.58rem, .75vw, .74rem)/1.25 'Manrope', 'DM Sans', Arial, sans-serif;
  color: #29205f;
  text-align: center;
  white-space: normal;
}
.about-page .caption-row span::before {
  content: '›';
  color: #e64fac;
  font-weight: 800;
  padding-right: 5px;
}

/* About impact strip follows the metric + label + explanatory line hierarchy. */
.about-page .impact-section { padding-block: 22px; }
.about-page .stat-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  border-radius: 0;
  background: transparent;
}
.about-page .stat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 1px 12px;
  padding: 15px clamp(10px, 1.6vw, 24px);
  min-width: 0;
  border-right: 1px solid #f0e1ef;
}
.about-page .stat:last-child { border-right: 0; }
.about-page .stat-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fbe1f5;
  color: #d64ca6;
}
.about-page .stat-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about-page .stat strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font: 700 clamp(1.28rem, 2.15vw, 2rem)/1 'Cormorant Garamond', Georgia, serif;
  color: #20146b;
  overflow-wrap: anywhere;
}
.about-page .stat-label {
  grid-column: 2;
  grid-row: 2;
  font: 700 .79rem/1.25 'Manrope', 'DM Sans', Arial, sans-serif;
  color: #2f285f;
}
.about-page .stat-description {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-top: 8px;
  font: 500 .78rem/1.43 'Manrope', 'DM Sans', Arial, sans-serif;
  color: #626b88;
}
.about-page .stat-grid + * { margin-top: 0; }

/* Responsive: desktop navigation remains visible at the screenshot width (1024px),
   and a separately scrollable drawer takes over on smaller tablets/phones. */
@media (min-width: 921px) {
  .home-page .nav, .about-page .nav { display: flex !important; }
  .home-page .menu-btn, .about-page .menu-btn { display: none !important; }
}
@media (max-width: 920px) {
  .home-page .nav, .about-page .nav { display: none !important; }
  .home-page .menu-btn, .about-page .menu-btn { display: grid !important; margin-left: auto; }
  .home-page .nav-wrap, .about-page .nav-wrap { gap: 10px; }
  .home-page .logo, .about-page .logo { width: clamp(170px, 35vw, 210px); }
  .home-page .hero-copy, .about-page .hero-copy { width: 51%; padding-left: 5vw; }
  .home-page .display, .about-page .display { font-size: clamp(3rem, 6.2vw, 4.2rem); }
}
@media (max-width: 760px) {
  .home-page, .about-page { --container: calc(100% - 28px); }
  .home-page .nav-wrap, .about-page .nav-wrap { min-height: 74px; }
  .home-page .site-header, .about-page .site-header { --header-h: 74px; }
  .home-page .logo, .about-page .logo { width: clamp(164px, 50vw, 190px); }
  .home-page .hero-shell, .about-page .hero-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .home-page .hero-copy, .about-page .hero-copy {
    order: 1;
    width: 100%;
    padding: 30px 22px 22px;
    background: linear-gradient(110deg, #fff9fd, #fcf3fb 70%, #f8f1ff);
  }
  .home-page .hero-media, .about-page .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    z-index: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .home-page .hero-media img, .about-page .hero-media img {
    position: static;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
  }
  .home-page .hero-media::after, .about-page .hero-media::after { display: none; }
  .home-page .display, .about-page .display { font-size: clamp(2.8rem, 11vw, 4rem); }
  .home-page .h2, .about-page .h2 { font-size: clamp(2rem, 7.2vw, 2.65rem); }
  .home-page .section.compact.soft .container > div:first-child { flex-wrap: wrap; align-items: flex-start !important; }
  .home-page .section.compact.soft .container > div:first-child .btn { margin-left: auto; }
  .home-page .hero-copy .lead, .about-page .hero-copy .lead { max-width: 620px; }
  .home-page .feature-grid, .about-page .feature-grid {
    width: calc(100% - 28px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .feature, .about-page .feature {
    min-height: 104px;
    padding: 14px 8px;
    border-bottom: 1px solid #f0e3f1;
    border-right: 1px solid #f0e3f1;
  }
  .home-page .feature:nth-child(2n), .about-page .feature:nth-child(2n) { border-right: 0; }
  .home-page .feature:nth-last-child(-n+2), .about-page .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .home-page .feature .icon-circle, .about-page .feature .icon-circle { width: 48px; height: 48px; flex-basis: 48px; }
  .home-page .feature .icon-circle svg, .about-page .feature .icon-circle svg { width: 23px; height: 23px; }
  .home-page .feature h3, .about-page .feature h3 { font-size: .88rem; }
  .home-page .feature p, .about-page .feature p { font-size: .7rem; }
  .home-page .section, .about-page .section { padding-block: 24px; }
  .home-page .section.compact, .about-page .section.compact { padding-block: 16px; }
  .home-page .section.compact.soft { padding-block: 20px; }
  .home-page .purpose-section { padding-block: 20px; }
  .about-page .impact-section { padding-block: 18px; }
  .about-page #story .split { grid-template-columns: minmax(0, 1fr); }
  .home-page .purpose-section .container.split {
    width: var(--container);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .home-page .purpose-section .media-card.auto { margin: 0; border-radius: 16px; overflow: hidden; }
  .home-page .purpose-section .split-copy { padding-block: 0; }
  .home-page .split, .about-page .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-page .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-page .portfolio-card img { aspect-ratio: 2.35 / 1 !important; }
  .home-page .portfolio-body { padding: 10px 11px 13px; }
  .home-page .portfolio-body h3 { font-size: .9rem; }
  .home-page .portfolio-body p { font-size: .72rem; }
  .about-page .value-grid {
    width: var(--container);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .about-page .value-card { min-height: 0; padding: 15px 14px 17px; }
  .about-page .value-card .icon-circle { width: 52px; height: 52px; }
  .about-page .value-card h3 { font-size: 1.12rem; }
  .about-page .value-card p, .about-page .value-list span { font-size: .76rem; }
  .about-page .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-page .stat, .about-page .stat:nth-child(2) { border-right: 1px solid #f0e1ef; border-bottom: 1px solid #f0e1ef; padding: 14px 12px; }
  .about-page .stat:nth-child(2n) { border-right: 0; }
  .about-page .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .about-page .stat strong { font-size: clamp(1.2rem, 4.5vw, 1.65rem); }
  .about-page .stat-description { font-size: .72rem; }
  .about-page .caption-row { gap: 3px; }
  .about-page .caption-row span { font-size: .59rem; }
  .home-page main > .section:last-of-type, .about-page main > .section:last-of-type { padding: 0; }
  .home-page .full-bleed-image img, .about-page .full-bleed-image img { width: 100%; }
}
@media (max-width: 480px) {
  .home-page .hero-copy, .about-page .hero-copy { padding: 26px 18px 20px; }
  .home-page .feature-grid, .about-page .feature-grid { width: calc(100% - 20px); }
  .home-page .feature, .about-page .feature { gap: 8px; padding-inline: 6px; }
  .home-page .feature .icon-circle, .about-page .feature .icon-circle { width: 42px; height: 42px; flex-basis: 42px; }
  .home-page .feature .icon-circle svg, .about-page .feature .icon-circle svg { width: 20px; height: 20px; }
  .home-page .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .portfolio-card img { aspect-ratio: 2.65 / 1 !important; }
  .about-page .value-grid { grid-template-columns: minmax(0, 1fr); }
  .about-page .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .about-page .stat, .about-page .stat:nth-child(2), .about-page .stat:nth-child(2n) { border-right: 0; border-bottom: 1px solid #f0e1ef; }
  .about-page .stat:last-child { border-bottom: 0; }
  .about-page .caption-row span { font-size: .55rem; }
}

/* Final fit corrections after checking against the two uploaded screenshots. */
.home-page .hero-media,
.about-page .hero-media {
  inset: 0 0 0 45.4%;
  width: auto;
  height: 100%;
  z-index: 0;
}
.home-page .hero-media img,
.about-page .hero-media img {
  object-fit: cover !important;
  object-position: center;
}
.home-page .hero-media::after,
.about-page .hero-media::after {
  background: linear-gradient(90deg,
    rgba(255, 249, 254, .52) 0%,
    rgba(255, 249, 254, .18) 13%,
    rgba(255, 249, 254, 0) 30%);
}
.home-page .search-btn svg,
.about-page .search-btn svg,
.home-page .menu-btn svg,
.about-page .menu-btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page main > .section:last-of-type > .container.full-bleed-image,
.about-page main > .section:last-of-type > .container.full-bleed-image {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.home-page .footer-main,
.about-page .footer-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.08fr);
  gap: clamp(12px, 1.5vw, 24px);
}
.home-page .footer-brand-logo,
.about-page .footer-brand-logo { width: 150px; max-width: 100%; }
@media (max-width: 760px) {
  .home-page .hero-media,
  .about-page .hero-media {
    inset: auto;
    width: 100%;
    height: auto;
  }
  .home-page .hero-media::after,
  .about-page .hero-media::after { display: none; }
  .home-page .footer-main,
  .about-page .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .footer-brand,
  .about-page .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .home-page .footer-main,
  .about-page .footer-main { grid-template-columns: minmax(0, 1fr); }
  .home-page .footer-brand,
  .about-page .footer-brand { grid-column: auto; }
}

/* Final exact-reference spacing and container alignment */
.home-page .nav-wrap,
.about-page .nav-wrap,
.home-page .container:not(.hero-shell),
.about-page .container:not(.hero-shell) {
  width: min(1600px, calc(100% - 88px)) !important;
  margin-inline: auto;
}
.home-page .nav a,
.about-page .nav a {
  padding-inline: 9px;
  font-size: clamp(.75rem, .92vw, .85rem);
}
.home-page .purpose-section .media-card.auto { margin-right: 0; }
.home-page .section.compact.soft { padding-block: 19px; }
.home-page .search-btn svg,
.about-page .search-btn svg,
.home-page .menu-btn svg,
.about-page .menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .home-page .nav-wrap,
  .about-page .nav-wrap,
  .home-page .container:not(.hero-shell),
  .about-page .container:not(.hero-shell) { width: calc(100% - 28px) !important; }
  .home-page .section.compact.soft { padding-block: 20px; }
}

/* Type hierarchy refined to the medium-weight serif / clean sans balance in the references. */
.home-page .display,
.about-page .display,
.home-page .h2,
.about-page .h2 {
  font-weight: 500;
}
.home-page .hero-copy .lead strong,
.about-page .hero-copy .lead strong { font-weight: 600; }
.home-page .feature h3,
.about-page .feature h3 { font-weight: 600; }
.home-page .portfolio-body h3 { font-weight: 600; }
.about-page .value-card h3 { font-weight: 600; }
.about-page .stat:nth-child(3) strong {
  font-size: clamp(1.05rem, 1.8vw, 1.8rem);
  letter-spacing: -.035em;
  white-space: nowrap;
}
@media (min-width: 981px) {
  .home-page .logo,
  .about-page .logo { width: clamp(195px, 22.5vw, 238px); }
  .home-page .nav a,
  .about-page .nav a { padding-inline: 11px; }
}
@media (min-width: 981px) {
  .home-page .nav, .about-page .nav { display: flex !important; }
  .home-page .menu-btn, .about-page .menu-btn { display: none !important; }
}
@media (max-width: 980px) {
  .home-page .nav, .about-page .nav { display: none !important; }
  .home-page .menu-btn, .about-page .menu-btn { display: grid !important; margin-left: auto; }
  .home-page .logo, .about-page .logo { width: clamp(170px, 35vw, 210px); }
}

/* V6 final desktop match: use the screenshot's full-width image framing and tighter section rhythm. */
@media (min-width: 761px) {
  .home-page .purpose-section .container.split {
    width: calc(100% - 51px) !important;
    max-width: none !important;
    margin-left: 51px !important;
    margin-right: 0 !important;
    grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr) !important;
    gap: 28px !important;
  }
  .home-page .purpose-section .media-card.auto {
    width: calc(100% + 51px) !important;
    max-width: none !important;
    margin: 0 -51px 0 0 !important;
    border-radius: 20px 0 0 20px !important;
  }
  .home-page .purpose-section .split-copy { padding-block: 0 !important; }
  .home-page .purpose-section .split-copy .lead {
    font-size: .88rem !important;
    line-height: 1.44 !important;
    margin-top: 12px !important;
  }
  .home-page .purpose-section .actions { margin-top: 16px !important; }

  .about-page .container.value-grid {
    width: min(1600px, calc(100% - 54px)) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
  }
  .about-page .value-card { min-height: 246px !important; }
  .about-page #story .container.split {
    width: calc(100% - 76px) !important;
    max-width: none !important;
    margin-left: clamp(34px, 5vw, 90px) !important;
    margin-right: 0 !important;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
    gap: 20px !important;
  }
  .about-page #story .split-copy .lead,
  .about-page #story .split-copy .body {
    font-size: .86rem !important;
    line-height: 1.42 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }
  .about-page #story .split-copy .actions { margin-top: 16px !important; }
  .about-page .impact-section { padding-block: 16px !important; }
}

/* Avoid forced crops on the four portfolio photographs; keep their complete source frames. */
.home-page .portfolio-card img {
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}

/* Lighter navigation typography closer to the supplied visual reference. */
.home-page .nav a,
.about-page .nav a {
  font-family: 'Manrope', 'DM Sans', Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -.015em;
}
.home-page .hero-copy .lead,
.about-page .hero-copy .lead,
.home-page .hero-note,
.about-page .hero-note,
.home-page .split-copy .lead,
.about-page .split-copy .lead,
.about-page .split-copy .body,
.home-page .portfolio-body p,
.about-page .value-card p {
  font-weight: 400 !important;
}

@media (max-width: 760px) {
  .home-page .purpose-section .container.split {
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  .home-page .purpose-section .media-card.auto {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 16px !important;
  }
  .about-page .container.value-grid {
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
  .about-page #story .container.split {
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .home-page .portfolio-card img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Keep the purpose image complete while letting its right edge meet the viewport edge. */
@media (min-width: 761px) {
  .home-page .purpose-section .media-card.auto {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 20px 0 0 20px !important;
    overflow: hidden;
  }
  .home-page .purpose-section .media-card.auto img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  .home-page .portfolio-card img {
    height: 90px !important;
    max-height: 90px;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center;
  }
}
@media (max-width: 760px) {
  .home-page .portfolio-card img {
    height: auto !important;
    max-height: none;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Final Home vertical rhythm: match the taller purpose image and compact portfolio cards. */
@media (min-width: 761px) {
  .home-page .purpose-section { padding-block: 20px !important; }
  .home-page .purpose-section .media-card.auto img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  .home-page .section.compact.soft {
    padding-top: 26px !important;
    padding-bottom: 25px !important;
  }
  .home-page .portfolio-grid { margin-top: 23px !important; }
  .home-page .portfolio-body { padding: 10px 12px 11px !important; }
  .home-page .portfolio-body h3 { font-size: .94rem !important; line-height: 1.2 !important; }
  .home-page .portfolio-body p { margin-top: 5px !important; font-size: .75rem !important; line-height: 1.38 !important; }
}
@media (max-width: 760px) {
  .home-page .purpose-section { padding-block: 20px !important; }
  .home-page .purpose-section .media-card.auto img {
    height: auto !important;
    object-fit: contain !important;
  }
}

/* About card row: retain readable labels while keeping the original compact four-card height. */
@media (min-width: 761px) {
  .about-page .value-card { padding: 12px 20px 13px !important; }
  .about-page .value-card .icon-circle { margin-bottom: 7px !important; }
  .about-page .value-list { gap: 3px !important; margin-top: 5px !important; }
  .about-page .value-list span { line-height: 1.18 !important; }
  .about-page .impact-section { padding-top: 20px !important; padding-bottom: 0 !important; }
}

/* Final About Us alignment: card bottom, story text/collage offset, and impact band. */
@media (min-width: 761px) {
  .about-page .value-card p { line-height: 1.25 !important; }
  .about-page #story { padding-bottom: 11px !important; }
  .about-page #story .split-copy { padding-top: 11px !important; }
  .about-page #story .story-collage { margin-top: -6px !important; }
  .about-page .impact-section { padding-top: 16px !important; padding-bottom: 4px !important; }
  .about-page .impact-section .stat { padding-top: 11px !important; padding-bottom: 11px !important; }
}
@media (min-width: 761px) {
  .about-page #story .story-collage {
    align-self: start !important;
    margin-top: -1px !important;
  }
  .about-page #story .story-main.exact img {
    height: 308px !important;
    object-fit: fill !important;
  }
}
@media (max-width: 760px) {
  .about-page #story .story-main.exact img {
    height: auto !important;
    object-fit: contain !important;
  }
}


/* V7 clarity pass: high-resolution hero photography, brighter About imagery, and live Home commitment text. */
.home-page .hero-media,
.about-page .hero-media {
  inset: 0 0 0 45.4%;
  width: auto;
  height: 100%;
  background: #fff8fd;
}
.home-page .hero-media img,
.about-page .hero-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 51%;
  image-rendering: auto;
  filter: none;
}
.about-page .hero-media img { object-position: center 48%; }
.home-page .hero-media::after,
.about-page .hero-media::after {
  background: linear-gradient(90deg,
    rgba(255, 249, 254, .58) 0%,
    rgba(255, 249, 254, .23) 14%,
    rgba(255, 249, 254, .02) 34%,
    rgba(255, 249, 254, 0) 100%);
}
.home-page .purpose-section .media-card.auto img {
  image-rendering: auto;
  filter: none;
}
.about-page .story-main.exact img {
  filter: none;
}
.home-page .home-commitment-section {
  width: 100%;
  padding: 0;
  margin: 0;
}
.home-page .home-commitment-banner {
  width: 100%;
  min-height: clamp(190px, 19.35vw, 285px);
  display: flex;
  align-items: center;
  background-color: #f8eefe;
  background-image: url('../assets/images/home-commitment-artwork.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.home-page .home-commitment-inner {
  width: 73%;
  margin-left: 13.7%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
  padding-block: 25px;
}
.home-page .home-commitment-copy { min-width: 0; }
.home-page .home-commitment-eyebrow {
  margin: 0 0 7px;
  color: #b86fcd;
  font: 800 clamp(.65rem, .78vw, .78rem)/1.2 'DM Sans', Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-page .home-commitment-copy h2 {
  margin: 0;
  color: #21146a;
  font: 600 clamp(1.3rem, 2.32vw, 2.2rem)/1.03 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-page .home-commitment-copy > p:last-child {
  margin: 9px 0 0;
  color: #4f5780;
  font: 500 clamp(.77rem, .96vw, .94rem)/1.4 'DM Sans', Arial, sans-serif;
  max-width: 890px;
}
.home-page .home-commitment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 130px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(110deg, #f067b7, #e84ea9);
  color: #fff;
  font: 600 .8rem/1 'DM Sans', Arial, sans-serif;
  box-shadow: 0 6px 16px rgba(205, 63, 155, .13);
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-page .home-commitment-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(205, 63, 155, .2);
}
/* Home and About reference screenshots end at the commitment artwork; don't append a site footer. */
.home-page .site-footer,
.about-page .site-footer { display: none !important; }
@media (max-width: 760px) {
  .home-page .hero-media,
  .about-page .hero-media {
    inset: auto;
    width: 100%;
    height: auto;
  }
  .home-page .hero-media img,
  .about-page .hero-media img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
  }
  .home-page .hero-media::after,
  .about-page .hero-media::after { display: none; }
  .home-page .home-commitment-banner {
    min-height: 0;
    background-size: auto 100%;
    background-position: center;
  }
  .home-page .home-commitment-inner {
    width: calc(100% - 36px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 32px;
  }
  .home-page .home-commitment-copy h2 {
    font-size: clamp(1.7rem, 7.1vw, 2.35rem);
    max-width: 460px;
  }
  .home-page .home-commitment-copy > p:last-child {
    font-size: .88rem;
    line-height: 1.48;
  }
  .home-page .home-commitment-button { justify-self: start; min-height: 42px; }
  .home-page .home-commitment-copy .desktop-only { display: none; }
}

@media (max-width: 980px) {
  .home-page .home-desktop-only,
  .about-page .about-desktop-only { display: none; }
}


/* V8: use full portfolio crops cut from the user's Home screenshot; preserve their natural frame. */
.home-page .portfolio-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
@media (max-width: 760px) {
  .home-page .portfolio-card img {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* About commitment: same screenshot artwork; live text and button stay crisp at every size. */
.about-page .about-commitment-section { width: 100%; margin: 0; padding: 0; }
.about-page .about-commitment-banner {
  width: 100%;
  aspect-ratio: 1024 / 242;
  min-height: 215px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #fbf0fc;
  background-image: url('../assets/images/about-commitment-artwork.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.about-page .about-commitment-inner {
  width: 63.5%;
  margin-left: 34.1%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 25px);
  padding-block: 20px;
}
.about-page .about-commitment-copy { min-width: 0; }
.about-page .about-commitment-eyebrow {
  margin: 0 0 7px;
  color: #b86fcd;
  font: 800 clamp(.65rem, .78vw, .78rem)/1.2 'DM Sans', Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-page .about-commitment-copy h2 {
  margin: 0;
  color: #21146a;
  font: 600 clamp(1.3rem, 2.32vw, 2.2rem)/1.03 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.about-page .about-commitment-copy > p:last-child {
  margin: 9px 0 0;
  color: #4f5780;
  font: 500 clamp(.76rem, .92vw, .91rem)/1.38 'DM Sans', Arial, sans-serif;
  max-width: 100%;
}
.about-page .about-commitment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(110deg, #f067b7, #e84ea9);
  color: #fff;
  font: 600 .8rem/1 'DM Sans', Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(205, 63, 155, .13);
}
@media (max-width: 980px) and (min-width: 761px) {
  .about-page .about-commitment-inner { width: 64%; margin-left: 33.5%; gap: 10px; }
  .about-page .about-commitment-button { min-width: 126px; padding-inline: 12px; font-size: .73rem; }
  .about-page .about-commitment-copy h2 { font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
}
@media (max-width: 760px) {
  .about-page .about-commitment-banner {
    aspect-ratio: auto;
    min-height: 350px;
    background-size: auto 100%;
    background-position: 28% center;
  }
  .about-page .about-commitment-inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
    padding: 24px 0;
  }
  .about-page .about-commitment-copy {
    padding: 15px 16px 17px;
    border-radius: 15px;
    background: rgba(255, 250, 255, .88);
    box-shadow: 0 4px 18px rgba(75, 36, 113, .05);
  }
  .about-page .about-commitment-copy h2 { font-size: clamp(1.8rem, 7vw, 2.25rem); }
  .about-page .about-commitment-copy > p:last-child { font-size: .88rem; line-height: 1.48; }
  .about-page .about-commitment-desktop-only { display: none; }
  .about-page .about-commitment-button { justify-self: start; min-height: 42px; margin-left: 16px; }
}


/* Final desktop sizing for About's commitment banner to match the supplied screenshot. */
@media (min-width: 981px) {
  .about-page .about-commitment-inner { width: 58%; margin-left: 34.1%; grid-template-columns: minmax(0, 1fr) 160px; gap: 20px; }
  .about-page .about-commitment-copy h2 { font-size: clamp(1.7rem, 3.05vw, 2.15rem); }
  .about-page .about-commitment-copy > p:last-child { font-size: clamp(.72rem, 1.02vw, .91rem); line-height: 1.38; }
  .about-page .about-commitment-button { min-width: 160px; }
}

/* Keep screenshot-sourced photography at its natural ratios; do not widen or crop it. */
@media (min-width: 761px) {
  .home-page .purpose-section .media-card.auto img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  .about-page #story .story-main.exact img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Consistent full-width brand and navigation scale shared with the other pages. */
.home-page .site-header .brand,.about-page .site-header .brand{flex:0 0 auto;min-width:0;max-width:none;overflow:visible}
.home-page .site-header .logo,.about-page .site-header .logo{display:block;width:clamp(180px,19vw,205px);max-width:none;height:auto;max-height:none;object-fit:contain;object-position:left center;flex:0 0 auto}
.home-page .site-header .nav a,.about-page .site-header .nav a{font-size:12px;line-height:1.2;font-weight:600;padding:10px 8px;letter-spacing:0;white-space:nowrap}
.home-page .site-header .search-btn,.about-page .site-header .search-btn{width:36px;height:36px;min-width:36px;flex:0 0 36px}
@media (max-width:1100px) and (min-width:981px){
 .home-page .site-header .nav-wrap,.about-page .site-header .nav-wrap{gap:12px}
 .home-page .site-header .logo,.about-page .site-header .logo{width:178px}
 .home-page .site-header .nav a,.about-page .site-header .nav a{font-size:11px;padding-inline:6px}
 .home-page .site-header .search-btn,.about-page .site-header .search-btn{margin-left:2px}
}


/* About mobile commitment-artwork visibility and story-collage clarity refinement. */
@media (max-width: 760px) {
  .about-page .about-commitment-banner {
    min-height: 0;
    aspect-ratio: auto;
    background-size: auto 265px;
    background-position: left top;
    background-color: #fbf0fc;
  }
  .about-page .about-commitment-inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 280px 0 24px;
  }
  .about-page .about-commitment-copy {
    padding: 15px 16px 17px;
    border-radius: 15px;
    background: rgba(255, 250, 255, .92);
    box-shadow: 0 4px 18px rgba(75, 36, 113, .05);
  }
  .about-page .about-commitment-copy h2 { font-size: clamp(1.8rem, 7vw, 2.25rem); }
  .about-page .about-commitment-copy > p:last-child { font-size: .88rem; line-height: 1.48; }
  .about-page .about-commitment-desktop-only { display: none; }
  .about-page .about-commitment-button { justify-self: start; min-height: 42px; margin-left: 16px; }
}

/* v03: give the About hero's serif descenders room between all three lines. */
body.about-page .hero-copy h1.display {
  line-height: 1.12;
}

/* Requested content update: keep the five-year-plan heading above the existing image collage on desktop and mobile. */
.about-page #story .five-year-plan-heading {
  margin: 0 0 14px;
  color: #1d2a78;
  line-height: 1.05;
}
.about-page #story .story-collage {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
}
.about-page #story .story-main.exact { order: 2; }
.about-page #story .caption-row { order: 3; }
@media (max-width: 700px) {
  .about-page #story .five-year-plan-heading { margin: 0 0 10px; font-size: clamp(25px, 7vw, 32px); }
}

/* Keep the Home hero copy clear of the microscope photograph without moving the image. */
@media (min-width: 761px) {
  .home-page .hero-copy {
    width: 42.5%;
    padding-right: 16px;
  }
}
