.section-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; }
.section-nav a { display: inline-flex; align-items: center; min-height: 34px; padding-inline: .08rem; color: #415746; text-decoration: none; white-space: nowrap; font-size: .85rem; font-weight: 590; }
.section-nav a:hover,.section-nav a:focus-visible { color: #1f513c; text-decoration: underline; text-decoration-color: #aa8c55; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.section-nav a:focus-visible,.privacy-button:focus-visible,.privacy-close:focus-visible { outline: 3px solid #966b3d; outline-offset: 4px; }
#simulator,.new-section { scroll-margin-top: 1.5rem; }
.new-section { margin-top: clamp(2rem,4.5vw,3.6rem); padding-top: clamp(1.2rem,2.8vw,2.1rem); border-top: 1px solid var(--rule); }
.new-section h2 { margin: 0; font: 400 clamp(2.15rem,3.9vw,3.25rem)/1.09 var(--serif); letter-spacing: -.055em; }
.section-lede { max-width: 66ch; margin-top: .5rem; color: var(--muted); font-size: .97rem; }
.estimates-header { margin-bottom: 1.1rem; }
.privacy-button { display: inline-flex; align-items: center; gap: .37rem; width: fit-content; color: #3e5e47; background: none; padding: .32rem 0; font: 600 .8rem/1.4 var(--sans); border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: #9caa95; text-underline-offset: .23em; }
.privacy-button:hover { color: #213f2d; text-decoration-color: currentColor; }
.privacy-button svg,.privacy-close svg { display: block; flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.intro-copy .privacy-button { margin-top: .45rem; }
.foot-privacy { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.25rem; flex-wrap: wrap; border-top: 1px solid var(--rule); margin-top: clamp(1.8rem,4vw,3rem); }
.foot-privacy .privacy-button { font-size: inherit; }
#confidentiality-dialog { width: min(37rem,calc(100% - 2rem)); max-height: 90vh; max-height: 90dvh; overflow: auto; padding: 0; border: 1px solid #aebba8; border-radius: 16px; color: var(--ink); background: var(--paper); box-shadow: inset 0 1px 0 #fffdf4,0 25px 70px #0a241d4a; }
#confidentiality-dialog::backdrop { background: #152a20a1; backdrop-filter: blur(3px); }
body:has(#confidentiality-dialog[open]) { overflow: hidden; }
.privacy-card { position: relative; padding: clamp(1.3rem,4vw,2.3rem); }
.privacy-close { position: absolute; z-index: 1; top: 1rem; right: 1rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c5cbb8; border-radius: 50%; color: var(--ink); background: #fffdf6; cursor: pointer; }
.privacy-close:hover { background: #e5ebdd; }
.privacy-portrait { width: 135px; height: 112px; margin: -.3rem 0 .45rem; object-fit: contain; mask-image: radial-gradient(ellipse 65% 72% at 50% 50%,black 65%,transparent 100%); }
.privacy-card h2 { margin: 0 0 .8rem; font: 400 clamp(2.05rem,5vw,3rem)/1.05 var(--serif); letter-spacing: -.06em; }
.privacy-card p { margin: .65rem 0; color: #435747; line-height: 1.6; font-size: .96rem; }
@media(max-width:820px) {
  .bar { flex-wrap: wrap; padding-top: .65rem; gap: .45rem 1rem; }
  .section-nav { order: 2; flex-basis: 100%; gap: 1.2rem; padding-bottom: .25rem; }
  .section-nav a { font-size: .8rem; }
}
@media(max-width:700px) {
  .section-nav { gap: 1rem; }
  .section-nav a { font-size: .76rem; }
  .intro-copy .privacy-button { font-size: .72rem; margin-top: .26rem; }
  .intro-copy .privacy-button svg { width: 14px; height: 14px; }
  .foot-privacy { gap: .2rem; align-items: start; flex-direction: column; }
}
.section-display { display: grid; grid-template-columns: minmax(0,1fr) minmax(160px,.45fr); align-items: center; gap: clamp(1rem,4vw,3rem); }
.section-display .section-lede { max-width: 54ch; }
.section-art { height: clamp(125px,14vw,165px); display: grid; place-items: center; }
.section-art img { width: 100%; height: 100%; object-fit: contain; max-height: inherit; mask-image: radial-gradient(ellipse 78% 83% at 50% 52%,black 54%,#000e 70%,transparent 99%); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .still-life img,.section-art img { transition: transform .45s ease,filter .45s ease; }
  .still-life:hover img,.section-art:hover img { transform: translateY(-2px) rotate(-.6deg); filter: brightness(1.035) saturate(1.05); }
}
@media(max-width:700px) {
  .section-display { grid-template-columns: minmax(0,1fr) minmax(85px,.35fr); gap: .4rem; }
  .section-display h2 { font-size: clamp(1.85rem,6vw,2.7rem); }
  .section-display .section-lede { font-size: .86rem; }
  .section-art { height: 94px; }
  .new-section { margin-top: 2rem; }
}
.journey-link {
  display: inline-flex; align-items: center; min-height: 42px; max-width: 100%;
  margin-top: .48rem; padding: .2rem .05rem; color: #315740;
  font: 640 .86rem/1.4 var(--sans); text-decoration-line: underline;
  text-decoration-color: #a7b19a; text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.journey-link:hover { color: #203f2e; text-decoration-color: currentColor; }
.journey-link:focus-visible { outline: 3px solid #986b3f; outline-offset: 2px; border-radius: 3px; }
#estimates:focus-visible,#relationships:focus-visible,#simulator:focus-visible { outline: 2px solid #8a9f81; outline-offset: 5px; }
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior: smooth; } }
