/* About — architectural editorial. Photography, type, and space.
   No WebGL. Sections keep their own light and dark fields. */

:root {
  --ae-ivory: #f4f0e8;
  --ae-platinum: #d7dee4;
  --ae-platinum-deep: #b7c2cb;
  --ae-graphite: #1c2128;
  --ae-ink: #2a261f;
  --ae-muted: #5c564c;
  --ae-champagne: #a68445;
  --ae-green: #173b32;
  --ae-ease: cubic-bezier(.2, .8, .2, 1);
  --ae-serif: "IBM Plex Sans", "Plus Jakarta Sans", Inter, sans-serif;
}

body[data-page="about"] {
  padding-top: 0 !important;
  background: var(--ae-ivory);
  color: var(--ae-ink);
}

.ae { background: var(--ae-ivory); color: var(--ae-ink); }
.ae h1, .ae h2, .ae h3, .ae p { margin: 0; }
.ae h1, .ae h2, .ae h3 {
  font-family: var(--ae-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.ae img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ae-kicker, .ae-eyebrow, .ae-num, .ae-note {
  font-family: var(--ae-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ae-kicker { color: var(--ae-platinum); }
.ae-eyebrow { color: var(--ae-champagne); text-align: center; margin-bottom: 1.25rem; }
.ae-eyebrow-start { text-align: start; }
.ae-note { color: var(--ae-muted); letter-spacing: 0.12em; margin-top: 1rem; }

.ae-line, .ae-chip, .ae-textlink, .ae-eco-list a, .ae-svc a, .ae-index a, .ae-city-list a {
  text-decoration: none;
}
.ae-line:focus-visible, .ae-chip:focus-visible, .ae-textlink:focus-visible,
.ae-eco-list a:focus-visible, .ae-svc a:focus-visible, .ae-index a:focus-visible,
.ae-city-list a:focus-visible, .ae-card a:focus-visible {
  outline: 2px solid var(--ae-champagne);
  outline-offset: 3px;
}

/* Header over the photograph, only on About. */
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-bar {
  background: rgba(13, 15, 18, 0.28);
  border-color: rgba(215, 222, 228, 0.28);
  box-shadow: none;
  color: #f4efe7;
}
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-brand,
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-link,
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-icon-btn,
body[data-page="about"]:not(.is-header-solid) #siteHeader .lang-toggle-btn,
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-btn-secondary,
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-burger {
  color: #f4efe7;
}
body[data-page="about"]:not(.is-header-solid) #siteHeader .dg-link.is-active {
  color: #f4efe7;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(215, 222, 228, 0.55);
}

.ae-hero, .ae-close {
  position: relative;
  min-height: 100vh;
  color: #f4efe7;
  background: #12161a;
  overflow: hidden;
}
.ae-hero-photo, .ae-close > img {
  position: absolute;
  inset: 0;
}
.ae-hero-shade, .ae-close::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.12) 0%, rgba(12, 14, 16, 0.18) 46%, rgba(12, 14, 16, 0.62) 100%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.42) 0%, transparent 24%, transparent 62%, rgba(12, 14, 16, 0.5) 100%);
  pointer-events: none;
}
html[dir="rtl"] .ae-hero-shade,
html[dir="rtl"] .ae-close::after {
  background:
    linear-gradient(270deg, rgba(12, 14, 16, 0.12) 0%, rgba(12, 14, 16, 0.18) 46%, rgba(12, 14, 16, 0.62) 100%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.42) 0%, transparent 24%, transparent 62%, rgba(12, 14, 16, 0.5) 100%);
}
.ae-hero-copy, .ae-close-copy {
  position: absolute;
  z-index: 1;
  inset-inline-end: clamp(1.5rem, 7vw, 7rem);
  top: 50%;
  transform: translateY(-46%);
  width: min(34rem, 42vw);
}
.ae-hero h1, .ae-close h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.4rem, 3.6vw, 4.15rem);
  line-height: 1.08;
  color: #f7f4ee;
}
.ae-hero-lede {
  margin-top: 1.15rem;
  max-width: 36em;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(244, 239, 231, 0.86);
}
.ae-hero-actions {
  position: absolute;
  z-index: 1;
  inset-inline-start: clamp(1.5rem, 6vw, 5.5rem);
  bottom: clamp(2rem, 6vh, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.ae-close .ae-hero-actions { position: static; margin-top: 1.5rem; }
.ae-line {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(215, 222, 228, 0.72);
  background: rgba(18, 22, 26, 0.28);
  color: #f4efe7;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  transition: background-color 180ms var(--ae-ease), border-color 180ms var(--ae-ease);
}
.ae-line:hover { background: rgba(18, 22, 26, 0.48); border-color: #f4efe7; }
.ae-line-dark {
  color: var(--ae-ink);
  border-color: rgba(28, 33, 40, 0.35);
  background: transparent;
  backdrop-filter: none;
}
.ae-line-dark:hover { background: rgba(28, 33, 40, 0.06); border-color: var(--ae-ink); }

.ae-editorial, .ae-story, .ae-deck-wrap, .ae-eco, .ae-services, .ae-cities, .ae-dara {
  background: var(--ae-ivory);
}
.ae-editorial {
  padding: 7.5rem 1.5rem 6rem;
  text-align: center;
}
.ae-editorial h2, .ae-section-head h2 {
  max-width: 14em;
  margin-inline: auto;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  text-wrap: balance;
}
.ae-lead {
  max-width: 34em;
  margin: 1.35rem auto 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ae-muted);
  text-wrap: balance;
}
.ae-portrait { margin: 4.75rem auto 0; width: min(30rem, 78vw); }
.ae-portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ae-platinum);
  overflow: hidden;
}
.ae-reveal {
  clip-path: inset(10% 0 12% 0);
  transform: translateY(28px) scale(1.03) rotateX(2deg);
  transform-origin: center bottom;
  transition: clip-path 720ms var(--ae-ease), transform 720ms var(--ae-ease);
}
.ae-reveal.is-in { clip-path: inset(0); transform: none; }
.ae-chip {
  position: absolute;
  inset-inline-start: 0.9rem;
  bottom: 0.9rem;
  padding: 0.7rem 0.95rem;
  background: var(--ae-graphite);
  color: #f4efe7;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ae-portrait figcaption { margin-top: 0.85rem; }

.ae-story { padding: 2rem 0 6rem; }
.ae-story-grid, .ae-section-head, .ae-process, .ae-build, .ae-cities, .ae-dara, .ae-eco, .ae-services {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}
.ae-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: end;
  padding-top: 3rem;
  border-top: 1px solid var(--ae-platinum-deep);
}
.ae-story h2 { font-size: clamp(2rem, 3vw, 2.8rem); max-width: 12em; }
.ae-story-copy p + p { margin-top: 1rem; }
.ae-story-copy p { font-size: 1.05rem; line-height: 1.65; color: var(--ae-muted); max-width: 38em; }

