/* Grace Harbor — About page (editorial) */

:root {
  --about-parchment: #f4ebdd;
  --about-ivory: #fbf7ef;
  --about-cream: #f7f0e4;
  --about-sand: #e7d8c1;
  --about-driftwood: #b7a48b;
  --about-sage-light: #d9ddcf;
  --about-sage: #879275;
  --about-olive: #596247;
  --about-deep-olive: #414a36;
  --about-navy: #173d5a;
  --about-soft-navy: #36566b;
  --about-gold: #d4b36c;
  --about-soft-gold: #e8d8ae;
  --about-charcoal: #35342f;
  --about-body: #5b544a;
  --about-muted: #7a7064;
  --about-border: rgba(100, 86, 66, 0.25);
  --about-shadow: rgba(73, 59, 42, 0.13);
}

body.about-page {
  background: var(--about-parchment);
  color: var(--about-body);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  overflow-x: clip;
}

html:has(body.about-page) {
  scrollbar-gutter: stable;
}

body.about-page .wrapper {
  /* Keep page scroll on the viewport so the scrollbar isn’t trapped under the header */
  overflow: visible !important;
}

body.about-page .page {
  padding-top: 0;
  background: var(--about-parchment);
}

body.about-page .header {
  background: rgba(251, 247, 239, 0.96);
  border-bottom: 1px solid var(--about-border);
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  z-index: 1000;
}

body.about-page .menu__link {
  color: var(--about-charcoal);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 500;
}

body.about-page .menu__link[aria-current="page"] {
  color: var(--about-olive);
  box-shadow: inset 0 -2px 0 var(--about-sage);
}

body.about-page .actions-header__button {
  background: var(--about-olive) !important;
  color: var(--about-ivory) !important;
  border: 1px solid var(--about-olive) !important;
  border-radius: 999px !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

/* Match header + footer logos (olive cutout, same mark) */
body.about-page .header__logo,
body.about-page .footer.gh-home-footer .gh-home-footer__logo {
  position: relative !important;
  display: inline-block !important;
  line-height: 0 !important;
}

body.about-page .header__logo img,
body.about-page .footer.gh-home-footer .gh-home-footer__logo img {
  display: block !important;
  max-height: 3.25rem !important;
  width: auto !important;
  height: auto !important;
  opacity: 0 !important;
  filter: none !important;
}

body.about-page .header__logo::after,
body.about-page .footer.gh-home-footer .gh-home-footer__logo::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-color: #596247 !important;
  -webkit-mask-image: url("../images/Logos/CORNER-LOGO-transparent.png") !important;
  mask-image: url("../images/Logos/CORNER-LOGO-transparent.png") !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  pointer-events: none !important;
}

/* —— Shared —— */
.about-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
}

.about-section__inner {
  width: min(92%, 1180px);
  margin: 0 auto;
}

.about-copy-narrow {
  width: min(90%, 850px);
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-olive);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.about-section h2 {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 650;
  line-height: 1.2;
  color: var(--about-deep-olive);
}

.about-section h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--about-deep-olive);
}

.about-section h4 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--about-olive);
}

.about-section p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--about-body);
  font-size: 1.02rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-section-heading {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-section-heading p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— Hero (mockup match) —— */
.about-hero {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 48vw, 720px);
  overflow: hidden;
  background: var(--about-cream);
}

.about-hero__scene {
  position: absolute;
  inset: 0;
  background-image: url("../images/About%20Page/About-Hero-Scene.png");
  background-repeat: no-repeat;
  /* Prefer upper frame so lighthouse lantern stays in view */
  background-position: 68% 12%;
  background-size: cover;
  z-index: 0;
}

.about-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      92deg,
      #f7f0e4 0%,
      #f7f0e4 28%,
      rgba(247, 240, 228, 0.94) 40%,
      rgba(247, 240, 228, 0.55) 54%,
      rgba(247, 240, 228, 0.12) 70%,
      rgba(247, 240, 228, 0) 100%
    );
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  width: min(92%, 1500px);
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-bottom: 2.5rem;
}

.about-hero__copy {
  width: min(48%, 640px);
  padding: clamp(2rem, 4vw, 4.5rem) clamp(1.25rem, 3vw, 3rem);
}

.about-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-muted);
}

.about-hero__title {
  margin: 0 0 1.1rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--about-charcoal);
}

.about-hero__ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 18rem);
  margin: 0 0 1.25rem;
}

.about-hero__rule {
  flex: 1;
  height: 1px;
  background: var(--about-sage);
  opacity: 0.85;
}

