:root {
  --ink: var(--ne-ink-900);
  --muted: var(--ne-ink-600);
  --paper: var(--ne-cream-100);
  --white: #ffffff;
  --jade: var(--ne-jade-600);
  --jade-dark: var(--ne-brown-900);
  --mint: var(--ne-cream-200);
  --clay: var(--ne-clay-500);
  --gold: var(--ne-gold-400);
  --cocoa: var(--ne-brown-800);
  --umber: var(--ne-brown-600);
  --linen: var(--ne-cream-200);
  --sage: #7f7a60;
  --line: var(--ne-line);
  --shadow: var(--ne-shadow-soft);
  --container: min(1500px, calc(100vw - 40px));
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Noto Serif TC", "Songti TC", "Yu Mincho", "PMingLiU", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #faf4eb;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 19, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(22, 12, 8, 0.16);
  transition: box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(31, 19, 13, 0.98);
  border-color: rgba(201, 150, 90, 0.3);
  box-shadow: 0 12px 34px rgba(22, 12, 8, 0.2);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.custom-logo-link,
.site-logo {
  display: inline-flex;
  align-items: center;
  max-width: 252px;
}

.custom-logo,
.site-logo img {
  width: min(252px, 34vw);
  max-height: 68px;
  object-fit: contain;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.language-switcher ul {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-switcher a,
.language-switcher span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.language-switcher .current-lang span,
.language-switcher .current-lang a {
  border-color: rgba(201, 163, 91, 0.48);
  color: var(--white);
  background: rgba(201, 163, 91, 0.16);
}

.primary-nav {
  min-width: 0;
}

.header-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.menu {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu .has-submenu > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.menu a:hover,
.menu .current-menu-item > a {
  background: rgba(201, 150, 90, 0.16);
  color: var(--white);
}

.menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  display: none;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(201, 150, 90, 0.28);
  border-radius: 8px;
  background: rgba(43, 29, 23, 0.98);
  box-shadow: 0 18px 38px rgba(22, 12, 8, 0.22);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  display: grid;
  gap: 2px;
}

.menu .sub-menu a {
  display: grid;
  gap: 1px;
  justify-content: flex-start;
  width: 100%;
  min-height: auto;
  padding: 10px 12px;
  white-space: normal;
}

.menu .sub-menu a span {
  color: rgba(201, 163, 91, 0.9);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.menu .sub-menu a strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.45;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.header-cta,
.button.primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(64, 35, 24, 0.18);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.page-hero .button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  background: var(--white);
  color: var(--cocoa);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.site-main {
  min-height: 70vh;
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 800px;
}

.home-hero {
  position: relative;
  min-height: 700px;
  overflow: clip;
  margin-top: -72px;
  background: var(--ne-brown-950);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(201, 150, 90, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(39, 23, 16, 0.92), rgba(55, 34, 24, 0.68) 44%, rgba(55, 34, 24, 0.22)),
    url("../img/hero/hero-home-tcm-overview.webp") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: relative;
  width: var(--container);
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(250px, 330px);
  gap: 56px;
  align-items: center;
  padding: 154px 0 80px;
  color: var(--white);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.9vw, 4.6rem);
  font-weight: 600;
  line-height: 1.16;
  max-width: 13ch;
}

.hero-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-panel {
  align-self: end;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold);
  padding: 20px 0 20px 22px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel span,
.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel span {
  color: var(--gold);
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-panel p {
  margin: 12px 0 0;
}

.section-band {
  padding: 88px 0;
}

.intro-band {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
}

h3 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.rich-copy p:first-child {
  margin-top: 0;
}

.rich-copy p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 940px;
}

.heading-with-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.heading-with-action a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--clay);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.visual-band {
  background:
    linear-gradient(180deg, rgba(251, 246, 238, 0.94), rgba(244, 234, 220, 0.94)),
    radial-gradient(circle at 20% 10%, rgba(201, 150, 90, 0.18), transparent 28%);
}

.visual-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.visual-copy {
  max-width: 440px;
}

.visual-copy p:last-child {
  color: var(--muted);
}

.visual-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(0, 220px));
  gap: 14px;
}

.visual-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 59, 43, 0.16);
  border-radius: 8px;
  background: var(--linen);
  box-shadow: var(--shadow);
}

.visual-card.large {
  grid-row: 1 / span 2;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.post-card {
  min-width: 0;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(52, 36, 28, 0.06);
}

.service-card {
  overflow: hidden;
}

.service-card figure {
  margin: 0;
  aspect-ratio: 4 / 2.8;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-copy {
  padding: 24px;
}

.service-card span,
.post-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--clay);
  font-weight: 800;
  font-size: 0.78rem;
}

.service-card p,
.post-card p {
  color: var(--muted);
}

.service-card > a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
}

.service-card strong {
  display: inline-flex;
  margin-top: 10px;
  color: var(--clay);
  font-weight: 800;
}

