.brand-outline-label {
  border: 1px solid var(--pm-color-navy);
  border-radius: var(--pm-radius-pill);
  background-color: transparent;
  color: var(--pm-color-navy);
  font-size: var(--pm-type-label);
  font-weight: 700;
}

.brand-method {
  background: color-mix(in srgb, var(--pm-color-page) 70%, var(--pm-color-border));
  color: var(--pm-color-navy);
}

.brand-masthead {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(312px, 24vw, 336px);
  margin-top: var(--pm-space-16);
  border-radius: var(--pm-radius-frame);
  background: #141414;
  color: var(--pm-color-text-on-navy);
}

.brand-masthead-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
}

.brand-masthead-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.brand-masthead-media:has(> img[src="/assets/brand-intro-sign.jpg"]) {
  background-color: #b0ada3;
}

.brand-masthead-media > img[src="/assets/brand-intro-sign.jpg"] {
  width: min(100%, 700px);
  margin-inline-start: auto;
  object-position: center 17%;
  mask-image: linear-gradient(to right, transparent, #000 16%);
}

.brand-masthead-media:has(> img[src="/assets/brand-ceo-banner.webp"]) {
  background-color: #b6b7b1;
}

.brand-masthead-media > img[src="/assets/brand-ceo-banner.webp"] {
  width: min(100%, clamp(530px, 56vw, 760px));
  margin-inline-start: auto;
  object-position: center 55%;
  mask-image: linear-gradient(to right, transparent, #000 18%);
}

.brand-masthead-inner {
  padding: 104px clamp(25px, 3.55vw, 60px) 38px;
}

.brand-method-inner {
  max-width: var(--pm-content-max);
  margin-inline: auto;
  padding: clamp(36px, 4.3vw, 56px) clamp(24px, 4.15vw, 64px);
}

.brand-category {
  display: inline-block;
  margin-bottom: var(--pm-space-16);
  padding: 5px 13px;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: var(--pm-radius-pill);
  font-size: var(--pm-type-label);
  font-weight: 600;
}

.brand-masthead h1 {
  font-size: var(--pm-type-page-title);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.brand-masthead-summary {
  margin-top: var(--pm-space-12);
  color: inherit;
  font-size: var(--pm-type-body);
  word-break: keep-all;
}

.brand-story,
.brand-values,
.brand-class-flow,
.brand-method,
.brand-next {
  margin-top: clamp(48px, 5.5vw, 80px);
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5.75vw, 80px);
}

.brand-logo-heading h2,
.brand-story h2,
.ceo-letter h2,
.directions-card h2,
.campus-directory h2,
.brand-values h2,
.brand-class-flow h2,
.brand-method h2,
.brand-next h2 {
  font-size: var(--pm-type-section-title);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.35;
  word-break: keep-all;
}

.brand-logo-heading h2 em,
.brand-story h2 em,
.ceo-letter h2 em,
.brand-values h2 em,
.brand-class-header h2 em {
  color: var(--pm-color-blue);
  font-style: normal;
}

.brand-logo-system {
  margin-top: clamp(20px, 3vw, 40px);
  padding-block: clamp(36px, 4.5vw, 64px);
  scroll-margin-top: var(--pm-space-80);
  background: var(--pm-color-surface);
}

.brand-logo-heading {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.brand-logo-heading p {
  max-width: var(--pm-reading-max);
  margin-top: var(--pm-space-12);
}

.brand-logo-system p {
  color: var(--pm-color-text-secondary);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.brand-logo-variant p {
  max-width: 26rem;
}

.brand-logo-variants {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.brand-logo-variant {
  display: grid;
  align-items: center;
  gap: var(--pm-space-12);
}

.brand-logo-swatch {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: clamp(16px, 2vw, 28px);
  border-radius: var(--pm-radius-card);
  background: var(--pm-color-page);
}

.brand-logo-swatch--dark {
  background: var(--pm-color-navy);
}

.brand-logo-swatch img {
  width: min(100%, clamp(184px, 36vw, 384px));
  height: auto;
}

.brand-logo-system h3 {
  color: var(--pm-color-navy);
  font-size: var(--pm-type-card-title);
  line-height: 1.4;
}

.brand-logo-variant p,
.brand-logo-guide p {
  margin-top: var(--pm-space-8);
}

.brand-logo-guide-band {
  margin-top: clamp(32px, 4vw, 56px);
  padding-block: clamp(16px, 2.75vw, 36px);
}

.brand-logo-guides {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

.brand-logo-guide {
  display: flex;
  flex-direction: column;
}

.brand-logo-clearances,
.brand-logo-minimums {
  display: grid;
  align-items: end;
  gap: var(--pm-space-12);
  width: min(100%, 25rem);
  align-self: center;
  margin-top: auto;
  padding-top: var(--pm-space-24);
  text-align: center;
}

.brand-logo-clearances {
  grid-template-columns: minmax(0, 850fr) minmax(0, 420fr);
}

.brand-logo-clearance {
  --brand-logo-mark-width: 640fr;
  --brand-logo-clearance-line: #777;
  display: grid;
  grid-template-columns: 105fr minmax(0, var(--brand-logo-mark-width)) 105fr;
  grid-template-rows: 1fr 2fr 1fr;
  aspect-ratio: 850 / 420;
  outline: 1px dashed var(--brand-logo-clearance-line);
  outline-offset: -1px;
  background: #f1f1f1;
}

.brand-logo-clearance--symbol {
  --brand-logo-mark-width: 210fr;
  aspect-ratio: 1;
}

.brand-logo-clearance img {
  grid-area: 2 / 2;
  width: 100%;
  height: auto;
  outline: 1px dashed var(--brand-logo-clearance-line);
  background: var(--pm-color-surface);
}

.brand-logo-clearance span {
  place-self: center;
  color: #555;
  font-size: var(--pm-type-label);
  font-weight: 700;
  line-height: 1;
}

.brand-logo-clearance span:nth-of-type(1) { grid-area: 1 / 2; }
.brand-logo-clearance span:nth-of-type(2) { grid-area: 2 / 1; }
.brand-logo-clearance span:nth-of-type(3) { grid-area: 2 / 3; }
.brand-logo-clearance span:nth-of-type(4) { grid-area: 3 / 2; }

.brand-logo-minimums {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.brand-logo-ruler {
  --brand-logo-ruler-color: var(--pm-color-blue-hover);
  width: min(100%, 120px);
  margin-inline: auto;
  padding-bottom: var(--pm-space-12);
  border-bottom: 1px solid var(--brand-logo-ruler-color);
  background:
    linear-gradient(var(--brand-logo-ruler-color), var(--brand-logo-ruler-color)) left bottom / 1px 6px no-repeat,
    linear-gradient(var(--brand-logo-ruler-color), var(--brand-logo-ruler-color)) right bottom / 1px 6px no-repeat;
}

.brand-logo-ruler--symbol {
  width: min(100%, 32px);
}

.brand-logo-ruler img {
  width: 100%;
  height: auto;
}

.brand-logo-guide figcaption {
  margin-top: var(--pm-space-12);
  color: var(--pm-color-navy);
  font-size: .875rem;
  font-weight: 700;
  word-break: keep-all;
}

.brand-logo-dimensions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px var(--pm-space-8);
  margin-top: var(--pm-space-4);
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-label);
  font-weight: 400;
}

@media (min-width: 761px) {
  .brand-logo-variant {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 64px);
  }

  .brand-logo-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand-story-copy > p {
  max-width: var(--pm-reading-max);
  margin-top: var(--pm-space-12);
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-body);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.brand-story-copy > .brand-story-lead {
  margin-top: var(--pm-space-16);
  color: var(--pm-color-text);
  font-weight: 700;
}

.brand-story-image {
  overflow: hidden;
  border-radius: var(--pm-radius-panel);
  background: var(--pm-color-surface);
  box-shadow: var(--pm-shadow-panel);
}

.brand-story-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center 54%;
}

.brand-story-image figcaption {
  padding: var(--pm-space-12) var(--pm-space-16);
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-label);
}

.brand-values-intro {
  max-width: var(--pm-reading-max);
  margin-top: var(--pm-space-12);
  color: var(--pm-color-text-secondary);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.brand-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: var(--pm-space-24);
}

.brand-value-card {
  overflow: hidden;
  border-radius: var(--pm-radius-card);
  background: var(--pm-color-surface);
  box-shadow: var(--pm-shadow-panel);
}

.brand-value-body {
  padding: 34px clamp(16px, 2vw, 24px) var(--pm-space-24);
}

.brand-value-body h3,
.brand-step-copy h3,
.brand-method-card h3 {
  font-size: var(--pm-type-card-title);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.brand-value-body p,
.brand-step-copy p,
.brand-method-card p {
  margin-top: var(--pm-space-8);
  color: var(--pm-color-text-secondary);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.brand-class-header {
  text-align: center;
}

.brand-steps {
  --brand-step-size: clamp(58px, 5.65vw, 76px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 54px) 0 0;
  padding: 0;
  list-style: none;
}

.brand-steps > li {
  position: relative;
}

.brand-steps > li:not(:last-child)::after {
  position: absolute;
  inset-block-start: calc(var(--brand-step-size) / 2);
  inset-inline: calc(50% + var(--brand-step-size) / 2 + 22px) calc(-50% + var(--brand-step-size) / 2 + 18px);
  block-size: 2px;
  border-radius: var(--pm-radius-pill);
  background: color-mix(in srgb, var(--pm-color-blue) 28%, var(--pm-color-border));
  content: "";
}

.brand-step {
  display: grid;
  align-items: start;
  justify-items: center;
  gap: var(--pm-space-16);
  padding-inline: clamp(6px, 1.65vw, 24px);
  text-align: center;
}

.brand-step-node {
  position: relative;
  display: grid;
  width: var(--brand-step-size);
  height: var(--brand-step-size);
  place-items: center;
  border: 5px solid var(--pm-color-blue-subtle);
  border-radius: 50%;
  background: var(--pm-color-blue) padding-box;
  color: var(--pm-color-text-on-navy);
}

.brand-step-node > svg {
  width: 50%;
  height: 50%;
}

.brand-step-number {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: -12px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid var(--pm-color-page);
  border-radius: 50%;
  background: var(--pm-color-navy);
  color: var(--pm-color-text-on-navy);
  font-size: .75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.brand-step-copy,
.brand-method-card {
  min-width: 0;
}

.brand-step-copy h3,
.brand-method-card h3 {
  color: var(--pm-color-navy);
}

.brand-step-copy p {
  max-width: 28ch;
  margin-inline: auto;
}

.brand-method-intro > .brand-category {
  border-color: var(--pm-color-border);
  color: var(--pm-color-blue-hover);
}

.brand-method-intro h2 em {
  color: var(--pm-color-blue-hover);
  font-style: normal;
}

.brand-method-intro > p:not(.brand-category) {
  max-width: 54ch;
  margin-top: var(--pm-space-16);
  color: var(--pm-color-text-secondary);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.brand-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin: clamp(28px, 3.5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.brand-method-card {
  padding: clamp(18px, 2.65vw, 36px);
  border-radius: var(--pm-radius-panel);
  background: var(--pm-color-surface);
}

.brand-method-icon {
  display: grid;
  width: clamp(44px, 4.45vw, 58px);
  aspect-ratio: 1;
  margin-bottom: var(--pm-space-16);
  place-items: center;
  border-radius: var(--pm-radius-card);
  background: var(--pm-color-blue);
  color: var(--pm-color-text-on-navy);
}

.brand-method-icon > svg {
  width: 52%;
  height: 52%;
}

.brand-next {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--pm-space-24);
  margin-bottom: clamp(48px, 5.5vw, 80px);
}

.brand-campus-callout,
.brand-ceo-link {
  display: grid;
  overflow: hidden;
  border-radius: var(--pm-radius-panel);
  background: var(--pm-color-surface);
  box-shadow: var(--pm-shadow-panel);
}

.brand-campus-callout {
  grid-template-columns: 1.1fr .9fr;
}

.brand-next-copy {
  padding: clamp(20px, 3vw, 36px);
}

.brand-next-copy h2 {
  font-size: clamp(23px, 2.3vw, 34px);
  margin-bottom: var(--pm-space-16);
}

.brand-next-secondary {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: var(--pm-target-min);
  color: var(--pm-color-blue-hover);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-campus-photo {
  position: relative;
}

.brand-campus-photo > img,
.brand-ceo-link > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-campus-photo > img {
  position: absolute;
  inset: 0;
  object-position: center 51%;
}

.brand-ceo-link {
  grid-template-columns: minmax(82px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  transition: background-color var(--pm-motion-short);
}

.brand-ceo-link > img {
  object-position: center 28%;
}

.brand-ceo-link:hover {
  background: var(--pm-color-blue-subtle);
}

.brand-ceo-copy {
  align-self: center;
  padding: clamp(16px, 2vw, 24px);
}

.brand-ceo-copy p {
  color: var(--pm-color-text-secondary);
  font-size: 14px;
  word-break: keep-all;
}

.brand-ceo-copy h2 {
  margin: var(--pm-space-4) 0;
  font-size: clamp(22px, 2.05vw, 30px);
}

.brand-ceo-copy span {
  display: flex;
  align-items: center;
  gap: var(--pm-space-4);
  margin-top: var(--pm-space-12);
  color: var(--pm-color-blue-hover);
  font-weight: 700;
  font-size: 14px;
}

.brand-ceo-copy svg {
  width: 17px;
  height: 17px;
}

.ceo-greeting {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, var(--pm-reading-max));
  justify-content: center;
  align-items: start;
  gap: clamp(32px, 5.6vw, 80px);
  margin-block: clamp(48px, 5.5vw, 80px);
}

.ceo-portrait {
  overflow: hidden;
  border-radius: var(--pm-radius-panel);
  background: var(--pm-color-surface);
  box-shadow: var(--pm-shadow-panel);
}

.ceo-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.ceo-portrait figcaption {
  display: grid;
  gap: var(--pm-space-4);
  padding: clamp(16px, 2.25vw, 28px);
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-label);
}

.ceo-portrait figcaption strong {
  color: var(--pm-color-text);
  font-size: var(--pm-type-section-title);
  line-height: 1.2;
}

.ceo-letter h3 {
  margin-top: var(--pm-space-32);
  font-size: var(--pm-type-card-title);
  letter-spacing: -.04em;
  line-height: 1.4;
  word-break: keep-all;
}

.ceo-letter > p,
.ceo-farewell {
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-body);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

.ceo-letter > p,
.ceo-farewell p + p {
  margin-top: var(--pm-space-12);
}

.ceo-farewell {
  margin-top: var(--pm-space-32);
  padding-top: var(--pm-space-24);
  border-top: 1px solid var(--pm-color-border);
}

.ceo-signature {
  color: var(--pm-color-text);
  font-weight: 700;
}

.ceo-letter > .pill {
  margin-top: var(--pm-space-24);
}

.directions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: var(--pm-space-24);
  margin-block: clamp(48px, 5.5vw, 80px);
}

.directions-card,
.directions-map {
  border-radius: var(--pm-radius-panel);
  box-shadow: var(--pm-shadow-panel);
}

.directions-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--pm-color-surface);
}

.directions-details {
  margin: var(--pm-space-24) 0 0;
}

.directions-details > div {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: var(--pm-space-12);
  align-items: baseline;
  padding-block: var(--pm-space-12);
  border-top: 1px solid var(--pm-color-border);
}

.directions-details dt {
  color: var(--pm-color-text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.directions-details dd {
  margin: 0;
  font-size: var(--pm-type-body);
  line-height: var(--pm-line-body);
  word-break: keep-all;
}

#hq-address span {
  display: block;
  font-weight: 700;
}

.directions-details a {
  color: var(--pm-color-blue-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directions-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pm-space-12);
  margin-top: var(--pm-space-24);
}

.directions-copy {
  padding-inline: var(--pm-space-16);
  background: var(--pm-color-surface);
}

.directions-copy:hover {
  background: var(--pm-color-blue-subtle);
}

.directions-copy-status {
  color: var(--pm-color-text-secondary);
  font-size: var(--pm-type-label);
}

.directions-copy-status:not(:empty) {
  margin-top: var(--pm-space-12);
}

@media (prefers-reduced-motion: no-preference) {
  .directions-copy-status > span {
    animation: directions-copy-feedback var(--pm-motion-short) ease-out;
  }

  @keyframes directions-copy-feedback {
    from { color: var(--pm-color-blue-hover); }
  }
}

.directions-map {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 410px;
  background: #f0f4f2;
}

.hq-map-link {
  display: grid;
  align-items: center;
}

.hq-map-link img {
  width: 100%;
  height: auto;
}

.hq-map-link:focus-visible {
  outline-offset: -4px;
}

.hq-map-canvas {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.hq-map-canvas > div {
  width: 100%;
  height: 100%;
}

.directions-map.is-interactive .hq-map-link {
  visibility: hidden;
}

.directions-map.is-interactive .hq-map-canvas {
  visibility: visible;
}

@media (max-width: 900px) {
  .brand-next {
    grid-template-columns: 1fr;
    gap: var(--pm-space-16);
  }

  .brand-ceo-link {
    grid-template-columns: minmax(110px, 25%) 1fr;
  }

  .brand-ceo-link > img {
    max-height: 185px;
  }

  .directions-layout {
    grid-template-columns: 1fr;
    gap: var(--pm-space-16);
  }

  .directions-map {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .brand-masthead {
    border-radius: var(--pm-radius-frame-mobile);
  }

  .brand-masthead {
    min-height: 280px;
    margin-top: 10px;
  }

  .brand-masthead-inner {
    padding: 96px 25px 28px;
  }

  .brand-masthead-media > img[src="/assets/brand-intro-sign.jpg"] {
    object-position: center;
    mask-image: none;
  }

  .brand-masthead-media > img[src="/assets/brand-ceo-banner.webp"] {
    object-position: 62% center;
    mask-image: none;
  }

  .brand-story,
  .ceo-greeting {
    grid-template-columns: 1fr;
    gap: var(--pm-space-24);
  }

  .ceo-portrait {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    align-items: center;
  }

  .ceo-portrait img {
    aspect-ratio: 1;
  }

  .brand-values-grid {
    grid-template-columns: 1fr;
    gap: var(--pm-space-16);
  }

  .brand-class-header {
    text-align: start;
  }

  .brand-steps {
    --brand-step-size: 54px;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .brand-steps > li:not(:last-child)::after {
    inset-block: calc(var(--brand-step-size) + 7px) -23px;
    inset-inline: calc((var(--brand-step-size) - 2px) / 2) auto;
    inline-size: 2px;
    block-size: auto;
  }

  .brand-step {
    grid-template-columns: var(--brand-step-size) minmax(0, 1fr);
    justify-items: start;
    gap: var(--pm-space-24);
    padding: 0;
    text-align: start;
  }

  .brand-step-copy p {
    max-width: none;
    margin-inline: 0;
  }
}

@media (max-width: 620px) {
  .brand-method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-method-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: var(--pm-space-12);
    align-items: start;
    border-radius: var(--pm-radius-card);
  }

  .brand-method-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .brand-method-card p {
    margin-top: var(--pm-space-4);
  }
}

@media (max-width: 480px) {
  .brand-story-image img {
    aspect-ratio: 4 / 3;
  }

  .brand-campus-callout {
    grid-template-columns: 1fr;
  }

  .brand-campus-photo {
    aspect-ratio: 5 / 3;
  }
}