.about-hero__heart {
  color: var(--about-olive);
  font-size: 0.85rem;
  line-height: 1;
}

.about-hero__intro {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
  line-height: 1.7;
  color: var(--about-charcoal);
}

.about-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(48px, 7vw, 90px);
  z-index: 3;
  display: block;
}

/* —— Values pillars under hero —— */
.about-pillars {
  background: var(--about-cream);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2.5rem, 4vw, 3.5rem);
}

.about-pillars__inner {
  width: min(94%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.about-pillar {
  padding: 0.75rem 1.35rem;
  text-align: center;
  border-right: 1px solid rgba(100, 86, 66, 0.18);
}

.about-pillar:last-child {
  border-right: none;
}

.about-pillar__icon {
  display: inline-flex;
  color: var(--about-olive);
  margin-bottom: 0.65rem;
}

.about-pillar h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--about-deep-olive);
}

.about-pillar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--about-body);
}

/* —— Welcome —— */
.about-welcome {
  background: var(--about-cream);
  text-align: center;
}

.about-welcome .about-section__inner {
  text-align: center;
}

/* —— Mission / Vision —— */
.about-foundation {
  background: var(--about-parchment);
}

.about-foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.about-foundation-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(251, 247, 239, 0.94);
  border: 1px solid var(--about-border);
  border-radius: 1rem;
  box-shadow: 0 14px 34px var(--about-shadow);
}

.about-foundation-quote {
  margin-top: 1.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--about-sand);
  font-style: italic;
  font-size: 1.08rem !important;
  color: var(--about-olive) !important;
}

/* —— One Mission. Two Expressions. —— */
.about-expressions {
  background: var(--about-cream);
  text-align: center;
}

.about-expressions__intro {
  text-align: center;
}

.about-expressions__intro p {
  text-align: center;
}

.about-expressions__cards {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.about-expressions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: left;
}

.about-expression-card h3 {
  margin-bottom: 0.85rem;
}

.about-expressions__tagline {
  margin: 1.75rem auto 0 !important;
  max-width: 36rem;
  text-align: center;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.08rem !important;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--about-olive) !important;
}

.about-programs {
  background: var(--about-ivory);
}

.program-division {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.program-division:last-child {
  margin-bottom: 0;
}

.program-division__intro {
  max-width: 48rem;
  margin-bottom: 1.5rem !important;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.program-card {
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--about-cream);
  border: 1px solid var(--about-border);
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px var(--about-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.program-card p {
  font-size: 0.95rem;
  flex: 1;
}

.program-card a {
  margin-top: 0.65rem;
  color: var(--about-deep-olive);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.program-card a:hover,
.program-card a:focus-visible {
  border-bottom-color: var(--about-olive);
  color: var(--about-olive);
}

/* —— Audiences —— */
.about-audiences {
  background: var(--about-parchment);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.audience-card {
  padding: 1.5rem 1.45rem;
  background: rgba(251, 247, 239, 0.94);
  border: 1px solid var(--about-border);
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px var(--about-shadow);
}

.audience-card h3 {
  font-size: 1.1rem;
}

.audience-card p {
  font-size: 0.96rem;
}

/* —— Professional care —— */
.about-professional-care {
  background:
    linear-gradient(180deg, rgba(217, 221, 207, 0.55), rgba(247, 240, 228, 0.92));
  text-align: center;
}

.about-pullquote {
  margin: 2rem auto;
  padding: 1.5rem 1.25rem;
  max-width: 38rem;
  border-left: 3px solid var(--about-sage);
  background: rgba(251, 247, 239, 0.7);
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--about-charcoal);
  text-align: left;
}

.about-emphasis {
  font-size: 1.08rem !important;
  color: var(--about-charcoal) !important;
}

/* —— Family trust —— */
.about-family-trust {
  background: var(--about-cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.trust-card {
  padding: 1.35rem 1.3rem;
  background: var(--about-ivory);
  border: 1px solid var(--about-border);
  border-radius: 0.85rem;
  box-shadow: 0 10px 22px var(--about-shadow);
  text-align: center;
}

.trust-card h3 {
  color: var(--about-olive);
}

.trust-card p {
  font-size: 0.95rem;
}

/* —— Founder —— */
.about-founder {
  background: var(--about-parchment);
}

.about-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.about-founder__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  margin: 0;
  min-width: 0;
}

.about-founder__portrait {
  margin: 0;
  width: 100%;
}

.about-founder__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  border-radius: 1rem;
  border: 1px solid var(--about-border);
  box-shadow: 0 16px 36px var(--about-shadow);
  object-fit: cover;
  object-position: 52% center;
  aspect-ratio: 4 / 5;
}

.about-founder__portrait-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  min-height: 320px;
  aspect-ratio: 4 / 5;
  padding: 2rem;
  text-align: center;
  color: var(--about-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--about-cream);
  border: 1px dashed var(--about-driftwood);
  border-radius: 1rem;
  box-shadow: 0 10px 24px var(--about-shadow);
}

.about-founder__copy p {
  max-width: 42rem;
}

.about-founder__copy strong {
  font-weight: 600;
  color: var(--about-charcoal);
}

.about-founder-background {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(100, 86, 66, 0.18);
}

.about-founder-background__title {
  margin: 0 0 1.35rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 650;
  line-height: 1.25;
  color: var(--about-deep-olive);
}

.about-founder-bg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.about-founder-bg-category {
  min-width: 0;
}

.about-founder-bg-category h4 {
  margin: 0 0 0.7rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--about-olive);
}

.about-founder-bg-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-founder-bg-category li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.05rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--about-body);
}

