@import url("../explained-article/styles.css");

body { background: var(--canvas); }

:root {
  --canvas: #f4f1e8;
  --paper: #fffdf8;
  --ink: #102d3b;
  --slate: #536873;
  --blue: #0b6575;
  --orange: #c45b3c;
  --mist: #e8eeeb;
  --border: rgba(16,45,59,.18);
}

.entity-hero {
  padding-top: 34px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.entity-hero-grid {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr);
  gap: 60px;
  align-items: center;
}

.entity-intro { padding: 70px 0 80px; }
.entity-type { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 700; }
.entity-summary {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--slate);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.38;
}
.prototype-note { max-width: 610px; margin: 40px 0 0; color: var(--slate); font-size: 12px; }

.tower-index { position: relative; height: 560px; }
.tower-index::before {
  content: "";
  position: absolute;
  inset: 0 -9% 0 -5%;
  background: linear-gradient(90deg, rgba(244,241,232,.96), rgba(244,241,232,.18)), url("../homepage/assets/dubai-atlas-v2.jpg") 83% 52% / cover no-repeat;
  opacity: .48;
  filter: saturate(.78);
}
.tower-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200px;
  height: 540px;
  transform: translateX(-50%);
  z-index: 1;
  fill: var(--ink);
  filter: drop-shadow(0 24px 35px rgba(16,45,59,.2));
}
.index-link { z-index: 2; }
.tower-line { fill: none; stroke: #406172; stroke-width: 1.4; }

.index-link {
  position: absolute;
  width: 145px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
}
.index-link::after {
  content: "";
  position: absolute;
  top: 26px;
  height: 1px;
  width: 72px;
  background: var(--border);
}
.index-link span { display: block; color: var(--slate); font-size: 11px; }
.index-link strong { font-family: var(--display); font-size: 20px; font-weight: 500; }
.index-link:hover strong { color: var(--orange); }
.index-engineering { top: 58px; left: 0; text-align: right; }
.index-engineering::after, .index-visit::after, .index-data::after { left: calc(100% + 10px); }
.index-building { top: 150px; right: 0; }
.index-building::after, .index-place::after { right: calc(100% + 10px); }
.index-visit { top: 258px; left: -4px; text-align: right; }
.index-place { top: 352px; right: -5px; }
.index-data { top: 452px; left: 6px; text-align: right; }

.essential-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
}
.essential-facts > div { padding: 20px 22px 23px; border-left: 1px solid var(--border); }
.essential-facts > div:first-child { border-left: 0; padding-left: 0; }
.essential-facts dt { margin-bottom: 3px; color: var(--slate); font-size: 11px; }
.essential-facts dd { margin: 0; font-size: 14px; font-weight: 650; }

.entity-answer { margin-top: 34px; padding: 26px 0 29px; border-block: 2px solid var(--ink); }
.entity-answer h2 { margin: 0 0 11px; font-family: var(--ui); font-size: 13px; font-weight: 700; color: var(--blue); }
.entity-answer p { max-width: 720px; margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.48; }

.orientation {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  gap: 80px;
  padding-top: 100px;
  padding-bottom: 110px;
}
.section-heading h2, .start-heading h2, .map-copy h2, .current-block h2, .source-summary h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.orientation-copy { max-width: 700px; color: var(--slate); font-family: var(--display); font-size: 23px; line-height: 1.55; }
.orientation-copy p { margin: 0 0 24px; }

