﻿/* ============================================================
   VERDANTIS — ABOUT / civic memory
   BUILD 041. Viewport-fit hero. No frame. Transform/opacity only.
   ============================================================ */

.page-about {
  min-height: 100svh;
  background: #0a0c0e;
}

.page-about .grain {
  display: none;
}

.page-about .site-header:not(.is-scrolled) {
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 14, 0.48) 0%,
    rgba(10, 12, 14, 0.18) 32%,
    rgba(10, 12, 14, 0.05) 58%,
    transparent 78%
  );
}

.page-about .site-header:not(.is-scrolled) .brand-name,
.page-about .site-header:not(.is-scrolled) .site-nav a,
.page-about .site-header:not(.is-scrolled) .header-meta,
.page-about .site-header:not(.is-scrolled) .nav-toggle {
  text-shadow: 0 1px 16px rgba(8, 10, 12, 0.7), 0 0 3px rgba(8, 10, 12, 0.45);
}

.page-about .site-header:not(.is-scrolled) .site-nav a {
  color: #f4eee6;
}

.page-about .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
  color: #ffffff;
}

/* ---------- Hero ---------- */

.abt-hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: #1a1610;
}

.abt-vista {
  position: absolute;
  inset: 0;
}

.abt-scene {
  position: absolute;
  inset: 0;
}

.abt-plate,
.abt-read {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.abt-plate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  display: block;
}

.abt-read {
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 14, 0.42) 0%,
    rgba(10, 12, 14, 0.12) 12%,
    transparent 26%
  );
}

.abt-identity {
  position: absolute;
  z-index: 6;
  left: clamp(4.5rem, 10vw, 8.75rem);
  top: calc(var(--header-h) + clamp(1.5rem, 3.2vh, 2.4rem));
  max-width: 28rem;
  min-width: 0;
}

.abt-context {
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f3eadc;
  text-shadow: 0 1px 14px rgba(8, 10, 8, 0.55), 0 0 2px rgba(8, 10, 8, 0.4);
}

.abt-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.2vw, 5.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.88;
  text-transform: uppercase;
  color: #f3eadc;
  text-shadow: 0 1px 2px rgba(8, 10, 8, 0.55), 0 2px 14px rgba(8, 10, 8, 0.42);
}

.abt-support {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.28;
  color: #f3eadc;
  text-shadow: 0 1px 2px rgba(8, 10, 8, 0.55), 0 2px 14px rgba(8, 10, 8, 0.42);
}

.abt-stand {
  margin-top: 1.05rem;
  max-width: 26rem;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  color: #f3eadc;
  text-shadow: 0 1px 2px rgba(8, 10, 8, 0.65), 0 3px 18px rgba(8, 10, 8, 0.52);
  overflow-wrap: break-word;
}

/* ---------- Intro — BUILD 035/036 ---------- */

body.is-intro .abt-plate {
  opacity: 0.3;
}

body.is-intro .abt-identity {
  opacity: 0;
}

body.is-awakening .abt-plate {
  animation: abt-fade 2s var(--ease-out) both;
}

body.is-awakening .abt-identity {
  animation: abt-rise 1.45s 0.3s var(--ease-out) both;
}

body.is-ready .abt-plate,
body.is-ready .abt-identity {
  opacity: 1;
}

/* ---------- Editorial ---------- */

.abt-sec {
  position: relative;
  padding: 7.5rem var(--gutter) 7rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.abt-index {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8a078;
}

.abt-sec h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.02em;
  max-width: 14ch;
}

.abt-pressure-copy p,
.abt-transition-copy p,
.abt-foundation-copy p,
.abt-arrival-copy p {
  color: #d4cbbd;
  font-weight: 300;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  max-width: 38rem;
}

.abt-pressure-copy p + p,
.abt-transition-copy p + p,
.abt-foundation-copy p + p,
.abt-arrival-copy p + p {
  margin-top: 1.15rem;
}

/* 01 Pressure */

.abt-pressure {
  background: linear-gradient(180deg, #101214 0%, #141618 100%);
}

.abt-pressure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.78fr);
  gap: 3.5rem 6vw;
  align-items: end;
}

.abt-pressure-copy h2 {
  margin-bottom: 1.7rem;
  max-width: 28ch;
}

@media (min-width: 901px) {
  .abt-pressure-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(14rem, 0.55fr);
  }
}

.abt-register {
  min-width: 0;
  padding: 0;
  border-right: 1px solid rgba(212, 164, 90, 0.32);
}

.abt-register-kicker {
  margin: 0;
  padding: 0 1.15rem 0.35rem 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a8070;
  text-align: right;
}

