/* BanquetBlueprint — an event-room field manual drawn like a working plan */

@font-face{
  font-family:"Manrope";
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
  src:url("/fonts/manrope-latin-variable.woff2") format("woff2");
}

:root{
  --canvas:#e9e8e2;
  --surface:#f9f8f3;
  --surface-soft:#eeeee8;
  --ink:#112332;
  --muted:#53636d;
  --faint:#596870;
  --brand:#0b3046;
  --brand-dark:#061f30;
  --blueprint:#082b3f;
  --blueprint-2:#0d3a50;
  --accent:#e2773e;
  --accent-soft:#f7e5d9;
  --cyan:#8cd8cb;
  --line:#ced2ce;
  --line-dark:#9eaaa9;
  --table:#082c40;
  --table-alt:#0c374d;
  --table-line:#2d5a69;
  --display:"Manrope","Segoe UI",sans-serif;
  --body:"Manrope","Segoe UI",sans-serif;
  --reading:47rem;
  --page:76rem;
  --gutter:clamp(1rem,3vw,2rem);
  --radius:.75rem;
  --shadow:0 .65rem 2rem rgba(4,25,37,.1);
  --ease:cubic-bezier(.22,1,.36,1);
  color-scheme:light;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:7rem;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  min-width:20rem;
  overflow-x:clip;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--body);
  font-size:1.025rem;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{display:block;max-width:100%}
button,a,summary{touch-action:manipulation}

a{
  color:var(--brand);
  text-decoration-color:rgba(36,62,107,.35);
  text-decoration-thickness:1px;
  text-underline-offset:.2em;
}

a:hover{color:var(--accent);text-decoration-color:currentColor}

:focus-visible{
  outline:3px solid #d06b42;
  outline-offset:3px;
}

