html.profile-modal-open { overflow: hidden; }

.button--secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.button--secondary:hover { color: var(--white); background: var(--ink); }

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 116px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(92px, 10vw, 145px) 0;
  background: var(--sage);
}
.about-hero__media, .about-hero__overlay { position: absolute; inset: 0; z-index: -2; }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.015); }
.about-hero__overlay { z-index: -1; background: linear-gradient(90deg, rgba(15, 49, 55, .94) 0%, rgba(31, 76, 68, .86) 36%, rgba(40, 85, 72, .64) 60%, rgba(18, 50, 57, .33) 82%, rgba(15, 45, 52, .18) 100%), linear-gradient(0deg, rgba(15, 45, 52, .46), rgba(58, 112, 82, .13) 60%, rgba(15, 45, 52, .2)); }
.about-hero__content { position: relative; z-index: 1; }
.about-hero__content > * { max-width: 690px; }
.about-hero .eyebrow { color: #c2f1aa; }
.about-hero h1 { margin-bottom: 26px; color: var(--white); font-size: clamp(3.15rem, 6.4vw, 5.9rem); text-shadow: 0 3px 24px rgba(6, 30, 29, .42); }
.about-hero h1 span { color: #b7f09b; }
.about-hero .lead { color: rgba(255, 255, 255, .9); text-shadow: 0 2px 14px rgba(6, 30, 29, .3); }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.about-hero .button--secondary { color: var(--white); border-color: rgba(255, 255, 255, .76); background: rgba(15, 45, 52, .14); }
.about-hero .button--secondary:hover { color: var(--ink-deep); background: var(--white); }
.about-hero__note { width: max-content; max-width: 100%; margin: 32px 0 0; padding: 10px 15px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; color: var(--white); background: rgba(15, 45, 52, .3); backdrop-filter: blur(10px); font-size: .75rem; font-weight: 820; letter-spacing: .03em; }

.difference-grid { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(42px, 6vw, 82px); align-items: center; }
.difference-grid h2 { margin-bottom: 20px; }
.difference-feature { position: relative; aspect-ratio: 1898 / 1180; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); box-shadow: var(--shadow); }
.difference-feature::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(15, 45, 52, .72)); pointer-events: none; }
.difference-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.difference-feature figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; color: var(--white); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.principle { min-height: 255px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.principle__number { display: block; margin-bottom: 38px; color: var(--accent-deep); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.principle h3 { margin-bottom: 11px; font-size: 1.3rem; }
.principle p { margin-bottom: 0; font-size: .9rem; }

.principal-card { display: grid; grid-template-columns: minmax(310px, .78fr) 1.22fr; gap: clamp(42px, 8vw, 100px); align-items: center; }
.principal-card__image { aspect-ratio: 466 / 296; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); box-shadow: var(--shadow); }
.principal-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.principal-card__copy h2 { margin-bottom: 10px; }
.principal-card__role { margin-bottom: 23px; color: var(--accent-deep); font-weight: 820; }
.principal-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.principal-points div { padding: 18px; border-top: 1px solid var(--line); }
.principal-points strong, .principal-points span { display: block; }
.principal-points strong { color: var(--ink-deep); font-size: .9rem; }
.principal-points span { margin-top: 3px; color: var(--ink-soft); font-size: .8rem; }

.team-intro { display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.team-intro h2 { margin-bottom: 0; }
.team-intro p { margin-bottom: 5px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 26px; }
.team-card { position: relative; overflow: hidden; border: 1px solid rgba(29, 59, 66, .12); border-radius: 30px; background: var(--ink-deep); box-shadow: 0 20px 55px rgba(30, 61, 56, .14); }
.team-card:nth-child(3n + 2) { transform: translateY(24px); }
.team-card__button { position: relative; width: 100%; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.team-card__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(145deg, var(--cream), var(--sage)); }
.team-card__photo::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(transparent, rgba(12, 42, 47, .88)); }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.team-card:nth-child(1) .team-card__photo img { object-position: 52% center; }
.team-card__button:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: block; padding: 74px 25px 25px; color: var(--white); }
.team-card__body::after { content: "+"; position: absolute; right: 22px; bottom: 24px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; color: var(--ink-deep); background: rgba(250, 252, 248, .9); backdrop-filter: blur(10px); font-size: 1.25rem; }
.team-card h3 { margin: 0 48px 5px 0; color: var(--white); font-size: 1.55rem; text-shadow: 0 2px 12px rgba(7, 30, 30, .3); }
.team-card p { margin: 0; color: #c2f1aa; font-size: .78rem; font-weight: 780; letter-spacing: .03em; }
.team-card__button:focus-visible { outline: 3px solid var(--accent); outline-offset: -5px; }

.legacy-note { display: grid; grid-template-columns: 70px 1fr; gap: 24px; align-items: start; margin-top: 34px; padding: 27px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .65); }
.legacy-note__mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-deep); background: var(--sage); font-weight: 900; }
.legacy-note h3 { margin: 3px 0 8px; font-size: 1.15rem; }
.legacy-note p { margin: 0; font-size: .9rem; }

