/* About — premium editorial layout */
#about {
  --about-bg: #eaf7f4;
  --about-surface: #f5fbf9;
  --about-mint: #bfefe6;
  --about-accent: #25c9b0;
  --about-text: #263535;
  --about-muted: #6b7c7a;
  --about-divider: rgba(37, 201, 176, 0.28);
  padding-top: 4rem !important;
  padding-bottom: 4.5rem !important;
  background: var(--about-bg) !important;
  color: var(--about-text);
}

#about .about-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#about .about-blob--tl {
  top: 0;
  right: 0;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(191, 239, 230, 0.55), transparent 68%);
}

#about .about-blob--br {
  bottom: 8rem;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(191, 239, 230, 0.4), transparent 70%);
}

#about .about-inner {
  position: relative;
  z-index: 1;
}

#about .about-editorial-grid {
  display: grid;
  gap: 2.5rem 3.5rem;
  align-items: start;
}

#about .about-left {
  display: grid;
  gap: 2rem;
}

#about .about-copy {
  max-width: 26rem;
}

#about .about-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--about-accent);
}

#about .about-eyebrow::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.65rem;
  background: var(--about-accent);
  opacity: 0.55;
}

#about .about-headline {
  margin: 1.25rem 0 0;
  font-family: var(--nav-display, "Playfair Display", Georgia, serif);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--about-text);
}

#about .about-headline em {
  font-style: italic;
  color: var(--about-accent);
}

#about .about-leaf {
  margin: 1rem 0 0;
  color: var(--about-accent);
  opacity: 0.85;
}

#about .about-desc {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--about-muted);
}

#about .about-visual {
  max-width: 26rem;
}

#about .about-visual-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  box-shadow: 0 24px 48px rgba(38, 53, 53, 0.1);
}

#about .about-principles {
  display: grid;
  gap: 0;
  padding-top: 0.25rem;
}

#about .about-principle {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1.15rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--about-divider);
  transition: transform 0.35s ease;
}

#about .about-principle:first-child {
  border-top: 1px solid var(--about-divider);
}

#about .about-principle-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--about-mint);
  color: var(--about-accent);
}

#about .about-principle-icon svg {
  width: 1rem;
  height: 1rem;
}

#about .about-principle-title {
  margin: 0;
  font-family: var(--nav-display, "Playfair Display", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--about-text);
}

#about .about-principle p {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--about-muted);
}

#about .about-stats {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 3.25rem;
  padding: 2.75rem 1.25rem 2.6rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, #fbfefd 0%, #f4faf8 52%, #eef8f5 100%);
  box-shadow: 0 6px 22px rgba(38, 53, 53, 0.035);
}

#about .about-stats::before,
#about .about-stats::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 4.25rem;
  height: 4.25rem;
  opacity: 0.08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233aa89a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

#about .about-stats::before {
  top: -0.55rem;
  left: -0.4rem;
}

#about .about-stats::after {
  right: -0.45rem;
  bottom: -0.6rem;
  width: 4rem;
  height: 4rem;
  transform: rotate(165deg);
}

#about .about-stat {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.35rem 1.15rem;
  text-align: center;
}

#about .about-stat + .about-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--about-divider) 16%,
    var(--about-divider) 84%,
    transparent
  );
}

#about .about-stat-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(191, 239, 230, 0.48);
  color: #3aa89a;
}

#about .about-stat-icon svg {
  width: 0.82rem;
  height: 0.82rem;
  stroke-width: 1.5;
}

#about .about-stat-value {
  margin: 0;
  font-family: var(--nav-display, "Playfair Display", Georgia, serif);
  font-size: clamp(2.15rem, 3.6vw, 3.05rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

#about .about-stat-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--about-muted);
}

@media (min-width: 900px) {
  #about {
    padding-top: 3rem !important;
    padding-bottom: 3.25rem !important;
  }

  #about .about-left {
    display: grid;
    grid-area: left;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 1.5rem 2rem;
    align-items: center;
  }

  #about .about-copy {
    order: -1;
    max-width: none;
  }

  #about .about-visual {
    max-width: none;
  }

  #about .about-visual-img {
    aspect-ratio: 4 / 5;
    max-height: 16.5rem;
  }

  #about .about-principles {
    grid-area: principles;
    padding-top: 0;
    align-self: center;
  }

  #about .about-principle {
    padding: 1.05rem 0;
  }

  #about .about-editorial-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto;
    grid-template-areas:
      "left principles";
    gap: 2rem 2.75rem;
    align-items: center;
  }

  #about .about-stats {
    margin-top: 2.35rem;
    padding: 2.85rem 1.5rem 2.7rem;
  }

  @media (hover: hover) {
    #about .about-principle:hover {
      transform: translateX(4px);
    }
  }
}