.service-directory-band {
  background: #fffaf2;
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-directory-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(93, 59, 43, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 34px rgba(52, 36, 28, 0.055);
}

.service-directory-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-directory-head h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.service-directory-head a,
.service-directory-list a {
  text-decoration: none;
}

.service-directory-head p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-directory-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-directory-list a {
  display: grid;
  gap: 3px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(93, 59, 43, 0.12);
  border-radius: 8px;
  background: #f7efe4;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.service-directory-list a:hover {
  border-color: rgba(177, 99, 61, 0.38);
  background: #f2e4d4;
  transform: translateY(-1px);
}

.service-directory-list span {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-directory-list strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.service-directory-list em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.65;
}

.process-band {
  background: #efe4d5;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-width: 0;
  padding: 28px;
  background: #fffaf3;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.process-list span {
  color: var(--muted);
}

.post-card {
  overflow: hidden;
}

.post-card a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
}

.post-card figure {
  aspect-ratio: 16 / 9.8;
  margin: 0;
  background: var(--linen);
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.post-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  font-size: 1.16rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card strong {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--clay);
  font-size: 0.9rem;
}

.cta-band {
  padding: 62px 0;
  background:
    linear-gradient(135deg, rgba(43, 29, 23, 0.98), rgba(92, 56, 40, 0.95)),
    var(--jade-dark);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 720px;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(43, 29, 23, 0.98), rgba(92, 56, 40, 0.92)),
    var(--jade-dark);
  color: var(--white);
}

.page-hero.compact {
  padding: 88px 0 76px;
}

.page-hero.image-hero {
  position: relative;
  overflow: hidden;
}

.page-hero.image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 29, 23, 0.94), rgba(69, 43, 31, 0.72)),
    var(--profile-hero-image, url("../img/hero/hero-blog-health-notes.webp")) center / cover no-repeat;
  opacity: 0.98;
}

.page-hero.image-hero .section-inner {
  position: relative;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.profile-hero {
  position: relative;
  padding: 112px 0 88px;
  overflow: hidden;
}

.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 29, 23, 0.94), rgba(69, 43, 31, 0.76)),
    var(--profile-hero-image, url("../img/hero/hero-home-tcm-overview.webp")) center / cover no-repeat;
  opacity: 0.98;
}

.profile-hero .section-inner {
  position: relative;
}

.profile-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 56px;
  align-items: end;
}

.profile-hero h1 {
  max-width: 14ch;
}

.profile-hero p {
  font-size: 1.08rem;
}

.profile-visit-card {
  padding: 24px;
  border: 1px solid rgba(201, 150, 90, 0.28);
  border-radius: 8px;
  background: rgba(43, 29, 23, 0.58);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.profile-visit-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.profile-visit-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-visit-card li {
  position: relative;
  padding-left: 18px;
}

.profile-visit-card li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.profile-overview {
  background: var(--white);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.answer-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(52, 36, 28, 0.05);
}

.answer-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 900;
}

.answer-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.answer-card p {
  margin: 0;
  color: var(--muted);
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf3;
  color: var(--cocoa);
  font-weight: 800;
}

.profile-topics {
  background: #efe4d5;
}

.profile-sections {
  background: var(--paper);
}

.profile-process {
  background: #fffaf3;
}

.profile-visuals {
  background: linear-gradient(180deg, var(--white), #fbf6ee);
}

.profile-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-visual-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ne-radius);
  background: var(--ne-cream-50);
  box-shadow: var(--shadow);
}

.profile-visual-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--linen);
}

.profile-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-visual-card div {
  padding: 22px;
}

.profile-visual-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.profile-visual-card p {
  margin: 0;
  color: var(--muted);
}

.team-prep-grid,
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-prep-card,
.contact-info-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--ne-radius);
  background: var(--ne-cream-50);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-prep-card figure,
.contact-info-card figure {
  margin: 0;
  aspect-ratio: 4 / 2.7;
  background: var(--linen);
}

.team-prep-card img,
.contact-info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-prep-card div,
.contact-info-card div {
  padding: 22px;
}

.team-prep-card h3,
.contact-info-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.team-prep-card p,
.contact-info-card p {
  margin: 0;
  color: var(--muted);
}

.contact-map {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--ne-radius);
  background: var(--linen);
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.profile-overview,
.profile-topics,
.profile-sections,
.profile-process,
.profile-visuals {
  padding: 74px 0;
}

.profile-overview .section-heading h2,
.profile-topics .section-heading h2,
.profile-sections .section-heading h2,
.profile-process .section-heading h2,
.profile-visuals .section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(52, 36, 28, 0.05);
}

.detail-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.detail-card ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.detail-card li + li {
  margin-top: 8px;
}

.faq-band {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.supplemental-content {
  border-top: 1px solid var(--line);
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.search-form label {
  flex: 1 1 280px;
}

.search-field {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.search-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-submit {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--white);
  color: var(--cocoa);
  font-weight: 800;
}

.article-hero {
  padding: 86px 0 76px;
  background:
    linear-gradient(135deg, rgba(43, 29, 23, 0.98), rgba(92, 56, 40, 0.9)),
    var(--jade-dark);
}

.article-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 3.8vw, 3.8rem);
  line-height: 1.14;
}