.abt-register ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.abt-register li {
  margin-left: calc((5 - var(--i, 0)) * 0.7rem);
  padding: 0.72rem 1.15rem 0.72rem 0;
  border-top: 1px solid rgba(198, 184, 160, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: right;
  color: #c8bba8;
}

.abt-register li:last-child {
  border-bottom: 1px solid rgba(198, 184, 160, 0.12);
}

.abt-pressure.is-in .abt-register li {
  animation: abt-fade 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.07s);
}

/* 02 Transition */

.abt-transition {
  background: linear-gradient(180deg, #161410 0%, #12110e 100%);
}

.abt-transition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.95fr);
  gap: 3.25rem 6vw;
  align-items: start;
}

.abt-transition-copy h2 {
  margin-bottom: 1.7rem;
  max-width: 22ch;
}

.abt-pairs {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.abt-pairs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(2.5rem, 18%) minmax(0, 0.9fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(198, 184, 150, 0.16);
}

.abt-pairs li:last-child {
  border-bottom: 1px solid rgba(198, 184, 150, 0.16);
}

.abt-from {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a8e7c;
}

.abt-rule {
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(198, 184, 150, 0.08),
    rgba(212, 164, 90, 0.55)
  );
}

.abt-to {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ead4b0;
  text-align: right;
}

.abt-transition.is-in .abt-pairs li {
  animation: abt-rise 0.75s var(--ease-out) both;
  animation-delay: calc(0.04s * var(--n, 0));
}

.abt-pairs li:nth-child(1) { --n: 1; }
.abt-pairs li:nth-child(2) { --n: 2; }
.abt-pairs li:nth-child(3) { --n: 3; }
.abt-pairs li:nth-child(4) { --n: 4; }
.abt-pairs li:nth-child(5) { --n: 5; }

/* 03 Foundation */

.abt-foundation {
  background: linear-gradient(180deg, #101412 0%, #0e1210 100%);
}

.abt-foundation h2 {
  margin-bottom: 2.4rem;
}

.abt-foundation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: 3.5rem 6vw;
  align-items: end;
}

.abt-exchange {
  padding: 0.2rem 0 0;
}

.abt-exchange-cycle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  margin: 0;
  padding: 0 0 1.15rem;
  list-style: none;
  border-bottom: 1px solid rgba(212, 164, 90, 0.35);
}

.abt-exchange-cycle li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d2c4ae;
  position: relative;
}

.abt-exchange-motto {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #c4ae84;
}

.abt-exchange-motto span {
  margin: 0 0.35rem;
  font-style: normal;
  color: rgba(212, 164, 90, 0.45);
}

/* 04 Arrival */

.abt-arrival {
  background: linear-gradient(180deg, #0c0e10 0%, #0a0c0e 100%);
  padding-top: 8.5rem;
  padding-bottom: 8.5rem;
}

.abt-arrival-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.55fr);
  gap: 3.5rem 7vw;
  align-items: end;
}

.abt-year {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 12vw, 9.5rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.04em;
  color: #efe6d6;
}

.abt-arrival-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.8rem;
}

.abt-era {
  margin: 0;
  padding: 0 0 0.4rem;
  list-style: none;
  border-left: 1px solid rgba(212, 164, 90, 0.38);
}

.abt-era li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8e8678;
}

.abt-era li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 1.35rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(198, 184, 150, 0.45);
}

.abt-era li:last-child {
  color: #ead4b0;
}

.abt-era li:last-child::before {
  background: var(--amber);
}

/* ---------- Closing ---------- */

.abt-record {
  position: relative;
  overflow: hidden;
  padding: 7.5rem var(--gutter) 6.5rem;
  background: #0c0e10;
  border-top: 1px solid rgba(198, 184, 150, 0.14);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.abt-record h2 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 2.8rem;
  line-height: 1.05;
}

.abt-record-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 38rem;
}

.abt-record-list a {
  display: flex;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(198, 184, 150, 0.16);
  transition: padding-left var(--duration) var(--ease-out);
}

.abt-record-list li:last-child a {
  border-bottom: 1px solid rgba(198, 184, 150, 0.16);
}

.abt-record-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  letter-spacing: 0.04em;
}

.abt-record-desc {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a89880;
}

.abt-record-list a:hover,
.abt-record-list a:focus-visible {
  padding-left: 0.45rem;
}

.abt-record-list a:hover .abt-record-desc,
.abt-record-list a:focus-visible .abt-record-desc {
  color: var(--amber);
}

.abt-record-mark {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(18rem, 38%);
  pointer-events: none;
  user-select: none;
  display: flex;
  justify-content: flex-end;
}

.abt-record-mark img {
  width: 100%;
  height: auto;
  opacity: 0.08;
}

