/* Von TyrWald inner pages in the look of the approved test home "Nachtwald" (10/11/2026). Loaded only on the pages listed
   in tools/fable_inner.py (FABLE_INNER), after the page's own styles. Everything is scoped to body.nwi; the markup is the
   live page's, untouched. No script.
   The inner pages are the home's quieter siblings: the same forest-black, the same Bodoni at weight 600, gold used like
   light (thin lines, one gold button), photographs that come up out of the dark, the litter card and the price card as
   the lit panels, the shield as a small gold hallmark. The mist is only an echo: a faint haze behind the page title.
   Long articles stay on the dark page (it is the brand, and Rui chose the dark versions): the text is a warm off-white,
   never pure white, at 18 px with 1.8 leading and a measure of about 68 characters; tables sit in a lit panel and scroll
   inside their own box on phones. Side margins: 24 px on phones, 40 px at 768. No content is hidden. */
.nwi{--bg:#060a07;--bg2:#0a120d;--bg3:#101a14;--fg:#ece6d5;--mute:rgba(236,230,213,.74);--read:rgba(236,230,213,.87);--acc:#c9a65e;--line:rgba(236,230,213,.13);
  --pad:clamp(24px,5.3vw,72px);--gold-line:linear-gradient(90deg,rgba(201,166,94,0),rgba(201,166,94,.9) 50%,rgba(201,166,94,0));--ez:cubic-bezier(.2,.7,.2,1)}
