:root{color-scheme:dark;--gold:#eac181;--cream:#f2dfbb;--ink:#080e16;--line:#85623c}
*{box-sizing:border-box}
body{margin:0;color:var(--cream);background:#070c14;font:1rem/1.5 Georgia,serif}
main,footer{max-width:1200px;margin:auto}
.runes-local-header{display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:.7rem clamp(.8rem,4vw,3rem);border-bottom:1px solid #60472e;background:#09101a}
.runes-local-header nav{display:flex;gap:1rem;flex-wrap:wrap}
a{color:var(--gold);text-underline-offset:.2em}
.runes-local-header .brand{font-size:1.25rem;text-decoration:none;letter-spacing:.08em}
h1,h2,h3{color:var(--gold);line-height:1.08;margin:.15em 0 .35em}
h1{font-size:clamp(2.4rem,5.6vw,4rem)}
h2{font-size:clamp(1.5rem,3vw,2.1rem)}
p{margin:.35rem 0 .65rem}
.hero{position:relative;isolation:isolate;overflow:hidden;text-align:center;background:radial-gradient(ellipse at 50% 55%,#221925,#080e16 60%);padding:2rem 1rem 1.4rem}
.hero img{position:absolute;z-index:-1;width:36%;height:100%;object-fit:cover;top:0;mask-image:linear-gradient(to right,#000 70%,transparent 100%)}
.hero .left{left:0}
.hero .right{right:0;mask-image:linear-gradient(to left,#000 70%,transparent 100%)}
.hero-copy{max-width:29rem;margin:auto;text-shadow:0 2px 6px #000,0 2px 12px #000}
.rule{color:var(--gold);display:flex;gap:.7rem;align-items:center;justify-content:center;margin:.6rem auto}
.rule::before,.rule::after{content:"";height:1px;width:24%;background:linear-gradient(90deg,transparent,var(--line))}
.rule::after{transform:scaleX(-1)}
form{position:relative;max-width:29rem;margin:1rem auto 0;background:linear-gradient(120deg,#9b693e,#eed5a1 22%,#d8af78 78%,#916540);color:#221307;border:3px double #614025;border-radius:1.2rem .4rem;padding:.7rem 1rem;box-shadow:0 .3rem 1rem #0008}
label{font-weight:bold}
input{width:100%;padding:.56rem;margin:.25rem 0 .5rem;border:1px solid #8e734d;border-radius:.4rem;background:#fff4db;color:#211608;font:inherit}
button,.button{display:inline-block;min-height:42px;padding:.5rem 1.3rem;border:1px solid #bc9459;border-radius:1.3rem;background:#22152d;color:#ffdf9b;font:700 1rem Georgia,serif;cursor:pointer;text-decoration:none;align-content:center}
.gold{color:#211307;background:linear-gradient(#ffda88,#c79147)}
.shell{padding:0 clamp(.65rem,3vw,2rem)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin:.6rem 0}
.frame{padding:1rem;border:3px double var(--line);border-radius:.8rem;background:radial-gradient(ellipse at top left,#39251a,#130f13 66%);box-shadow:inset 0 0 1rem #000}
.sax{background:radial-gradient(ellipse at top right,#393025,#0a1522 65%)}
.cross{text-align:center;max-width:48rem;margin:.7rem auto}
.book{display:grid;grid-template-columns:minmax(85px,23%) 1fr;gap:1rem;margin:.85rem auto}
.book img{width:100%;height:100%;max-height:16rem;object-fit:cover;border:3px double #aa7748}
footer{padding:1rem;color:#cfb790;border-top:1px solid #61492f}
.crumb{padding:.7rem 0;font-size:.88rem}
.intro{font-weight:normal;color:#f3e2c4}
.catalog{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;margin:1rem auto}
.catalog details{border:3px double #a47a53;border-radius:.55rem;background:#16171d;overflow:hidden}
.catalog summary{list-style:none;display:grid;grid-template-columns:2.15rem 1fr;align-items:start;gap:.4rem;padding:.55rem;cursor:pointer}
.catalog summary::-webkit-details-marker{display:none}
.glyph{display:inline-grid;color:#ffe0a3;place-items:center;font-family:Runic,serif;font-size:1.8rem;line-height:1.2;background:radial-gradient(#654629,#14151a);border:1px solid #9c6b40;border-radius:.24rem;min-height:2.7rem}
.catalog strong,.catalog small{display:block}
.catalog strong{overflow-wrap:anywhere}
.catalog details p{padding:0 .55rem;font-size:.9rem}
.parchment details{background:linear-gradient(145deg,#fbdda7,#d5a977);color:#261606}
.parchment .glyph{color:#694323;background:#eed0a0;border:1px solid #b78c5a}
@font-face{font-family:Runic;src:url('./runic.ttf') format('truetype');font-display:swap}
:focus-visible{outline:3px solid #ffe5a5;outline-offset:3px}
[hidden]{display:none!important}
@media(max-width:850px){.catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.runes-local-header{align-items:start}.runes-local-header nav{gap:.3rem .7rem;font-size:.87rem}.hero{padding-top:1.4rem}.hero img{width:43%;height:13rem;opacity:.7}.hero-copy{max-width:20rem}.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.pair{grid-template-columns:1fr}.book{grid-template-columns:1fr}.book img{max-width:7rem;max-height:8rem}.frame{padding:.75rem}}
#germanique,#anglo-saxon{font-family:Runic,Georgia,serif}
.thor{display:flex;gap:.75rem;align-items:center;margin:.75rem auto}
.thor img{height:auto;border:1px solid var(--line)}
.glyph-plaque{display:block;width:100%;height:auto;max-width:3.5rem}

.catalog summary>span{min-width:0;overflow-wrap:anywhere}

/* The mockups share a palette, but each tradition has its own composition. */
main[class^="runes-"] { max-width: 1536px; }
.runes-consultation .hero {
  min-height: clamp(390px, 38vw, 535px);
  padding: clamp(1.4rem, 3vw, 3rem) 1rem 2rem;
  background: #0a131e url('./consultation-sages.webp') center / cover no-repeat;
}
.runes-consultation .hero-copy { max-width: min(37rem, 48%); }
.runes-consultation .hero-copy h1 { font-size: clamp(2.3rem, 4.7vw, 4.35rem); }
.runes-consultation form { max-width: min(38rem, 49%); }
.runes-consultation .pair { gap: clamp(.75rem, 1.7vw, 1.5rem); }
.draw-card {
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(155px, 16vw, 228px);
  overflow: hidden;
  padding: 0;
  border-color: #ad773d;
  background: #211412;
}
.draw-card img { width: 100%; height: 100%; object-fit: contain; }
.draw-card > div { padding: .85rem 1rem; }
.draw-poem { background: #0c1925; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); }
.draw-poem img { grid-column: 2; grid-row: 1; }
.draw-poem > div { grid-column: 1; grid-row: 1; text-align: center; }
.cross-scene {
  margin-inline: calc(-1 * clamp(.65rem, 3vw, 2rem));
  padding: .65rem 1rem;
  background: #0a131e url('./lecture-croisee.webp') center / cover no-repeat;
}
.cross { background: #0a131ded; margin: auto; }
.book {
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(250px, 30vw, 425px);
  background: #18151d;
  padding: 0;
  overflow: hidden;
}
.book > div { padding: 1rem 1.4rem; }
.book img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; border: 0; }
.book ul { padding-left: 1.25rem; }
.book li { margin: .5rem 0; }
.encyclopedia-hero { background: #08121c center / cover no-repeat; }
.runes-futhark .encyclopedia-hero {
  min-height: clamp(340px, 30vw, 428px);
  padding-top: clamp(1.3rem, 4vw, 3.6rem);
  background-image: url('./futhark-encyclopedie.webp');
}
.runes-futhark .hero-copy { max-width: 39rem; width: 50%; margin-left: 32%; }
.hero-subtitle { font-size: clamp(1.12rem, 2.3vw, 2rem); }
.eyebrow { color: var(--gold); letter-spacing: .11em; }
.runes-futhorc .encyclopedia-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18%);
  align-items: center;
  min-height: clamp(280px, 20vw, 390px);
  background-image: url('./futhorc-encyclopedie.webp');
  padding: .5rem max(2rem, 3%) .8rem 13%;
  column-gap: 1rem;
}
.runes-futhorc .crumb { grid-column: 1 / -1; padding-left: 0; text-align: left; }
.runes-futhorc .hero-copy { text-align: left; width: 64%; max-width: 43rem; margin: 0; padding-left: 1rem; }
.runes-futhorc .hero-copy .eyebrow { display: none; }
.runes-futhorc .hero-copy h1 { font-size: clamp(1.9rem, 3.6vw, 3.55rem); }
.runes-futhorc .hero-copy .rule { justify-content: start; }
.hero-cta { background: #07101bed; }
.hero-cta h2 { font-size: clamp(1rem, 1.6vw, 1.5rem); }
.catalog-title { text-align: center; margin: .2rem 0; font-size: clamp(1.75rem, 3.1vw, 2.8rem); }
.encyclopedia-catalog { padding-top: .7rem; padding-bottom: 1.25rem; }
.runes-futhorc .encyclopedia-catalog {
  border: 3px double #87633e;
  background: #0b1521 url('./futhorc-entrelacs.webp') center / 100% 100% no-repeat;
}
.catalog { gap: clamp(.35rem, .7vw, .7rem); align-items: start; }
.catalog summary {
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: start;
  gap: .35rem;
  padding: .3rem;
}
.catalog summary strong { font-size: clamp(.95rem, 1.55vw, 1.42rem); line-height: 1.12; }
.catalog summary small { font-size: clamp(.72rem, 1vw, .93rem); line-height: 1.25; }
.runes-futhark .catalog summary {
  position: relative;
  display: block;
  min-height: clamp(104px, 10vw, 154px);
  isolation: isolate;
}
.runes-futhark .catalog summary > span:last-child {
  display: block;
  position: relative;
  margin-left: 45%;
  padding: .12rem .12rem .55rem 0;
  text-shadow: 0 1px 4px #000, 0 1px 3px #000;
}
.rune-stone { display: grid; place-items: center; color: #ffd68a; font: clamp(1.8rem, 3.1vw, 3.1rem)/1 Runic, serif; text-shadow: 0 0 .26em #ff7d16, 0 1px #a14003; }
.runes-futhark .rune-stone {
  position: absolute;
  inset: 0;
  z-index: -1;
  place-items: start;
  padding: 8% 0 0 16%;
  background: #111722 url('./futhark-cartes.webp') var(--tile-x) var(--tile-y) / 600% 400% no-repeat;
}
.parchment details { background: #dfbb83 url('./parchemin.webp') center / cover; }
.parchment .rune-stone {
  aspect-ratio: 1;
  border-radius: 25% 25% 17% 17%;
  background: #3b2d23 url('./futhorc-pierre.webp') center / cover;
}
.encyclopedia-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.runes-futhark .encyclopedia-cta {
  min-height: clamp(110px, 13vw, 195px);
  padding-left: 27%;
  background: #100e14 url('./futhark-tirage.webp') center / cover no-repeat;
}
.runes-futhorc .encyclopedia-cta { background: #09121de6; }
@media (max-width: 850px) {
  .runes-futhorc .encyclopedia-hero { padding-left: 5%; }
  .runes-futhorc .hero-copy { width: 80%; }
}
@media (max-width: 620px) {
  .runes-consultation .hero,
  .runes-futhark .encyclopedia-hero,
  .runes-futhorc .encyclopedia-hero {
    display: block;
    min-height: 0;
    padding: calc(max(6rem, 32vw) + .5rem) .85rem 1.1rem;
    background-size: 100% auto;
    background-position: top center;
  }
  .runes-consultation .hero-copy,
  .runes-consultation form,
  .runes-futhark .hero-copy,
  .runes-futhorc .hero-copy { width: auto; max-width: 100%; margin-inline: auto; padding: 0; text-align: center; }
  .runes-consultation form { padding: .7rem .8rem; }
  .runes-futhorc .hero-copy .rule { justify-content: center; }
  .runes-futhorc .crumb { padding: 0 0 .55rem; text-align: center; }
  .draw-card { min-height: 145px; }
  .draw-card > div { padding: .6rem; }
  .book { grid-template-columns: 1fr; }
  .book img { max-width: min(78%, 260px); max-height: none; margin: .7rem auto 0; }
  .book > div { padding-top: .3rem; }
  .runes-futhark .encyclopedia-cta { padding: 3.5rem .75rem .85rem; background-size: auto 100%; background-position: left top; }
  .encyclopedia-cta { grid-template-columns: 1fr; }
}

.runes-consultation form,
.elder-facts { background: #dfbb83 url('./parchemin.webp') center / 100% 100%; }
.elder-facts {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  width: min(60%, 53rem);
  margin: 1rem 0 0 34%;
  padding: .9rem 1rem;
  color: #2e1a0a;
}
.elder-facts div + div { border-left: 1px solid #7f542f; }
.elder-facts dt { font-weight: bold; }
.elder-facts dd { margin: 0 .4rem; }
.poem-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 1rem 0 .35rem;
}
.poem-notes > div { padding-inline: .7rem; }
.poem-notes > div + div { border-left: 1px solid var(--line); }
@media (max-width: 620px) {
  .elder-facts { width: 100%; margin: 1rem 0 0; padding: .65rem .4rem; font-size: .83rem; }
  .poem-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poem-notes > div:nth-child(3) { border-left: 0; }
  .runes-consultation .pair { grid-template-columns: 1fr; }
}

.runes-consultation .draw-card img {
  aspect-ratio: 4 / 5;
  max-height: 220px;
  object-fit: contain;
}
.runes-consultation .book {
  grid-template-columns: minmax(0, 31%) minmax(0, 1fr) minmax(10rem, 23%);
}
.book-actions { text-align: center; }
.book-status {
  padding: .85rem;
  margin: 0 0 .7rem;
  border: 3px double var(--line);
  border-radius: .4rem;
}
.runes-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: .75rem .2rem;
  gap: .6rem;
}
.runes-facts > div { padding: .25rem .8rem; }
.runes-facts > div + div { border-left: 1px solid var(--line); }
.runes-facts h3, .poem-notes h3 { font-size: 1.05rem; }
.runes-futhorc .encyclopedia-catalog { background-size: 100% auto; background-position: center bottom; }
.runes-futhorc .catalog summary { grid-template-columns: minmax(30px, min(36%, 76px)) minmax(0, 1fr); }
.runes-futhorc .catalog summary strong { font-size: clamp(.95rem, 1.45vw, 1.25rem); }
.runes-futhark .encyclopedia-cta { padding-left: 32%; }
.runes-futhark .encyclopedia-cta > div:last-child { margin-right: 1.5rem; }
@media (max-width: 620px) {
  .runes-consultation .book { grid-template-columns: minmax(0, 1fr); }
  .runes-facts { grid-template-columns: 1fr; }
  .runes-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .runes-futhark .encyclopedia-cta { padding-left: .75rem; }
}

.runes-futhorc .encyclopedia-catalog { background-size: 100% 100%; padding-bottom: 1.65rem; }
.poem-notes { background: #09121d; padding-block: 1rem; }
@media (min-width: 900px) {
  .runes-futhorc .hero-copy { margin-left: 2.5%; }
  .runes-futhorc .hero-copy .intro { max-width: 35rem; }
}
@media (max-width: 620px) {
  .runes-futhark .encyclopedia-cta {
    padding-top: max(5rem, 31vw);
    background-size: 100% auto;
    background-position: center top;
  }
  .runes-futhorc .encyclopedia-catalog { background-size: 100% auto; padding-bottom: 24vw; }
}

.rune-editorial {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.5rem);
  margin-block: clamp(1.5rem, 4vw, 3rem);
  color: #f4e6ca;
}

.editorial-chapter {
  min-width: 0;
  overflow-wrap: anywhere;
}

.editorial-chapter.frame {
  padding: clamp(1rem, 3vw, 2rem);
  background: #10172a;
}

.editorial-chapter h2 {
  margin: 0 0 1rem;
  color: #f0d399;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.editorial-chapter h3 {
  color: #f0d399;
  margin: 0 0 .4rem;
}

.editorial-chapter p,
.editorial-chapter dd {
  margin: 0;
  line-height: 1.65;
}

.editorial-steps {
  margin: 0;
  padding-inline-start: 1.5rem;
}

.editorial-steps li {
  padding-inline-start: .35rem;
}

.editorial-steps li + li {
  margin-block-start: 1rem;
}

.editorial-steps li::marker,
.editorial-label,
.editorial-example dt {
  color: #f4c78a;
  font-weight: 700;
}

.editorial-traditions,
.editorial-example dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-tradition {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #10172a;
}

.editorial-tradition img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.editorial-tradition > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  gap: .65rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.editorial-tradition .button {
  margin-top: auto;
}

.editorial-example dl > div {
  padding: 1rem;
  border-inline-start: 2px solid #ab6938;
  background: #1e1b28;
}

.editorial-example .rune-glyph {
  font-family: Runic, serif;
  font-size: 1.25em;
}

.editorial-example dt {
  margin-block-end: .4rem;
}

.editorial-example .editorial-label {
  margin-block-end: .75rem;
}

.editorial-faq details {
  margin-block: .55rem;
  border: 1px solid #856438;
  border-radius: .45rem;
  background: #10172a;
}

.editorial-faq summary {
  display: list-item;
  padding: .9rem 1rem;
  color: #f0d399;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.editorial-faq details[open] summary {
  border-bottom: 1px solid #856438;
}

.editorial-faq details p {
  padding: .9rem 1rem 1rem;
}

.rune-editorial :is(summary, a):focus-visible {
  outline: 2px solid #f6d995;
  outline-offset: -3px;
}

@media (max-width: 640px) {
  .editorial-traditions,
  .editorial-example dl {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Runes → Sous le ciel de Thor: restrained cross-discovery card using the approved hub artwork. */
.runes-consultation .thor-promo{
  display:grid;
  grid-template-columns:minmax(12rem,31%) minmax(0,1fr) minmax(10rem,auto);
  align-items:center;
  column-gap:clamp(.8rem,2vw,1.65rem);
  row-gap:.7rem;
  margin:1.3rem auto 1.5rem;
  padding:.7rem 1.15rem .7rem .7rem;
  min-height:165px;
  border:1px solid #a78351;
  border-radius:1rem;
  background:linear-gradient(112deg,rgba(22,34,47,.96),rgba(11,17,27,.98));
  box-shadow:inset 0 0 0 1px rgba(245,204,133,.10),0 10px 30px rgba(0,0,0,.28);
  overflow:hidden;
}
.runes-consultation .thor-promo-art{
  display:block;
  width:100%;
  height:150px;
  border:1px solid rgba(217,170,102,.55);
  border-radius:.65rem;
  object-fit:cover;
  object-position:center;
}
.runes-consultation .thor-promo-copy{min-width:0}
.runes-consultation .thor-promo-eyebrow{
  margin:0 0 .25rem;
  color:#dfb877;
  font:700 .75rem/1.4 system-ui,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.runes-consultation .thor-promo-title{
  margin:0 0 .4rem;
  color:#f3d69c;
  font-size:clamp(1.3rem,2.1vw,1.9rem);
}
.runes-consultation .thor-promo-description{
  margin:0;
  color:#e6d9c8;
  font-size:clamp(.94rem,1.25vw,1.05rem);
  line-height:1.55;
}
.runes-consultation .thor-promo-cta{
  justify-self:end;
  max-width:15rem;
  text-align:center;
  white-space:normal;
  border-color:#deb26c;
  background:linear-gradient(180deg,#e9c27c,#ad7837);
  color:#1d1210;
  text-shadow:none;
}
.runes-consultation .thor-promo-cta:hover,
.runes-consultation .thor-promo-cta:focus-visible{
  background:linear-gradient(180deg,#f7dca5,#c5904f);
}
@media(max-width:920px){
  .runes-consultation .thor-promo{grid-template-columns:minmax(0,38%) minmax(0,1fr)}
  .runes-consultation .thor-promo-cta{grid-column:2;justify-self:start;max-width:none}
}
@media(max-width:560px){
  .runes-consultation .thor-promo{
    grid-template-columns:minmax(0,1fr);
    padding:.75rem;
    gap:.8rem;
  }
  .runes-consultation .thor-promo-art{
    width:100%;
    height:auto;
    aspect-ratio:768/284;
    object-fit:contain;
    background:#0b1520;
  }
  .runes-consultation .thor-promo-copy{padding:0 .25rem}
  .runes-consultation .thor-promo-cta{
    grid-column:1;
    width:100%;
    max-width:none;
    justify-self:stretch;
  }
}
