/* Ink on the light wall sheets; their position and surface belong to
   the room. Only the editorial body scrolls, never the return button. */
.wing-sheet{
  --wp-ink:#26170e;--wp-quiet:#382316;--wp-accent:#582215;--wp-rule:rgb(78 43 27 / .33);
  box-sizing:border-box;display:flex;flex-direction:column;min-width:0;min-height:0;
  container-type:inline-size;isolation:isolate;color:var(--wp-ink);
  font:400 1rem/1.43 "Segoe UI",Arial,sans-serif;text-align:start;
  text-transform:none;letter-spacing:normal;text-shadow:none;
}
.wing-sheet *, .wing-sheet *::before,.wing-sheet *::after{box-sizing:border-box}
.wing-sheet :where(ol,dl,dt,dd,h2,h3,p){margin:0}
.wing-sheet :is(button,a,[tabindex]):focus-visible{outline:2px solid var(--wp-accent);outline-offset:3px}
.wing-sheet .wp-heading{
  flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0 clamp(12px,4.2cqw,48px);padding:clamp(10px,2.5cqw,30px) 0 clamp(7px,1.3cqw,16px);
  border-bottom:1px solid var(--wp-rule);
}
.wing-sheet .wp-titles{min-width:0}
.wing-sheet .wp-kicker{
  color:var(--wp-accent);font-size:clamp(.77rem,1.52cqw,1.06rem);font-weight:700;
  line-height:1.2;letter-spacing:.09em;text-transform:uppercase;
}
.wing-sheet .wp-title{
  margin-top:.08em;font:500 clamp(1.7rem,5.9cqw,4.25rem)/1.04 Georgia,"Times New Roman",serif;
  color:var(--wp-ink);letter-spacing:-.035em;text-transform:none;overflow-wrap:anywhere;
}
.wing-sheet .wp-close{
  display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;
  border:1px solid var(--wp-rule);border-radius:50%;background:transparent;color:var(--wp-ink);
  cursor:pointer;font:400 25px/1 "Segoe UI",Arial,sans-serif;
}
.wing-sheet .wp-close:hover{color:var(--wp-accent);background:rgb(126 74 39 / .09)}
.wing-sheet .wp-close span{transform:translateY(-1px)}
.wing-sheet .wp-scroll{
  min-height:0;min-width:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:rgb(100 60 37 / .62) transparent;
}
.wing-sheet .wp-scroll:focus-visible{outline-offset:-3px}
.wing-sheet .wp-body{
  min-width:0;padding:clamp(9px,2cqw,22px) clamp(12px,4.2cqw,48px) clamp(14px,2.7cqw,29px);
}
.wing-sheet .wp-deck{
  color:var(--wp-quiet);max-width:55ch;font:italic 400 clamp(1.04rem,2.25cqw,1.52rem)/1.3 Georgia,"Times New Roman",serif;
}
/* The fixed navigation already names Process. Keep its heading available
   to screen readers; the visible sheet starts with the lead and its close. */
