:root{
  --black:#0e0d0b;
  --wood:#2a1d16;
  --paper:#d8c6a3;
  --white:#f1e6d0;
  --red:#8b1e1e;
  --ink:#1a1714;
  --gold:#a98f5a;
  --serif:"Playfair Display","Cormorant Garamond","Palatino Linotype",Georgia,serif;
  --mono:"Special Elite","Courier Prime","IBM Plex Mono","Courier New",monospace;
  --hand:"Caveat","Permanent Marker","Segoe Print",cursive;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--black)}
body{margin:0;color:var(--white);background:var(--black);font-family:var(--mono);font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
button,a{font:inherit}
button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}

.study-shell{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at calc(78% + var(--mx,0px)) calc(2% + var(--my,0px)),rgba(221,163,86,.18),transparent 24rem),
    linear-gradient(180deg,rgba(14,13,11,.62),rgba(14,13,11,.98) 34rem),
    var(--wood) url("assets/noir-desk.png") center top/1600px auto fixed no-repeat;
  isolation:isolate;
}

.study-shell::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.7),transparent 30%,rgba(0,0,0,.68));
}

.study-grain{
  position:fixed;
  inset:-50%;
  z-index:40;
  pointer-events:none;
  opacity:.075;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  animation:grain .3s steps(2) infinite;
}

.study-lamp{
  position:fixed;
  right:-12vw;
  top:-22vh;
  width:52vw;
  height:52vw;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(circle,rgba(238,178,96,.22),rgba(238,178,96,.06) 34%,transparent 68%);
  mix-blend-mode:screen;
  animation:flicker 7s infinite;
}

@keyframes grain{0%{transform:translate(1%,1%)}50%{transform:translate(-1%,2%)}100%{transform:translate(1%,1%)}}
@keyframes flicker{0%,100%{opacity:.9}8%{opacity:.72}9%{opacity:.88}52%{opacity:.76}53%{opacity:.92}}

.study-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:20px clamp(20px,4vw,58px);
  background:linear-gradient(180deg,rgba(14,13,11,.88),rgba(14,13,11,.45),transparent);
  backdrop-filter:blur(10px);
}

.study-nav__brand{
  color:var(--gold);
  font:700 13px var(--serif);
  letter-spacing:.16em;
  text-transform:uppercase;
}

.study-nav__links{
  display:flex;
  justify-content:flex-end;
  gap:22px;
  color:rgba(241,230,208,.72);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.study-nav__links a{transition:color .25s}
.study-nav__links a:hover{color:var(--white)}

.language-switcher{
  display:flex;
  gap:4px;
  padding:4px;
  border:1px solid rgba(169,143,90,.35);
  background:rgba(14,13,11,.44);
  box-shadow:0 8px 20px rgba(0,0,0,.28);
}

.language-switcher button{
  border:0;
  padding:7px 9px 6px;
  color:rgba(241,230,208,.62);
  background:transparent;
  cursor:pointer;
  font-size:10px;
  letter-spacing:.13em;
  transition:background .25s,color .25s;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"]{
  color:var(--black);
  background:var(--gold);
}

.hero-section,
.study-section,
.study-footer{
  position:relative;
  z-index:1;
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
}

.hero-section{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  align-items:center;
  gap:64px;
  padding:118px 0 86px;
}

.section-dark{
  color:var(--white);
}

.section-dark:not(.hero-section){
  padding:92px clamp(24px,5vw,62px);
  margin-block:44px;
  border:1px solid rgba(169,143,90,.18);
  background:
    radial-gradient(circle at 85% 6%,rgba(169,143,90,.12),transparent 22rem),
    linear-gradient(145deg,rgba(14,13,11,.95),rgba(42,29,22,.82));
  box-shadow:0 26px 70px rgba(0,0,0,.42);
}

.paper-section{
  padding:78px clamp(24px,5vw,62px);
  margin-block:44px;
  color:var(--ink);
  background-color:var(--paper);
  background-image:
    linear-gradient(115deg,rgba(255,255,255,.2),transparent 26%,rgba(91,61,35,.08)),
    repeating-linear-gradient(0deg,transparent 0 5px,rgba(43,31,18,.02) 6px);
  box-shadow:0 28px 60px rgba(0,0,0,.46);
}

.paper-section::before,
.section-dark:not(.hero-section)::before{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid rgba(169,143,90,.24);
  pointer-events:none;
}

.eyebrow,
.section-heading span{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.hero-copy h1{
  margin:18px 0 24px;
  color:var(--white);
  font:800 clamp(46px,6vw,82px)/.92 var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 14px 34px rgba(0,0,0,.65);
}

.hero-subtitle{
  max-width:740px;
  margin:0 0 30px;
  color:rgba(241,230,208,.82);
  font-size:18px;
}

.meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:32px 0;
}

.meta-grid article{
  min-height:92px;
  padding:18px;
  border:1px solid rgba(169,143,90,.25);
  background:rgba(14,13,11,.44);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}

.meta-grid article:last-child{grid-column:1/-1}
.meta-grid span,
.side-card span{
  display:block;
  color:var(--gold);
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.meta-grid strong,
.side-card strong{
  display:block;
  margin-top:8px;
  color:var(--white);
  font-weight:400;
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:13px 19px 11px;
  border:1px solid rgba(169,143,90,.42);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition:transform .25s,box-shadow .25s,background .25s,color .25s;
}

.button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.28);
}

