.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(31rem, 68vh, 46rem);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero__copy {
  width: min(100%, 43rem);
}

.hero--background :is(h1, h2, h3, p) {
  color: inherit;
}

.hero__eyebrow {
  margin-bottom: 0.75rem;
  color: #a4dad5 !important;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero__lead {
  max-width: 39rem;
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero__price-note {
  margin-top: 1rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__actions .button--secondary {
  color: var(--color-paper);
  background: transparent;
  border-color: rgb(255 255 255 / 72%);
}

.hero__actions .button--secondary:hover {
  color: var(--color-paper);
  background: rgb(255 255 255 / 12%);
}

.hero__media {
  display: none;
}

.service-intro,
.service-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.service-intro__visual,
.article-figure {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.service-intro__visual img,
.article-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 0.85rem 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.office-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.office-visit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.office-map__fallback {
  margin-top: 1rem;
}

.knowledge-hub__hero {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  background: linear-gradient(135deg, var(--color-teal-soft), var(--color-paper));
  border-bottom: 1px solid var(--color-border);
}

.knowledge-hub__hero .container {
  max-width: var(--content-narrow);
  margin-left: max(1rem, calc((100% - var(--content)) / 2));
}

.knowledge-hub__hero h1 {
  margin-bottom: 1rem;
}

.knowledge-hub {
  padding-block: var(--space-section);
}

.hub-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hub-feature__image {
  min-height: 18rem;
  overflow: hidden;
}

.hub-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-feature__content {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.hub-feature__content > :last-child {
  margin-bottom: 0;
}

.hub-problem-index {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 2rem 0 3rem;
  list-style: none;
}

.hub-problem-index > li {
  padding: 1.25rem;
}

.hub-problem-index a {
  color: var(--color-navy);
  font-weight: 800;
}

.article-layout {
  width: min(100% - 2rem, var(--content-narrow));
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
  margin-inline: auto;
}

.article-layout > * + * {
  margin-top: 2.25rem;
}

.article-layout h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.article-layout h3 {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
}

.article-conclusion {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--color-teal-soft);
  border-left: 0.35rem solid var(--color-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-conclusion h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 1.18rem;
}

.article-conclusion p:last-child {
  margin-bottom: 0;
}

.article-toc {
  padding: 1.35rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.article-toc h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

.article-toc ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.article-toc li + li {
  margin-top: 0.35rem;
}

.article-checklist {
  padding: 1.35rem 1.5rem 1.35rem 2.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-small);
}

.article-checklist li + li {
  margin-top: 0.55rem;
}

.article-inline-link {
  color: var(--color-teal-dark);
  font-weight: 800;
}

.article__sources {
  padding: 1.25rem 1.5rem;
  color: var(--color-muted);
  font-size: 0.87rem;
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
}

.article__sources h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

.article__sources ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.related-cluster {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-teal-soft);
  border-radius: var(--radius);
}

.related-cluster .article-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-cluster__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.related-cluster__grid a {
  display: block;
  min-height: 100%;
  padding: 1rem;
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--color-paper);
  border-radius: var(--radius-small);
}

.related-cluster__grid a:hover {
  background: #f9ffff;
  box-shadow: var(--shadow-small);
}

.cta-band {
  padding-block: var(--space-section-compact);
  color: var(--color-paper);
  background: var(--color-navy);
}

.cta-band :is(h2, h3, p) {
  color: inherit;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.48fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.cta-band .line-friend-link {
  background: transparent;
  box-shadow: none;
}

.article__expertise {
  padding-block: var(--space-section-compact);
  background: var(--color-surface);
}

.sticky-cta {
  display: none;
}

/* Page composition: sunshine, paper, and an editorial reading rhythm. --- */

.hero {
  min-height: clamp(30rem, 72svh, 44rem);
  overflow: hidden;
  isolation: isolate;
}

.hero--background {
  color: var(--color-navy-deep);
  background-color: var(--color-yellow);
  background-image: linear-gradient(145deg, var(--color-yellow) 0%, #ffea93 62%, #fff3c4 100%);
  background-position: center;
  background-size: cover;
}

.hero--background::before {
  display: none;
}

.hero--background::after {
  position: absolute;
  z-index: -1;
  top: 15%;
  left: clamp(1rem, 6vw, 6rem);
  width: clamp(2.6rem, 6vw, 5rem);
  height: clamp(2.6rem, 6vw, 5rem);
  content: "";
  background: var(--color-coral);
  border-radius: 50%;
  box-shadow: 0.75rem 0.75rem 0 rgb(31 90 157 / 15%);
}

.hero__inner {
  width: min(100% - 2rem, 72rem);
  padding-block: clamp(4.75rem, 10vw, 8rem);
  text-align: center;
}

.hero__copy {
  width: min(100%, 50rem);
  margin-inline: auto;
}

.hero--background :is(h1, h2, h3, p) {
  color: inherit;
}

.hero__eyebrow {
  color: var(--color-navy) !important;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  display: inline-block;
  width: 2rem;
  height: 0.14rem;
  margin: 0 0.65rem 0.22rem;
  content: "";
  vertical-align: middle;
  background: var(--color-navy);
}

.hero__eyebrow::after {
  margin-right: 0;
}

.hero h1 {
  margin-inline: auto;
  color: var(--color-navy-deep) !important;
  font-size: clamp(2.55rem, 6.2vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0.12em 0.12em 0 rgb(255 255 255 / 76%);
}

.hero__lead {
  max-width: 45rem;
  margin: 1.25rem auto 0;
  color: #344966 !important;
  font-size: clamp(1rem, 1.65vw, 1.16rem);
  font-weight: 700;
}

.hero__price-note {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-top: 1.15rem;
  color: var(--color-navy-deep) !important;
  background: rgb(255 255 255 / 73%);
  border: 1px solid rgb(31 90 157 / 18%);
  border-radius: var(--radius-pill);
}

.hero__actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.hero__actions .button--secondary {
  color: var(--color-navy-deep);
  background: rgb(255 255 255 / 88%);
  border-color: rgb(31 90 157 / 36%);
}

.hero__actions .button--secondary:hover {
  color: var(--color-navy-deep);
  background: var(--color-paper);
}

.service-intro,
.service-boundary {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
}

.service-intro__visual,
.article-figure {
  min-width: 0;
  overflow: hidden;
  background: var(--color-paper);
  border: 2px solid rgb(31 90 157 / 18%);
  border-radius: var(--radius);
  box-shadow: 0 0.38rem 0 rgb(31 90 157 / 12%);
}

.service-intro__visual img,
.article-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-intro__visual figcaption,
.article-figure figcaption {
  padding: 0.72rem 1rem;
  margin: 0;
  color: var(--color-navy-deep);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
}

/* Keep this explicit here: it is the layout contract for the office photo. */
.office-visit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-map {
  border: 2px solid rgb(31 90 157 / 22%);
  border-radius: var(--radius);
  box-shadow: 0 0.38rem 0 rgb(31 90 157 / 12%);
}

.knowledge-hub__hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--color-yellow);
  border-bottom: 0.28rem solid var(--color-navy);
}

.knowledge-hub__hero .container {
  max-width: var(--content-narrow);
  margin-inline: auto;
  text-align: center;
}

.knowledge-hub__hero h1 {
  margin-bottom: 0.85rem;
  color: var(--color-navy-deep);
  text-shadow: 0.08em 0.08em 0 rgb(255 255 255 / 78%);
}

.knowledge-hub {
  background: var(--color-cream);
}

.hub-feature {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: var(--color-paper);
  border: 2px solid rgb(31 90 157 / 20%);
  border-radius: var(--radius);
  box-shadow: 0 0.38rem 0 rgb(31 90 157 / 12%);
}

.hub-feature__image {
  min-width: 0;
  min-height: 18rem;
}

.hub-feature__content {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hub-problem-index {
  gap: 0.85rem;
  margin-block: 2rem 3rem;
}

.hub-problem-index > li {
  padding: 1.05rem 0;
}

.article-layout {
  width: min(100% - 2rem, var(--content-narrow));
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.article-layout > * + * {
  margin-top: 2rem;
}

.article-layout > section > * + * {
  margin-top: 1.1rem;
}

.article-layout h2 {
  color: var(--color-navy-deep);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.article-layout h2::after {
  display: block;
  width: 3rem;
  height: 0.28rem;
  margin-top: 0.7rem;
  content: "";
  background: var(--color-coral);
  border-radius: var(--radius-pill);
}

.article-layout h3 {
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-size: 1.16rem;
  font-weight: 900;
}

/* Native HTML text is overlaid on the photograph for legibility and SEO. */
.article-cover {
  position: relative;
  width: min(100vw - 2rem, var(--content));
  height: clamp(16rem, 34vw, 28rem);
  margin-inline: 50%;
  overflow: hidden;
  background: var(--color-navy-deep);
  border: 2px solid var(--color-navy-deep);
  border-radius: var(--radius);
  box-shadow: 0 0.55rem 0 rgb(31 90 157 / 18%);
  isolation: isolate;
  transform: translateX(-50%);
}

.article-cover > img,
.article-cover picture,
.article-cover picture img {
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 34vw, 28rem);
  object-fit: cover;
}

.article-cover::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(18 62 114 / 88%) 0%, rgb(18 62 114 / 68%) 47%, rgb(18 62 114 / 24%) 100%);
}

.article-cover__title {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(100% - 2.5rem, 46rem);
  padding: 1rem;
  margin: 0;
  color: var(--color-paper) !important;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.1vw, 3.8rem);
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 0.16rem 0.5rem rgb(0 0 0 / 42%);
  transform: translate(-50%, -50%);
}

.article-cover__title :is(h1, h2, h3, p, span) {
  color: inherit;
}

.article-cover__title h1,
h1.article-cover__title {
  margin: 0;
  color: inherit;
}

.article-cover__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.article-cover__overlay .container {
  display: grid;
  width: min(100% - 2.5rem, 46rem);
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
}

.article-cover__overlay .article-cover__title {
  position: static;
  width: auto;
  padding: 0;
  transform: none;
}

.article-cover__eyebrow {
  margin: 0;
  color: var(--color-yellow);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.article-cover__lead {
  max-width: 40rem;
  margin: 0;
  color: var(--color-paper);
  font-size: clamp(0.9rem, 1.45vw, 1.05rem);
  font-weight: 700;
  line-height: 1.65;
  text-shadow: 0 0.1rem 0.35rem rgb(0 0 0 / 36%);
}

.article-conclusion {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: var(--color-cream);
  border-top: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  border-left: 0;
  border-radius: 0;
}

.article-conclusion h2::after,
.article-toc h2::after,
.article__sources h2::after {
  display: none;
}

.article-toc {
  padding: 1.25rem 1.4rem;
  background: var(--color-paper);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-small);
}

.article-toc h2,
.article-conclusion h2 {
  color: var(--color-navy-deep);
}

.article-checklist {
  background: #fffdf7;
  border-left: 0.3rem solid var(--color-yellow-deep);
  border-radius: 0;
}

.article-inline-link {
  color: var(--color-navy-deep);
  text-decoration-color: var(--color-coral);
}

.article__sources {
  padding: 1.2rem 1.35rem;
  background: var(--color-paper);
  border-top: 2px solid var(--color-navy);
}

.related-cluster {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: transparent;
  border-top: 0.28rem solid var(--color-navy);
  border-bottom: 0.28rem solid var(--color-navy);
  border-radius: 0;
}

.related-cluster .article-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-cluster__grid {
  gap: 0;
  border-top: 2px solid var(--color-navy);
}

.related-cluster__grid a {
  padding: 1rem 0.1rem;
  color: var(--color-navy-deep);
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}

.related-cluster__grid a:hover {
  background: rgb(255 227 107 / 27%);
  box-shadow: none;
}

.editorial-reading-list__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 1rem;
  align-items: center;
  padding: 1.05rem 0.15rem;
  color: var(--color-ink);
  text-decoration: none;
}

.editorial-reading-list__link::after {
  content: none;
}

.editorial-reading-list__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.editorial-reading-list__title {
  color: var(--color-navy-deep);
  font-size: 1.06rem;
  line-height: 1.55;
}

.editorial-reading-list__text {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.editorial-reading-list__action {
  color: var(--color-coral);
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

.editorial-reading-list__link:hover {
  color: var(--color-navy-deep);
  background: rgb(255 227 107 / 28%);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
  border-top: 0.3rem solid var(--color-yellow);
}

.cta-band::before {
  position: absolute;
  top: -8rem;
  right: -5rem;
  width: 19rem;
  aspect-ratio: 1;
  content: "";
  background: rgb(255 227 107 / 12%);
  border-radius: 50%;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) auto minmax(13rem, 0.42fr);
}

.cta-band .eyebrow {
  color: var(--color-yellow);
}

.cta-band .line-friend-link {
  background: transparent;
}

/* The map remains useful even when a browser blocks or delays the iframe. */
.office-map {
  position: relative;
  background:
    linear-gradient(135deg, rgb(255 227 107 / 42%), transparent 58%),
    var(--color-cream);
}

.office-map__open {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  min-height: 2.75rem;
  color: var(--color-navy-deep);
  background: rgb(255 255 255 / 96%);
  border-color: var(--color-navy);
  box-shadow: 0 0.28rem 0 rgb(31 90 157 / 18%);
}

.office-map__open:hover {
  color: var(--color-navy-deep);
  background: var(--color-yellow);
}