#wing-title-process{
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
#wing-process .wp-steps{margin-top:0}
.wing-sheet .wp-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;
  column-gap:clamp(14px,2.7cqw,32px);row-gap:clamp(10px,2cqw,24px);
  padding:0;margin-top:clamp(12px,2.5cqw,28px);
}
.wing-sheet .wp-step{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.wing-sheet .wp-drawing{
  width:clamp(34px,5.1cqw,56px);height:auto;flex:none;color:var(--wp-accent);
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.wing-sheet .wp-step-copy{min-width:0}
.wing-sheet .wp-step h3{
  color:var(--wp-ink);font:600 clamp(1.02rem,2.15cqw,1.54rem)/1.14 Georgia,"Times New Roman",serif;
  text-transform:none;letter-spacing:normal;overflow-wrap:anywhere;
}
.wing-sheet .wp-step p{margin-top:.24em;font-size:clamp(1rem,1.7cqw,1.16rem);line-height:1.34;overflow-wrap:anywhere}
.wing-sheet .wp-profile{display:grid;gap:clamp(12px,3.7cqw,30px)}
.wing-sheet .wp-identity{
  display:grid;grid-template-columns:clamp(72px,25cqw,145px) minmax(0,1fr);
  grid-template-areas:"photo quote" "photo place";align-content:center;align-items:end;
  gap:6px clamp(12px,3.6cqw,28px);min-width:0;
}
.wing-sheet .wp-portrait{
  grid-area:photo;align-self:center;position:relative;display:block;width:100%;padding:0;aspect-ratio:1;border:0;border-radius:5%;overflow:hidden;
  cursor:pointer;background:#5f3229;box-shadow:0 1px 4px rgb(55 29 15 / .25);
}
.wing-sheet .wp-portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.wing-sheet .wp-portrait img+img{opacity:0;transition:opacity .45s ease}
.wing-sheet .wp-portrait[aria-pressed="true"] img+img{opacity:1}
@media (hover:hover) and (pointer:fine){
  .wing-sheet .wp-portrait:hover img+img{opacity:1}
}
.wing-sheet .wp-place{
  grid-area:place;align-self:start;font-size:clamp(.88rem,2.6cqw,1.1rem);font-weight:600;line-height:1.35;color:var(--wp-quiet);
}
.wing-sheet .wp-story{min-width:0;font-size:clamp(1.06rem,3.65cqw,1.42rem);line-height:1.48}
.wing-sheet .wp-quote{
  grid-area:quote;font:500 clamp(1.25rem,4.7cqw,2.18rem)/1.14 Georgia,"Times New Roman",serif;
  text-wrap:pretty;letter-spacing:-.02em;
}
.wing-sheet .wp-quote strong{color:var(--wp-accent);font-weight:600}
.wing-sheet .wp-bio{margin:0 0 .65em}
.wing-sheet .wp-outro{font-weight:600}
.wing-sheet .wp-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 2cqw;
  border-block-start:1px solid var(--wp-rule);padding-top:clamp(6px,1.2cqw,14px);margin-top:clamp(10px,1.8cqw,21px);
}
.wing-sheet .wp-stats>div{display:grid;grid-template-rows:auto 1fr;align-items:start;min-width:0}
.wing-sheet .wp-stats dt{grid-row:2;line-height:1.18;font-size:clamp(.86rem,1.53cqw,1.08rem);color:var(--wp-quiet);overflow-wrap:anywhere}
.wing-sheet .wp-stats dd{grid-row:1;color:var(--wp-accent);font:500 clamp(1.45rem,3.4cqw,2.6rem)/1.12 Georgia,"Times New Roman",serif}
.wing-sheet .wp-music{
  display:inline-flex;align-items:center;gap:.55em;max-width:100%;min-height:44px;margin-top:.25em;
  color:var(--wp-accent);font:600 clamp(.9rem,1.6cqw,1.12rem)/1.25 "Segoe UI",Arial,sans-serif;
  text-decoration:underline;text-decoration-color:rgb(120 47 34 / .5);text-underline-offset:.22em;
}
.wing-sheet .wp-music>span:first-child{font-size:1.23em}
.wing-sheet .wp-music:hover{text-decoration-color:currentColor}
html[lang="ar"] .wing-sheet :is([data-i18n],[data-i18n-html]){letter-spacing:normal}
@container (max-width:780px){
  .wing-sheet .wp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wing-sheet .wp-step{flex-direction:row;gap:clamp(8px,1.4cqw,12px)}
  .wing-sheet .wp-drawing{width:clamp(28px,5cqw,39px)}
}
@container (max-width:470px){
  .wing-sheet .wp-steps{grid-template-columns:1fr;gap:14px}
  .wing-sheet .wp-step{gap:12px}
  .wing-sheet .wp-drawing{width:36px}
}
@media(max-height:460px) and (orientation:landscape){
  .wing-sheet .wp-heading{padding-block:3px}
  .wing-sheet .wp-kicker{font-size:.72rem}
  .wing-sheet .wp-title{font-size:1.4rem}
}
@media(prefers-reduced-motion:reduce){.wing-sheet .wp-portrait img+img{transition:none}}

/* Narrow wall, tall reading surface. Keep the six stages in reading order;
   leave the close control in the fixed header as the body scrolls. */
@container (max-width:630px){
  .wing-sheet .wp-steps{grid-template-columns:1fr;gap:0}
  .wing-sheet .wp-step{flex-direction:row;align-items:center;gap:clamp(8px,3.4cqw,19px);padding:.72em 0}
  .wing-sheet .wp-step+.wp-step{border-block-start:1px solid rgb(78 43 27 / .18)}
  .wing-sheet .wp-drawing{width:clamp(24px,8cqw,41px)}
}
@container (max-width:324px){
  .wing-sheet .wp-identity{grid-template-columns:clamp(54px,25cqw,75px) minmax(0,1fr);grid-template-areas:"photo place" "quote quote";gap:12px 9px}
  .wing-sheet .wp-place{align-self:center}
}
@container (max-width:280px){
  .wing-sheet .wp-heading{gap:2px;margin-inline:8px}
  .wing-sheet .wp-title{font-size:clamp(1.15rem,9.1cqw,1.5rem)}
  .wing-sheet .wp-kicker{font-size:.7rem;overflow-wrap:anywhere}
  .wing-sheet .wp-body{padding-inline:9px}
  .wing-sheet .wp-step{align-items:flex-start}
  .wing-sheet .wp-stats{grid-template-columns:1fr;gap:.45em}
  .wing-sheet .wp-stats>div{display:flex;flex-direction:row-reverse;align-items:baseline;justify-content:flex-end;gap:.45em}
  .wing-sheet .wp-stats dd{min-width:2.8em}
  .wing-sheet .wp-place,.wing-sheet .wp-music{overflow-wrap:anywhere}
}
/* Let the sequence occupy the height of the rail on large displays. On
   shorter displays its intrinsic height is retained and the body scrolls. */
@container (min-width:310px){
  #wing-process .wp-scroll{display:flex;flex-direction:column}
  #wing-process .wp-body{flex:1 0 auto;display:flex;flex-direction:column}
  #wing-process .wp-steps{flex:1;grid-template-columns:1fr;gap:0}
  #wing-process .wp-step{flex-direction:row;align-items:center;gap:clamp(12px,3cqw,25px);padding:.7em 0}
  #wing-process .wp-step+.wp-step{border-block-start:1px solid rgb(78 43 27 / .18)}
}