.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.practice-grid figure { height: 350px; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.practice-grid img { width: 100%; height: 100%; object-fit: cover; }
.practice-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.about-cta { color: var(--white); background: linear-gradient(120deg, #587b72, #3f625b); }
.about-cta .final-cta h2 { color: var(--white); }
.about-cta .final-cta p { color: rgba(255, 255, 255, .8); }
.about-cta .eyebrow { color: #c2f1aa; }

.profile-dialog { width: min(780px, calc(100vw - 34px)); max-height: min(760px, calc(100svh - 42px)); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--white); box-shadow: 0 30px 100px rgba(15, 45, 52, .32); }
.profile-dialog::backdrop { background: rgba(15, 45, 52, .42); backdrop-filter: blur(5px); }
.profile-dialog__layout { display: grid; grid-template-columns: 280px 1fr; min-height: 390px; }
.profile-dialog__image { min-height: 100%; background: var(--cream); }
.profile-dialog__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-dialog__body { padding: 42px 42px 38px; overflow-y: auto; }
.profile-dialog__body h2 { margin-bottom: 6px; font-size: clamp(2rem, 4vw, 3.2rem); }
.profile-dialog__role { margin-bottom: 22px; color: var(--accent-deep); font-size: .83rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.profile-dialog__body p { font-size: .92rem; }
.profile-dialog__body ul { display: grid; gap: 10px; padding-left: 20px; color: var(--ink-soft); }
.profile-dialog__close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-soft); cursor: pointer; font-size: 1.45rem; line-height: 1; }
.profile-dialog__close:hover { color: var(--white); background: var(--ink); }

@media (max-width: 980px) {
  .difference-grid, .principal-card { grid-template-columns: 1fr; }
  .difference-feature { aspect-ratio: 1898 / 1180; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .team-intro { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .about-hero { min-height: 0; display: block; padding: 0; background: var(--sage); }
  .about-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .about-hero__media img { transform: none; object-position: center; }
  .about-hero__overlay { z-index: 1; bottom: auto; height: auto; aspect-ratio: 16 / 10; background: linear-gradient(90deg, rgba(15, 49, 55, .36), rgba(40, 85, 72, .22)), linear-gradient(0deg, rgba(15, 45, 52, .28), transparent 58%); pointer-events: none; }
  .about-hero__content { padding-top: 48px; padding-bottom: 58px; }
  .about-hero .eyebrow { color: var(--accent-deep); }
  .about-hero h1 { color: var(--ink-deep); text-shadow: none; }
  .about-hero h1 span { color: var(--accent-deep); }
  .about-hero .lead { color: var(--ink-soft); text-shadow: none; }
  .about-hero .button--secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
  .about-hero .button--secondary:hover { color: var(--white); background: var(--ink); }
  .about-hero__note { color: var(--ink-deep); border-color: rgba(29, 59, 66, .16); background: rgba(250, 252, 248, .72); }
  .about-hero__actions .button { width: 100%; }
  .principal-points { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card:nth-child(3n + 2) { transform: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid figure { height: 290px; }
  .profile-dialog__layout { grid-template-columns: 1fr; }
  .profile-dialog__image { height: 250px; min-height: 0; }
  .profile-dialog__body { padding: 30px 24px 28px; }
  .profile-dialog__close { top: 12px; right: 12px; }
}

@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .legacy-note { grid-template-columns: 1fr; }
  .profile-dialog { max-height: calc(100svh - 24px); }
  .profile-dialog__image { height: 220px; }
}