::selection{background:#dce8f4;color:var(--ink)}

.skip-link{
  position:fixed;
  top:.65rem;
  left:.65rem;
  z-index:1000;
  padding:.7rem 1rem;
  border-radius:.5rem;
  background:var(--brand-dark);
  color:#fff;
  font-weight:800;
  transform:translateY(-180%);
  transition:transform .18s ease-out;
}

.skip-link:focus{transform:translateY(0)}

/* Compact drawing-office masthead */

.site-head{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(140,216,203,.24);
  background:rgba(6,31,48,.97);
  box-shadow:0 .35rem 1.4rem rgba(1,14,22,.18);
  backdrop-filter:blur(12px);
}

.site-head-inner{
  display:flex;
  min-height:5.15rem;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  max-width:var(--page);
  margin:0 auto;
  padding:.75rem var(--gutter);
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  flex:0 0 auto;
  color:#fff;
  text-decoration:none;
}

.brand-mark{
  display:grid;
  width:2.85rem;
  height:2.85rem;
  place-items:center;
  border:1px solid var(--cyan);
  border-radius:.65rem;
  color:var(--cyan);
  font-family:var(--display);
  font-size:.88rem;
  font-weight:800;
  letter-spacing:-.04em;
}

.brand-name{
  color:#fff;
  font-family:var(--display);
  font-size:.87rem;
  font-weight:720;
  line-height:1;
  letter-spacing:.035em;
  text-transform:uppercase;
  white-space:nowrap;
}

.brand:hover .brand-mark{border-color:#fff;color:#fff}
.brand:hover .brand-name{color:var(--cyan)}

.primary-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(.25rem,1vw,.8rem);
}

.primary-nav a{
  display:flex;
  min-height:2.75rem;
  align-items:center;
  padding:.5rem .7rem;
  border-radius:.5rem;
  color:#d9e4e7;
  font-size:.79rem;
  font-weight:720;
  text-decoration:none;
  transition:background-color .18s ease,color .18s ease;
}

.primary-nav a span{
  margin-right:.4rem;
  color:var(--cyan);
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.08em;
}

.primary-nav a:hover,.primary-nav a[aria-current]{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.primary-nav a[aria-current]{box-shadow:inset 0 -2px 0 var(--cyan)}

/* Type */

h1,h2,h3,h4{
  margin-top:0;
  color:var(--ink);
  font-family:var(--display);
  font-weight:670;
  line-height:1.1;
  letter-spacing:-.022em;
  text-wrap:balance;
}

h1{font-size:clamp(2.55rem,5.7vw,4.75rem)}
h2{font-size:clamp(1.9rem,3.3vw,2.8rem)}
h3{font-size:clamp(1.05rem,1.4vw,1.25rem)}
h4{font-size:1rem}
p{margin:0 0 1.1em}

.eyebrow,.kicker{
  margin:0 0 .8rem;
  color:#b9552d;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Homepage hero: a measured photo board, never a single oversized low-res image */

.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(20rem,.78fr) minmax(30rem,1.22fr);
  gap:clamp(3rem,7vw,7rem);
  align-items:center;
  min-height:40rem;
  margin:0;
  padding:clamp(4rem,8vw,7.5rem) max(var(--gutter),calc((100vw - var(--page))/2 + var(--gutter))) clamp(6.5rem,10vw,9rem);
  overflow:hidden;
  background-color:var(--blueprint);
  background-image:linear-gradient(rgba(140,216,203,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(140,216,203,.075) 1px,transparent 1px),linear-gradient(rgba(140,216,203,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(140,216,203,.035) 1px,transparent 1px);
  background-position:center;
  background-size:5rem 5rem,5rem 5rem,1rem 1rem,1rem 1rem;
}

.hero::before{
  position:absolute;
  right:3vw;
  bottom:1.5rem;
  color:rgba(140,216,203,.46);
  content:"SCALE 1:50  ·  VERIFY FIELD DIMENSIONS";
  font:700 .62rem/1 var(--body);
  letter-spacing:.14em;
}

.hero-copy{position:relative;z-index:2;max-width:36rem}
.hero .eyebrow{color:var(--cyan)}
.hero h1{max-width:8.5ch;margin-bottom:.35em;color:#fff;font-size:clamp(3.6rem,6.7vw,6.2rem);line-height:1;letter-spacing:-.032em}

.hero-copy > p:not(.eyebrow){
  max-width:32rem;
  color:#cfdee1;
  font-size:clamp(1.05rem,1.5vw,1.24rem);
  line-height:1.55;
}

.hero-action{
  display:inline-flex;
  min-height:3rem;
  align-items:center;
  margin-top:.55rem;
  padding:.65rem 1rem;
  border:1px solid var(--cyan);
  border-radius:.55rem;
  background:var(--cyan);
  color:var(--brand-dark);
  font-weight:780;
  text-decoration:none;
  transition:background-color .18s ease,transform .18s var(--ease);
}

.hero-action::after{margin-left:.65rem;content:"→"}
.hero-action:hover{background:#fff;color:var(--brand-dark);transform:translateY(-2px)}

.hero-gallery{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:repeat(6,4.45rem);
  gap:.7rem;
  padding:1.1rem;
  border:1px solid rgba(140,216,203,.5);
  border-radius:1rem;
  background:rgba(5,26,40,.58);
  box-shadow:0 1.5rem 3rem rgba(0,10,17,.35);
}

.hero-gallery figure{
  position:relative;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.52);
  border-radius:.6rem;
  background:#163d4f;
  box-shadow:none;
}

.hero-gallery figure:nth-child(1){grid-column:1/5;grid-row:1/5}
.hero-gallery figure:nth-child(2){grid-column:5/7;grid-row:1/3}
.hero-gallery figure:nth-child(3){grid-column:4/7;grid-row:3/7}
.hero-gallery figure:nth-child(4){grid-column:1/4;grid-row:5/7}

.hero-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.75) contrast(1.05);
}

.hero-gallery figure > span{
  position:absolute;
  top:.45rem;
  left:.45rem;
  padding:.25rem .4rem;
  background:rgba(5,26,40,.82);
  border-radius:.3rem;
  color:#fff;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.1em;
}

.hero-gallery::before,.hero-gallery::after{
  position:absolute;
  z-index:3;
  pointer-events:none;
  content:"";
}

.hero-gallery::before{top:-.5rem;right:12%;left:12%;border-top:1px solid var(--cyan)}
.hero-gallery::after{top:-.68rem;left:12%;width:.35rem;height:.35rem;border:1px solid var(--cyan);background:var(--blueprint)}

/* Numbered project-drawer navigation */

.topic-nav{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:auto repeat(4,minmax(0,1fr));
  max-width:var(--page);
  margin:-3.25rem auto clamp(4.5rem,8vw,7rem);
  padding:0 var(--gutter);
}

.topic-nav > p,.topic-nav > a{
  margin:0;
  min-height:6.5rem;
  padding:1rem 1.1rem;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line-dark);
  background:var(--surface);
}

.topic-nav > p{
  display:flex;
  align-items:center;
  border-left:4px solid var(--accent);
  color:var(--faint);
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  border-radius:var(--radius) 0 0 var(--radius);
}

.topic-nav > a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.8rem;
  align-items:center;
  color:var(--ink);
  text-decoration:none;
  transition:background-color .2s ease,color .2s ease,transform .2s var(--ease);
}

.topic-nav > a:last-child{border-radius:0 var(--radius) var(--radius) 0}

.topic-nav > a:hover{z-index:1;background:#fff;color:var(--brand);transform:translateY(-.35rem)}
.topic-number{color:var(--accent);font-family:var(--display);font-size:1.55rem;font-weight:720;font-variant-numeric:tabular-nums}
.topic-copy,.topic-copy strong,.topic-copy small{display:block}
.topic-copy strong{font-size:.94rem}
.topic-copy small{margin-top:.2rem;color:var(--faint);font-size:.71rem;line-height:1.4}

/* Focused homepage and topic hubs */

.featured-guides{
  max-width:var(--page);
  margin:0 auto;
  padding:clamp(1rem,3vw,2rem) var(--gutter) clamp(5rem,9vw,8rem);
}

.section-heading{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(15rem,.65fr);
  align-items:end;
  gap:2rem;
  margin-bottom:2.4rem;
  padding-top:1.25rem;
  border-top:1px solid var(--line-dark);
}

.section-heading::before{position:absolute;top:-.28rem;left:0;width:.55rem;height:.55rem;background:var(--accent);content:""}

.section-heading h2{margin:0}
.section-heading > p{max-width:30rem;margin:0;color:var(--muted);font-size:.92rem}
.section-heading > a{justify-self:end;color:var(--faint);font-size:.82rem;font-weight:720}

.topic-page-head{
  max-width:none;
  margin:0;
  padding:clamp(3.5rem,7vw,6.5rem) max(var(--gutter),calc((100vw - var(--page))/2 + var(--gutter))) clamp(4rem,7vw,6.5rem);
  background-color:var(--blueprint);
  background-image:linear-gradient(rgba(140,216,203,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(140,216,203,.06) 1px,transparent 1px);
  background-size:2rem 2rem;
}

.topic-page-head .crumbs{margin-bottom:clamp(2.5rem,5vw,4rem)}
.topic-page-head .crumbs,.topic-page-head .crumbs a{color:#abc2c8}
.topic-page-head .eyebrow{color:var(--cyan)}
.topic-page-head h1{max-width:14ch;margin-bottom:.35em;color:#fff;font-size:clamp(3rem,6vw,5.5rem)}

.topic-page-head > p:last-child{
  max-width:43rem;
  margin:0;
  color:#cfdee1;
  font-size:clamp(1.05rem,1.5vw,1.22rem);
  line-height:1.6;
}

.topic-page-list{
  padding:clamp(3.5rem,7vw,6rem) var(--gutter) clamp(4rem,8vw,8rem);
  border-top:4px solid var(--cyan);
  background:var(--surface);
}

.topic-page-list > .section-heading,.topic-page-list > .guide-grid{max-width:var(--page);margin-right:auto;margin-left:auto}

.guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
  background:var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.guide-card{
  display:grid;
  grid-template-columns:9.25rem minmax(0,1fr);
  min-width:0;
  overflow:hidden;
  border:0;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:var(--surface);
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s var(--ease);
}

.guide-card:hover{
  box-shadow:var(--shadow);
  transform:translateY(-3px);
  z-index:2;
}

.guide-card-image{
  position:relative;
  min-height:7.8rem;
  overflow:hidden;
  background:var(--surface-soft);
}

.guide-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s var(--ease);
}

.guide-card:hover .guide-card-image img{transform:scale(1.025)}

.guide-card > div{position:relative;align-self:center;min-width:0;padding:1.1rem 3rem 1.1rem 1.2rem}
.guide-card h3{margin:0 0 .42rem;font-size:1.16rem;font-weight:680;line-height:1.32;text-wrap:pretty}
.guide-card h3 a{color:var(--ink);text-decoration:none}
.guide-card h3 a:hover{color:var(--accent)}

.guide-card-kicker{
  margin:0 0 .35rem!important;
  color:#a34b28!important;
  font-size:.64rem!important;
  font-weight:800;
  letter-spacing:.09em;
  line-height:1.2!important;
  text-transform:uppercase;
}

.guide-card-deck{
  display:-webkit-box;
  margin:0;
  overflow:hidden;
  color:var(--faint);
  font-size:.81rem;
  line-height:1.5;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.guide-card-arrow{position:absolute;right:1rem;bottom:.95rem;color:var(--accent);font-size:1.2rem;font-weight:800;transition:transform .2s var(--ease)}
.guide-card:hover .guide-card-arrow{transform:translateX(.25rem)}

.guide-grid--featured{grid-template-columns:repeat(12,minmax(0,1fr))}
.guide-grid--featured .guide-card{grid-column:span 4;grid-template-columns:1fr;align-content:start}
.guide-grid--featured .guide-card:nth-child(1){grid-column:span 7}
.guide-grid--featured .guide-card:nth-child(2){grid-column:span 5}
.guide-grid--featured .guide-card-image{aspect-ratio:16/8.3;min-height:0}
.guide-grid--featured .guide-card:nth-child(1) .guide-card-image{aspect-ratio:16/7.55}
.guide-grid--featured .guide-card:nth-child(2) .guide-card-image{aspect-ratio:16/7.55}
.guide-grid--featured .guide-card > div{align-self:start;min-height:9.8rem;padding:1.25rem 3.2rem 1.35rem 1.3rem}
.guide-grid--featured .guide-card:nth-child(-n+2) h3{font-size:clamp(1.32rem,2vw,1.7rem)}

/* Article opening behaves like a drawing cover sheet */

.post{overflow:clip}

.article-head{
  display:grid;
  max-width:none;
  margin:0;
  padding:clamp(3.5rem,7vw,6.5rem) max(var(--gutter),calc((100vw - var(--page))/2 + var(--gutter))) clamp(3.5rem,7vw,6rem);
  background-color:var(--blueprint);
  background-image:linear-gradient(rgba(140,216,203,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(140,216,203,.055) 1px,transparent 1px);
  background-size:2rem 2rem;
}

.article-head--media{
  grid-template-columns:minmax(0,1fr) minmax(18rem,30rem);
  gap:clamp(2rem,5vw,5rem);
  align-items:center;
}

.article-head:not(.article-head--media) .article-head-copy{max-width:50rem}

.crumbs{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin:0 0 2.5rem;
  color:#a9c0c7;
  font-size:.76rem;
  font-weight:700;
}

.crumbs a{color:#c7d9dd;text-decoration:none}
.crumbs a:hover{color:var(--cyan);text-decoration:underline}
.article-head .kicker{color:var(--cyan)}

.article-head h1{
  max-width:15ch;
  margin:0 0 .45em;
  font-size:clamp(2.35rem,4.6vw,4.35rem);
  color:#fff;
}

.article-deck{
  max-width:42rem;
  margin:0;
  color:#cfdee1;
  font-size:clamp(1rem,1.4vw,1.15rem);
  line-height:1.6;
}

.article-featured{
  position:relative;
  width:100%;
  max-width:30rem;
  aspect-ratio:4/3;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(140,216,203,.62);
  border-radius:var(--radius);
  background:var(--blueprint-2);
  box-shadow:1.2rem 1.2rem 0 rgba(140,216,203,.12);
}

.article-featured::after{position:absolute;right:.45rem;bottom:.4rem;padding:.22rem .4rem;background:rgba(6,31,48,.84);color:#fff;content:"REFERENCE IMAGE";font-size:.55rem;font-weight:800;letter-spacing:.09em}

.article-featured img{width:100%;height:100%;object-fit:cover}

/* Article body */

.article-layout{
  display:grid;
  grid-template-columns:12rem minmax(0,var(--reading));
  gap:clamp(2.5rem,6vw,6rem);
  justify-content:center;
  padding:clamp(3rem,6vw,5.5rem) var(--gutter) clamp(4rem,8vw,8rem);
  border-top:1px solid var(--line);
  background:var(--surface);
}

.post-body{min-width:0;max-width:var(--reading);margin:0}

.article-rail{min-width:0}
.article-rail details{position:sticky;top:8rem;overflow:hidden;border-top:3px solid var(--accent);border-radius:var(--radius);background:var(--surface-soft)}
.article-rail summary{padding:1rem;color:var(--ink);font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;cursor:pointer}
.article-rail nav{display:grid;padding:0 .7rem .8rem}
.article-rail a{display:grid;grid-template-columns:1.7rem minmax(0,1fr);gap:.35rem;align-items:center;min-height:2.8rem;padding:.45rem .35rem;border-top:1px solid var(--line);color:var(--muted);font-size:.73rem;font-weight:700;line-height:1.25;text-decoration:none}
.article-rail a span{color:#a34b28;font-size:.62rem;font-weight:800}
.article-rail a:hover,.article-rail a[aria-current]{color:var(--brand)}
.article-rail a[aria-current]{box-shadow:inset 3px 0 0 var(--accent);padding-left:.65rem;background:#fff}

.post-body > p:first-child{
  color:var(--ink);
  font-size:clamp(1.08rem,1.5vw,1.22rem);
  line-height:1.65;
}

.post-body h2{
  margin:clamp(3rem,6vw,4.5rem) 0 1rem;
  padding-top:.9rem;
  border-top:1px solid var(--line);
  font-size:clamp(1.65rem,2.8vw,2.2rem);
}

.post-body h3{margin:2.4rem 0 .65rem;font-size:1.28rem}

.post-body h4{
  margin:2rem 0 .5rem;
  color:var(--accent);
  font-size:.86rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.post-body p{color:var(--muted)}
.post-body strong{color:var(--ink);font-weight:760}
.post-body ul,.post-body ol{margin:0 0 1.4rem;padding-left:1.35rem;color:var(--muted)}
.post-body li{margin:.45rem 0;padding-left:.2rem}
.post-body li::marker{color:var(--accent);font-weight:800}

.post-body blockquote{
  margin:2rem 0;
  padding:1.25rem 1.4rem;
  border-left:4px solid var(--accent);
  border-radius:0 var(--radius) var(--radius) 0;
  background:var(--accent-soft);
  color:var(--ink);
}

.post-body blockquote p:last-child{margin-bottom:0}

.post-body code{
  padding:.1em .28em;
  border-radius:.2rem;
  background:var(--surface-soft);
  color:var(--brand-dark);
  font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;
  font-size:.9em;
}

.capacity-calculator{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(15rem,.85fr);
  gap:1.5rem 2rem;
  margin:2.5rem 0 3.5rem;
  padding:clamp(1.25rem,4vw,2rem);
  border:1px solid var(--table-line);
  border-radius:var(--radius);
  background:var(--table);
  box-shadow:var(--shadow);
  color:#fff;
}

.capacity-calculator__heading h2{
  margin:.2rem 0 .65rem;
  padding:0;
  border:0;
  color:#fff;
  font-size:clamp(1.45rem,3vw,2rem);
}

.capacity-calculator__heading p{margin:.35rem 0;color:#c9d4e7}
.capacity-calculator__eyebrow{color:#bfeeff!important;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.capacity-calculator__fields{display:grid;align-content:start;gap:.55rem}
.capacity-calculator label{color:#e7edf7;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.capacity-calculator input,.capacity-calculator select{
  width:100%;
  min-height:3rem;
  border:1px solid #61708c;
  border-radius:.55rem;
  background:#fff;
  color:var(--ink);
  font:700 1rem/1.2 var(--body);
}

.capacity-calculator input{padding:.7rem 4.2rem .7rem .85rem;font-variant-numeric:tabular-nums}
.capacity-calculator select{padding:.7rem 2.5rem .7rem .85rem}
.capacity-calculator__input{position:relative}
.capacity-calculator__input span{position:absolute;top:50%;right:.85rem;color:var(--faint);font-size:.78rem;font-weight:800;transform:translateY(-50%)}
.capacity-calculator__result{grid-column:1/-1;display:grid;gap:.25rem;padding:1rem 1.1rem;border-left:4px solid #6fa9c1;background:#223451}
.capacity-calculator__result span{color:#bfeeff;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.capacity-calculator__result strong{color:#fff;font-family:var(--display);font-size:clamp(2rem,6vw,3.5rem);font-variant-numeric:tabular-nums;line-height:1.05}
.capacity-calculator__result small{color:#d8deea;line-height:1.45}

/* Inline art stays below its source resolution and galleries show more images. */

.post-body figure,.post-body > img{
  width:min(38rem,100%);
  margin:2.25rem auto;
}

.post-body figure img,.post-body > img{
  width:100%;
  height:auto;
  border-radius:var(--radius);
  object-fit:cover;
  box-shadow:0 .25rem .8rem rgba(23,32,51,.08);
}

.post-body > img:first-child{margin-top:0}

.post-body figcaption{
  padding:.55rem .1rem 0;
  color:var(--faint);
  font-size:.76rem;
  line-height:1.45;
}

.post--gallery .post-body{max-width:64rem}
.post--gallery .article-layout{grid-template-columns:12rem minmax(0,64rem)}
.post--gallery .post-body > p,.post--gallery .post-body > h2,.post--gallery .post-body > h3,.post--gallery .post-body > h4,.post--gallery .post-body > ul,.post--gallery .post-body > ol,.post--gallery .post-body > blockquote{max-width:var(--reading);margin-right:auto;margin-left:auto}

.gallery-grid,.image-pair{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  width:100%;
  margin:2.25rem 0 3rem;
}

.image-pair{grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem;margin-right:auto;margin-left:auto}
.gallery-grid figure,.image-pair figure{width:auto;margin:0}
.gallery-grid figcaption,.image-pair figcaption{padding:.55rem .1rem 0}

/* Tables retain the blueprint treatment because it improves numeric scanning. */

.table-wrap{
  position:relative;
  width:100%;
  margin:2.25rem 0 2.75rem;
  overflow-x:auto;
  border:1px solid var(--table-line);
  border-left:4px solid var(--cyan);
  border-radius:var(--radius);
  background-color:var(--table);
  background-image:linear-gradient(rgba(140,216,203,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(140,216,203,.035) 1px,transparent 1px);
  background-size:1.25rem 1.25rem;
  box-shadow:var(--shadow);
  -webkit-overflow-scrolling:touch;
}

.table-wrap:focus-visible{outline-offset:5px}
.table-scroll-hint{display:none}

.post-body table{
  width:100%;
  min-width:36rem;
  margin:0;
  border-collapse:collapse;
  color:#d8deea;
  font-size:clamp(.78rem,.76rem + .12vw,.86rem);
  font-feature-settings:"tnum" 1;
  font-variant-numeric:tabular-nums;
  line-height:1.45;
}

.post-body thead th{
  position:sticky;
  top:0;
  z-index:2;
  padding:.95rem 1rem;
  border-right:1px solid var(--table-line);
  border-bottom:1px solid var(--cyan);
  background:#104158;
  color:#c8fff4;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  line-height:1.25;
  text-transform:uppercase;
  vertical-align:bottom;
}

.post-body tbody th,.post-body tbody td{
  padding:.82rem 1rem;
  border-right:1px solid var(--table-line);
  border-bottom:1px solid var(--table-line);
  vertical-align:top;
}

.post-body thead th:last-child,.post-body tbody th:last-child,.post-body tbody td:last-child{border-right:0}
.post-body tbody tr:last-child th,.post-body tbody tr:last-child td{border-bottom:0}
.post-body tbody tr:nth-child(even){background:var(--table-alt)}
.post-body tbody tr:hover{background:#16475b}
.post-body th,.post-body td{text-align:left}
.post-body thead th:not(:first-child),.post-body tbody td:not(:first-child),.post-body tbody th:not(:first-child){text-align:right;white-space:nowrap}
.post-body tbody th:first-child,.post-body tbody td:first-child{color:#fff;font-weight:720}

/* Related guides and sources */

.related,.sources{
  margin-top:4rem;
  padding:clamp(1.25rem,3vw,2rem);
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--canvas);
}

.related{border-top:4px solid var(--brand)}
.sources{background:#f8fafb}

.related h2,.sources h2{
  margin:0 0 1.1rem;
  padding:0;
  border:0;
  font-size:1.35rem;
}

.related ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;
  margin:0;
  padding:0;
  list-style:none;
}

.related li{margin:0;padding:0}

.related a{
  display:flex;
  min-height:3.6rem;
  align-items:center;
  padding:.7rem .85rem;
  border:1px solid var(--line);
  border-radius:.55rem;
  background:var(--surface);
  color:var(--ink);
  font-size:.82rem;
  font-weight:680;
  line-height:1.35;
  text-decoration:none;
}

.related a::after{margin-left:auto;padding-left:.5rem;color:var(--accent);content:"→"}
.related a:hover{border-color:var(--line-dark);color:var(--accent)}
.sources{font-size:.82rem}
.sources ul{margin:0;padding-left:1.15rem}
.sources li{margin:.4rem 0}

/* Footer / drawing stamp */

.site-foot{border-top:4px solid var(--cyan);background:var(--brand-dark)}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:3rem;
  max-width:var(--page);
  margin:0 auto;
  padding:clamp(2.5rem,5vw,4.5rem) var(--gutter);
}

.footer-brand{color:#fff;font-family:var(--display);font-size:1.1rem;font-weight:760;letter-spacing:-.035em;text-decoration:none}
.footer-brand:hover{color:var(--cyan)}
.site-foot p{max-width:35rem;margin:0;color:#b9cbd0;font-size:.78rem}
.site-foot a{color:#fff}
.site-foot a:hover{color:var(--cyan)}

/* Responsive */

@media(max-width:64rem){
  .site-head-inner{gap:1rem}
  .primary-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}
  .primary-nav a{flex:0 0 auto}
  .hero{grid-template-columns:minmax(17rem,.8fr) minmax(24rem,1.2fr);gap:2.5rem;padding-right:var(--gutter);padding-left:var(--gutter)}
  .guide-card{grid-template-columns:7.5rem minmax(0,1fr)}
  .guide-grid--featured .guide-card{grid-template-columns:1fr}
  .article-head--media{grid-template-columns:minmax(0,1fr) minmax(17rem,24rem);gap:2.5rem}
  .article-layout{grid-template-columns:10.5rem minmax(0,var(--reading));gap:2.5rem}
}

@media(max-width:48rem){
  html{scroll-padding-top:8rem}
  .site-head-inner{align-items:flex-start;flex-direction:column;gap:.55rem;padding-top:.8rem;padding-bottom:.5rem}
  .primary-nav{display:flex;width:100%;overflow-x:auto}
  .primary-nav a{justify-content:center;min-height:2.55rem;padding:.35rem .55rem;text-align:center}

  .hero{grid-template-columns:1fr;min-height:0;padding-top:3.5rem;padding-bottom:6rem}
  .hero-copy{max-width:38rem}
  .hero h1{max-width:11ch}
  .hero-gallery{width:100%;max-width:34rem;grid-template-rows:repeat(6,3.8rem)}

  .topic-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-3rem}
  .topic-nav > p{grid-column:1/-1;min-height:2.8rem;border-left:0;border-top:4px solid var(--accent);border-radius:var(--radius) var(--radius) 0 0;writing-mode:horizontal-tb;transform:none}
  .topic-nav > a:nth-last-child(2){border-radius:0 0 0 var(--radius)}
  .topic-nav > a:last-child{border-radius:0 0 var(--radius) 0}

  .section-heading{grid-template-columns:1fr;gap:.75rem}
  .section-heading > a{justify-self:start}
  .guide-grid{grid-template-columns:1fr}
  .guide-card{grid-template-columns:8rem minmax(0,1fr)}
  .guide-grid--featured{grid-template-columns:repeat(2,minmax(0,1fr))}
  .guide-grid--featured .guide-card,.guide-grid--featured .guide-card:nth-child(1),.guide-grid--featured .guide-card:nth-child(2){grid-column:span 1;grid-template-columns:1fr}
  .guide-grid--featured .guide-card:nth-child(1){grid-column:1/-1}

  .article-head--media{grid-template-columns:1fr}
  .article-featured{max-width:30rem}
  .article-head h1{max-width:17ch}
  .article-layout{grid-template-columns:1fr;gap:2rem}
  .post--gallery .article-layout{grid-template-columns:1fr}
  .article-rail details{position:static}
  .article-rail nav{grid-template-columns:repeat(2,minmax(0,1fr))}

  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capacity-calculator{grid-template-columns:1fr}
}

@media(max-width:35rem){
  body{font-size:1rem}
  .site-head-inner{padding-right:1rem;padding-left:1rem}
  .primary-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:visible}
  .primary-nav a:first-child{display:none}
  .primary-nav a{justify-content:flex-start;min-height:2.75rem;font-size:.75rem}
  .primary-nav a span{display:none}

  .hero h1{font-size:clamp(2.45rem,13vw,3.35rem)}
  .hero-gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,4.15rem);gap:.42rem;padding:.7rem}
  .hero-gallery figure:nth-child(1){grid-column:1/3;grid-row:1/3}
  .hero-gallery figure:nth-child(2){grid-column:3/5;grid-row:1/2}
  .hero-gallery figure:nth-child(3){grid-column:3/5;grid-row:2/4}
  .hero-gallery figure:nth-child(4){grid-column:1/3;grid-row:3/4}

  .topic-nav{margin-bottom:3rem}
  .topic-nav > a{min-height:5.4rem;padding:.75rem;gap:.55rem}
  .topic-number{font-size:1.25rem}
  .topic-copy strong{font-size:.86rem}
  .topic-copy small{font-size:.67rem}

  .featured-guides{padding-top:1.5rem}
  .topic-page-head{padding-top:3rem;padding-bottom:3.5rem}
  .topic-page-head h1{font-size:clamp(2.35rem,11vw,3.2rem)}
  .topic-page-list{padding-right:1rem;padding-left:1rem}

  .guide-card{grid-template-columns:6.75rem minmax(0,1fr)}
  .guide-grid--featured .guide-card,.guide-grid--featured .guide-card:nth-child(1),.guide-grid--featured .guide-card:nth-child(2){grid-column:1/-1}
  .guide-card-image{min-height:7.3rem}
  .guide-card > div{padding:.8rem 2.7rem .8rem .8rem}
  .guide-card h3{font-size:1.125rem;line-height:1.32}
  .guide-card p{font-size:.79rem}
  .guide-card p{-webkit-line-clamp:2}

  .article-head{padding-top:2.5rem}
  .crumbs{margin-bottom:2rem}
  .article-head h1{font-size:clamp(2.25rem,11vw,3.15rem)}
  .article-featured{max-width:100%;aspect-ratio:3/2}

  .article-layout{padding-right:1rem;padding-left:1rem}
  .article-rail nav{grid-template-columns:1fr}
  .gallery-grid,.image-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .related ul{grid-template-columns:1fr}
  .post-body thead th,.post-body tbody th,.post-body tbody td{padding:.72rem .75rem}
  .table-scroll-hint{position:sticky;left:0;display:block;width:max-content;margin:0;padding:.45rem .7rem;border-right:1px solid var(--table-line);border-bottom:1px solid var(--table-line);background:#223451;color:#bfeeff;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}

  .footer-inner{align-items:flex-start;flex-direction:column;gap:1rem}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
  .hero-gallery figure,.guide-card,.hero-action{transform:none!important}
}

@media print{
  :root{--canvas:#fff;--surface:#fff;--ink:#000;--muted:#222;--faint:#444;--line:#aaa;--brand:#000;--accent:#000;color-scheme:light}
  body{background:#fff;color:#000;font-size:10.5pt;line-height:1.5}
  .skip-link,.primary-nav,.related,.site-foot,.article-rail{display:none!important}
  .site-head{position:static;border-bottom:1.5pt solid #000;background:#fff;box-shadow:none}
  .site-head-inner{display:block;min-height:0;padding:.5rem 0}
  .brand-name{color:#000;font-size:10pt}.brand-mark{display:none}
  .article-head,.article-head--media{display:block;padding:1rem 0}
  .article-head h1{max-width:none;font-size:28pt}
  .article-deck{color:#111}
  .article-featured{max-width:4in;margin:1rem 0;box-shadow:none}
  .article-layout{display:block;padding:1rem 0;border:0;background:#fff}
  .post-body{max-width:none}
  .post-body p,.post-body ul,.post-body ol{color:#111}
  .post-body h2{break-after:avoid;border-top:1pt solid #777}
  .table-wrap{width:100%;overflow:visible;border:1pt solid #000;box-shadow:none;break-inside:avoid}
  .table-scroll-hint{display:none!important}
  .post-body table{min-width:0;font-size:8.5pt}
  .post-body thead th{position:static;border-color:#000;background:#111!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .post-body tbody th,.post-body tbody td{border-color:#777}
  .sources{break-inside:avoid;border:1pt solid #000;background:#fff}
  .capacity-calculator{display:none!important}
  a{color:#000;text-decoration:none}
}

/* Inline article figures (injected from inline-images.json) */
.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; height: auto; border-radius: 8px; display: block; }
