/* DHA · pyramid · the manual's brand pyramid (2008 manual, page 6) in perspective: Mission → Vision → Values → Future.
   From the 10 Nov integrated review (work/dha/index.html L121–150, refine-pass4/5.css). Arabic slogan band removed.
   Finished state = this file alone: the pyramid built whole. The build is added by pyramid.js (WAAPI, hard drops). */

.dha-pyramid{
  --pyr-max:820px;           /* the widest the drawing gets; it is centred inside the root */
  display:block;width:100%;max-width:100%;margin:0;padding:0;box-sizing:border-box;
  container-type:inline-size;container-name:dha-pyramid;
}
.dha-pyramid *,.dha-pyramid *::before,.dha-pyramid *::after{box-sizing:border-box}
.dha-pyramid__fig{margin:0}
.dha-pyramid__svg{display:block;width:100%;max-width:var(--pyr-max);height:auto;margin-inline:auto;overflow:hidden}
.dha-pyramid__tier{transform-box:view-box}

/* the labels: Jost 600 in the manual's capitals, lying on each tier's front face (skewed with it).
   Sizes are in drawing units, raised as the drawing narrows so they never read under 15 px (about 19 px and up). */
.dha-pyramid__lab{font-family:var(--display,"Jost",system-ui,sans-serif);font-weight:600;font-size:30px;letter-spacing:.03em;dominant-baseline:central}
.dha-pyramid__lab--out{fill:currentColor}
/* the apex rim: the manual's teal outline, so the pale apex holds on white too */
.dha-pyramid__rim{fill:none;stroke:#79c7c3;stroke-width:2;stroke-linejoin:round}

@container dha-pyramid (max-width:639px){ .dha-pyramid__lab{font-size:40px} }
@container dha-pyramid (max-width:379px){ .dha-pyramid__lab{font-size:46px;letter-spacing:.01em} }

/* before the build (set by pyramid.js only, after its checks): every tier waits above the drawing, outside its edge */
.dha-pyramid.is-armed .dha-pyramid__tier{transform:translateY(-640px)}

/* the manual's words, folded: one plain toggle, Jost 600, + / − */
.dha-pyramid__more{margin:var(--s3,24px) auto 0;max-width:var(--pyr-max)}
.dha-pyramid__more>summary{list-style:none;display:inline-flex;align-items:center;gap:.5em;min-height:44px;cursor:pointer;
  font:600 var(--t-body,17px)/1.3 var(--display,"Jost",system-ui,sans-serif);color:inherit}
.dha-pyramid__more>summary::-webkit-details-marker{display:none}
.dha-pyramid__more>summary>span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.28em;text-decoration-color:var(--u,currentColor)}
.dha-pyramid__more>summary::after{content:"+";flex:none}
.dha-pyramid__more[open]>summary::after{content:"\2212"}
.dha-pyramid__more>summary:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:4px}
.dha-pyramid__words{margin:var(--s2,16px) 0 0;display:grid;gap:var(--s3,24px)}
.dha-pyramid__words>div{margin:0}
.dha-pyramid__words dt{font:600 var(--t-small,15px)/1.3 var(--display,"Jost",system-ui,sans-serif);letter-spacing:.08em;margin:0}
.dha-pyramid__words dd{margin:var(--s1,8px) 0 0;font:400 var(--t-body,17px)/1.55 var(--text,"Inter",system-ui,sans-serif);max-width:56ch;text-wrap:pretty}
