*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Georgia","Times New Roman",serif;
  font-size:16px;
  line-height:1.7;
  background-color:#F6F1E4;
  color:#2C2A44;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:#6A4E8E;text-decoration:none}
p{margin:0 0 1.1em}
h1,h2,h3,h4{margin:0 0 0.6em;line-height:1.2;color:#2C2A44;font-family:"Georgia","Times New Roman",serif}
:focus-visible{outline:3px solid #B98C3A;outline-offset:2px}

/* ===== LOGO WORDMARK SCALE ===== */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ============ QUILL-INK NAV ============ */
.quillnav{
  position:sticky;
  top:0;
  z-index:50;
  width:100%;
  background-color:#37324C;
}
.quillnav .marginstrip{
  height:16px;
  background:
    linear-gradient(#A8524A,#A8524A) 24px 0/2px 16px repeat-y,
    linear-gradient(#A8524A,#A8524A) calc(100% - 24px) 0/2px 8px no-repeat,
    #37324C;
}
.quillnav .marginstrip::before,.quillnav .marginstrip::after{display:none}
.quillnav .tickrow{
  height:16px;
  background:repeating-linear-gradient(90deg,transparent 0 33px,#B98C3A 33px 35px,transparent 35px 99px);
}
.quillnav .navrow{
  max-width:1200px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.quillnav .brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.quillnav .quillglyph{
  width:14px;height:14px;
  display:inline-block;
  transform:rotate(45deg);
  background:linear-gradient(135deg,#6A4E8E 0 55%,transparent 55%);
  border-radius:50% 0 50% 50%;
  position:relative;
}
.quillnav .quillglyph::after{
  content:"";
  position:absolute;
  width:5px;height:5px;
  border-radius:50%;
  background:#2C2A44;
  right:1px;bottom:-3px;
}
.quillnav .brand em{
  font-style:normal;
  color:#FCF9F0;
  font-family:Georgia,serif;
  letter-spacing:0.18em;
  font-weight:bold;
  font-size:21px;
}
.quillnav .links{
  display:flex;
  align-items:center;
  gap:16px;
}
.quillnav .links a{
  color:#C9C2D8;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  position:relative;
  padding:4px 0;
}
.quillnav .links a:not(:first-child)::before{
  content:"\25CF";
  font-size:5px;
  vertical-align:middle;
  margin-right:16px;
  color:#6A4E8E;
}
.quillnav .links a:hover{color:#6A4E8E;text-decoration:underline;text-decoration-color:#6A4E8E;text-underline-offset:6px}
.quillnav .links a.active{color:#6A4E8E;font-weight:bold}
.quillnav .navtoggle{
  display:none;
  background:none;
  border:1px solid #C9C2D8;
  color:#FCF9F0;
  font-size:18px;
  line-height:1;
  padding:8px 12px;
  cursor:pointer;
}
@media(max-width:760px){
  .quillnav .navtoggle{display:block}
  .quillnav .links{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:10px 0;
  }
  .quillnav .links.open{display:flex}
  .quillnav .links a:not(:first-child)::before{margin-right:0}
}

/* ============ TWO-READINGS HERO ============ */
.tworeadhero{
  background-color:#F6F1E4;
  padding:70px 24px 60px;
}
.tworeadhero .inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.22fr 1fr;
  gap:40px;
  align-items:center;
}
.tworeadhero h1{
  font-size:48px;
  color:#2C2A44;
  max-width:14ch;
}
.tworeadhero h1 .clear{color:#6A4E8E}
.tworeadhero .subcopy{
  color:#4A4560;
  font-size:17px;
  margin:14px 0 22px;
  max-width:46ch;
}
.eyebrow{
  display:inline-block;
  background-color:#6A4E8E;
  color:#FCF9F0;
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding:6px 12px;
  margin-bottom:18px;
  border-radius:2px;
}
.ctarow{display:flex;gap:12px;flex-wrap:wrap}
.btn-primary{
  display:inline-block;
  background-color:#6A4E8E;
  color:#FCF9F0;
  padding:12px 24px;
  border-radius:3px;
  font-weight:bold;
}
.btn-primary:hover{background-color:#2C2A44}
.btn-outline{
  display:inline-block;
  border:1px solid #2C2A44;
  color:#2C2A44;
  padding:11px 24px;
  border-radius:3px;
  font-weight:bold;
}
.btn-outline:hover{background-color:#2C2A44;color:#FCF9F0}
/* hero scene */
.scene{position:relative;height:480px;}
.scene .layer,.scene .card{position:absolute}
.dictionary{
  left:0;
  bottom:0;
  width:270px;
  height:190px;
  transform:rotate(-3deg);
  background:#FCF9F0;
  border:1px solid #454060;
  border-radius:4px;
  box-shadow:0 10px 24px rgba(44,42,68,0.25);
  padding:10px;
}
.dictionary .spine{position:absolute;left:8px;top:8px;bottom:8px;width:4px;background:repeating-linear-gradient(#6A4E8E 0 6px,#37324C 6px 10px)}
.dictionary .title{color:#37324C;font-weight:bold;font-size:12px;margin-left:16px}
.dictionary .dictlines{margin-top:10px;margin-left:16px;}
.dictionary .dictlines i{
  display:block;
  height:6px;
  margin-bottom:8px;
  background:#4A4560;
  opacity:.35;
}
.dictionary .dictlines i:nth-child(1){width:85%}
.dictionary .dictlines i:nth-child(2){width:95%}
.dictionary .dictlines i:nth-child(3){width:70%}
.dictionary .dictlines i:nth-child(4){width:90%}
.dictionary .ribbon{
  position:absolute;
  right:-10px;
  top:8px;
  width:22px;height:64px;
  background:#B98C3A;
}
.dictionary .redmargin{
  position:absolute;
  left:30px;bottom:8px;
  width:8px;height:52px;
  border:2px solid #A8524A;
  border-right:none;
}
.inkwell{
  right:0;
  bottom:6px;
  width:130px;height:88px;
}
.inkwell .bowl{
  position:absolute;
  bottom:0;
  left:0;
  width:88px;height:46px;
  background:#1B1929;
  border-radius:6px 6px 16px 16px;
}
.inkwell .quillstick{
  position:absolute;
  left:20px;bottom:36px;
  width:6px;height:120px;
  background:#6A4E8E;
  transform:rotate(-28deg);
  transform-origin:bottom;
}
.inkwell .quillstick i{
  position:absolute;top:-18px;left:3px;
  width:18px;height:34px;
  background:#454060;
  border-radius:70% 70% 10% 10%;
  transform:rotate(-14deg);
}
.inkwell .blot{
  position:absolute;
  right:6px;bottom:-4px;
  width:44px;height:44px;
  background:#FCF9F0;
  border:1px solid #454060;
  border-radius:3px;
}
.inkwell .blot i{position:absolute;width:20px;height:20px;background:#6A4E8E;border-radius:3px;top:11px;left:11px}
/* sentence fork floating diagram */
.sentencefork{
  top:0;
  left:6px;
  width:300px;
  height:150px;
}
.sentencefork .stem{
  position:absolute;
  left:0;top:38px;
  height:3px;width:150px;
  background:#2C2A44;
}
.sentencefork .stem i{
  position:absolute;left:-2px;top:-8px;
  width:4px;height:20px;
  background:#A8524A;
}
.sentencefork .fork{position:absolute;left:150px;top:2px;width:150px;height:70px}
.sentencefork .fork i{
  position:absolute;top:0;width:3px;height:90px;
  background:repeating-linear-gradient(#2C2A44 0 6px,transparent 6px 10px);
}
.sentencefork .fork i.l{left:6px;transform:rotate(4deg)}
.sentencefork .fork i.r{right:6px;transform:rotate(-4deg)}
.sentencefork .reading{
  position:absolute;
  background:#FCF9F0;
  border:1px solid #454060;
  font-size:10px;
  color:#4A4560;
  padding:4px 7px;
  border-radius:2px;
}
.sentencefork .plain{box-shadow:0 4px 10px rgba(44,42,68,.2);top:72px;left:20px}
.sentencefork .plain b{color:#2C2A44;font-weight:bold}
.sentencefork .ambiguous{top:10px;right:0;color:#A8524A}
.sentencefork .ambiguous b{color:#6A4E8E;font-weight:bold}
/* card index drawer */
.carddrawer{
  right:16px;
  top:150px;
  width:150px;height:120px;
  background:#37324C;
  border-radius:3px;
  padding:8px;
  transform:rotate(6deg);
}
.carddrawer .tabs i{
  display:block;
  width:70%;
  height:22px;
  margin:5px 0 5px auto;
  background:#FCF9F0;
  border-radius:2px;
  position:relative;
}
.carddrawer .tabs i::after{
  content:"";
  position:absolute;
  left:4px;top:4px;
  width:55%;height:3px;
  background:#4A4560;
}
.carddrawer .brass{
  position:absolute;
  left:10px;bottom:10px;
  width:40px;height:16px;
  background:#B98C3A;
  border-radius:2px;
}
.magnifier{
  left:210px;
  top:250px;
  width:90px;height:120px;
}
.magnifier .lens{
  width:74px;height:74px;
  border:6px solid #C9C2D8;
  border-radius:50%;
  background:#FCF9F0;
  box-shadow:0 4px 12px rgba(44,42,68,.22);
}
.magnifier .handle{
  position:absolute;
  left:52px;top:96px;
  width:7px;height:34px;
  background:#37324C;
  transform:rotate(50deg);
}
.magnifier .tick{
  position:absolute;
  left:0;top:4px;right:0;
  text-align:center;
  font-size:7px;
  letter-spacing:2px;
  color:#4A4560;
  z-index:2;
}
.fineprint{
  left:330px;
  bottom:46px;
  width:120px;
  background:#FCF9F0;
  border:1px solid #454060;
  padding:8px;
  font-size:9px;
  line-height:1.5;
  color:#4A4560;
  transform:rotate(6deg) scale(1.25);
  z-index:3;
}
.waxseal{
  right:0;
  top:40px;
  width:72px;height:54px;
  background:#FCF9F0;
  border:1px solid #454060;
  padding:6px;
  transform:rotate(9deg);
}
.waxseal .seal{
  width:44px;height:44px;
  border-radius:50%;
  background:#B98C3A;
  margin:0 auto;
  text-align:center;
  line-height:44px;
  color:#37324C;
  font-weight:bold;
  font-size:16px;
}
@media(max-width:900px){
  .tworeadhero .inner{grid-template-columns:1fr}
  .tworeadhero h1{font-size:40px}
  .scene{margin-top:30px}
}

/* ============ CLAUSE-REVIEW ROWS ============ */
.clauserows{
  background-color:#F6F1E4;
  padding:70px 24px;
}
.clauserows .wrap{max-width:1200px;margin:0 auto}
.sectionhead{max-width:720px;margin-bottom:40px}
.sectionhead h2{font-size:34px;color:#6A4E8E}
.sectionhead p{color:#4A4560}
.clause{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  background:#FCF9F0;
  border:1px solid #454060;
  padding:22px 26px;
  margin:0 0 12px;
}
.clause .folio{
  width:64px;height:74px;
  background:#37324C;
  color:#FCF9F0;
  position:relative;
  font-size:12px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:Georgia,serif;
  font-style:italic;
  clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);
}
.clause .folio i{
  position:absolute;
  top:46%;
  left:8px;right:8px;
  height:3px;
  background:#B98C3A;
}
.clause .body h3{font-size:21px;color:#2C2A44;margin-bottom:6px}
.clause .body p{color:#4A4560;margin:0}
.clause .stamp{
  width:62px;height:62px;
  border-radius:50%;
  color:#A8524A;
  border:2px solid #A8524A;
  text-align:center;
  font-weight:bold;
  font-size:13px;
  line-height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-transform:uppercase;
}
@media(max-width:820px){
  .clause{grid-template-columns:1fr;padding:18px}
  .clause .folio{width:56px;height:60px;margin-bottom:8px}
  .clause .stamp{display:none}
}

/* ============ CLARITY METRIC BAND ============ */
.metricband{
  background-color:#232035;
  padding:54px 24px;
}
.metricband .wrap{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}
.metricband .metric{text-align:center;padding:0 20px;position:relative}
.metricband .metric + .metric::before{
  content:"";
  position:absolute;
  left:0;top:10%;bottom:10%;
  width:1px;
  background:#FCF9F0;
  opacity:.5;
}
.metricband .num{
  font-family:Georgia,serif;
  font-weight:bold;
  font-size:46px;
  color:#B98C3A;
  display:block;
}
.metricband .lbl{
  color:#C9C2D8;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
@media(max-width:800px){
  .metricband .wrap{grid-template-columns:repeat(2,1fr);gap:24px}
  .metricband .metric + .metric::before{display:none}
}

/* ============ STATEMENT BAND ============ */
.statementband{
  background-color:#37324C;
  padding:66px 24px;
}
.statementband .wrap{
  max-width:860px;
  margin:0 auto;
  text-align:center;
}
.statementband .manifesto{
  font-size:24px;
  line-height:1.5;
  color:#FCF9F0;
  font-family:Georgia,serif;
  font-style:italic;
  position:relative;
  padding-left:26px;
  text-align:left;
}
.statementband .manifesto::before{
  content:"";
  position:absolute;
  left:0;top:8px;bottom:8px;
  width:4px;
  background:#B98C3A;
}
.statementband .credit{
  color:#C9C2D8;
  text-align:left;
  margin-top:10px;
  font-size:15px;
  margin-bottom:0;
}

/* ============ CTA BAND ============ */
.ctaband{
  background-color:#F6F1E4;
  text-align:center;
  padding:70px 24px;
}
.ctaband .wrap{max-width:720px;margin:0 auto}
.ctaband h2{color:#6A4E8E;font-size:32px}
.ctaband p{color:#4A4560;font-size:17px}
.ctaband .btn-primary{font-size:17px;padding:14px 30px}

/* ============ TYPECASE FOOTER ============ */
.typefooter{
  background-color:#1B1929;
  padding-top:16px;
}
.typefooter .folicostrip{
  height:16px;
  background:repeating-linear-gradient(-115deg,
    #FCF9F0 0 26px,transparent 26px 28px,
    #B98C3A 28px 32px,transparent 32px 40px);
}
.typefooter .footmain{
  max-width:1200px;
  margin:0 auto;
  padding:42px 24px 26px;
  text-align:center;
  position:relative;
  z-index:1;
}
.typefooter .fwordmark{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px}
.typefooter .fwordmark .quillglyph{
  width:14px;height:14px;
  display:inline-block;
  transform:rotate(45deg);
  background:linear-gradient(135deg,#6A4E8E 0 55%,transparent 55%);
  border-radius:50% 0 50% 50%;
  position:relative;
}
.typefooter .fwordmark .quillglyph::after{
  content:"";
  position:absolute;
  width:5px;height:5px;
  border-radius:50%;
  background:#FCF9F0;
  right:1px;bottom:-3px;
}
.typefooter .fwordmark em{
  font-style:normal;
  color:#FCF9F0;
  font-family:Georgia,serif;
  letter-spacing:0.2em;
  font-weight:bold;
  font-size:20px;
}
.typefooter .flinks{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 24px;
  margin:14px 0 22px;
}
.typefooter .flinks a{color:#C9C2D8;font-size:14px}
.typefooter .flinks a:hover{color:#FCF9F0}
.typefooter .fdivider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  margin:8px 0 18px;
}
.typefooter .fdivider .bookmark{
  width:14px;height:52px;
  background:#6A4E8E;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);
}
.typefooter .fdivider .inkcap{
  width:34px;height:34px;
  border-radius:50%;
  background:#6A4E8E;
  position:relative;
}
.typefooter .fdivider .inkcap i{
  position:absolute;
  left:50%;top:-26px;
  width:3px;height:48px;
  background:#4A4560;
  transform:translateX(-50%) rotate(20deg);
}
.typefooter .legal{
  color:#C9C2D8;
  font-size:14px;
  margin:0;
  padding-top:20px;
  border-top:1px solid #37324C;
}
.typefooter .legal a{color:#C9C2D8;text-decoration:underline}

/* ===== scroll reveal ===== */
.fade-up{opacity:1;transform:none}

/* watermark decorative */
.watermark{
  position:absolute;
  visibility:hidden;
}