.article-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.article-meta {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.article-hero-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 150, 90, 0.24);
  border-radius: 8px;
  background: var(--linen);
  box-shadow: 0 26px 60px rgba(22, 12, 8, 0.26);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.entry-content-wrap,
.single-article {
  background: var(--white);
}

.article-body {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 74px 0 88px;
}

.article-aside {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
}

.article-aside span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-aside p {
  margin: 0;
  font-size: 0.94rem;
}

.article-aside a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--clay);
  font-weight: 900;
  text-decoration: none;
}

.entry-content {
  min-width: 0;
  padding: 0;
  font-size: 1.06rem;
  line-height: 2;
  color: #3a312b;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin: 2em 0 0.85em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.32;
  color: var(--ne-jade-600);
}

.entry-content h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 150, 90, 0.62);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.entry-content h3 {
  font-size: clamp(1.28rem, 1.9vw, 1.55rem);
}

.entry-content p {
  margin: 0 0 1.35em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.45em;
  padding-left: 1.35em;
}

.entry-content li + li {
  margin-top: 0.65em;
}

.entry-content a {
  color: var(--clay);
  font-weight: 700;
}

.pagination-wrap {
  grid-column: 1 / -1;
  margin-top: 32px;
}

.site-footer {
  background: #21140f;
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 0;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(480px, 1.25fr) minmax(240px, 0.65fr);
  gap: 44px;
  align-items: start;
}

.footer-brand img {
  max-width: 250px;
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-service-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.footer-service-map section {
  min-width: 0;
}

.footer-service-map h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 900;
}

.footer-service-map ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-service-map a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-service-map a:hover {
  color: var(--gold);
}

.footer-service-map li a {
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-meta p {
  margin: 0 0 10px;
}

.footer-meta .button {
  width: auto;
  margin: 8px 0 18px;
}

.footer-meta small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    padding: 0 0 18px;
  }

  .primary-nav .menu {
    display: grid;
    justify-content: stretch;
  }

  .primary-nav .menu .sub-menu {
    position: static;
    display: grid;
    margin: 2px 0 8px 16px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .primary-nav .menu a {
    white-space: normal;
  }

  .hero-overlay,
  .split,
  .visual-layout,
  .profile-hero-layout,
  .article-hero-layout,
  .article-body,
  .answer-grid,
  .detail-grid,
  .profile-visual-grid,
  .team-prep-grid,
  .contact-info-grid,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .visual-gallery {
    grid-template-rows: repeat(2, minmax(0, 190px));
  }

  .hero-overlay {
    min-height: 680px;
    gap: 32px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 3.4rem;
  }

  .article-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.25rem, 6vw, 3.1rem);
  }

  .article-hero-image {
    max-width: 640px;
  }

  .article-aside {
    position: static;
    order: 2;
  }

  .service-grid,
  .service-directory-grid,
  .post-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1500px);
  }

  .home-hero,
  .hero-overlay {
    min-height: 760px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(43, 29, 23, 0.92), rgba(58, 38, 29, 0.58)),
      url("../img/hero/hero-home-tcm-overview.webp") center / cover no-repeat;
  }

  .profile-hero::before {
    background:
      linear-gradient(180deg, rgba(43, 29, 23, 0.94), rgba(58, 38, 29, 0.68)),
      var(--profile-hero-image, url("../img/hero/hero-home-tcm-overview.webp")) center / cover no-repeat;
  }

  .hero-overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 110px 0 50px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.7rem;
    max-width: 100%;
  }

  .article-hero {
    padding: 58px 0 48px;
  }

  .article-hero-layout {
    gap: 28px;
  }

  .article-hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.45rem);
    line-height: 1.14;
  }

  .article-hero p {
    font-size: 1rem;
  }

  .article-body {
    gap: 32px;
    padding: 48px 0 60px;
  }

  .entry-content {
    font-size: 1rem;
  }

  .profile-overview,
  .profile-topics,
  .profile-sections,
  .profile-process,
  .profile-visuals {
    padding: 54px 0;
  }

  .profile-overview .section-heading h2,
  .profile-topics .section-heading h2,
  .profile-sections .section-heading h2,
  .profile-process .section-heading h2,
  .profile-visuals .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-panel {
    margin-bottom: 0;
    padding: 16px 0 16px 18px;
  }

  .hero-panel strong {
    font-size: 1.12rem;
  }

  .section-band {
    padding: 58px 0;
  }

  .visual-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .heading-with-action {
    display: grid;
    align-items: start;
  }

  .visual-card {
    aspect-ratio: 4 / 3;
  }

  .visual-card.large {
    grid-row: auto;
  }

  .service-grid,
  .service-directory-grid,
  .post-grid,
  .answer-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .footer-service-map {
    grid-template-columns: 1fr;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .service-card figure,
  .profile-visual-card figure,
  .team-prep-card figure,
  .contact-info-card figure {
    aspect-ratio: 16 / 10;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .site-footer .button {
    width: auto;
  }
}