.ae-deck-wrap { padding: 5rem 0 6rem; }
.ae-section-head { margin-bottom: 3rem; text-align: center; }
.ae-deck {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}
.ae-card {
  transform: translateY(calc(var(--i) * 22px)) rotate(calc((var(--i) - 1) * 1.4deg)) scale(0.98);
  transition: transform 700ms var(--ae-ease);
}
.ae-deck.is-in .ae-card { transform: none; }
.ae-card a { display: block; color: inherit; }
.ae-card img { aspect-ratio: 4 / 5; background: var(--ae-platinum); }
.ae-card span {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.ae-deck-wrap .ae-note { width: min(1120px, calc(100% - 3rem)); margin: 1.25rem auto 0; text-align: center; }

.ae-process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}
.ae-steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.ae-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ae-platinum-deep);
  color: var(--ae-muted);
  transition: color 400ms var(--ae-ease), opacity 400ms var(--ae-ease), filter 400ms var(--ae-ease);
}
.ae-step span { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; font-size: 0.8rem; padding-top: 0.3rem; }
.ae-step h3 { font-size: 1.35rem; color: inherit; }
.ae-step p { margin-top: 0.3rem; line-height: 1.5; }
.ae-process .ae-step:not(.is-on) { opacity: 0.42; filter: blur(0.4px); }
.ae-process .ae-step.is-on { color: var(--ae-ink); opacity: 1; filter: none; }
.ae-process .ae-step.is-on span { color: var(--ae-champagne); }
.ae-steps-quiet .ae-step { opacity: 1; filter: none; color: var(--ae-ink); }
.ae-process-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ae-graphite);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  transition: transform 700ms var(--ae-ease);
}
.ae-process.is-live .ae-process-photo { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg); }

