:root {
  color-scheme: light;
  --ink: #101512;
  --green: #103c33;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #1a211e;
  --muted: #64706b;
  --accent: #d9ff62;
  --text-width: 1180px;
  --gutter: clamp(18px, 4vw, 72px);
  --gallery-height: clamp(320px, 56svh, 520px);
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.text-shell {
  width: min(100%, var(--text-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-brand,
.nav-track a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand {
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.nav-track {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-track::-webkit-scrollbar { display: none; }
.nav-track a:hover, .nav-track a:focus-visible { background: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  min-height: calc(100svh - 54px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-meta {
  grid-column: 1 / -1;
  align-self: start;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 47svh;
  padding: clamp(40px, 7vw, 110px) var(--gutter);
  border-right: 1px solid var(--line);
}

.hero-title-block h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(3.6rem, 8.4vw, 8.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-title-block p {
  margin: clamp(24px, 3vw, 42px) 0 0;
  font-size: clamp(1.25rem, 2.25vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero-number {
  align-self: center;
  padding: 24px;
  color: var(--green);
  font-size: clamp(5.5rem, 13vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  writing-mode: vertical-rl;
}

.hero-summary {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0;
  padding: clamp(34px, 5vw, 72px) var(--gutter);
  border-top: 1px solid var(--line);
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.65;
}

.editorial-section,
.structure-section,
.chapter {
  border-bottom: 1px solid var(--line);
}

.editorial-section {
  position: relative;
  padding-block: clamp(72px, 10vw, 160px);
}

.section-marker {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  color: var(--green);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
}

.section-heading { margin-bottom: clamp(54px, 8vw, 110px); }
.eyebrow { margin: 0 0 12px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; line-height: 1.4; }

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  color: var(--green);
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.reading-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 6vw, 100px);
}

.reading-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

.reading-copy { font-size: 1rem; }
.reading-copy p { max-width: 760px; margin: 0 0 1.25em; }
.reading-copy p:last-child { margin-bottom: 0; }
.lead-copy { font-size: clamp(1.2rem, 1.75vw, 1.58rem); line-height: 1.75; }
.compact-grid { margin-top: clamp(46px, 7vw, 90px); padding-top: 28px; border-top: 1px solid var(--line); }
.theme-plan { margin-block: clamp(32px, 5vw, 64px); }
.theme-plan-frame {
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.theme-plan-frame img {
  display: block;
  width: 100%;
  height: auto;
}
sup a { text-decoration: none; }

.understanding-section { padding-bottom: 0; }
.understanding-marker { letter-spacing: -0.03em; }
.understanding-intro { padding-bottom: clamp(66px, 9vw, 124px); }
.understanding-intro > p {
  max-width: 980px;
  margin: 0 0 clamp(54px, 8vw, 100px);
  font-size: clamp(1.65rem, 3.5vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.35;
}
.understanding-shift {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(240px, 0.35fr);
  border-block: 1px solid var(--line);
}
.understanding-shift > div { padding: clamp(28px, 4vw, 52px) 0; }
.understanding-shift span { display: block; margin-bottom: 24px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.understanding-shift strong { display: block; max-width: 720px; color: var(--green); font-size: clamp(1.8rem, 4vw, 4.5rem); letter-spacing: -0.055em; line-height: 1.08; }
.understanding-shift > p { display: flex; align-items: flex-end; margin: 0; padding: clamp(28px, 4vw, 52px); border-left: 1px solid var(--line); font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 650; line-height: 1.5; }
.observation-block { padding-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.observation-heading { padding-bottom: clamp(38px, 6vw, 72px); }
.observation-heading h3 { margin: 0; color: var(--green); font-size: clamp(2.1rem, 5vw, 5.5rem); letter-spacing: -0.05em; line-height: 1; }
.observation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.observation-grid li { min-height: 300px; padding: clamp(26px, 4vw, 58px) var(--gutter); }
.observation-grid li + li { border-left: 1px solid var(--line); }
.observation-grid span { display: block; margin-bottom: clamp(42px, 7vw, 90px); color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.observation-grid h4 { margin: 0 0 18px; color: var(--green); font-size: clamp(1.35rem, 2.3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.15; }
.observation-grid p { max-width: 360px; margin: 0; }
.understanding-quote { margin-block: 0; padding-block: clamp(54px, 8vw, 100px); }
.understanding-quote p { max-width: 940px; margin: 0; color: var(--green); font-size: clamp(1.35rem, 2.4vw, 2.6rem); font-weight: 650; line-height: 1.55; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.audience-grid article {
  min-height: 190px;
  padding: clamp(22px, 2.5vw, 34px);
}

.audience-grid article + article { border-left: 1px solid var(--line); }
.audience-grid h4 { margin: 0 0 34px; color: var(--green); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.35; }
.audience-grid p { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.audience-summary { margin: 22px 0 0 !important; color: var(--muted); font-size: 0.9rem; }

.structure-section { padding-top: clamp(72px, 10vw, 150px); }
.structure-copy { padding-bottom: clamp(58px, 8vw, 100px); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.structure-copy strong { color: var(--green); }

.theme-options {
  padding-block: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.theme-options-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.theme-options-heading .eyebrow { margin: 0; }
.theme-options-heading h3 {
  max-width: 760px;
  margin: 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.theme-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.theme-option {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--line);
}

.theme-option-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 54px);
  color: var(--green);
}

.theme-option-meta span { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; }
.theme-option-meta small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; }
.theme-option h4 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.theme-option-slogan {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
}

.theme-option-copy { margin-top: clamp(30px, 4vw, 52px); }
.theme-option-copy p { margin: 0; color: var(--ink); line-height: 1.85; }
.theme-option-copy p + p { margin-top: 1em; }

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

.chapter-index li + li { border-left: 1px solid var(--line); }
.chapter-index a { display: flex; min-height: 260px; flex-direction: column; padding: 22px; text-decoration: none; }
.chapter-index a:hover, .chapter-index a:focus-visible { background: var(--accent); }
.chapter-index span { margin-bottom: auto; font-size: 0.78rem; font-weight: 800; }
.chapter-index strong { color: var(--green); font-size: clamp(1.5rem, 2.3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.1; }
.chapter-index small { margin-top: 12px; font-size: 0.9rem; line-height: 1.45; }

.chapter { padding-top: clamp(74px, 9vw, 130px); }

.chapter-header {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  border-block: 1px solid var(--line);
}

.chapter-no {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border-right: 1px solid var(--line);
  color: var(--green);
  font-size: clamp(8rem, 22vw, 24rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.78;
}

.chapter-heading { align-self: end; padding: clamp(36px, 5vw, 78px) var(--gutter); }
.chapter-heading h2 { margin: 0; color: var(--green); font-size: clamp(3.4rem, 8vw, 9rem); font-weight: 800; letter-spacing: -0.065em; line-height: 0.9; }
.chapter-heading > p:last-child { margin: 24px 0 0; font-size: clamp(1.15rem, 2vw, 2rem); font-weight: 600; line-height: 1.35; }
.chapter-statement { margin: 0; padding: 26px var(--gutter); border-top: 1px solid var(--line); font-size: clamp(1.1rem, 1.7vw, 1.55rem); font-weight: 650; }

.chapter-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-block: clamp(72px, 9vw, 130px);
}

.chapter-body article { padding: 34px 42px 44px 0; border-top: 1px solid var(--line); }
.chapter-body article:nth-child(even) { padding-inline: 42px 0; border-left: 1px solid var(--line); }
.chapter-body h3 { margin: 0 0 26px; color: var(--green); font-size: 0.82rem; letter-spacing: 0.08em; line-height: 1.5; }
.chapter-body p { margin: 0 0 1em; max-width: 620px; }
.chapter-body p:last-child { margin-bottom: 0; }

.chapter-body.content-rail {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0;
  border-block: 1px solid var(--line);
  scrollbar-color: var(--green) var(--paper);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.chapter-body.content-rail article,
.chapter-body.content-rail article:nth-child(even) {
  flex: 0 0 clamp(360px, 42vw, 560px);
  padding: clamp(30px, 4vw, 56px);
  border-top: 0;
  border-left: 1px solid var(--line);
  scroll-snap-align: start;
}

.chapter-body.content-rail article:first-child { border-left: 0; }
.chapter-body.content-rail p { max-width: none; }

.chapter-body.planning-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: clamp(28px, 4vw, 48px);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.68;
}

.chapter-body.planning-modules article,
.chapter-body.planning-modules article:nth-child(even) {
  padding: 22px clamp(20px, 2.4vw, 34px) 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.chapter-body.planning-modules article:first-child { border-left: 0; }
.planning-modules h3 { margin-bottom: 14px; font-size: 0.78rem; }
.planning-modules p, .planning-modules li { font-size: inherit; }
.planning-modules ul { margin: 0; padding-left: 1.2em; }
.planning-modules li + li { margin-top: 5px; }

.product-list { border-top: 1px solid var(--line); }
.product-name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-entry {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.product-name-grid .product-entry { border-right: 1px solid var(--line); }
.product-name-grid .product-entry:last-child { border-right: 0; }

.product-entry-split { grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr); }
.product-copy { min-width: 0; padding: clamp(28px, 4vw, 56px) var(--gutter); }
.product-entry .gallery-mount,
.product-entry .gallery-group,
.product-entry .media-rail { min-width: 0; max-width: 100%; }

.product-copy h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.05rem, 1.65vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-name-stack h3 + h3 { margin-top: 14px; }
.product-note { margin: 22px 0 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.product-entry .gallery-group { padding-bottom: 0; }
.product-entry .gallery-heading { display: none; }
.product-entry .single-row-gallery .media-row { width: 100%; min-width: 0; }
.product-entry .single-row-gallery .media-item { flex: var(--ratio, 0.75) 1 0; width: auto; }
.product-entry .single-row-gallery .media-button img { width: 100%; height: auto; object-fit: contain; }
[data-gallery="travel-ai-reference"] .single-row-gallery .media-row { width: max-content; min-width: 100%; }
[data-gallery="travel-ai-reference"] .single-row-gallery .media-item {
  flex: 0 0 calc(var(--ratio, 0.75) * clamp(260px, 34vw, 420px));
  width: calc(var(--ratio, 0.75) * clamp(260px, 34vw, 420px));
}
[data-gallery="travel-ai-reference"] .single-row-gallery .media-button img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: contain;
}
.chapter-reference-gallery .gallery-group { padding-bottom: clamp(28px, 4vw, 48px); }

.gallery-group { padding-bottom: clamp(62px, 8vw, 112px); }
.gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 16px; border-top: 1px solid var(--line); }
.gallery-heading h3 { margin: 0; color: var(--green); font-size: clamp(1.2rem, 2.5vw, 2rem); letter-spacing: -0.03em; line-height: 1.25; }
.gallery-heading p { margin: 0; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
.media-rail { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: var(--green) var(--paper); scrollbar-width: thin; }
.media-row { display: flex; width: 100%; align-items: flex-start; gap: 0; }
.media-item { flex: var(--ratio, 0.75) 1 0; min-width: 0; margin: 0; background: var(--paper); }
.media-button { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.media-button img { display: block; width: 100%; height: auto; }
.media-button:focus-visible { outline: 4px solid var(--accent); outline-offset: -4px; }

.two-row-gallery .media-row,
.single-row-gallery .media-row { width: max-content; min-width: 100%; }
.two-row-gallery .media-item,
.single-row-gallery .media-item {
  flex: 0 0 calc(var(--ratio, 0.75) * clamp(260px, 34vw, 420px));
  width: calc(var(--ratio, 0.75) * clamp(260px, 34vw, 420px));
}
.two-row-gallery .media-button img,
.single-row-gallery .media-button img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: contain;
}

.space-section { padding-bottom: 0; }
.space-copy { padding-top: 0; }
.space-section .gallery-group:last-child { padding-bottom: clamp(78px, 10vw, 140px); }

.space-copy .space-visual-card,
.space-copy .space-visual-card:nth-child(even) {
  grid-column: 1 / -1;
  min-width: 0;
  padding: clamp(42px, 6vw, 76px) 0;
  border-left: 0;
}

.space-visual-card > h3 { margin-bottom: 26px; }
.space-visual-card p { max-width: none; }

.visual-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--green) var(--paper);
  scrollbar-width: thin;
}

.visual-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.visual-table th,
.visual-table td {
  padding: 20px 24px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.visual-table thead th {
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.visual-table tbody th { width: 26%; color: var(--green); }
.visual-note { margin-top: 20px !important; color: var(--muted); font-size: 0.92rem; }

.hierarchy-chart {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.hierarchy-chart li {
  position: relative;
  min-height: 210px;
  padding: 28px;
}

.hierarchy-chart li + li { border-left: 1px solid var(--line); }
.chart-no { display: block; margin-bottom: 36px; color: var(--green); font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; }
.hierarchy-chart strong, .space-flow strong { display: block; margin-bottom: 12px; color: var(--green); }
.hierarchy-chart p, .space-flow p, .hierarchy-support p { margin: 0; }

.hierarchy-support {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-top: 0;
}

.hierarchy-support strong { color: var(--green); }

.space-flow {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-block: 1px solid var(--line);
  list-style: none;
  scrollbar-color: var(--green) var(--paper);
  scrollbar-width: thin;
}

.space-flow li {
  position: relative;
  flex: 1 0 230px;
  min-width: 0;
  padding: 28px 42px 32px 28px;
  border-left: 1px solid var(--line);
}

.space-flow li:first-child { border-left: 0; }
.space-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--green);
  content: "→";
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.venue-plan {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 22px 38px rgba(8, 61, 52, 0.1);
}

.venue-plan-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.venue-plan-button:focus-visible { outline: 4px solid var(--accent); outline-offset: -4px; }

.venue-plan img {
  display: block;
  width: 100%;
  height: auto;
}

.source-footer { padding-block: clamp(58px, 8vw, 100px); background: var(--green); color: var(--white); }
.source-footer p { max-width: 920px; margin: 0 0 16px; font-size: 0.88rem; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b0e0d;
  color: var(--white);
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox-toolbar { z-index: 2; display: grid; grid-template-columns: auto 1fr auto; min-height: 54px; align-items: center; border-bottom: 1px solid #46504c; }
.lightbox-toolbar button, .lightbox-toolbar a, .lightbox-prev, .lightbox-next { padding: 16px 20px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 0.78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.lightbox-toolbar button { border-right: 1px solid #46504c; }
.lightbox-toolbar a { border-left: 1px solid #46504c; }
.lightbox-toolbar p { overflow: hidden; margin: 0; padding: 0 18px; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-image-button { display: grid; min-height: 0; place-items: center; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lightbox-image-button img { display: block; max-width: 100%; max-height: calc(100dvh - 54px); object-fit: contain; }
.lightbox-prev, .lightbox-next { position: fixed; z-index: 3; top: 50%; background: rgba(11, 14, 13, 0.7); }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-nav { min-height: 50px; }
  .nav-brand, .nav-track a { min-height: 50px; padding-inline: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-title-block { min-height: 52svh; border-right: 0; }
  .hero-number { display: none; }
  .hero-summary { grid-column: 1; }
  .understanding-shift { grid-template-columns: 1fr; }
  .understanding-shift > p { align-items: flex-start; padding-inline: 0; border-top: 1px solid var(--line); border-left: 0; }
  .observation-grid { grid-template-columns: 1fr; }
  .observation-grid li { min-height: 0; }
  .observation-grid li + li { border-top: 1px solid var(--line); border-left: 0; }
  .observation-grid span { margin-bottom: 34px; }
  .reading-grid { grid-template-columns: 1fr; gap: 20px; }
  .reading-label { color: var(--green); }
  .theme-options-heading { display: block; }
  .theme-options-heading .eyebrow { margin-bottom: 12px; }
  .theme-option-grid { grid-template-columns: 1fr; }
  .theme-option { border-right: 0; border-bottom: 1px solid var(--line); }
  .theme-option:last-child { border-bottom: 0; }
  .chapter-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-index li:nth-child(3) { border-left: 0; }
  .chapter-index li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .chapter-index a { min-height: 210px; }
  .chapter-header { grid-template-columns: 1fr; }
  .chapter-no { display: block; min-height: 0; padding: 26px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); font-size: clamp(5rem, 29vw, 11rem); line-height: 0.78; }
  .chapter-heading { padding-top: 54px; }
  .chapter-body { grid-template-columns: 1fr; }
  .chapter-body article, .chapter-body article:nth-child(even) { padding: 30px 0 38px; border-left: 0; }
  .chapter-body.content-rail article,
  .chapter-body.content-rail article:nth-child(even) {
    flex-basis: min(84vw, 560px);
    padding: 30px 24px 38px;
    border-left: 1px solid var(--line);
  }
  .chapter-body.content-rail article:first-child { border-left: 0; }
  .chapter-body.planning-modules { grid-template-columns: 1fr; }
  .chapter-body.planning-modules article,
  .chapter-body.planning-modules article:nth-child(even) { padding: 20px 18px 24px; border-left: 0; }
  .chapter-body.planning-modules article + article { border-top: 1px solid var(--line); }
  .product-name-grid { grid-template-columns: 1fr; }
  .product-name-grid .product-entry { border-right: 0; }
  .product-entry-split { grid-template-columns: minmax(0, 1fr); }
  .product-entry .single-row-gallery .media-row { width: max-content; min-width: 100%; }
  .product-entry .single-row-gallery .media-item { flex: 0 0 calc(var(--ratio, 0.75) * var(--gallery-height)); width: calc(var(--ratio, 0.75) * var(--gallery-height)); }
  .product-entry .single-row-gallery .media-button img { width: 100%; height: var(--gallery-height); object-fit: contain; }
  .space-copy .space-visual-card,
  .space-copy .space-visual-card:nth-child(even) { padding: 38px 0; }
  .hierarchy-chart { grid-template-columns: 1fr; }
  .hierarchy-chart li { min-height: 0; padding: 26px 24px 32px; }
  .hierarchy-chart li + li { border-top: 1px solid var(--line); border-left: 0; }
  .chart-no { margin-bottom: 24px; }
  .hierarchy-support { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
  .space-flow li { flex-basis: 82vw; }
  .media-row { width: max-content; min-width: 100%; }
  .media-item { flex: 0 0 calc(var(--ratio, 0.75) * var(--gallery-height)); width: calc(var(--ratio, 0.75) * var(--gallery-height)); }
  .media-button img { width: 100%; height: var(--gallery-height); object-fit: contain; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; --gallery-height: clamp(300px, 54svh, 440px); }
  .hero-title-block h1 { font-size: clamp(3.15rem, 15.5vw, 5.4rem); line-height: 0.96; }
  .hero-title-block p { font-size: 1.25rem; }
  .hero-summary { font-size: 1.08rem; }
  .chapter-index { grid-template-columns: 1fr; }
  .chapter-index li + li { border-left: 0; border-top: 1px solid var(--line); }
  .chapter-index a { min-height: 170px; }
  .product-copy { padding: 24px 18px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .lightbox-toolbar { grid-template-columns: auto 1fr; }
  .lightbox-toolbar a { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 0; }
  .audience-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