.about-founder-bg-category li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--about-olive);
}

.about-founder-bg-category strong {
  font-weight: 600;
  color: var(--about-charcoal);
}

.about-founder-bg-category em {
  font-style: italic;
}

/* —— Difference —— */
.about-difference {
  background: var(--about-ivory);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.difference-card {
  padding: 1.45rem 1.4rem;
  background: var(--about-cream);
  border: 1px solid var(--about-border);
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px var(--about-shadow);
}

.difference-card p {
  font-size: 0.96rem;
}

/* —— Promise —— */
.about-promise {
  background: var(--about-cream);
  text-align: center;
}

.about-promise__statement {
  font-size: 1.08rem !important;
}

.about-promise__closing {
  margin-top: 1.5rem !important;
  font-size: 1.2rem !important;
  font-weight: 650;
  color: var(--about-deep-olive) !important;
  letter-spacing: 0.02em;
}

/* —— Disclaimer —— */
.about-disclaimer {
  padding: 2rem 0 2.75rem;
  background: var(--about-sage-light);
}

.about-disclaimer p {
  margin: 0;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--about-charcoal);
}

/* —— Footer alignment on About —— */
body.about-page .footer.gh-home-footer {
  background: var(--about-parchment);
  border-top: 1px solid var(--about-border);
}

body.about-page .footer.gh-home-footer .gh-site-support-invite__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.75rem 1rem !important;
  width: auto !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.about-page .footer.gh-home-footer .gh-site-support-btn,
body.about-page .footer.gh-home-footer .gh-site-support-btn--harbor,
body.about-page .footer.gh-home-footer .gh-site-support-btn--sent {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  background: #424a36 !important;
  border: 1px solid #424a36 !important;
  color: #fffdf8 !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.35rem !important;
  text-decoration: none !important;
}

body.about-page .footer.gh-home-footer .gh-site-support-btn:hover,
body.about-page .footer.gh-home-footer .gh-site-support-btn:focus-visible {
  background: #353b2c !important;
  border-color: #353b2c !important;
  color: #fffdf8 !important;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .program-grid,
  .audience-grid,
  .trust-grid,
  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-founder-grid {
    grid-template-columns: 1fr;
  }

  .about-founder__portrait img {
    aspect-ratio: 4 / 3;
    object-position: 52% 42%;
  }

  .about-founder-bg-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-founder__copy p {
    max-width: none;
  }

  .about-expressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero__copy {
    width: min(62%, 620px);
  }

  .about-pillars__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .about-pillar:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero__scene {
    background-position: 70% 8%;
  }

  .about-hero__wash {
    background:
      linear-gradient(
        180deg,
        rgba(247, 240, 228, 0.94) 0%,
        rgba(247, 240, 228, 0.88) 58%,
        rgba(247, 240, 228, 0.45) 100%
      );
  }

  .about-hero__inner {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .about-hero__copy {
    width: 100%;
    padding: 2.25rem 1.4rem 3rem;
  }

  .about-foundation-grid,
  .program-grid,
  .audience-grid,
  .trust-grid,
  .difference-grid,
  .about-pillars__inner,
  .about-expressions-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar {
    border-right: none;
    border-bottom: 1px solid rgba(100, 86, 66, 0.18);
    padding: 1.25rem 1rem;
  }

  .about-pillar:last-child {
    border-bottom: none;
  }

  .about-section {
    padding: 3rem 0;
  }

  .about-pullquote {
    text-align: left;
  }

  body.about-page .footer.gh-home-footer .gh-site-support-invite__actions {
    flex-wrap: wrap !important;
  }
}