@media (min-width: 1100px) {
  #about .about-editorial-grid {
    gap: 2rem 3.25rem;
  }

  #about .about-visual-img {
    max-height: 19rem;
  }
}

@media (max-width: 899px) {
  #about {
    padding-top: 2.75rem !important;
    padding-bottom: 3rem !important;
  }

  #about .about-editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #about .about-left {
    display: contents;
  }

  #about .about-visual {
    order: 1;
    max-width: none;
  }

  #about .about-copy {
    order: 2;
    max-width: none;
  }

  #about .about-principles {
    order: 3;
  }

  #about .about-visual-img {
    aspect-ratio: 16 / 11;
    border-radius: 1.5rem;
  }

  #about .about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
    padding: 1.15rem 0.3rem 1.05rem;
  }

  #about .about-stat {
    padding: 0.45rem 0.2rem;
    gap: 0.4rem;
  }

  #about .about-stat-icon {
    width: 1.45rem;
    height: 1.45rem;
  }

  #about .about-stat-value {
    font-size: clamp(1.05rem, 4.6vw, 1.7rem);
  }

  #about .about-stat-label {
    font-size: clamp(0.38rem, 1.7vw, 0.52rem);
    letter-spacing: 0.08em;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  #about .about-stats {
    padding: 1.85rem 0.6rem 1.7rem;
  }

  #about .about-stat {
    padding: 0.35rem 0.4rem;
    gap: 0.5rem;
  }

  #about .about-stat-value {
    font-size: clamp(1.45rem, 3.4vw, 1.9rem);
  }

  #about .about-stat-label {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 480px) {
  #about .about-headline {
    font-size: 2rem;
  }

  #about .about-principle {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0 0.85rem;
    padding: 1.1rem 0;
  }

  #about .about-principle-icon {
    width: 2.15rem;
    height: 2.15rem;
  }
}

/* Phone only — old mobile card language. Tablet/desktop rules above stay untouched. */
@media (max-width: 720px) {
  main > section#about.about-editorial {
    padding-top: 2rem !important;
    padding-bottom: 2.15rem !important;
    background: #fff !important;
  }

  #about .about-blob--tl,
  #about .about-blob--br {
    width: 9rem;
    height: 9rem;
    opacity: 0.55;
  }

  #about .about-editorial-grid {
    display: block;
    gap: 1.15rem;
    width: 100%;
  }

  #about .about-left {
    display: block;
    width: 100%;
  }

  #about .about-copy {
    max-width: 100%;
    order: 1;
    text-align: center;
    margin-bottom: 1rem;
  }

  #about .about-visual {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  #about .about-visual-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 1.5rem;
    box-shadow: 0 14px 32px rgba(38, 53, 53, 0.08);
  }

  #about .about-principles {
    order: 3;
    display: grid;
    gap: 0.85rem;
    padding-top: 0.25rem;
  }

  #about .about-principle {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    row-gap: 0.15rem;
    align-items: start;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(36, 51, 50, 0.05);
  }

  #about .about-principle:first-child {
    border-top: 0;
  }

  #about .about-principle-icon {
    grid-row: 1 / span 2;
    align-self: start;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0;
    border-radius: 0.9rem;
  }

  #about .about-principle-icon svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  #about .about-principle-title {
    grid-column: 2;
    margin-top: 0;
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.25;
  }

  #about .about-principle p {
    grid-column: 2;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  #about .about-stats {
    margin-top: 0.35rem;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  #about .about-stats::before,
  #about .about-stats::after {
    display: none;
  }

  #about .about-stat {
    padding: 1.05rem 0.75rem 1rem;
    gap: 0.4rem;
    min-height: 5.25rem;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(36, 51, 50, 0.05);
    align-content: center;
  }

  #about .about-stat + .about-stat::before {
    display: none;
  }

  #about .about-stat-icon {
    display: none;
  }

  #about .about-stat-value {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    line-height: 1.05;
  }

  #about .about-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
    max-width: none;
  }
}

html.dark #about {
  --about-bg: #1e2d2a;
  --about-surface: #243532;
  --about-mint: rgba(37, 201, 176, 0.18);
  --about-accent: #4dd9c5;
  --about-text: #eef3f1;
  --about-muted: #9eb5b0;
  --about-divider: rgba(37, 201, 176, 0.2);
}

html.dark #about .about-stat-icon {
  background: rgba(37, 201, 176, 0.22);
  color: var(--about-accent);
}

html.dark #about .about-stats {
  background: linear-gradient(180deg, #2a3a36 0%, #243532 100%);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
}

@media (max-width: 720px) {
  html.dark #about .about-stats {
    background: none;
    box-shadow: none;
  }

  html.dark main > section#about.about-editorial,
  html.dark #about {
    background: var(--about-bg) !important;
  }

  html.dark #about .about-principle,
  html.dark #about .about-stat {
    background: var(--about-surface);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}

html.dark #about .about-blob {
  display: none;
}