.nwi ::selection{background:var(--acc);color:#0a0f0b}

/* ---------- shared with the home: type, labels, buttons, header ---------- */
.nwi .dsp{font-weight:600;font-size:clamp(34px,4.3vw,66px);line-height:1;letter-spacing:-.022em}
.nwi .dsp--xl{font-size:clamp(42px,6.4vw,104px);line-height:.95}
.nwi .lead{font-weight:300;color:var(--fg)}
.nwi .kick{letter-spacing:.3em}
.nwi main .kick::before{content:"";display:inline-block;vertical-align:middle;width:30px;height:1px;margin-right:14px;background:linear-gradient(90deg,rgba(201,166,94,0),var(--acc))}
.nwi .form-card .kick::before,.nwi .contact--big .kick::before,.nwi figcaption .kick::before{display:none}
.nwi .btn{min-height:54px}
.nwi .btn--acc{background:linear-gradient(180deg,#dcbc78,#c19b52);color:#0a0f0b;box-shadow:0 14px 44px -16px rgba(201,166,94,.6)}
.nwi .btn--acc:hover{background:linear-gradient(180deg,#ecd292,#d2ad63)}
.nwi .btn--line{border-color:rgba(236,230,213,.42)}
.nwi .vtf__go,.nwi .form-card .btn,.nwi .wl__card .btn,.nwi .vtm .btn{box-shadow:none}
.nwi .hdr.is-solid::before{background:rgba(6,10,7,.9)}
.nwi .sec{padding-top:clamp(80px,10vw,152px);padding-bottom:clamp(80px,10vw,152px)}
/* the first block after the page title sits closer to it: the title and what follows read as one opening */
.nwi .ph+.sec{padding-top:clamp(56px,6.4vw,96px)}
.nwi .duo+.faq{padding-top:clamp(40px,5vw,72px)}
.nwi .ph+.sec.blogx{padding-top:clamp(20px,2.6vw,40px)}
/* three small links are under 44 px tall on phones (same as on the live site): larger tap area, nothing moves */
@media (max-width:1060px){
  .nwi .brand,.nwi .nav__lang,.nwi .arrow{position:relative}
  .nwi .brand::after,.nwi .nav__lang::after,.nwi .arrow::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:46px;transform:translateY(-50%)}
}
/* footer links and the small links in the form cards are 16 to 21 px tall lines (same as on the live site and the home):
   taller tap area, nothing moves */
.nwi .ftr a,.nwi .vtf__legal a,.nwi .form-card__alt a{position:relative}
.nwi .ftr a::after,.nwi .vtf__legal a::after,.nwi .form-card__alt a::after{content:"";position:absolute;left:0;right:0;top:-6px;bottom:-6px}
/* links inside running text: gold, and at least 24 px tall for a finger */
.nwi main p a:not(.btn):not(.arrow),.nwi .yt noscript a,.nwi .prose a:not(.btn),.nwi .faq__a a,.nwi .author a{padding-block:3px;text-decoration-thickness:1px;text-underline-offset:4px;transition:color .25s}
.nwi .prose a:not(.btn):hover,.nwi .faq__a a:hover,.nwi .usa-note a:hover{color:#ecd292}

/* photographs come up out of the dark (no sliding clip: a lazy photo is never clipped to nothing) */
.js .nwi .mask{clip-path:none;transition:none}
.js .nwi .mask picture{transform:none;transition:filter 1.8s var(--ez),opacity 1.4s ease}
.js .nwi .mask:not(.is-in) picture{filter:brightness(.18) saturate(.5);opacity:.5}
.rm .nwi .mask picture{filter:none!important;opacity:1!important}

/* ---------- page opening: title, hallmark, the echo of the mist ---------- */
.nwi .ph{position:relative;overflow:hidden;background:radial-gradient(76% 60% at 50% 0,rgba(40,70,49,.5),rgba(40,70,49,0) 66%),var(--bg);padding-bottom:clamp(52px,7vw,96px)}
.nwi .ph::before,.nwi .art__hero::before{content:"";position:absolute;z-index:0;left:-12%;right:-12%;top:calc(var(--hdr-h) + 20px);height:300px;pointer-events:none;
  background:radial-gradient(34% 46% at 16% 58%,rgba(196,210,196,.1),rgba(196,210,196,0) 72%),radial-gradient(30% 40% at 52% 44%,rgba(196,210,196,.075),rgba(196,210,196,0) 72%),radial-gradient(36% 48% at 86% 62%,rgba(196,210,196,.095),rgba(196,210,196,0) 72%);
  animation:nwi-drift 46s ease-in-out infinite alternate}
@keyframes nwi-drift{from{transform:translate3d(-3.5%,0,0)}to{transform:translate3d(3.5%,0,0)}}
.nwi .ph__in,.nwi .ph__img,.nwi .art__hero>*{position:relative;z-index:1}
.nwi .ph__h{font-weight:600;font-size:clamp(38px,5.7vw,92px);line-height:.96;letter-spacing:-.026em;max-width:17ch}
.nwi .ph__sub{color:var(--mute);max-width:56ch}
.nwi .ph .kick::before,.nwi .art__hero .kick::before{width:14px;height:17px;margin-right:12px;background:var(--acc);-webkit-mask:url(/assets/concepts/shield-mask.svg) center/contain no-repeat;mask:url(/assets/concepts/shield-mask.svg) center/contain no-repeat}
.nwi .ph__img{margin-top:clamp(40px,6vw,76px)}
.nwi .ph__img::before{inset:auto 14% -20px 14%;height:1px;border:0;background:var(--gold-line)}
.nwi .ph__shield{width:46px;margin-bottom:26px}
.nwi .ph--404{min-height:78svh}
.nwi .pill{color:var(--acc)}

/* ---------- article and legal text ---------- */
.nwi .art__hero{position:relative;max-width:none;padding-left:var(--pad);padding-right:var(--pad);background:radial-gradient(76% 70% at 50% 0,rgba(40,70,49,.5),rgba(40,70,49,0) 66%)}
.nwi .art__hero>*{max-width:1180px;margin-left:auto;margin-right:auto}
.nwi .crumbs{letter-spacing:.2em;color:var(--mute);line-height:2}
.nwi .crumbs a{padding-block:6px}
.nwi .art__h{font-weight:600;font-size:clamp(34px,4.9vw,74px);line-height:1;letter-spacing:-.024em;max-width:19ch;margin-bottom:24px}
.nwi .art__hero .post__meta{color:var(--mute);letter-spacing:.14em}
.nwi .art__img{box-shadow:0 60px 130px -60px #000}
.nwi .art__body{max-width:calc(43.5rem + 2*var(--pad));padding-top:clamp(52px,6.5vw,92px)}
.nwi .prose{font-size:clamp(17.5px,1.24vw,18.5px);line-height:1.8;font-weight:350;color:var(--read)}
.nwi .prose p{margin:0 0 1.25em}
.nwi .prose h2{position:relative;font-weight:600;font-size:clamp(29px,3vw,44px);line-height:1.06;letter-spacing:-.018em;margin:2.5em 0 .7em;padding-top:.9em;text-wrap:balance}
.nwi .prose h2::before{content:"";position:absolute;left:0;top:0;width:56px;height:1px;background:linear-gradient(90deg,var(--acc),rgba(201,166,94,0))}
.nwi .prose h3{font-weight:600;font-size:clamp(22px,1.9vw,28px);line-height:1.16;letter-spacing:-.01em;margin:2em 0 .55em;text-wrap:balance}
.nwi .prose strong,.nwi .prose b{font-weight:560;color:var(--fg)}
.nwi .prose li{margin:0 0 .7em;padding-left:28px}
.nwi .prose ul>li::before{top:.9em;width:12px}
.nwi .prose .fig{margin:2.8em 0}
.nwi .prose .yt{margin:2.8em 0;box-shadow:0 40px 100px -50px #000}
/* "In this article": a quiet index panel, each line a full tap target */
.nwi .toc{margin:2.6em 0;padding:clamp(20px,2.6vw,30px) clamp(20px,2.8vw,34px);background:var(--bg2);border:1px solid var(--line);border-left:1px solid rgba(201,166,94,.6)}
.nwi .toc>p{margin:0 0 10px;font:500 12px/1.4 var(--fb);letter-spacing:.26em;text-transform:uppercase;color:var(--acc)}
.nwi .toc ol{margin:0;counter-reset:t}
.nwi .toc li{margin:0;padding:0;border-top:1px solid var(--line)}
.nwi .toc li:first-child{border-top:0}
.nwi .toc ol>li::before{display:none}
.nwi .prose .toc a{display:flex;gap:16px;align-items:baseline;min-height:44px;padding:10px 0;color:var(--read);text-decoration:none;font-size:.94em;line-height:1.45}
.nwi .prose .toc a::before{counter-increment:t;content:counter(t,decimal-leading-zero);flex:none;font-size:12px;letter-spacing:.08em;color:var(--acc)}
.nwi .prose .toc a:hover{color:var(--acc)}
/* tables: a lit panel that scrolls inside its own box on a phone */
.nwi .table-wrap{margin:2.4em 0;background:linear-gradient(180deg,#132019,#0e1812);border:1px solid rgba(201,166,94,.34);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.nwi .prose table{font-size:16px;line-height:1.5;min-width:0}
.nwi .prose table:has(tr>:nth-child(3)){min-width:540px}   /* 3 or more columns: keep the columns readable and scroll the box; 2 columns fit a phone */
.nwi .prose th{background:transparent;color:var(--acc);font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;padding:16px 18px;border-bottom:1px solid rgba(201,166,94,.34)}
.nwi .prose td{padding:14px 18px;border-bottom-color:var(--line);color:var(--read)}
.nwi .prose tbody tr:last-child td{border-bottom:0}
.nwi .prose td:first-child{color:var(--fg);font-weight:500}
.nwi .post-cta{margin-top:3.4em;box-shadow:0 50px 120px -50px rgba(201,166,94,.3)}
.nwi .post-cta h3{font-weight:600;letter-spacing:-.012em}
.nwi .author{border-top-color:var(--line);color:var(--mute);line-height:1.65}
.nwi .rel{background:linear-gradient(180deg,var(--bg) 0,var(--bg2) 24%,var(--bg2) 100%)}

/* ---------- blog index, archive and article cards ---------- */
.nwi .feat{position:relative;background:linear-gradient(180deg,#111d16,#0b140f);border-color:var(--line)}
@media (min-width:900px){.nwi .feat__img{aspect-ratio:auto;min-height:clamp(300px,29vw,440px)}}
.nwi .feat::before{content:"";position:absolute;left:10%;right:10%;top:-1px;height:1px;background:var(--gold-line)}
.nwi .feat h2,.nwi .feat .dsp,.nwi .post h3{font-weight:600;letter-spacing:-.012em}
.nwi .post h3{font-size:25px;line-height:1.14}
.nwi .post__meta{color:var(--mute)}
.nwi .post__ex,.nwi .feat__txt p:not(.post__meta){color:var(--mute)}
.nwi .post__more{display:inline-flex;align-items:center;min-height:44px}
.nwi .post__img{background:var(--bg2)}
.nwi .posts--grid{gap:56px 32px}

/* ---------- long pages with chapters, breeding dogs ---------- */
.nwi .chap .dsp,.nwi .chap h2{font-weight:600}
.nwi .chap__txt.prose{font-size:clamp(17px,1.2vw,18px);line-height:1.78}
.nwi .chap__txt.prose h2{padding-top:0;margin-top:0}
.nwi .chap__txt.prose h2::before{display:none}
.nwi .bdogs{background:linear-gradient(180deg,var(--bg) 0,var(--bg2) 14%,var(--bg2) 86%,var(--bg) 100%)}
.nwi .bd{background:linear-gradient(180deg,#111d16,#0b140f);border-color:var(--line);transition:border-color .4s}
.nwi .bd:hover{border-color:rgba(201,166,94,.5)}
.nwi .bd__n{font-weight:600}
.nwi .bdogs__list li{border-color:var(--line);background:rgba(236,230,213,.02)}

/* ---------- selling pages: litter, USA, reservation ---------- */
.nwi .duo,.nwi .lit,.nwi .rs--price{background:linear-gradient(180deg,var(--bg) 0,var(--bg2) 16%,var(--bg2) 84%,var(--bg) 100%)}
.nwi .proof__vid .yt{box-shadow:0 60px 130px -55px #000}
.nwi .facts-list strong{color:var(--acc)}
.nwi .rs__steps{background:var(--line);border-color:var(--line)}
.nwi .rs__step{background:var(--bg)}
.nwi .rs__step h3{font-weight:600}
.nwi .rs__n{border-color:rgba(201,166,94,.7)}
/* the price card and the litter card are the lit places */
.nwi .rs__card,.nwi .litter__txt{position:relative;background:linear-gradient(180deg,#15251b,#0d1711);border:1px solid rgba(201,166,94,.42);box-shadow:0 50px 130px -50px rgba(201,166,94,.28),0 30px 80px -30px #000}
.nwi .rs__card::before,.nwi .litter__txt::before{content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;background:linear-gradient(90deg,rgba(255,236,190,0),#ffe9b8 50%,rgba(255,236,190,0))}
.nwi .rs__price{font-weight:600;letter-spacing:-.02em}
.nwi .litter{background:radial-gradient(64% 70% at 74% 46%,rgba(201,166,94,.13),rgba(201,166,94,0) 68%),linear-gradient(180deg,var(--bg),var(--bg2))}
.nwi .litter__txt{padding:clamp(26px,3.4vw,52px)}
.nwi .litter__txt .dsp{font-size:clamp(32px,3.5vw,56px);margin-bottom:20px}
.nwi .litter__txt p{color:rgba(236,230,213,.8)}
/* the two parent photos: full column width before the lazy photos load, so the block does not grow later (768) */
.nwi .litter__imgs{width:100%}
.nwi .facts{background:rgba(201,166,94,.3);border-color:rgba(201,166,94,.3)}
.nwi .facts div{background:#0f1a13}
.nwi .facts dd{font-weight:500;font-size:22px}
.nwi .wl{background:radial-gradient(80% 70% at 20% 30%,rgba(40,70,49,.5),rgba(40,70,49,0) 75%),var(--bg)}
.nwi .faq summary{font-weight:600;min-height:56px}
.nwi .faq__a{color:var(--read);font-size:17px;line-height:1.75}
.nwi .rs__bank{border-color:var(--line);background:rgba(236,230,213,.02)}
.nwi .rs__bank-h{font-weight:600}
.nwi .apply{background:radial-gradient(70% 60% at 78% 30%,rgba(201,166,94,.1),rgba(201,166,94,0) 70%),var(--bg2)}
.nwi .contact--big a,.nwi .contact--big li{font-weight:500}
.nwi .contact a{display:inline-flex;align-items:center;min-height:44px}
.nwi .contact li{padding:6px 0}

/* ---------- phones ---------- */
@media (max-width:640px){
  .nwi .sec{padding-top:76px;padding-bottom:76px}
  .nwi .litter__txt,.nwi .rs__card{padding:24px 20px}
  .nwi .art__body{padding-top:44px}
  .nwi .prose{font-size:17.5px}
  .nwi .prose h2{margin-top:2.2em}
  .nwi .toc{margin-inline:-6px}
  .nwi .art__hero .post__meta{letter-spacing:.07em}   /* date, reading time and author stay on one line */
  .nwi .facts dd{font-size:18px;line-height:1.2}   /* "Reservations open" at 22 px crosses the cell line on a 360 px phone */
  .nwi .prose th,.nwi .prose td{padding-left:14px;padding-right:14px}
}
@media (prefers-reduced-motion:reduce){.nwi .ph::before,.nwi .art__hero::before{animation:none}}
@media (max-width:640px){.nwi .art__hero>.art__img{margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1);max-width:none}}
