/* =========================================================
   CLARE
   Shared design tokens, typography, buttons, header and
   footer are inherited from main.css + header-footer.css.
========================================================= */


/* =========================================================
   PAGE TRANSITION
========================================================= */

.clare-page {
  animation: clare-page-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.clare-page.is-leaving {
  opacity: 0;
  transition: opacity 220ms ease;
}

@keyframes clare-page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* =========================================================
   HERO
========================================================= */

.clare-hero {
  min-height: calc(100svh - var(--header-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding:
    clamp(72px, 7vw, 108px)
    0
    calc(clamp(70px, 6.5vw, 104px) + 2em);

  background: #F5F8F4;
}


/*
 * Clare-specific atmosphere.
 *
 * These are intentionally almost invisible.
 * They give the hero structure without turning
 * Clare into a separate visual brand.
 */


.clare-hero::after {
  content: "";

  position: absolute;
  z-index: -1;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 33%,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.38) 20%,
      rgba(255, 255, 255, 0) 48%
    );
}


.clare-hero-inner {
  position: relative;
  z-index: 1;

  display: grid;
  justify-items: center;

  text-align: center;
}


.clare-hero-copy {
  position: relative;
  z-index: 2;

  width: min(760px, 100%);
}


.clare-hero-headshot {
  display: flex;
  justify-content: center;

  margin-bottom: clamp(24px, 3vw, 36px);
}


.clare-hero-headshot img {
  width: clamp(210px, 17vw, 250px);
  height: clamp(210px, 17vw, 250px);

  object-fit: contain;

  display: block;
}


.clare-hero-copy h1 {
  margin: 0;

  color: var(--text);

  font-family: var(--font-serif);

  font-size: clamp(58px, 6.4vw, 92px);
  line-height: 0.96;

  letter-spacing: -0.025em;

  font-weight: 600;
}


.clare-hero-kicker {
  margin: 22px 0 0;

  color: var(--text);

  font-family: var(--font-serif);

  font-size: clamp(27px, 2.7vw, 40px);
  line-height: 1.08;

  letter-spacing: -0.018em;

  font-weight: 500;
}


.clare-hero-description {
  width: min(620px, 100%);

  margin:
    22px
    auto
    0;

  color: #343431;

  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.58;

  letter-spacing: -0.012em;

  text-wrap: pretty;
}


.clare-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 30px;
}


.clare-primary-button {
  min-height: 46px;
  padding-inline: 22px;
}


.clare-hero-visual {
  width: min(570px, 82vw);

  margin-top: clamp(44px, 5vw, 70px);

  display: grid;
  place-items: center;
}


.clare-hero-visual img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;
}


/* =========================================================
   STORY
========================================================= */

.clare-story {
  padding:
    clamp(40px, 4.5vw, 68px)
    0
    clamp(48px, 5vw, 76px);

  background: #FFFFFF;
}


.clare-story-shell {
  display: grid;

  gap: 0;
}


.clare-story-row {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: clamp(54px, 7vw, 104px);

  align-items: center;

  padding:
    clamp(58px, 6vw, 84px)
    0;

  isolation: isolate;
}


.clare-story-row-reverse {
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 0.9fr);
}


/*
 * One controlled tonal interruption.
 * This makes the three Clare moments read as a sequence
 * without turning the whole page into blocks of color.
 */

.clare-story-row-reverse::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: 0;
  bottom: 0;

  left: 50%;

  width: 100vw;

  transform: translateX(-50%);

  background: var(--surface, #F7F7F4);
}


.clare-story-copy {
  max-width: 560px;
}


.clare-story-copy h2 {
  margin: 0;

  max-width: 540px;

  font-family: var(--font-serif);

  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.06;

  letter-spacing: -0.015em;

  font-weight: 600;

  text-wrap: balance;
}


.clare-story-copy p {
  max-width: 540px;

  margin: 18px 0 0;

  color: #343431;

  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.62;

  letter-spacing: -0.01em;

  text-wrap: pretty;
}


.clare-story-media {
  min-height: 390px;

  display: grid;
  place-items: center;

  overflow: visible;
}


.clare-story-media img {
  width: 100%;
  max-height: 470px;

  object-fit: contain;
  object-position: center center;
}


.clare-story-row-reverse .clare-story-media img {
  transform: translateY(-16px);
}


/* =========================================================
   CLARE CALLOUT
========================================================= */

.clare-callout {
  padding:
    0
    0
    clamp(92px, 9vw, 138px);

  background: #FFFFFF;
}


.clare-callout-panel {
  min-height: 390px;

  display: grid;

  grid-template-columns:
    minmax(280px, 0.9fr)
    minmax(0, 1.1fr);

  align-items: center;

  overflow: hidden;

  background: var(--green);

  border-radius: var(--radius);

  color: #FFFFFF;
}


.clare-callout-visual {
  position: relative;

  align-self: stretch;

  min-height: 390px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;
}


.clare-callout-copy {
  z-index: 2;

  align-self: center;

  padding:
    58px
    64px
    58px
    34px;
}


.clare-thinking-orb {
  display: block;
}


.clare-callout-copy h2 {
  margin: 0;

  max-width: 680px;

  color: #FFFFFF;

  font-family: var(--font-serif);

  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.03;

  letter-spacing: -0.018em;

  font-weight: 600;

  text-wrap: balance;
}


.clare-callout-copy p {
  max-width: 560px;

  margin: 20px 0 0;

  color: rgba(255, 255, 255, 0.84);

  font-size: 15px;
  line-height: 1.58;

  letter-spacing: -0.005em;

  text-wrap: pretty;
}