.button--gold{
  color:var(--black);
  background:var(--gold);
}

.button--ghost{
  color:var(--white);
  background:rgba(14,13,11,.28);
}

.hero-visual{
  justify-self:end;
  width:min(440px,100%);
}

.case-card{
  position:relative;
  min-height:560px;
  padding:46px 42px;
  color:var(--ink);
  background:
    linear-gradient(140deg,rgba(255,255,255,.22),transparent 28%,rgba(75,48,24,.08)),
    var(--paper);
  transform:rotate(2deg);
  box-shadow:24px 36px 70px rgba(0,0,0,.62);
  overflow:hidden;
}

.case-card::before{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid rgba(58,42,24,.22);
}

.case-card p{
  margin:0 0 18px;
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.case-card h2{
  max-width:260px;
  margin:0;
  font:800 38px/.95 var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.case-card__polaroid{
  position:absolute;
  left:42px;
  bottom:46px;
  width:205px;
  padding:11px 11px 34px;
  background:#eadfc8;
  transform:rotate(-7deg);
  box-shadow:5px 14px 25px rgba(0,0,0,.34);
}

.case-card__polaroid span{
  display:block;
  height:148px;
  background:url("assets/evidence-contact-sheet.png") left center/200% 100%;
  filter:sepia(.22) saturate(.76);
}

.case-card__polaroid small{
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  text-align:center;
  font:700 19px var(--hand);
}

.case-card em{
  position:absolute;
  right:34px;
  bottom:92px;
  width:150px;
  color:rgba(91,31,25,.82);
  font:700 24px/1 var(--hand);
  transform:rotate(8deg);
}

.case-card__stamp{
  position:absolute;
  z-index:2;
  border:4px solid currentColor;
  color:rgba(126,25,23,.72);
  font:800 20px var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.case-card__stamp--confidential{
  right:32px;
  top:42px;
  padding:8px 10px;
  transform:rotate(11deg);
}

.case-card__stamp--solved{
  right:42px;
  bottom:38px;
  width:118px;
  height:118px;
  display:grid;
  place-items:center;
  text-align:center;
  border-radius:50%;
  opacity:.38;
  transform:rotate(-13deg);
}

.case-card__string{
  position:absolute;
  left:72px;
  right:40px;
  top:286px;
  height:3px;
  background:var(--red);
  transform:rotate(-14deg);
  filter:drop-shadow(2px 3px 2px rgba(0,0,0,.38));
}

.case-card__string::after{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(90deg,transparent 0 12px,rgba(255,255,255,.18) 13px 15px);
}

.case-card__pin{
  position:absolute;
  z-index:3;
  width:15px;
  height:15px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#f1d58a,#9a7c3c 50%,#3c2710);
  box-shadow:2px 5px 7px rgba(0,0,0,.45);
}

.case-card__pin--one{left:82px;top:270px}
.case-card__pin--two{right:68px;top:218px}

.section-heading{
  position:relative;
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-bottom:28px;
}

.section-heading h2{
  margin:0;
  font:800 clamp(28px,3.2vw,44px)/.95 var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.paper-section .section-heading span,
.paper-section .eyebrow{color:var(--red)}

.copy-block p,
.section-note,
.side-card strong,
.challenge-grid p,
.goal-grid p,
.decision-grid p,
.interaction-block p,
.deduction-board p,
.visual-grid p,
.tech-grid p,
.micro-list dd,
.final-card p{
  font-size:15px;
  line-height:1.78;
}

.copy-block p:first-child,
.section-note{margin-top:0}
.copy-block--wide{max-width:920px}

.two-column{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:44px;
  align-items:start;
}

.two-column--diagram{grid-template-columns:minmax(0,1fr) 420px}

.side-card{
  padding:26px;
  color:var(--white);
  background:linear-gradient(145deg,rgba(26,23,20,.96),rgba(42,29,22,.9));
  box-shadow:12px 18px 36px rgba(0,0,0,.34);
  transform:rotate(1.5deg);
}

.side-card div+div{
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid rgba(169,143,90,.24);
}

.challenge-grid,
.goal-grid,
.visual-grid,
.tech-grid,
.decision-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}

.challenge-grid article,
.goal-grid article,
.decision-grid article,
.tech-grid article,
.visual-grid article{
  position:relative;
  padding:24px;
  background:rgba(14,13,11,.52);
  border:1px solid rgba(169,143,90,.22);
  box-shadow:0 14px 28px rgba(0,0,0,.24);
}

.paper-section .goal-grid article,
.paper-section .decision-grid article,
.paper-section .visual-grid article,
.paper-section .tech-grid article{
  background:rgba(241,230,208,.35);
  border-color:rgba(26,23,20,.18);
  box-shadow:6px 12px 22px rgba(76,51,28,.16);
}

.challenge-grid article:nth-child(2n),
.goal-grid article:nth-child(3n),
.decision-grid article:nth-child(2n){
  transform:rotate(.7deg);
}

.challenge-grid article:nth-child(3n),
.goal-grid article:nth-child(2n),
.decision-grid article:nth-child(3n){
  transform:rotate(-.7deg);
}

.challenge-grid b,
.goal-grid b,
.decision-grid b{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.paper-section .goal-grid b,
.paper-section .decision-grid b{color:var(--red)}

h3{
  margin:10px 0 10px;
  font:700 20px/1.15 var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.flow-diagram{
  max-width:720px;
  margin:34px auto;
  padding:0;
  list-style:none;
  display:grid;
  gap:26px;
  counter-reset:flow;
}

.flow-diagram li{
  position:relative;
  padding:18px 24px;
  text-align:center;
  border:1px solid rgba(169,143,90,.35);
  background:rgba(14,13,11,.54);
  box-shadow:0 12px 24px rgba(0,0,0,.24);
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.flow-diagram li:not(:last-child)::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-25px;
  width:1px;
  height:24px;
  background:var(--red);
}

.flow-diagram li:not(:last-child)::before{
  content:"";
  position:absolute;
  left:calc(50% - 5px);
  bottom:-28px;
  width:10px;
  height:10px;
  border-right:2px solid var(--red);
  border-bottom:2px solid var(--red);
  transform:rotate(45deg);
}

.section-note{
  max-width:860px;
  color:rgba(241,230,208,.76);
}

.section-note--paper{color:rgba(26,23,20,.82)}

.ia-board{
  padding:30px;
  color:var(--white);
  background:linear-gradient(145deg,rgba(26,23,20,.95),rgba(42,29,22,.92));
  box-shadow:12px 20px 42px rgba(0,0,0,.32);
}

.ia-tree,
.ia-tree ul{
  list-style:none;
  margin:0;
  padding:0;
}

.ia-tree ul{margin-left:22px;padding-left:18px;border-left:1px solid rgba(169,143,90,.35)}
.ia-tree li{position:relative;margin:10px 0}
.ia-tree li::before{
  content:"";
  position:absolute;
  left:-18px;
  top:13px;
  width:13px;
  border-top:1px solid rgba(169,143,90,.35);
}
.ia-tree>li::before{display:none}
.ia-tree span,
.ia-tree li{
  font-size:13px;
}
.ia-tree span{
  display:inline-block;
  color:var(--gold);
  letter-spacing:.12em;
  text-transform:uppercase;
}

.interaction-stack{
  display:grid;
  gap:22px;
}

.interaction-block{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:28px;
  align-items:center;
  padding:24px;
  border:1px solid rgba(169,143,90,.2);
  background:rgba(14,13,11,.5);
  box-shadow:0 16px 34px rgba(0,0,0,.22);
}

.interaction-block span{
  color:var(--gold);
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.interaction-block b{
  display:inline-block;
  margin-right:8px;
  color:var(--gold);
  font-weight:400;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.interaction-block em{
  color:rgba(241,230,208,.8);
  font-style:normal;
}

.mockup{
  position:relative;
  min-height:150px;
  background:rgba(216,198,163,.1);
  border:1px solid rgba(169,143,90,.24);
  box-shadow:inset 0 0 30px rgba(0,0,0,.22);
  overflow:hidden;
}

.mockup::before,
.mockup::after{
  content:"";
  position:absolute;
}

.mockup--folder::before{
  left:32px;
  right:28px;
  top:48px;
  height:72px;
  background:#a98f5a;
  clip-path:polygon(0 12%,34% 12%,39% 0,62% 0,67% 12%,100% 12%,100% 100%,0 100%);
  box-shadow:0 12px 22px rgba(0,0,0,.34);
}

.mockup--polaroid::before{
  left:62px;
  top:20px;
  width:88px;
  height:110px;
  background:#eadfc8;
  transform:rotate(-7deg);
  box-shadow:0 12px 22px rgba(0,0,0,.34);
}
.mockup--polaroid::after{
  left:74px;
  top:32px;
  width:64px;
  height:62px;
  background:#3b332b;
}

.mockup--cup::before{
  left:64px;
  top:35px;
  width:82px;
  height:82px;
  border-radius:50%;
  background:radial-gradient(circle,#2b170f 0 43%,#d8c6a3 44% 62%,#777064 63%);
  box-shadow:10px 14px 18px rgba(0,0,0,.38);
}
.mockup--cup::after{
  left:42px;
  top:58px;
  width:128px;
  height:86px;
  border:4px solid rgba(95,59,34,.38);
  border-radius:50%;
  transform:rotate(-16deg);
}

.mockup--evidence::before{
  left:44px;
  top:32px;
  width:122px;
  height:86px;
  background:#d8c6a3;
  box-shadow:8px 14px 18px rgba(0,0,0,.32);
}
.mockup--evidence::after{
  left:72px;
  top:86px;
  width:88px;
  height:9px;
  background:linear-gradient(90deg,#8b1e1e 0 18%,#f1e6d0 19% 88%,#473a2d 89%);
  transform:rotate(-18deg);
}

.mockup--solved::before{
  left:54px;
  top:24px;
  width:102px;
  height:102px;
  border:6px double rgba(139,30,30,.9);
  border-radius:50%;
  transform:rotate(-14deg);
}
.mockup--solved::after{
  left:18px;
  right:18px;
  top:76px;
  height:3px;
  background:var(--red);
  transform:rotate(14deg);
}

.deduction-board{
  padding:30px;
  color:var(--white);
  background:
    radial-gradient(circle at 80% 10%,rgba(139,30,30,.16),transparent 16rem),
    linear-gradient(145deg,rgba(26,23,20,.96),rgba(42,29,22,.92));
  box-shadow:12px 20px 42px rgba(0,0,0,.34);
}

.deduction-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:26px 0;
}

.deduction-grid article{
  position:relative;
  min-height:170px;
  padding:18px;
  background:#e6dac2;
  color:var(--ink);
  box-shadow:4px 12px 18px rgba(0,0,0,.32);
}

.deduction-grid article:nth-child(odd){transform:rotate(-1.2deg)}
.deduction-grid article:nth-child(even){transform:rotate(1.2deg)}

.deduction-grid b{
  display:block;
  margin-bottom:10px;
  font:800 18px var(--serif);
  letter-spacing:.12em;
  text-transform:uppercase;
}

.deduction-grid span{font-size:13px}
.deduction-grid .is-guilty{box-shadow:0 0 0 3px rgba(139,30,30,.78),6px 14px 22px rgba(0,0,0,.38)}

.conclusion-note{
  max-width:460px;
  padding:20px 24px;
  margin-left:auto;
  color:var(--ink);
  background:var(--paper);
  transform:rotate(-1deg);
}

.conclusion-note strong{
  color:var(--red);
  font:800 15px var(--serif);
  letter-spacing:.12em;
  text-transform:uppercase;
}

.visual-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.visual-grid article{min-height:190px}

.swatches{
  display:flex;
  gap:6px;
  margin-top:18px;
}

.swatches i{
  width:24px;
  height:24px;
  border:1px solid rgba(241,230,208,.24);
}
.swatches i:nth-child(1){background:#0e0d0b}
.swatches i:nth-child(2){background:#2a1d16}
.swatches i:nth-child(3){background:#d8c6a3}
.swatches i:nth-child(4){background:#f1e6d0}
.swatches i:nth-child(5){background:#8b1e1e}
.swatches i:nth-child(6){background:#a98f5a}

.component-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:30px;
}

.component-grid span{
  min-height:84px;
  display:grid;
  place-items:center;
  padding:16px;
  text-align:center;
  color:var(--white);
  background:linear-gradient(145deg,rgba(26,23,20,.98),rgba(42,29,22,.9));
  border:1px solid rgba(169,143,90,.24);
  box-shadow:5px 10px 18px rgba(0,0,0,.25);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.micro-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:34px 0 0;
}

.micro-list div{
  padding:20px;
  border:1px solid rgba(169,143,90,.22);
  background:rgba(14,13,11,.5);
}

.micro-list dt{
  color:var(--gold);
  font:800 16px var(--serif);
  letter-spacing:.1em;
  text-transform:uppercase;
}

.micro-list dd{margin:8px 0 0;color:rgba(241,230,208,.78)}

.checklist{
  margin:0;
  padding:24px;
  list-style:none;
  color:var(--white);
  background:linear-gradient(145deg,rgba(26,23,20,.96),rgba(42,29,22,.9));
  box-shadow:10px 18px 34px rgba(0,0,0,.3);
}

.checklist li{
  position:relative;
  padding:9px 0 9px 28px;
  border-bottom:1px solid rgba(169,143,90,.18);
}

.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:17px;
  width:12px;
  height:6px;
  border-left:2px solid var(--gold);
  border-bottom:2px solid var(--gold);
  transform:rotate(-45deg);
}

.hand-note{
  max-width:760px;
  margin:36px 0 0 auto;
  color:var(--red);
  font:700 28px/1.08 var(--hand);
  transform:rotate(-1.5deg);
}

.tech-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

.do-not{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
  align-items:center;
}

.do-not h3{
  width:100%;
  color:var(--gold);
  font-size:17px;
}

.do-not span{
  padding:8px 12px;
  border:1px solid rgba(139,30,30,.55);
  color:rgba(241,230,208,.82);
  background:rgba(139,30,30,.16);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.final-section{
  overflow:hidden;
}

.final-section::after{
  content:"CASE SOLVED";
  position:absolute;
  right:42px;
  bottom:28px;
  color:rgba(139,30,30,.42);
  border:6px double currentColor;
  border-radius:50%;
  width:150px;
  height:150px;
  display:grid;
  place-items:center;
  transform:rotate(-14deg);
  font:800 24px/.9 var(--serif);
  text-align:center;
  letter-spacing:.08em;
}

.final-card{
  position:relative;
  padding:32px;
  color:var(--ink);
  background:var(--paper);
  box-shadow:10px 18px 34px rgba(0,0,0,.36);
  transform:rotate(1.5deg);
}

.final-card strong{
  display:block;
  margin-top:20px;
  color:var(--red);
  font:800 18px/1.3 var(--serif);
  letter-spacing:.1em;
  text-transform:uppercase;
}

.study-footer{
  padding:86px 0 70px;
  text-align:center;
}

.study-footer p{
  margin:0;
  color:var(--white);
  font:800 clamp(28px,4vw,48px)/1 var(--serif);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.study-footer small{
  display:block;
  margin:18px 0 28px;
  color:rgba(241,230,208,.68);
}

.study-footer .cta-row{justify-content:center}

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .75s ease,transform .75s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:1080px){
  .study-nav{grid-template-columns:1fr auto;gap:14px}
  .study-nav__links{grid-column:1/-1;justify-content:flex-start;order:3}
  .hero-section{grid-template-columns:1fr;padding-top:150px}
  .hero-visual{justify-self:start}
  .challenge-grid,.goal-grid,.decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .visual-grid,.tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .component-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .deduction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-column,.two-column--diagram{grid-template-columns:1fr}
}

@media(max-width:720px){
  body{font-size:15px}
  .study-shell{background-size:1200px auto;background-attachment:scroll}
  .study-nav{position:relative;padding:18px 18px;background:rgba(14,13,11,.88)}
  .study-nav__links{gap:12px;flex-wrap:wrap;font-size:10px}
  .hero-section,.study-section,.study-footer{width:min(100% - 28px,var(--max))}
  .hero-section{padding:42px 0 36px}
  .hero-copy h1{font-size:39px}
  .meta-grid,.challenge-grid,.goal-grid,.decision-grid,.visual-grid,.tech-grid,.component-grid,.micro-list{grid-template-columns:1fr}
  .section-dark:not(.hero-section),.paper-section{padding:50px 22px;margin-block:24px}
  .case-card{min-height:500px;padding:38px 28px}
  .case-card__polaroid{left:28px;width:180px}
  .case-card em{right:24px;width:128px;font-size:21px}
  .interaction-block{grid-template-columns:1fr}
  .mockup{min-height:130px}
  .deduction-grid{grid-template-columns:1fr}
  .flow-diagram li{font-size:12px}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}
