* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body.story-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button {
  border: 0;
}
button,
details,
a {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
.story-wrap {
  width: min(1180px, 89vw);
  margin-inline: auto;
}
.story-skip {
  position: absolute;
  top: -80px;
  z-index: 200;
  padding: 12px;
  background: var(--action-bg);
  color: var(--action-ink);
}
.story-skip:focus {
  top: 6px;
}
.story-header {
  height: 91px;
  padding: 12px 5.5vw;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 30;
}
.story-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.story-brand img {
  width: 45px;
  height: 52px;
  object-fit: contain;
  filter: none;
}
.story-brand strong {
  font-size: 22px;
  color: var(--heading);
}
.story-brand small {
  display: block;
  font:
    8px Georgia,
    serif;
  letter-spacing: 3px;
  color: var(--gold);
}
.story-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
  font-size: 12px;
}
.story-navigation a:hover {
  color: var(--gold);
}
.story-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.story-controls button,
.story-back {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 9px 12px;
  min-width: 40px;
  min-height: 42px;
  font-size: 11px;
}
.story-controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.story-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: calc(100svh - 91px);
  gap: 30px;
  padding-block: 55px 70px;
}
.story-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: clamp(35px, 4.3vw, 61px);
  line-height: 1.5;
  letter-spacing: -1.4px;
  white-space: normal;
  font-weight: 500;
  color: var(--heading);
  margin: 12px 0 22px;
}
.story-body p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted);
  margin: 14px 0;
}
.story-body .hero-intro {
  font-size: 16px;
  max-width: 510px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-block: 26px;
}
.story-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--action-bg);
  color: var(--action-ink);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px 22px;
  min-height: 49px;
  font-size: 13px;
  font-weight: 500;
}
.story-primary:hover {
  filter: brightness(1.08);
}
.story-text-link {
  display: inline-block;
  font-size: 12px;
  color: var(--link-ink);
  border-bottom: 1px solid var(--line);
  padding-block: 7px;
}
.story-facts {
  display: flex;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 25px;
  gap: 28px;
}
.story-facts > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.story-facts b {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.2;
  color: var(--gold);
}
.story-facts span {
  font-size: 10px;
  color: var(--muted);
  max-width: 135px;
}
.hero-architecture {
  margin: 0;
  position: relative;
  min-width: 0;
  background: radial-gradient(
    ellipse at 50% 40%,
    var(--surface-soft),
    transparent 66%
  );
  align-self: center;
}
.hero-architecture > svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  overflow: visible;
}
.architecture-index {
  position: absolute;
  top: 5%;
  inset-inline-start: 7%;
  color: var(--gold);
  font: 11px Georgia;
  letter-spacing: 3px;
}
.stack-shadow {
  fill: var(--shadow);
}
.stack-ground {
  fill: var(--surface-soft);
  stroke: var(--line);
  stroke-width: 1.5;
}
.stack-road {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 12 15;
  opacity: 0.6;
}
.stack-floor {
  transition:
    opacity 0.25s,
    filter 0.25s;
  animation: floor-rise 0.7s both;
  animation-delay: calc(var(--stage) * 65ms);
  transform-box: fill-box;
  transform-origin: center;
}
.stack-floor .slab {
  fill: var(--brand-ivory);
  stroke: var(--gold);
  stroke-width: 1.5;
}
.wall-left {
  fill: var(--brand-petrol);
  stroke: var(--line);
  stroke-width: 1.2;
}
.wall-right {
  fill: var(--brand-forest);
  stroke: var(--line);
  stroke-width: 1.2;
}
.window {
  fill: var(--brand-gold);
  opacity: 0.7;
}
.stack-floor.is-current .slab {
  fill: var(--brand-gold);
}
.stack-floor.is-current {
  filter: drop-shadow(0 0 10px #c9a56242);
}
.stack-rail {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.7;
}
.hero-architecture figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-top: -20px;
  position: relative;
}
.hero-architecture figcaption strong {
  font-size: 18px;
  color: var(--heading);
  font-weight: 500;
}
.hero-architecture figcaption span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.floor-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.floor-selector button {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 30px;
  font-size: 10px;
  padding: 7px 12px;
  min-height: 34px;
}
.floor-selector button[aria-pressed="true"] {
  background: var(--action-bg);
  color: var(--action-ink);
  border-color: transparent;
}
.story-development {
  padding: 85px 0;
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.section-opening {
  max-width: 800px;
}
.section-opening h2,
.story-rationale h2,
.story-about h2,
.story-contact h2 {
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 500;
  line-height: 1.6;
  white-space: normal;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: var(--heading);
}
.section-opening > p {
  max-width: 760px;
}
.development-steps {
  padding: 0;
  margin: 45px 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.development-steps li {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.development-steps b {
  color: var(--gold);
  font: 22px Georgia;
  letter-spacing: 2px;
}
.development-steps h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 13px 0 8px;
}
.development-steps p {
  font-size: 13px;
  margin-top: 0;
}
.permit-band {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 20px 35px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 28px;
}
.permit-band h3 {
  font-size: 27px;
  font-weight: 500;
  margin: 0;
  color: var(--heading);
}
.permit-band .story-eyebrow {
  font-size: 10px;
  margin-bottom: 6px;
}
.permit-equation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}
.permit-equation span {
  padding: 12px 8px;
  border-block: 1px solid var(--line);
  white-space: nowrap;
}
.permit-equation b {
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
}
.story-body .story-note {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.permit-band > .story-note {
  grid-column: 1/-1;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.story-valuations {
  padding-block: 90px;
}
.section-opening.narrow {
  max-width: 740px;
}
.valuation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 35px 0 16px;
}
.valuation-card {
  border: 1px solid var(--line);
  padding: 26px 23px;
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: flex-start;
}
.paper-brand {
  height: 62px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  max-width: 100%;
}
.paper-brand img {
  max-width: 220px;
  max-height: 48px;
  object-fit: contain;
}
.valuation-type {
  font-size: 10px;
  line-height: 1.6;
  color: var(--gold);
}
.valuation-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 10px 0 18px;
}
.valuation-number {
  font:
    42px Georgia,
    serif;
  color: var(--heading);
  line-height: 1.3;
}
.valuation-number small {
  display: block;
  font:
    11px Tahoma,
    Arial,
    sans-serif;
  color: var(--muted);
  margin: 9px 0 0;
}
.valuation-card p {
  font-size: 12px;
  flex: 1;
}
.proof-open {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 12px;
  width: 100%;
  min-height: 45px;
  text-align: start;
  margin-top: 12px;
}
.proof-open:hover {
  background: var(--surface-soft);
}
.company-view {
  background: var(--surface-soft);
  border-color: var(--gold);
  justify-content: center;
  position: relative;
}
.company-view:before {
  content: "↗";
  position: absolute;
  top: 18px;
  inset-inline-end: 22px;
  color: var(--gold);
  font-size: 25px;
}
.company-view h3 {
  margin-block: 25px;
}
.company-view .valuation-number {
  font-size: 55px;
  color: var(--gold);
}
.company-view .story-text-link {
  margin-top: 8px;
}
.story-rationale {
  padding: 80px 0;
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.rationale-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 90px;
}
.rationale-points article {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rationale-points article:first-child {
  padding-top: 0;
}
.rationale-points article > span {
  font: 18px Georgia;
  color: var(--gold);
  padding-top: 8px;
}
.rationale-points h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.rationale-points p {
  font-size: 13px;
  margin: 8px 0;
}
.story-about {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 65px;
  align-items: center;
  padding-block: 90px;
}
.about-mark {
  text-align: center;
  border-inline-end: 1px solid var(--line);
}
.about-mark img {
  width: 190px;
  height: auto;
  filter: none;
  opacity: 0.9;
}
.story-about h2 {
  font-size: 34px;
}
.story-contact {
  padding: 65px 0 85px;
  border-top: 1px solid var(--line);
}
.story-contact h2 {
  font-size: clamp(30px, 3.5vw, 48px);
}
.story-contact > p {
  max-width: 650px;
}
.story-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-size: 10px;
  color: var(--muted);
  align-items: center;
}
.story-footer > a {
  font-size: 10px;
  max-width: 430px;
}
.proof-dialog {
  background: var(--panel);
  color: var(--text);
  width: min(620px, 94vw);
  max-height: 88dvh;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 25px 100px var(--shadow);
  overflow: auto;
}
.proof-dialog::backdrop {
  background: var(--veil);
  backdrop-filter: blur(6px);
}
.proof-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.proof-top .story-eyebrow {
  margin: 0;
}
.proof-top button {
  background: var(--surface-soft);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 25px;
  font-weight: 300;
}
.proof-dialog h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 14px 0;
}
.proof-dialog p {
  font-size: 12px;
}
.proof-dialog .story-primary {
  width: 100%;
  font-size: 12px;
}
.document-sheet {
  padding: 24px;
  background: white;
  border: 1px solid #ddd8cb;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.document-sheet img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
}
.document-sheet > img {
  max-height: 230px;
}
.residential-excerpt {
  width: min(100%, 370px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.residential-excerpt img {
  width: 100%;
  height: auto;
}
.excerpt-gap {
  color: #72796a;
  letter-spacing: 8px;
  font-size: 18px;
  line-height: 1;
}
.story-body [hidden] {
  display: none !important;
}
[data-theme="day"] .story-brand img,
[data-theme="day"] .about-mark img {
  filter: brightness(0.65) saturate(1.2);
}
@keyframes floor-rise {
  from {
    transform: translateY(18px);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 950px) {
  .story-navigation {
    display: none;
  }
  .story-controls {
    margin-inline-start: auto;
  }
  .story-hero {
    gap: 10px;
  }
  .story-facts {
    gap: 18px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .rationale-layout {
    gap: 40px;
  }
  .permit-band {
    grid-template-columns: 1fr;
  }
  .permit-equation {
    justify-content: flex-start;
  }
  .valuation-card {
    padding: 22px 17px;
  }
  .valuation-number {
    font-size: 36px;
  }
  .paper-brand img {
    max-width: 180px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 80px;
  }
  .story-header {
    height: 73px;
    padding: 10px 5vw;
    gap: 12px;
  }
  .story-brand img {
    width: 34px;
    height: 42px;
  }
  .story-brand strong {
    font-size: 18px;
  }
  .story-brand small {
    font-size: 6px;
    letter-spacing: 2px;
  }
  .story-back {
    font-size: 10px;
    padding-inline: 10px;
  }
  .story-controls {
    gap: 5px;
  }
  .story-controls button {
    min-width: 36px;
    padding: 8px;
    min-height: 38px;
  }
  .story-wrap {
    width: 89vw;
  }
  .story-hero {
    grid-template-columns: 1fr;
    padding-block: 35px 45px;
    min-height: 0;
    gap: 20px;
  }
  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.6;
    letter-spacing: -0.9px;
    margin-bottom: 18px;
  }
  .story-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .story-body .hero-intro {
    font-size: 14px;
  }
  .hero-actions {
    gap: 13px;
    margin-block: 22px;
  }
  .story-primary {
    font-size: 12px;
    padding: 12px 16px;
    min-height: 47px;
  }
  .story-text-link {
    font-size: 11px;
  }
  .story-facts {
    margin-top: 25px;
    padding-top: 20px;
    justify-content: space-between;
    gap: 15px;
  }
  .story-facts b {
    font-size: 32px;
  }
  .story-facts span {
    font-size: 9px;
    max-width: 110px;
  }
  .hero-architecture > svg {
    max-height: 355px;
  }
  .hero-architecture figcaption {
    margin-top: -5px;
  }
  .hero-architecture figcaption strong {
    font-size: 17px;
  }
  .floor-selector {
    gap: 5px;
    margin-top: 15px;
  }
  .floor-selector button {
    font-size: 10px;
    min-height: 40px;
    padding: 7px 11px;
  }
  .story-development,
  .story-rationale {
    padding-block: 55px;
  }
  .section-opening h2,
  .story-rationale h2,
  .story-about h2 {
    font-size: 29px;
  }
  .story-body p {
    font-size: 13px;
  }
  .development-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
  }
  .development-steps li {
    padding-top: 18px;
  }
  .development-steps h3 {
    font-size: 19px;
    margin-top: 9px;
  }
  .development-steps b {
    font-size: 18px;
  }
  .permit-band {
    padding: 20px;
    gap: 18px;
  }
  .permit-band h3 {
    font-size: 24px;
  }
  .permit-equation {
    gap: 8px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .permit-equation span {
    padding: 10px 3px;
  }
  .permit-equation b {
    font-size: 18px;
  }
  .story-valuations {
    padding-block: 55px;
  }
  .valuation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 27px;
  }
  .valuation-card {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .paper-brand {
    grid-column: 1/-1;
    width: fit-content;
    height: 57px;
    margin-bottom: 8px;
  }
  .valuation-type {
    grid-column: 1/-1;
    font-size: 9px;
  }
  .valuation-card h3 {
    font-size: 16px;
    margin: 7px 0;
    align-self: center;
  }
  .valuation-number {
    font-size: 36px;
    text-align: end;
    grid-column: 2;
    grid-row: 3/5;
  }
  .valuation-number small {
    font-size: 10px;
    margin-top: 3px;
  }
  .valuation-card p {
    font-size: 11px;
    grid-column: 1;
    margin: 0;
  }
  .proof-open {
    grid-column: 1/-1;
    margin-top: 12px;
  }
  .company-view {
    display: block;
    padding-block: 30px;
  }
  .company-view h3 {
    margin: 18px 0;
  }
  .company-view .valuation-number {
    font-size: 51px;
    text-align: start;
  }
  .company-view p {
    font-size: 12px;
    margin-block: 15px;
  }
  .rationale-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rationale-points article {
    gap: 15px;
  }
  .story-about {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 55px;
  }
  .about-mark {
    border: 0;
    text-align: start;
  }
  .about-mark img {
    width: 105px;
  }
  .story-contact {
    padding-block: 40px 55px;
  }
  .story-contact h2 {
    font-size: 32px;
  }
  .story-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-block: 20px;
    font-size: 9px;
  }
  .story-footer > a {
    font-size: 9px;
  }
  .proof-dialog {
    padding: 20px;
    max-height: 90dvh;
    width: 94vw;
  }
  .document-sheet {
    padding: 18px;
  }
  .proof-dialog h2 {
    font-size: 19px;
  }
  .proof-dialog .story-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .stack-floor {
    animation: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

.story-body:has(dialog[open]) {
  overflow: hidden;
}

.hero-copy h1 > span,
.section-opening h2 > span,
.story-rationale h2 > span,
.story-contact h2 > span {
  display: block;
}

.proof-dialog {
  width: min(940px, 94vw);
}
.proof-sheet {
  max-height: 43dvh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  direction: ltr;
}
.proof-sheet img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 41dvh;
  object-fit: contain;
}
.proof-sheet.is-enlarged img {
  width: max(100%, 980px);
  max-width: none;
  max-height: none;
}
.proof-view-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.proof-view-tools button {
  padding: 7px 13px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  font-size: 12px;
}
@media (max-width: 640px) {
  .proof-sheet {
    max-height: 40dvh;
  }
  .proof-sheet img {
    max-height: 38dvh;
  }
  .proof-view-tools button {
    min-height: 44px;
  }
}