.clare-callout-button {
  min-height: 46px;

  margin-top: 28px;

  padding:
    0
    22px;

  background: #FFFFFF;

  color: var(--green);

  font-size: 14px;
  line-height: 1;

  font-weight: 600;
}


.clare-callout-button:hover {
  background: var(--green-soft);

  color: var(--green-dark);
}


/* =========================================================
   FAQ
========================================================= */

.clare-faq {
  padding-top: clamp(92px, 9vw, 140px);
  padding-bottom: clamp(88px, 9vw, 136px);
}


.clare-faq .faq-heading h2 {
  font-size: clamp(42px, 4vw, 60px);
}


.clare-faq-list {
  width: min(980px, 100%);
}


/* =========================================================
   RESPONSIVE — 1180
========================================================= */

@media (max-width: 1180px) {

  .clare-story-row,
  .clare-story-row-reverse {
    gap: 54px;
  }


  .clare-callout-copy {
    padding-right: 48px;
  }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {

  .clare-hero {
    padding-top: 64px;
  }


  .clare-hero-headshot img {
    width: clamp(190px, 24vw, 230px);
    height: clamp(190px, 24vw, 230px);
  }


  .clare-hero-visual {
    width: min(520px, 86vw);
  }


  .clare-story {
    padding-top: 30px;
    padding-bottom: 52px;
  }


  .clare-story-row,
  .clare-story-row-reverse {
    grid-template-columns: 1fr;

    gap: 34px;

    padding:
      58px
      0;
  }


  .clare-story-row-reverse .clare-story-media {
    order: 2;
  }


  .clare-story-row-reverse .clare-story-copy {
    order: 1;
  }


  .clare-story-row-reverse .clare-story-media img {
    transform: none;
  }


  .clare-story-copy {
    max-width: 650px;
  }


  .clare-story-media {
    min-height: 360px;
  }


  .clare-story-media img {
    width: min(560px, 100%);
  }


  .clare-callout-panel {
    grid-template-columns: 1fr;

    min-height: 0;
  }


  .clare-callout-visual {
    order: 1;

    min-height: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 36px 20px 0;
  }

  .clare-callout-visual .clare-thinking-orb {
    width: 110px !important;
    height: 110px !important;
    margin-inline: auto;
  }


  .clare-callout-copy {
    order: 2;

    padding:
      18px
      24px
      36px;

    text-align: center;
  }

  .clare-callout-copy h2,
  .clare-callout-copy p,
  .clare-callout-button {
    margin-inline: auto;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

  .clare-hero {
    padding:
      50px
      0
      calc(68px + 2em);
  }


  .clare-hero::before {
    inset:
      -8%
      -70%
      -10%;
  }


  .clare-hero-headshot {
    margin-bottom: 22px;
  }


  .clare-hero-headshot img {
    width: clamp(125px, 32vw, 150px);
    height: clamp(125px, 32vw, 150px);
  }


  .clare-hero-copy h1 {
    font-size: clamp(54px, 17vw, 78px);
  }


  .clare-hero-kicker {
    margin-top: 16px;

    font-size: clamp(25px, 8vw, 34px);
  }


  .clare-hero-description {
    font-size: 16px;
  }


  .clare-hero-visual {
    width: min(430px, 94vw);

    margin-top: 40px;
  }


  .clare-story {
    padding:
      20px
      0
      50px;
  }


  .clare-story-shell {
    gap: 0;
  }


  .clare-story-row,
  .clare-story-row-reverse {
    padding:
      52px
      0;

    gap: 30px;
  }


  .clare-story-copy h2 {
    font-size: clamp(31px, 9vw, 40px);
  }


  .clare-story-copy p {
    font-size: 16px;
  }


  .clare-story-media {
    min-height: 300px;
  }


  .clare-story-media img {
    width: min(420px, 100%);

    max-height: 360px;
  }


  .clare-callout {
    padding-bottom: 90px;
  }


  .clare-callout-copy {
    padding:
      18px
      24px
      36px;
  }


  .clare-callout-copy h2 {
    font-size: clamp(36px, 10vw, 50px);
  }


  .clare-callout-copy p {
    font-size: 15px;
  }


  .clare-callout-visual {
    min-height: 0;

    padding: 32px 20px 0;
  }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 460px) {

  .clare-hero {
    padding-top: 44px;
  }


  .clare-hero-headshot img {
    width: 130px;
    height: 130px;
  }


  .clare-hero-copy h1 {
    font-size: clamp(50px, 18vw, 68px);
  }


  .clare-hero-kicker {
    font-size: 27px;
  }


  .clare-story-label {
    margin-bottom: 12px;

    font-size: 12px;
  }


  .clare-story-copy h2 {
    font-size: clamp(30px, 9.5vw, 38px);
  }


  .clare-story-row,
  .clare-story-row-reverse {
    padding:
      46px
      0;
  }


  .clare-callout-copy {
    padding:
      16px
      20px
      32px;
  }


  .clare-callout-visual {
    min-height: 0;

    padding: 28px 16px 0;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .clare-page {
    animation: none;
  }

}


/* =========================================================
   HERO DESCRIPTION TOGGLE
========================================================= */

.clare-description-toggle[aria-expanded="true"] .chevron-down {
  display: none;
}

.clare-description-toggle[aria-expanded="true"] .chevron-up {
  display: block;
}

.clare-hero-description[hidden] {
  display: none;
}

.clare-hero-description:not([hidden]) {
  margin-top: 24px;
}



/* A restrained brand-green curve beneath Clare in the hero title. */
.clare-hero-name { position: relative; display: inline-block; }
.clare-name-underline {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.22em;
  color: var(--green, #20663E);
  pointer-events: none;
  overflow: visible;
}
