/* HAIDI editorial About page */

body.haidi-about-body {
  margin: 0;
  background: #faf7f1;
}

body.haidi-about-body > *:not(.haidi-home) {
  display: none !important;
}

.haidi-about-page {
  min-height: 100vh;
  overflow-x: clip;
  background: #faf7f1;
  color: var(--ink, #262019);
  font-family: var(--sans, 'Outfit', system-ui, sans-serif);
}

.haidi-about-page .dheader {
  background: rgba(250, 247, 241, 0.94) !important;
}

.haidi-about-main {
  padding-top: 61px;
}

.haidi-about-shell {
  width: var(--haidi-shell, min(100% - 36px, 1200px));
  max-width: 1200px;
  margin: 0 auto;
}

.haidi-about-page section.haidi-about-hero,
.haidi-about-page section.haidi-about-section {
  padding: 0;
}

.haidi-about-kicker {
  margin: 0 0 16px;
  color: var(--wine, #5d2434);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* Hero */
.haidi-about-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg, #faf7f1);
}

.haidi-about-hero-media {
  position: relative;
  width: 100%;
  height: clamp(360px, 112vw, 520px);
  background-color: var(--surface, #f1ebe1);
  background-image: var(--haidi-about-hero-mobile);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.haidi-about-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 247, 241, 0) 64%, #faf7f1 100%);
  content: "";
}

.haidi-about-hero--empty .haidi-about-hero-media {
  background:
    linear-gradient(135deg, rgba(93, 36, 52, 0.05), transparent 52%),
    var(--surface, #f1ebe1);
}

.haidi-about-hero-shell {
  position: relative;
  z-index: 2;
  padding: 46px 0 78px;
}

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

.haidi-about-hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 13vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.haidi-about-hero h1 span,
.haidi-about-hero h1 em {
  display: block;
}

.haidi-about-hero h1 em {
  margin-top: 5px;
  color: var(--wine, #5d2434);
  font-weight: 500;
}

.haidi-about-hero-story {
  max-width: 540px;
  margin-top: 26px;
  color: #655e55;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
}

.haidi-about-hero-story p,
.haidi-about-mission-copy p,
.haidi-about-story-text p,
.haidi-about-closing-text p {
  margin: 0 0 1em;
}

.haidi-about-hero-story p:last-child,
.haidi-about-mission-copy p:last-child,
.haidi-about-story-text p:last-child,
.haidi-about-closing-text p:last-child {
  margin-bottom: 0;
}

/* Feature principles */
.haidi-about-page section.haidi-about-features {
  padding: 78px 0 84px;
}

.haidi-about-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.haidi-about-feature {
  max-width: 370px;
}

.haidi-about-feature-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--wine, #5d2434);
}

.haidi-about-feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.haidi-about-feature h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.haidi-about-feature p {
  margin: 12px 0 0;
  color: #71695f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.haidi-about-divider {
  width: var(--haidi-shell, min(100% - 36px, 1200px));
  max-width: 1200px;
  height: 1px;
  margin: 0 auto;
  background: rgba(38, 32, 25, 0.15);
}

/* Mission */
.haidi-about-page section.haidi-about-mission {
  padding: 94px 0 102px;
}

.haidi-about-mission-head {
  max-width: 920px;
}

.haidi-about-mission-head h2 {
  max-width: 900px;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 10vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.haidi-about-mission-copy {
  max-width: 650px;
  margin-top: 24px;
  color: #71695f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
}

.haidi-about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 24px;
  margin-top: 66px;
}

.haidi-about-stat strong,
.haidi-about-stat span {
  display: block;
}

.haidi-about-stat strong {
  color: var(--ink, #262019);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(29px, 8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.haidi-about-stat span {
  margin-top: 9px;
  color: #8c8375;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Story split */
.haidi-about-page section.haidi-about-story {
  padding: 96px 0 106px;
}

.haidi-about-story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
}

.haidi-about-story-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface, #f1ebe1);
}

.haidi-about-story-media picture,
.haidi-about-story-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.haidi-about-story-media img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.haidi-about-story-media--empty {
  background:
    linear-gradient(145deg, rgba(93, 36, 52, 0.07), transparent 60%),
    var(--surface, #f1ebe1);
}

.haidi-about-story-copy {
  align-self: center;
}

.haidi-about-story-copy h2 {
  max-width: 570px;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(41px, 10vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.haidi-about-story-text {
  max-width: 540px;
  margin-top: 24px;
  color: #71695f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
}

.haidi-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 14px 30px;
  border: 1px solid var(--ink, #262019);
  border-radius: 0;
  background: var(--ink, #262019);
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.haidi-about-page .haidi-about-button {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.haidi-about-button:hover {
  border-color: var(--wine, #5d2434);
  background: var(--wine, #5d2434);
}

.haidi-about-button:focus-visible {
  outline: 2px solid var(--wine, #5d2434);
  outline-offset: 4px;
}

/* Final brand statement */
.haidi-about-page section.haidi-about-closing {
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: center;
  padding: 86px 18px;
  background: var(--dark-bg, #14110c);
  color: var(--dark-text, #f4efe6);
  text-align: center;
}

.haidi-about-closing-inner {
  width: min(100%, 850px);
}

.haidi-about-closing .haidi-about-kicker {
  color: #c9b8a3;
}

.haidi-about-closing h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 12vw, 68px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.haidi-about-closing-text {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--dark-muted, #9a917f);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .haidi-about-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }

  .haidi-about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .haidi-about-story-media {
    min-height: 620px;
  }
}

@media (min-width: 900px) {
  .haidi-about-main {
    padding-top: 77px;
  }

  .haidi-about-hero {
    min-height: 690px;
  }

  .haidi-about-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 68%;
    height: auto;
    background-image: var(--haidi-about-hero-desktop);
    background-position: center right;
  }

  .haidi-about-hero-media::after {
    background: linear-gradient(
      90deg,
      #faf7f1 0%,
      rgba(250, 247, 241, 0.97) 13%,
      rgba(250, 247, 241, 0.66) 34%,
      rgba(250, 247, 241, 0) 68%
    );
  }

  .haidi-about-hero-shell {
    display: flex;
    min-height: 690px;
    align-items: center;
    padding: 76px 0;
  }

  .haidi-about-hero-copy {
    width: 52%;
  }

  .haidi-about-hero h1 {
    font-size: clamp(62px, 5.7vw, 82px);
  }

  .haidi-about-hero-story {
    max-width: 500px;
    font-size: 15px;
  }

  .haidi-about-page section.haidi-about-features {
    padding: 112px 0 118px;
  }

  .haidi-about-feature-grid {
    gap: clamp(56px, 7vw, 100px);
  }

  .haidi-about-feature h2 {
    font-size: 32px;
  }

  .haidi-about-feature p {
    font-size: 14px;
  }

  .haidi-about-page section.haidi-about-mission {
    padding: 132px 0 140px;
  }

  .haidi-about-mission-head h2 {
    font-size: clamp(60px, 5.4vw, 76px);
  }

  .haidi-about-mission-copy {
    margin-top: 30px;
    font-size: 15px;
  }

  .haidi-about-stats {
    margin-top: 88px;
  }

  .haidi-about-stat strong {
    font-size: clamp(34px, 3.2vw, 46px);
  }

  .haidi-about-page section.haidi-about-story {
    padding: 132px 0 142px;
  }

  .haidi-about-story-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(70px, 9vw, 130px);
    align-items: center;
  }

  .haidi-about-story-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .haidi-about-story-copy h2 {
    font-size: clamp(54px, 4.6vw, 68px);
  }

  .haidi-about-story-text {
    margin-top: 28px;
    font-size: 15px;
  }

  .haidi-about-page section.haidi-about-closing {
    min-height: 500px;
    padding: 112px 32px;
  }

  .haidi-about-closing h2 {
    font-size: clamp(62px, 5.8vw, 82px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .haidi-about-page *,
  .haidi-about-page *::before,
  .haidi-about-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
