/* GHOST OF ARCADIA / V3 BOOK-ALIGNED VISUAL SYSTEM
   Reference: creator-supplied GoA book layout. No proprietary font files included.
   Google-hosted Bebas Neue + Montserrat load online; graceful fallbacks offline. */

:root {
  --bg: #e8e5df;
  --paper: #f3f0e9;
  --paper2: #e8e6df;
  --line: #9ba4a4;
  --text: #112028;
  --ink: #112028;
  --muted: #4c5a61;
  --cyan: #78bdc6;
  --gold: #b38b63;
  --copper: #ba8369;
  --signal: #b2605e;
  --max: 1250px;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: Montserrat, "Helvetica Neue", Arial, sans-serif;
}
html {scroll-behavior:smooth}
body {
  font-family:var(--body);
  font-size:15px;
  line-height:1.8;
  background-color:var(--paper);
  background-image:
    repeating-linear-gradient(0deg,transparent 0 5px,#172c3406 5px 6px),
    linear-gradient(110deg,#fcfaf5,#eae6df);
  color:var(--ink);
}
a {color:inherit}
.topbar {
  background:#111f27f9;
  color:#f4efe5;
  border-bottom:1px solid #7f929b;
  box-shadow:0 4px 25px #0002;
}
.nav {min-height:78px}
.brand {
  font-family:var(--display);
  font-size:1.9rem;
  font-weight:400;
  letter-spacing:.11em;
  line-height:1;
}
.brand small {
  margin-top:5px;
  font:700 .57rem/1.4 var(--body);
  letter-spacing:.26em;
  color:#c29b7c;
}
.navlinks a {
  font:700 .75rem/1.3 var(--body);
  letter-spacing:.1em;
  color:#f5f2ec;
}
.navlinks a:hover,.link:hover {color:#83d3dc}
.eyebrow {
  display:inline-block;
  font:700 .68rem/1.5 var(--body);
  letter-spacing:.15em;
  color:#8c654f;
  text-transform:uppercase;
}
.hero {
  min-height:700px;
  position:relative;
  display:flex;
  align-items:center;
  background:linear-gradient(95deg,#f5f2ec 0%,#eae6df 62%,#d5d7d5 100%);
  border-bottom:2px solid #243742;
  overflow:hidden;
  isolation:isolate;
}
.hero::before {
  display:block;
  content:"";
  position:absolute;
  inset:0 0 0 54%;
  background:
    linear-gradient(90deg,#efece6 0%,#f1ece31f 22%,#0f1e2700 65%),
    linear-gradient(0deg,#10232a49,transparent 45%),
    url("./art/new-arcadia.svg") center/cover;
  z-index:-2;
}
.hero::after {
  display:block;
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid #3949535c;
  clip-path:polygon(0 0,65% 0,65% 100%,0 100%);
  pointer-events:none;
  z-index:-1;
}
.hero .container {position:relative}
.hero-inner {
  max-width:700px;
  width:58%;
  padding:100px 36px 106px 12px;
  position:relative;
}
.hero h1 {
  font-family:var(--display);
  font-weight:400;
  letter-spacing:.015em;
  line-height:.89;
  font-size:clamp(5.8rem,10.5vw,10.4rem);
  text-transform:uppercase;
  color:#101b21;
  margin:30px 0 27px;
  text-shadow:none;
}
.hero h1 em {
  display:inline;
  font:inherit;
  font-style:normal;
  text-transform:uppercase;
  color:#111c23;
  text-decoration:underline;
  text-decoration-color:#ac7c63;
  text-decoration-thickness:4px;
  text-underline-offset:7px;
}
.hero p {
  color:#182a31;
  font:500 1rem/1.85 var(--body);
  border-left:3px solid #a86b5e;
  padding-left:19px;
  max-width:560px;
  text-shadow:none;
}
.btn {
  background:#112029;
  color:#f5f1e8;
  border:1px solid #112029;
  padding:14px 21px;
  font:700 .78rem/1.4 var(--body);
  letter-spacing:.08em;
  text-transform:uppercase;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  border-radius:0;
}
.btn:hover {background:#263d47;color:#fff}
.btn-outline {
  border:1px solid #263944;
  color:#112029;
  background:#eeeae4ee;
}
.btn-outline:hover {background:#d1d6d2;color:#101d23}
.section {padding:92px 0 100px}
.section-heading {
  border-bottom:1px solid #718087;
  padding-bottom:20px;
  margin-bottom:26px;
  align-items:end;
}
.section-heading h2 {
  color:#16252d;
  font:400 clamp(3.2rem,5vw,5rem)/1 var(--display);
  text-transform:uppercase;
  letter-spacing:.025em;
  margin:6px 0 0;
}
.section-heading::before {content:"///";font:700 1.1rem var(--body);letter-spacing:-.15em;color:#20343e;order:-1}
.section-heading > div {flex:1}
.link {
  font:700 .75rem var(--body);
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#1f3b44;
}
.tile {
  border:1px solid #677982;
  border-radius:0;
  box-shadow:0 10px 18px #0c171520;
  transition:border-color .2s,transform .2s;
}
.tile:hover {border-color:#935f4f;transform:translateY(-3px);box-shadow:0 15px 26px #0c17152e}
.tile h3 {
  font:400 clamp(2rem,2.7vw,2.8rem)/1.05 var(--display);
  letter-spacing:.018em;
  text-transform:uppercase;
}
.tile .count {font:700 .65rem/1.5 var(--body);letter-spacing:.1em;text-transform:uppercase;color:#bd9773}
.tile .more {color:#cb9b79}
.tile p {font:500 .85rem/1.75 var(--body);color:#d8e1e1}
.section .grid>.tile:not(.visual-tile) {
  min-height:290px;
  border:1px solid #374e5b;
  color:#f3f0e9;
  background-image:
    linear-gradient(0deg,#0a1720f7,#102632cf),
    url("./art/new-arcadia.svg");
  padding:28px 25px;
}
.section .grid>.tile:not(.visual-tile):nth-child(2) {
  background-image:linear-gradient(0deg,#0d1d27f7,#142b3ac2),url("./art/lyranni-concord.svg")
}
.section .grid>.tile:not(.visual-tile):nth-child(3) {
  background-image:linear-gradient(0deg,#0d1d27f7,#142b3ac2),url("./art/the-veil.svg")
}
.section .grid>.tile:not(.visual-tile):nth-child(4) {
  background-image:linear-gradient(0deg,#0d1d27f7,#142b3ac2),url("./art/lyranni-concord.svg")
}
.tile.visual-tile {
  min-height:400px;
  background:#f3f0e9;
  border:1px solid #b7b6ac;
  color:#12222a;
}
.tile.visual-tile .tile-image {height:224px;filter:saturate(.7)}
.tile.visual-tile .tile-content {padding:25px 24px 5px}
.tile.visual-tile .count {color:#855a48}
.tile.visual-tile h3 {color:#0e222b;margin:12px 0}
.tile.visual-tile p {color:#44545b}
.tile.visual-tile .more {color:#1e3b44}
.feature {
  background-image:
    linear-gradient(90deg,#0a171ff2 0%,#122b36e2 31%,#0c273896 62%,#09182170 100%),
    url("./art/new-arcadia.svg");
  background-size:cover;
  border-top:5px solid #182a33;
  border-bottom:5px solid #182a33;
  min-height:520px;
}
.feature-inner {min-height:520px;padding:92px 0}
.feature h2 {
  font:400 clamp(4.8rem,9vw,9rem)/.9 var(--display);
  text-transform:uppercase;
  letter-spacing:.014em;
  color:#faf6ed;
}
.feature p {color:#e0e8e6;font:500 1rem/1.85 var(--body)}
.feature .eyebrow {color:#e8b78f}
.feature .btn {background:#ecede7;color:#101e26;border-color:#ecede7}
.feature .btn:hover {background:#c8d5d5}
.archive-head {
  background:
    linear-gradient(90deg,#f1eee7 0%,#ebe7e0 57%,#ebe7e060 80%,#0f253410 100%),
    url("./art/new-arcadia.svg") right center/auto 100% no-repeat;
  color:#15232b;
  padding:75px 40px;
  border:1px solid #89949a;
  border-left:4px solid #14232c;
  margin-top:42px;
  margin-bottom:42px;
  min-height:300px;
  position:relative;
}
.archive-head::before,.archive-head::after {
  position:absolute;
  content:"";
  width:36px;height:18px;
  border:1px solid #6d818b;
}
.archive-head::before {top:10px;left:10px;border-right:0;border-bottom:0}
.archive-head::after {bottom:10px;right:10px;border-left:0;border-top:0}
.archive-head h1 {
  color:#101d26;
  font:400 clamp(4.2rem,7vw,7rem)/.95 var(--display);
  letter-spacing:.015em;
  text-transform:uppercase;
  max-width:720px;
  margin:15px 0;
}
.archive-head p {color:#263941;max-width:710px;font:500 .96rem/1.85 var(--body)}
.archive-head .eyebrow {color:#8b5848}
.search {
  background:#fcfaf6;
  border:1px solid #647781;
  color:#162932;
  border-radius:0;
  font:500 .93rem/1.6 var(--body);
  margin-top:10px;
}
.search::placeholder {color:#687579}
.filters {margin:21px 0 30px}
.filter {
  color:#20323c;
  background:#eeeae3;
  border:1px solid #8e9da1;
  border-radius:0;
  font:700 .76rem/1.4 var(--body);
}
.filter:hover {color:#172731;border-color:#9b6151}
.filter[aria-pressed=true] {background:#172933;color:#fff;border-color:#172933}
.archive-grid{padding-bottom:92px}
.article-head {
  min-height:475px;
  background:
    linear-gradient(90deg,#f3f0e9 0%,#f0ede5 46%,#e7e2d8 57%,#e6e1d600 78%),
    var(--article-art) right center/auto 100% no-repeat;
  border-top:1px solid #acb2b0;
  border-bottom:3px solid #192a34;
  align-items:center;
  padding:75px 0;
}
.article-head .container {padding:0}
.article-head h1 {
  color:#12232c;
  font:400 clamp(4.5rem,8vw,7.6rem)/.9 var(--display);
  letter-spacing:.018em;
  text-transform:uppercase;
  max-width:840px;
  margin:23px 0 20px;
}
.article-head .deck {max-width:650px;color:#39464d;font:500 1.1rem/1.8 var(--body);font-style:normal}
.article-head .link {color:#5a3c36}
.article-layout {grid-template-columns:minmax(0,780px) minmax(240px,290px);gap:60px;padding:68px 0 110px}
.article-body {color:#142630}
.article-body p {
  font:500 1rem/1.92 var(--body);
  color:#1a2a33;
  margin:0 0 26px;
}
.article-body p:first-child:first-letter{
  float:none;
  font-size:inherit;
  padding:0;
  color:inherit;
}
.article-body:before {
  content:"///  ARCHIVE ENTRY";
  font:400 1.65rem/1 var(--display);
  letter-spacing:.04em;
  display:block;
  border-bottom:1px solid #6d7d85;
  padding-bottom:11px;
  color:#152a35;
  margin-bottom:28px;
}
.article-body .notice {
  margin-top:44px;
  background:#132530;
  color:#f7f1e8;
  border:1px solid #9a7965;
  padding:22px 24px;
  font:500 .81rem/1.9 var(--body);
  clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,15px 100%,0 calc(100% - 15px));
}
.aside {
  position:relative;
  border:1px solid #41525a;
  border-radius:0;
  background:#11212b;
  color:#e8e9e3;
  padding:31px 26px;
  align-self:start;
  box-shadow:6px 7px 0 #c6c7c0;
}
.aside::before,.aside::after {position:absolute;content:"";width:20px;height:20px;border:1px solid #947965}
.aside::before{top:8px;left:8px;border-right:0;border-bottom:0}
.aside::after{bottom:8px;right:8px;border-top:0;border-left:0}
.aside h3 {
  font:400 1.55rem/1.15 var(--display);
  text-transform:uppercase;
  letter-spacing:.035em;
  color:#e5b68b;
  margin:18px 0 7px;
}
.aside h3:first-child{margin-top:0}
.aside p {font:500 .8rem/1.75 var(--body);color:#cbd4d3}
.aside a {
  font:600 .82rem/1.7 var(--body);
  display:block;
  padding:12px 0;
  color:#edf0ed;
  border-bottom:1px solid #3b4b54;
}
.aside a:hover{color:#e4bd96}
.aside .link {color:#e5b68b}
.notice {background:#11212b;color:#f2f0e8;border:1px solid #987c66}
.empty{color:#59686e}
.footer {
  background:#101d26;
  border-top:4px solid #9a7965;
  color:#d2d8d7;
  padding:48px 0;
  font:500 .77rem/1.8 var(--body);
}
.footer .container {max-width:1250px}

@media(max-width:950px){
  .hero::before {inset:0 0 0 43%;opacity:.5}
  .hero-inner {width:68%;max-width:690px}
  .hero h1{font-size:clamp(5.5rem,10vw,8rem)}
  .article-layout {grid-template-columns:1fr;gap:35px}
  .aside {max-width:600px}
  .article-head {background-position:right center}
}
@media(max-width:700px){
  .navlinks {background:#10232d;color:#fff}
  .nav-toggle {display:block;border-color:#58727d}
  .hero {min-height:640px;align-items:end}
  .hero::before {
    inset:0;
    opacity:.76;
    background:
      linear-gradient(0deg,#f3f0e9 0%,#f1eee7f7 36%,#eee9e1a0 65%,#10212c3d 100%),
      url("./art/new-arcadia.svg") center top/cover;
  }
  .hero::after{inset:10px}
  .hero-inner {width:100%;padding:215px 10px 42px;max-width:none}
  .hero h1{font-size:clamp(4.7rem,15vw,7.5rem);margin:14px 0 20px}
  .hero p{font-size:.92rem;max-width:530px}
  .btn-outline {display:inline-block;margin-left:0}
  .section {padding:60px 0}
  .section-heading::before {display:none}
  .section-heading h2{font-size:3.2rem}
  .section .grid>.tile:not(.visual-tile){min-height:240px}
  .feature {min-height:460px}
  .feature-inner{min-height:460px;padding:65px 0}
  .feature h2{font-size:5.4rem}
  .archive-head{padding:65px 24px;min-height:260px;background:linear-gradient(90deg,#f1eee7 5%,#f0ebe5df 90%),url("./art/new-arcadia.svg") right/cover;margin-top:20px}
  .archive-head h1{font-size:4.5rem}
  .article-head {min-height:440px;padding:70px 0 55px;background:linear-gradient(0deg,#f1ede7 0%,#eee9e3e9 42%,#e8e5e180 75%,#12263454),var(--article-art) center top/cover}
  .article-head h1{font-size:4.6rem}
  .article-layout{padding-top:40px}
}
@media(max-width:430px){
  .hero h1{font-size:4.55rem}
  .hero .btn{margin:10px 6px 0 0;padding:12px 15px;font-size:.67rem}
  .section-heading h2{font-size:2.9rem}
  .archive-head h1,.article-head h1{font-size:4rem}
  .feature h2{font-size:4.4rem}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