.start-here { padding: 105px 0 110px; background: var(--ink); color: white; }
.start-here .shell { display: grid; grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr); gap: 80px; }
.start-here .section-label { color: #78d0d2; }
.start-heading h2 { max-width: 420px; }
.start-heading > p:last-child { max-width: 380px; color: #aebdc3; }
.question-stack { border-top: 1px solid #46606e; }
.question-row {
  display: grid;
  grid-template-columns: 44px 120px minmax(0, 1fr) 50px;
  gap: 18px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid #46606e;
  color: white;
  text-decoration: none;
}
.question-row:hover { color: #86d7d7; }
.question-number, .question-topic, .read-time { color: #9db0b8; font-size: 11px; }
.question-row strong { font-family: var(--display); font-size: clamp(21px, 2.2vw, 29px); font-weight: 500; line-height: 1.25; }
.question-row.featured .question-number { color: #f07347; }

.angle-groups { padding-top: 110px; padding-bottom: 120px; }
.wide-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; align-items: end; margin-bottom: 65px; }
.wide-heading .section-label { align-self: start; }
.angle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.angle { min-height: 350px; padding: 42px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.angle > p { margin: 0 0 55px; color: var(--blue); font-size: 12px; font-weight: 700; }
.angle h3 { margin: 0 0 28px; font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.1; }
.angle ul { margin: 0; padding: 0; list-style: none; }
.angle li { padding: 8px 0; border-top: 1px solid var(--border); }
.angle a { color: var(--slate); text-decoration: none; font-size: 14px; }
.angle a:hover { color: var(--orange); }
.angle-understand { background: white; }

.relationship-map { padding: 110px 0; background: #dfe9e7; }
.relationship-grid { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(520px, 1.35fr); gap: 70px; align-items: center; }
.map-copy p:last-child { max-width: 410px; color: var(--slate); }
.map-visual { position: relative; min-height: 440px; }
.map-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #9ab1ad; stroke-width: 1.2; }
.map-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 1px solid #9ab1ad;
  border-radius: 50%;
  background: #dfe9e7;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
}
.map-node:hover { border-color: var(--orange); color: var(--orange); }
.map-node.core { top: 50%; left: 50%; width: 138px; height: 138px; transform: translate(-50%, -50%); background: var(--ink); color: white; font-family: var(--display); font-size: 25px; }
.node-one { top: 0; left: 2%; }
.node-two { top: 0; right: 3%; }
.node-three { top: 42%; right: 0; }
.node-four { bottom: 0; right: 22%; }
.node-five { bottom: 0; left: 2%; }

.current-and-trust { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 90px; padding-top: 110px; padding-bottom: 120px; }
.current-block > a { display: grid; gap: 5px; padding: 24px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.current-block > a:first-of-type { margin-top: 35px; border-top: 1px solid var(--border); }
.current-block > a strong { font-family: var(--display); font-size: 24px; font-weight: 500; }
.current-block > a span { color: var(--slate); font-size: 13px; }
.source-summary { padding: 38px; background: white; border-top: 4px solid var(--teal); }
.source-summary h2 { font-size: 36px; }
.source-summary dl { margin: 35px 0; }
.source-summary dl > div { padding: 14px 0; border-top: 1px solid var(--border); }
.source-summary dt { color: var(--slate); font-size: 11px; }
.source-summary dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; }
.source-summary > a { font-size: 13px; font-weight: 650; }
.about-page { padding-top: 78px; padding-bottom: 90px; border-top: 1px solid var(--border); }
.about-page__head { display: grid; grid-template-columns: minmax(210px,.45fr) minmax(0,1.55fr); gap: 48px; margin-bottom: 30px; }
.about-page h2 { margin: 0; font-family: var(--display); font-size: clamp(32px,4vw,48px); font-weight: 500; }
.about-page__head p { max-width: 720px; margin: 0; color: var(--slate); }
.page-record { margin: 0; border-top: 2px solid var(--ink); }
.page-record > div { display: grid; grid-template-columns: minmax(145px,.35fr) minmax(0,1.65fr); gap: 28px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.page-record dt { color: var(--slate); font-size: 12px; }
.page-record dd { margin: 0; font-size: 14px; }

@media (max-width: 1000px) {
  .entity-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .entity-intro { padding-bottom: 25px; }
  .tower-index { width: min(620px, 100%); margin-inline: auto; }
  .start-here .shell, .relationship-grid { grid-template-columns: 1fr; }
  .relationship-grid { gap: 45px; }
}

@media (max-width: 720px) {
  .entity-hero { padding-top: 24px; }
  .entity-intro { padding-top: 50px; }
  .entity-hero-grid { min-height: 0; }
  .tower-index { height: 475px; margin-top: 25px; }
  .tower-silhouette { width: 150px; height: 460px; }
  .index-link { width: 100px; }
  .index-link::after { width: 28px; }
  .index-link strong { font-size: 17px; }
  .index-building, .index-place { right: 0; }
  .essential-facts { grid-template-columns: repeat(2, 1fr); }
  .essential-facts > div { border-top: 1px solid var(--border); }
  .essential-facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .orientation, .wide-heading, .current-and-trust { grid-template-columns: 1fr; gap: 35px; }
  .about-page__head, .page-record > div { grid-template-columns: 1fr; gap: 10px; }
  .entity-answer p { font-size: 21px; }
  .orientation { padding-top: 75px; padding-bottom: 80px; }
  .orientation-copy { font-size: 20px; }
  .start-here { padding: 80px 0; }
  .start-here .shell { gap: 45px; }
  .question-row { grid-template-columns: 32px 1fr 38px; gap: 12px; }
  .question-topic { grid-column: 2 / -1; grid-row: 1; }
  .question-number { grid-row: 1 / 3; }
  .question-row strong { grid-column: 2; }
  .read-time { grid-column: 3; }
  .angle-groups { padding-top: 80px; padding-bottom: 85px; }
  .angle-grid { grid-template-columns: 1fr; }
  .angle { min-height: auto; padding: 32px 24px; }
  .angle > p { margin-bottom: 35px; }
  .relationship-map { padding: 80px 0; }
  .map-visual { min-height: 390px; }
  .map-node { width: 78px; height: 78px; font-size: 11px; }
  .map-node.core { width: 116px; height: 116px; font-size: 21px; }
  .current-and-trust { padding-top: 80px; padding-bottom: 85px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