.page-about .site-footer {
  color: #7a847e;
  background: #0a0c0e;
  border-top-color: rgba(198, 184, 150, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes abt-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes abt-rise {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .abt-plate-img {
    object-position: 52% 50%;
  }

  .abt-identity {
    left: clamp(2.75rem, 6.5vw, 5.5rem);
  }
}

@media (max-width: 900px) {
  .page-about .site-header:not(.is-scrolled) {
    background: linear-gradient(
      to bottom,
      rgba(10, 12, 14, 0.52) 0%,
      rgba(10, 12, 14, 0.16) 42%,
      transparent 100%
    );
  }

  .abt-plate-img {
    object-position: 56% 46%;
  }

  .abt-pressure-grid,
  .abt-transition-grid,
  .abt-foundation-grid,
  .abt-arrival-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .abt-register {
    max-width: 22rem;
  }

  .abt-pairs {
    max-width: 32rem;
  }

  .abt-era {
    max-width: 22rem;
  }

  .abt-record-mark {
    width: min(14rem, 42%);
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .abt-pressure,
  .abt-transition {
    padding-top: 5.75rem;
    padding-bottom: 5.5rem;
  }

  .abt-pressure .abt-index,
  .abt-transition .abt-index {
    margin-bottom: 1.1rem;
  }

  .abt-pressure-copy h2 {
    max-width: 20ch;
  }

  .abt-transition-copy h2 {
    max-width: 22ch;
  }
}

@media (max-width: 720px) {
  .abt-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .abt-vista {
    position: relative;
    height: 100svh;
    height: 100dvh;
    max-height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .abt-read {
    background: linear-gradient(
      to bottom,
      rgba(10, 12, 14, 0.5) 0%,
      rgba(10, 12, 14, 0.14) 16%,
      transparent 34%
    );
  }

  .abt-identity {
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--header-h) + 1.05rem);
    max-width: none;
  }

  .abt-title {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .abt-stand {
    font-size: 0.96rem;
    max-width: 24rem;
  }

  .abt-plate-img {
    object-position: 58% 48%;
  }

  .abt-sec {
    padding: 5.2rem var(--gutter) 5rem;
  }

  .abt-pressure-copy h2 {
    max-width: 20ch;
  }

  .abt-transition-copy h2 {
    max-width: 22ch;
  }

  .abt-arrival {
    padding-top: 5.8rem;
    padding-bottom: 5.8rem;
  }

  .abt-year {
    font-size: clamp(4.2rem, 22vw, 6.4rem);
  }

  .abt-register {
    border-right: 0;
    border-left: 1px solid rgba(212, 164, 90, 0.32);
  }

  .abt-register-kicker {
    padding: 0 0 0.35rem 1.15rem;
    text-align: left;
  }

  .abt-register li {
    margin-left: 0;
    padding: 0.72rem 0 0.72rem 1.15rem;
    font-size: 0.68rem;
    text-align: left;
  }

  .abt-pairs li {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.55rem;
    grid-template-columns: none;
  }

  .abt-from {
    flex: 0 1 auto;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .abt-rule {
    flex: 1 1 1.8rem;
    min-width: 1.2rem;
    max-width: 3.5rem;
  }

  .abt-to {
    flex: 0 0 auto;
    font-size: 1.12rem;
    text-align: right;
  }

  .abt-exchange-cycle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 0.35rem;
  }

  .abt-exchange-cycle li {
    width: 100%;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(198, 184, 150, 0.14);
  }

  .abt-exchange-cycle li:last-child {
    border-bottom: 1px solid rgba(198, 184, 150, 0.14);
    margin-bottom: 0.85rem;
  }

  .abt-exchange-cycle {
    border-bottom: 0;
  }

  .abt-record-list a {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .abt-record-mark {
    right: -8%;
    bottom: 6%;
    width: 52%;
  }

  .abt-record-mark img {
    opacity: 0.06;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .abt-title {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .abt-identity {
    top: calc(var(--header-h) + 0.7rem);
  }

  .abt-stand {
    font-size: 0.9rem;
  }

  .abt-plate-img {
    object-position: 60% 50%;
  }
}

@media (min-width: 901px) and (max-height: 700px) {
  .abt-identity {
    top: calc(var(--header-h) + 0.85rem);
    max-width: 26rem;
  }

  .abt-title {
    font-size: clamp(2.8rem, 5.4vw, 4.4rem);
  }

  .abt-stand {
    font-size: 0.95rem;
  }

  .abt-plate-img {
    object-position: 50% 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-awakening .abt-plate,
  body.is-awakening .abt-identity {
    animation: none !important;
  }

  body.is-intro .abt-plate,
  body.is-intro .abt-identity {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal,
  .abt-pressure.is-in .abt-register li,
  .abt-transition.is-in .abt-pairs li {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none;
  }
}
