/* One selected state connects the control, its sign and the detail it reveals. */
:root { --selection-navy: #163743; --selection-gold: #f5db9b; }
/* AO360: a continuous responsibility, from source to execution. */
.project-card .specimen-ao360 {
  width: 100%; max-width: 465px; min-height: 0;
  margin: 18px 0 4px; padding: clamp(22px, 3vw, 30px);
  border-radius: 22px; border: 1px solid #8db3b442;
  background: linear-gradient(145deg, #193d48, #0b2531);
  color: #e8d2a4; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 #f0deb014, 0 14px 32px #18343d12;
  animation: none;
}
.specimen-ao360::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 15% 35%, #e3bc6930, transparent 65%), radial-gradient(ellipse at 90% 90%, #80bdc529, transparent 65%);
  opacity: .45;
}
.project-card .specimen-ao360 .specimen-caption {
  margin: 0 0 26px; text-align: left; color: #b7cdd0;
  font-size: .75rem; letter-spacing: .1em; line-height: 1.7;
}
.specimen-ao360 .bid-chain { display: flex; flex-direction: column; gap: 26px; padding: 0; }
.specimen-ao360 .bid-chain::before,
.specimen-ao360 .bid-chain i::before { content: none; }
.specimen-ao360 .bid-chain i {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px;
  position: relative; min-height: 66px; color: #e9cd95;
}
.specimen-ao360 .bid-glyph { width: 44px; height: 44px; position: relative; z-index: 1; }
.specimen-ao360 .bid-chain strong { display: block; font: 400 1.5rem/1.2 var(--serif); color: #f5dfb0; }
.specimen-ao360 .bid-chain small { display: block; margin-top: 7px; font: 400 .875rem/1.6 var(--sans); color: #bdd1d4; }
.specimen-ao360 .bid-chain i:not(:last-child)::after {
  content: ''; position: absolute; left: 22px; top: 48px; bottom: -22px; width: 1px;
  background: linear-gradient(#d8bd7c45, #d8bd7c45), linear-gradient(transparent 30%, #ffe4ac 48%, transparent 65%);
  background-size: 100% 100%, 100% 220%; background-repeat: no-repeat;
  background-position: 0 0, 0 180%;
}
.project-card.is-in-view .specimen-ao360 { animation: none; }
.project-card.is-in-view .specimen-ao360::before { animation: ao-chain-breathe 7s ease-in-out infinite; }
.project-card.is-in-view .bid-chain i:not(:last-child)::after { animation: ao-chain-flow 4s linear infinite; }
.project-card.is-in-view .bid-chain i:nth-child(2)::after { animation-delay: -2s; }
@keyframes ao-chain-breathe { 0%, 100% { opacity: .3; } 50% { opacity: .8; } }
@keyframes ao-chain-flow { to { background-position: 0 0, 0 -100%; } }
.motion-off .specimen-ao360::before, .motion-off .bid-chain i::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .specimen-ao360::before, .bid-chain i::after { animation: none !important; }
}
/* The signatures share one material; each keeps its own readable grammar. */
.project-card .specimen-archonte,
.project-card .specimen-sites {
  width: 100%; max-width: 465px; min-height: 0; margin: 18px 0 4px;
  padding: clamp(22px, 3vw, 30px); border-radius: 22px; border: 1px solid #8db3b442;
  background: linear-gradient(145deg, #193d48, #0b2531);
  overflow: hidden; box-shadow: inset 0 1px 0 #f0deb014, 0 14px 32px #18343d12;
}
.project-card.is-in-view .specimen-archonte,
.project-card.is-in-view .specimen-sites { animation: none; }
.project-card .specimen-sites { container-type: inline-size; }
.specimen-archonte::before, .specimen-sites::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 15% 30%, #e3bc6928, transparent 65%), radial-gradient(ellipse at 90% 90%, #80bdc525, transparent 65%);
  opacity: .45;
}
.project-card .specimen-archonte .specimen-caption,
.project-card .specimen-sites .specimen-caption {
  text-align: left; color: #b7cdd0; margin: 0 0 26px;
  font-size: .75rem; line-height: 1.7; letter-spacing: .1em;
}
.project-card .archive-stack { display: grid; gap: 26px; padding: 0; margin: 0; height: auto; min-height: 0; perspective: none; }
.project-card .archive-stack > i,
.project-card:hover .archive-stack > i {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 18px;
  position: relative; inset: auto; width: auto; height: auto; padding: 0;
  transform: none; background: none; border: 0; box-shadow: none; transition: none;
}
.archive-glyph { display: block; width: 44px; height: 44px; color: #e9cd95; }
.project-card .archive-stack b { display: block; font: 400 1.5rem/1.25 var(--serif); color: #f5dfb0; }
.project-card .archive-stack small { display: block; font-size: .875rem; line-height: 1.6; color: #bdd1d4; margin-top: 7px; }
.project-card .archive-stack > i:not(:last-child)::after {
  content: ''; position: absolute; left: 22px; top: 49px; bottom: -20px; width: 1px;
  background: linear-gradient(#9cc4cc45, #9cc4cc45), linear-gradient(transparent 30%, #d9f4f1 48%, transparent 65%);
  background-size: 100% 100%, 100% 220%; background-position: 0 0, 0 180%; background-repeat: no-repeat;
}
.project-card .site-specimen,
.project-card:hover .site-specimen {
  padding: 0; transform: none; background: transparent; border: 0; box-shadow: none; transition: none;
}
.site-specimen .browser-bar { margin-bottom: 24px; border-color: #a9c4c232; }
.site-specimen > strong { color: #f1eee0; font: 400 clamp(1.875rem, 3vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.025em; }
.site-specimen > strong em { color: #f5dfb0; }
.site-specimen .site-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0; }
.site-signals > i { position: relative; display: grid; justify-items: center; gap: 10px; font-style: normal; }
.site-signal { display: block; width: 38px; height: 38px; color: #e9cd95; }
.site-signals > i > span { color: #bdd1d4; font-size: .875rem; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.site-signals > i:not(:last-child)::after {
  content: ''; position: absolute; left: calc(50% + 24px); top: 19px; width: calc(100% - 38px); height: 1px;
  background: linear-gradient(90deg, #d8bd7c35, #d8bd7c35), linear-gradient(90deg, transparent 30%, #ffe4ac 48%, transparent 65%);
  background-size: 100% 100%, 220% 100%; background-repeat: no-repeat; background-position: 0 0, 180% 0;
}
.site-specimen .specimen-button { font-size: .875rem; line-height: 1.6; gap: 16px; color: #f5db9b; padding-top: 18px; border-color: #a9c4c232; }
.project-card.is-in-view .specimen-archonte::before,
.project-card.is-in-view .specimen-sites::before { animation: ao-chain-breathe 7s ease-in-out infinite; }
.project-card.is-in-view .archive-stack > i:not(:last-child)::after { animation: ao-chain-flow 4s linear infinite; }
.project-card.is-in-view .archive-stack > i:nth-child(2)::after { animation-delay: -2s; }
.project-card.is-in-view .site-signals > i:not(:last-child)::after { animation: site-signal-flow 4s linear infinite; }
.project-card.is-in-view .site-signals > i:nth-child(2)::after { animation-delay: -2s; }
@keyframes site-signal-flow { to { background-position: 0 0, -100% 0; } }
@container (max-width: 17rem) {
  .site-specimen .site-signals { grid-template-columns: 1fr; gap: 18px; }
  .site-signals > i { grid-template-columns: 38px minmax(0, 1fr); align-items: center; justify-items: start; gap: 16px; }
  .site-signals > i > span { text-align: left; overflow-wrap: normal; }
  .site-signals > i:not(:last-child)::after { content: none; }
}
.motion-off .specimen-archonte::before, .motion-off .specimen-sites::before,
.motion-off .archive-stack > i::after, .motion-off .site-signals > i::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .specimen-archonte::before, .specimen-sites::before, .archive-stack > i::after, .site-signals > i::after { animation: none !important; }
}
.system-node[aria-pressed=true] .node-symbol,
.method-step.active .step-number {
  background: var(--selection-navy);
  border-color: var(--selection-navy);
  color: var(--selection-gold);
}
.system-node[aria-pressed=true] > strong,
.method-step.active strong {
  color: var(--selection-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #a5864080;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}
.node-explanation {
  display: grid;
  grid-template-columns: minmax(125px, .75fr) minmax(0, 2fr);
  align-items: start;
  gap: 16px 24px;
  min-height: 0;
  padding: 20px 0 8px;
  border-top-color: #a0afa9;
  transition: border-color .25s;
}
.node-explanation.has-selection { border-top-color: var(--selection-navy); }
.node-explanation .selection-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font: 500 .9375rem/1.5 var(--sans);
  letter-spacing: .025em;
  margin: 0;
  color: #526b73;
}
.node-explanation.has-selection .selection-heading { color: var(--selection-navy); font-weight: 600; }
.node-explanation .selection-symbol,
.deliverable-header > .selection-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 1px solid var(--selection-navy);
  border-radius: 50%;
  background: var(--selection-navy);
  color: var(--selection-gold);
  font: 400 20px/1 var(--sans);
  letter-spacing: 0;
}
.node-explanation p { margin: 0; font-size: 1rem; line-height: 1.75; }
/* The workshop shares the map's living ink; only the relationships move. */
.system-diagram {
  container-type: inline-size;
  border: 1px solid #99bcb642;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 40%, #244d584f, transparent 72%), #0c2530;
  overflow: hidden;
  margin-block: 24px;
}
.system-diagram .system-node,
.system-diagram .system-node[aria-pressed=true] {
  width: calc((100% - 52px) / 3 - 12px);
  min-height: 0;
  padding: 0;
  transform: translateX(-50%);
  justify-content: flex-start;
  background: transparent;
  box-shadow: none;
}
.system-diagram .system-node .node-symbol {
  width: 44px; height: 44px; min-height: 44px;
  margin: 0 0 10px; border: 0;
  color: #e2c68e; background: transparent;
}
.system-diagram .node-symbol svg { width: 100%; height: 100%; }
.node-explanation .selection-symbol svg { width: 27px; height: 27px; }
.system-diagram .system-node strong { max-width: 100%; font-size: .9375rem; line-height: 1.45; color: #eef0e7; font-weight: 400; }
.system-diagram .system-node small { max-width: 100%; font-size: .8125rem; line-height: 1.5; opacity: 1; color: #b0c9d0; margin-top: 6px; }
.system-diagram .system-node[aria-pressed=true] strong { color: #ffe2a4; font-weight: 500; text-decoration: none; }
.system-diagram .system-node[aria-pressed=true] .node-symbol { color: #ffe2a4; background: #264b55; box-shadow: 0 0 0 5px #d6b97a17; }
.system-diagram .system-node:hover .node-symbol { color: #fff0cb; background: #244751; }
.system-diagram .system-node:focus-visible { outline: 2px solid #f5dca0; outline-offset: 7px; border-radius: 8px; }
.system-diagram .lab-current { animation: lab-flow 4.8s linear infinite; animation-play-state: paused; }
.system-diagram.is-in-view .lab-current { animation-play-state: running; }
.system-diagram.is-in-view .system-node[aria-pressed=true] .node-symbol svg { animation: lab-glyph-breathe 5.8s ease-in-out infinite; }
@keyframes lab-flow { to { stroke-dashoffset: -100; } }
@keyframes lab-glyph-breathe { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@container (max-width: 519px) {
  .system-diagram .system-node { width: calc((100% - 52px) / 2 - 12px); }
}
@media print { .system-diagram { break-inside: avoid; print-color-adjust: exact; } }
/* A working scene: each sign belongs to the detail it explains. */
.method-deliverable {
  min-width: 0; min-height: 0; align-self: start;
  padding: clamp(22px, 3vw, 34px); transform: none;
  overflow: hidden; border-radius: 22px; border: 1px solid #8db3b442;
  background: linear-gradient(145deg, #193d48, #0b2531);
  color: #e5ede9; box-shadow: inset 0 1px 0 #f0deb014, 0 14px 32px #18343d12;
}
.method-deliverable.is-entering, .method-deliverable.flash-in { animation: none; translate: none; }
.method-deliverable::before {
  inset: 0; width: auto; z-index: -1; opacity: .45;
  background: radial-gradient(ellipse at 15% 25%, #e3bc6928, transparent 65%), radial-gradient(ellipse at 90% 90%, #80bdc525, transparent 65%);
}
.method-deliverable::after { content: none; }
.method-deliverable .deliverable-header {
  gap: 16px; padding-bottom: 18px; border-color: #a9c4c232;
  font-size: .75rem; letter-spacing: .08em; line-height: 1.7; color: #b7cdd0;
}
.deliverable-header > .selection-number {
  width: 38px; height: 38px; min-width: 38px;
  border: 1px solid #dac38b8a; background: #d8bd7c0d;
  color: #f5db9b; font-size: .9375rem; box-shadow: 0 0 0 4px #d8bd7c09;
}
.method-deliverable h3 {
  color: #f5dfb0; font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.15; letter-spacing: -.025em; max-width: 20ch; margin: 25px 0 16px;
}
.method-deliverable > p { color: #bdd1d4; font-size: 1rem; line-height: 1.75; max-width: 44ch; margin: 0; }
.method-deliverable .deliverable-list { display: grid; gap: 28px; margin: 30px 0; }
.method-deliverable .deliverable-list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 18px;
  min-width: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.65; color: #e5ede9;
}
.method-deliverable .deliverable-list li::before { content: none; }
.deliverable-sign { display: block; width: 44px; height: 44px; color: #e9cd95; }
.deliverable-sign svg { display: block; width: 100%; height: 100%; }
.deliverable-row-copy { min-width: 0; }
.deliverable-row-copy strong { display: block; font-size: .875rem; font-weight: 500; color: #f5db9b; margin-bottom: 5px; }
.deliverable-row-copy > span { display: block; }
.method-deliverable .deliverable-list li:not(:last-child)::after {
  content: ''; position: absolute; left: 22px; top: 50px; bottom: -22px; width: 1px;
  background: linear-gradient(#d8bd7c35, #d8bd7c35), linear-gradient(transparent 30%, #ffe4ac 48%, transparent 65%);
  background-size: 100% 100%, 100% 220%; background-repeat: no-repeat; background-position: 0 0, 0 180%;
}
.method-deliverable .deliverable-outcome {
  padding: 20px 0 0; border-top: 1px solid #a9c4c232; color: #f0dfba;
}
.deliverable-outcome > span { display: block; font-size: .75rem; letter-spacing: .08em; color: #b7cdd0; margin-bottom: 9px; }
.deliverable-outcome > p { font-size: 1rem; line-height: 1.75; margin: 0; }
.method-deliverable.is-in-view::before { animation: ao-chain-breathe 7s ease-in-out infinite; }
.method-deliverable.is-in-view .deliverable-sign svg { animation: lab-glyph-breathe 5.8s ease-in-out infinite; }
.method-deliverable.is-in-view .deliverable-list li:not(:last-child)::after { animation: ao-chain-flow 4s linear infinite; }
.method-deliverable.is-in-view .deliverable-list li:nth-child(2)::after { animation-delay: -2s; }
.motion-off .method-deliverable::before, .motion-off .deliverable-list li::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .method-deliverable::before, .deliverable-list li::after { animation: none !important; }
}
.atlas .atlas-selector[aria-pressed=true] strong,
.atlas .atlas-selector[aria-pressed=true] .domain-glyph,
.atlas .atlas-page:not([hidden]) > h3,
.atlas .atlas-page:not([hidden]) .atlas-page-head,
.atlas .atlas-page:not([hidden]) .atlas-visual { color: var(--selection-gold); }
/* Recognise a situation, see a concrete possibility, carry the same cap forward. */
.atlas .section-heading > p { font-size: 1rem; line-height: 1.75; max-width: 43ch; }
.atlas .atlas-selector small { font-size: .875rem; line-height: 1.55; color: #a9c2c9; max-width: 19ch; }
.atlas .atlas-selector[aria-pressed=true] small { color: #e6d5af; }
.atlas-content, .atlas-page { min-height: 0; }
.atlas-content, #atlas-choices { scroll-margin-top: 104px; }
.atlas-page > h3 { margin-top: 18px; }
.atlas-page > h3:focus-visible { outline: 1px solid #e3c787; outline-offset: 6px; }
.atlas-next-step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 30px 0 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #b9c9b936;
  border-radius: 22px;
  background: linear-gradient(135deg, #1d414b, #102c38);
  box-shadow: inset 0 1px 0 #e2d9ba0d, 0 12px 32px #020e1518;
}
.atlas-next-step::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 15% 15%, #e9cd9140, transparent 64%), radial-gradient(ellipse at 90% 90%, #91caca25, transparent 70%);
  opacity: .4;
}
.atlas-next-step > * { position: relative; z-index: 1; }
.atlas-visual { height: auto; min-height: 60px; gap: 18px; justify-content: flex-start; margin: 0 0 22px; overflow: visible; border: 0; background: none; }
.atlas-visual > svg { width: 56px; height: 56px; flex: none; stroke: currentColor; filter: none; }
.atlas-visual > span { position: static; color: #e5ece5; font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
.atlas-visual:before { display: none; }
.atlas-next-step .atlas-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  width: 100%;
  margin: 0;
  padding: 15px 22px;
  border: 1px solid #e5c989b3;
  border-radius: 32px;
  background: linear-gradient(110deg, #e4c98b17, #e4c98b05);
  box-shadow: inset 0 1px 0 #ffedc114;
  color: #fff0cd;
  text-decoration: none;
}
.atlas-next-step .atlas-cta > span { font-size: 1.0625rem; line-height: 1.4; font-weight: 500; }
.atlas-next-step .atlas-cta .direction-mark { width: 19px; height: 19px; flex: none; }
.atlas-next-step .atlas-cta:hover,
.atlas-next-step .atlas-cta:focus-visible { background: #e5c98b23; border-color: #ffe3a5; box-shadow: 0 0 22px #e9c57a16; }
.atlas-next-step .atlas-cta:focus-visible { outline: 2px solid #ffebbd; outline-offset: 4px; }
.atlas-next-step .atlas-handoff { font-size: .875rem; line-height: 1.7; color: #bbd1d6; margin: 15px 4px 0; }
.atlas-examples { margin-top: 36px; }
.atlas-page.is-in-view .atlas-next-step::before { animation: atlas-invitation-breathe 6.4s ease-in-out infinite; }
.atlas-page.is-in-view .atlas-visual > svg path { stroke-dasharray: 1; animation: atlas-invitation-trace 1.3s ease-out both; }
.atlas-page.is-in-view .atlas-visual > svg circle { animation: atlas-invitation-point 6.4s ease-in-out infinite; }
@keyframes atlas-invitation-breathe { 0%, 100% { opacity: .3; } 50% { opacity: .75; } }
@keyframes atlas-invitation-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes atlas-invitation-point { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.motion-off .atlas-next-step::before,
.motion-off .atlas-next-step svg * { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .atlas-next-step::before, .atlas-next-step svg * { animation: none !important; }
}
.atlas-return { display: none; }
@media (max-width: 700px) {
  .atlas h2 { font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.13; }
  .atlas .atlas-selector { padding-block: 17px; min-height: 100px; }
  .atlas .atlas-selector strong { font-size: 1rem; }
  .atlas .atlas-selector .domain-glyph { display: block; width: 28px; min-width: 28px; height: 32px; }
  .atlas .atlas-selector .domain-glyph svg { width: 100%; height: 100%; }
  .atlas .atlas-selector > span:last-child { min-width: 0; }
  .atlas-content { margin-top: 24px; }
  .atlas-return { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid #d7bd8545; background: transparent; color: #ddc58e; font-size: .875rem; }
  .atlas-page { padding: 20px 0 0; }
}
.living-map .map-node[aria-pressed=true] > strong,
.living-map .map-node[aria-pressed=true] > span:not(.map-glyph),
.living-map .map-node.is-related > strong,
.living-map .map-explanation > h3 { color: var(--selection-gold); }
@media (max-width: 1000px) {
  .node-explanation { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .node-explanation { transition: none; } }
.motion-off .node-explanation { transition: none; }

/* This transition needs no decorative rail through its reading column. */
.bridge.section-pad { padding-inline: var(--gutter); }
.bridge .bridge-rail { display: none; }

/* Choosing and reading the map are two distinct moments of the same experience. */
.orientation.section-pad { grid-template-areas: "intro intro" "map questions"; }
.orientation.section-pad > .orientation-heading { grid-area: intro; }
.orientation.section-pad > .living-map { grid-area: map; order: 0; }
.orientation.section-pad > .orientation-card {
  grid-area: questions;
  order: 0;
  background: linear-gradient(140deg, #24444e80, #16354040);
  border: 0;
  border-top: 2px solid #d5bc83;
  padding: 24px;
  margin-top: 16px;
  scroll-margin-top: 110px;
}
.orientation-card .wizard-progress { align-items: baseline; color: #ead09b; font-size: .875rem; letter-spacing: .07em; }
.orientation-card .wizard-progress > span:first-child { font-weight: 500; }
.orientation-card .wizard-progress > span:last-child { font-size: .8125rem; color: #b9cdd1; white-space: nowrap; }
.wizard-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 12px; padding: 0; margin: 18px 0 26px; }
.wizard-route li { padding: 0 0 10px; border-bottom: 1px solid #78989e60; color: #a9c0c6; font-size: .8125rem; line-height: 1.5; }
.wizard-route li.filled { border-bottom-color: #d7bd85; color: #f0dcae; }
.wizard-route li[aria-current=step] { border-bottom-width: 2px; color: #fff0ce; }
.orientation .choice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.orientation .choice-grid label { display: block; }
.orientation .choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  left: 0;
  top: 0;
  transform: none;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.orientation .choice-grid label > span,
.orientation .choice-grid label:nth-child(even) > span {
  padding: 15px 12px !important;
  min-height: 64px;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.55;
  color: #d4e1e2;
}
.orientation .choice-grid label > span:before { width: 12px; height: 12px; border-color: #b7c8c9; }
.orientation .choice-grid input:checked + span:before { box-shadow: inset 0 0 0 3px #1b3640, 0 0 0 3px #e4c88c16; }
.orientation .choice-grid input:focus-visible + span { outline: 2px solid #efd299; outline-offset: -3px; }
.orientation-card .wizard-disclaimer { color: #b0c6cc; }
@media (max-width: 760px) {
  .orientation.section-pad > .orientation-card { margin: 8px 0 22px; padding: 22px 18px; }
  .orientation.section-pad > .living-map { margin-top: 0; }
  .orientation.section-pad.map-complete > .orientation-card { margin-top: 24px; }
  .orientation legend { font-size: clamp(1.75rem, 7vw, 2.125rem); line-height: 1.2; }
  .orientation .choice-grid label > span, .orientation .choice-grid label:nth-child(even) > span { padding: 14px 8px !important; }
}

/* Reading planes have their own space. The sculpture never carries the controls. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "copy sculpture" "controls controls";
  align-items: center;
  gap: 18px 32px;
  min-height: 0;
  height: auto;
  max-height: none;
  padding-top: 126px;
  padding-bottom: 30px;
}
.hero > .hero-copy { grid-area: copy; width: auto; max-width: none; min-width: 0; padding: 0; }
.hero h1 { font-size: clamp(3.875rem, 7.2vw, 7.375rem); line-height: 1; }
.hero .eyebrow { font-size: .75rem; line-height: 1.7; margin-bottom: 24px; }
.hero .hero-intro { font-size: clamp(21px, 1.8vw, 27px); margin-top: 24px; }
.hero .hero-description { font-size: 1rem; line-height: 1.8; color: #becfd5; max-width: 44ch; }
.hero > .hero-art {
  grid-area: sculpture;
  position: relative;
  inset: auto;
  width: 100%;
  height: clamp(440px, 43vw, 660px);
  max-width: none;
  min-width: 0;
  margin: 0;
  opacity: 1;
  mask-image: none;
  align-self: center;
}
.hero > .hero-footer {
  grid-area: controls;
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(210px, .9fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #d9ba7740;
}
.hero-footer .scene-annotation {
  position: static;
  display: block;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.hero-footer .scene-annotation > span:first-child { display: block; color: #d9c48f; font-size: .75rem; letter-spacing: .12em; }
.hero-footer .scene-annotation > p { color: #c5d4d8; font-size: .9375rem; line-height: 1.65; margin: 6px 0 0; }
.hero-footer .scene-annotation strong { color: #f1dfb3; margin: 0; }
.hero-footer .scene-annotation-rule { display: none; }
.hero .scene-selector { width: 100%; max-width: none; min-width: 0; gap: 22px; }
.hero .scene-selector button { display: flex; flex-direction: column; gap: 8px; min-height: 70px; padding: 8px 0 16px; color: #c3d2d6; }
.hero .scene-selector button > span { font-size: .75rem; line-height: 1.4; letter-spacing: .1em; color: #b4bfb6; }
.hero .scene-selector button > strong { font-size: .9375rem; line-height: 1.5; font-weight: 400; }
.hero .hero-tools { width: auto; margin: 0; gap: 2px; flex-direction: column; align-items: flex-end; }
.hero .motion-button, .hero .scroll-cue { color: #c3d2d6; font-size: .875rem; min-height: 44px; line-height: 1.6; }
.hero .scroll-cue { border-bottom: 1px solid #d1b87e60; }

/* A quiet brass edge replaces the large gold slabs and target pictograms. */
.button.button-gold, .orientation-card .button, .contact-form .button.button-gold {
  background: linear-gradient(120deg, #d6b97d12, #d6b97d03);
  border: 1px solid #cdb47c90;
  color: #f0dcaf;
  border-radius: 28px;
  box-shadow: inset 0 1px 0 #f4dda512;
  min-height: 48px;
  padding: 12px 22px;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
}
.button.button-gold:hover, .orientation-card .button:hover, .contact-form .button.button-gold:hover {
  background: #d7bb7f18;
  border-color: #e4c991;
  color: #fff0cb;
  box-shadow: inset 0 1px 0 #f4dda520, 0 5px 22px #00000012;
  transform: translateY(-1px);
}
.contact-compose-footer { flex-wrap: wrap; gap: 14px 24px; }
.contact-compose-footer > p { max-width: 32ch; color: #aec4cc; font-size: .8125rem; }
.contact-compose-footer .button { min-width: 0; flex-shrink: 0; }
.contact-data { color: #a9c1c9; }
.review-controls { flex-wrap: wrap; }
.review-controls .button { max-width: 100%; }
.map-actions > .button { width: fit-content; }
.direction-mark { width: 20px; height: 20px; min-width: 20px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.specimen-button .direction-mark { width: 17px; height: 17px; min-width: 17px; }

/* Measured HTML labels determine the height of the live diagram. */
.map-stage { margin-inline: 0; }
.map-reading-key { max-width: 56ch; margin: 16px 0 12px; color: #b9cdd1; font-size: .9375rem; line-height: 1.7; }
.map-reading-key strong { color: var(--selection-gold); font-weight: 500; }
.living-map .map-node[data-map-node=goal] > span:not(.map-glyph),
.living-map .map-node[data-map-node=goal] > strong { color: var(--selection-gold); }
.map-explanation > .map-cap-context { font-size: .875rem; line-height: 1.6; color: var(--selection-gold); border-bottom: 1px solid #d7bd8533; padding-bottom: 12px; margin-bottom: 6px; }
.map-node { overflow-wrap: break-word; }
.map-node:not(.is-known) { opacity: 1; color: #b9cdd1; }
.map-node small { color: #a5bfc6; }
.map-node strong { overflow-wrap: break-word; }
.map-legend { position: relative; clear: both; padding-block: 12px 16px; }
.map-legend > span { min-width: 0; }
.map-legend i { flex: none; }

/* Contact details occupy whole rows, including on narrow phones. */
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer-contact { display: flex; flex-direction: column; flex: 0 1 auto; width: auto; max-width: 100%; min-width: 0; gap: 0; grid-column: auto; grid-row: auto; text-align: left; font-size: 1rem; }
.footer-contact > a { display: block; width: fit-content; max-width: 100%; min-height: 44px; padding: 8px 0; line-height: 1.6; overflow-wrap: normal; word-break: normal; }
.footer a[href^="tel:"], .contact-direct a[href^="tel:"] { white-space: nowrap; }
.footer a[href^="mailto:"], .contact-email { white-space: normal; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 100%; min-width: 0; }
.contact-direct .contact-email { font-size: .9375rem; width: auto; max-width: 100%; min-height: 44px; }
.footer-bottom > div { flex-wrap: wrap; gap: 8px 24px; }

/* The map remains one gesture away without occupying the width of the screen. */
.journey-dock {
  width: max-content;
  max-width: calc(100% - 32px);
  bottom: calc(16px + env(safe-area-inset-bottom));
  padding: 4px;
  gap: 0;
  border: 1px solid #cbb27a70;
  border-radius: 30px;
  background: #102735f5;
  box-shadow: 0 6px 24px #00000024;
}
/* Let the page's colours pass through the surface, never through its text. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .journey-dock {
    background: #102735d1;
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .journey-dock {
    background: #102735;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.journey-dock > span { display: none; }
.journey-dock > a, .journey-dock.has-map > a {
  min-height: 44px;
  width: auto;
  padding: 9px 20px;
  gap: 12px;
  background: transparent;
  color: #f1dfb5;
  font-size: .875rem;
  line-height: 1.5;
  white-space: normal;
  border-radius: 24px;
}
.journey-dock > a:hover { background: #d5b87e12; }
.journey-dock.has-map > a > .dock-status { padding-left: 12px; font-size: .75rem; line-height: 1.5; border-left: 1px solid #c1b18540; color: #b6cbd0; }

@media (max-width: 1100px) {
  .hero { gap: 28px 20px; padding-top: 112px; }
  .hero > .hero-footer { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; }
  .hero-footer .scene-annotation { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
  .hero-footer .scene-annotation > p { margin: 0; }
  .hero-footer .scene-annotation br { display: none; }
  .hero-footer .scene-annotation strong { margin-left: .25em; }
  .contact-section.section-pad { grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr); gap: 30px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "sculpture" "controls"; gap: 16px; padding: 112px 24px 28px; }
  .hero h1 { font-size: clamp(53px, 12vw, 82px); }
  .hero .hero-intro { font-size: 1.375rem; }
  .hero .hero-description { font-size: 1rem; }
  .hero > .hero-art { height: 300px; width: 100%; margin: 0; }
  .hero > .hero-footer { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 18px; }
  .hero-footer .scene-annotation { gap: 14px; align-items: flex-start; }
  .hero-footer .scene-annotation > span:first-child { flex: none; padding-top: 3px; }
  .hero-footer .scene-annotation > p { font-size: .875rem; }
  .hero-footer .scene-annotation br { display: initial; }
  .hero-footer .scene-annotation strong { margin-left: 0; }
  .hero .scene-selector { gap: 18px; }
  .hero .scene-selector button > strong { font-size: .875rem; }
  .hero .hero-tools { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
  .hero-actions { gap: 14px; }
  .hero .hero-actions .button { min-height: 48px; padding: 12px 20px; font-size: .875rem; }
  .contact-compose-footer { gap: 16px; }
  .contact-compose-footer > p { max-width: none; }
  .footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-top > .brand { width: auto; }
  .footer-contact { width: 100%; flex-basis: auto; font-size: 1rem; }
  .footer-top > p { display: none; }
  .footer-bottom { gap: 10px 20px; }
}
@media (max-width: 380px) {
  .hero { padding-inline: 20px; padding-top: 105px; }
  .hero > .hero-art { height: 270px; }
  .hero .hero-tools { flex-wrap: wrap; gap: 4px 16px; }
  .footer-contact, .contact-direct .contact-email { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button.button-gold:hover, .orientation-card .button:hover, .contact-form .button.button-gold:hover { transform: none; }
}
.motion-off .button.button-gold:hover, .motion-off .orientation-card .button:hover, .motion-off .contact-form .button.button-gold:hover { transform: none; }