.ae-eco { padding: 5rem 0 4rem; }
.ae-eco-list { list-style: none; margin: 0; padding: 0; }
.ae-eco-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--ae-platinum-deep);
}
.ae-eco-list li:last-child { border-bottom: 1px solid var(--ae-platinum-deep); }
.ae-eco-list span { color: var(--ae-platinum-deep); letter-spacing: 0.08em; font-size: 0.85rem; }
.ae-eco-list h3 { font-size: 1.55rem; }
.ae-eco-list p { margin-top: 0.3rem; max-width: 42em; color: var(--ae-muted); line-height: 1.55; }
.ae-eco-list a {
  color: var(--ae-ink);
  border-bottom: 1px solid var(--ae-platinum-deep);
  padding-bottom: 0.1rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.ae-eco-list a:hover { border-bottom-color: var(--ae-champagne); color: var(--ae-green); }

.ae-build {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2rem 0 5rem;
}
.ae-build-photo { aspect-ratio: 16 / 11; overflow: hidden; background: var(--ae-graphite); }
.ae-mask { clip-path: inset(8% 0 0 0); transition: clip-path 700ms var(--ae-ease); }
.ae-mask-x { clip-path: inset(0 16% 0 16%); }
.ae-mask.is-in, .ae-mask-x.is-in { clip-path: inset(0); }
.ae-motion .ae-rise > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ae-ease), transform 620ms var(--ae-ease);
}
.ae-motion .ae-rise.is-in > * { opacity: 1; transform: none; }
.ae-motion .ae-rise.is-in > *:nth-child(2) { transition-delay: 70ms; }
.ae-motion .ae-rise.is-in > *:nth-child(3) { transition-delay: 130ms; }
.ae-motion .ae-rise.is-in > *:nth-child(4) { transition-delay: 190ms; }
.ae-motion .ae-rise.is-in > *:nth-child(5) { transition-delay: 250ms; }
.ae-aside, .ae-note-block, .ae-sell, .ae-arena, .ae-people, .ae-split {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}
.ae-aside { padding: 1.5rem 0 0; max-width: 40rem; }
.ae-aside p + .ae-textlink, .ae-note-block .ae-textlink, .ae-sell .ae-textlink { margin-top: 0.8rem; }
.ae-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 2rem;
}
.ae-split figure { aspect-ratio: 16 / 11; overflow: hidden; background: var(--ae-platinum); }
.ae-split h2, .ae-note-block h2, .ae-sell h2, .ae-arena h2, .ae-people h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  max-width: 18em;
  margin: 0.35rem 0 0.8rem;
}
.ae-split p, .ae-note-block p, .ae-sell p, .ae-arena p, .ae-people p, .ae-aside p, .ae-city-lead {
  color: var(--ae-muted);
  line-height: 1.6;
  max-width: 40em;
}
.ae-note-block, .ae-arena, .ae-people { padding: 2.5rem 0; }
.ae-sell { padding: 1rem 0 2.5rem; }
.ae-sell .ae-steps { margin-top: 1.25rem; }
.ae-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.ae-tools li {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--ae-platinum-deep);
  padding-bottom: 0.15rem;
}
.ae-city-lead { margin-top: 0.8rem; }
.ae-build-copy h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0.4rem 0 1rem; }
.ae-build-copy p { line-height: 1.6; color: var(--ae-muted); }
.ae-build-links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.ae-services { padding: 2rem 0 5rem; }
.ae-svc {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--ae-platinum-deep);
}
.ae-svc:nth-child(even) { grid-template-columns: 1.15fr 0.85fr; }
.ae-svc:nth-child(even) figure { order: -1; }
.ae-svc h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin: 0.35rem 0 0.7rem; }
.ae-svc p { color: var(--ae-muted); line-height: 1.6; max-width: 34em; }
.ae-svc a, .ae-textlink {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ae-green);
  font-weight: 600;
  border-bottom: 1px solid var(--ae-green);
  padding-bottom: 0.1rem;
}
.ae-num { color: var(--ae-platinum-deep); }
.ae-svc figure, .ae-cities figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ae-platinum); }
.ae-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ae-platinum-deep); }
.ae-index a {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ae-platinum-deep);
  color: var(--ae-ink);
}
.ae-index span { font-size: 1.2rem; font-weight: 550; }
.ae-index small { color: var(--ae-muted); font-size: 0.95rem; line-height: 1.5; }
.ae-index a:hover span { color: var(--ae-green); }

.ae-dara {
  padding: 4.5rem 0;
  border-top: 1px solid var(--ae-platinum-deep);
}
.ae-dara h2 { max-width: 12em; font-size: clamp(2rem, 3.4vw, 3.1rem); }
.ae-dara p { margin-top: 1rem; max-width: 38em; color: var(--ae-muted); line-height: 1.65; font-size: 1.05rem; }

.ae-cities {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 5rem;
}
.ae-city-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}
.ae-city-list a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ae-ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  border-bottom: 1px solid transparent;
}
.ae-city-list a:hover { border-bottom-color: var(--ae-platinum-deep); color: var(--ae-green); }

.ae-close-copy {
  width: min(36rem, 46vw);
}

@media (max-width: 900px) {
  .ae-hero, .ae-close { min-height: 0; display: flex; flex-direction: column; }
  .ae-hero-photo, .ae-close > img { position: relative; height: 62vh; min-height: 280px; }
  .ae-hero-shade, .ae-close::after { display: none; }
  .ae-hero-copy, .ae-close-copy {
    position: relative;
    inset: auto;
    transform: none;
    width: auto;
    padding: 1.75rem 1.25rem 0.5rem;
    color: var(--ae-ink);
  }
  .ae-hero { background: var(--ae-ivory); color: var(--ae-ink); }
  .ae-close { background: #12161a; }
  .ae-close-copy { color: #f4efe7; padding: 1.5rem 1.25rem 2.5rem; }
  .ae-kicker { color: var(--ae-champagne); }
  .ae-hero h1 { color: var(--ae-ink); font-size: clamp(2rem, 8vw, 2.7rem); }
  .ae-hero-lede { color: var(--ae-muted); }
  .ae-hero-actions { position: static; padding: 1.15rem 1.25rem 2rem; }
  .ae-close .ae-hero-actions { padding: 0; }
  .ae-line { color: var(--ae-ink); border-color: rgba(28, 33, 40, 0.35); background: transparent; }
  .ae-close .ae-line { color: #f4efe7; border-color: rgba(215, 222, 228, 0.7); }
  .ae-story-grid, .ae-process, .ae-build, .ae-svc, .ae-svc:nth-child(even), .ae-cities, .ae-deck, .ae-index a, .ae-eco-list li, .ae-split {
    grid-template-columns: 1fr;
  }
  .ae-svc:nth-child(even) figure { order: 0; }
  .ae-story, .ae-process, .ae-build, .ae-cities, .ae-dara, .ae-eco, .ae-services, .ae-deck, .ae-deck-wrap .ae-note,
  .ae-aside, .ae-note-block, .ae-sell, .ae-arena, .ae-people, .ae-split {
    width: min(100% - 2.2rem, 40rem);
  }
  .ae-editorial { padding: 4.5rem 1.15rem 3rem; }
  .ae-process-photo { transform: none; }
  .ae-card { transform: none; }
  .ae-eco-list li { align-items: start; gap: 0.4rem; }
  .ae-eco-list a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .ae-reveal, .ae-mask, .ae-mask-x, .ae-card, .ae-process-photo, .ae-step, .ae-rise > * {
    clip-path: none;
    transform: none;
    filter: none;
    opacity: 1;
    transition: none;
  }
}
