/* Intro section. All layouts span the page width like the other sections.
   Shared pieces first, then one block per layout (body.i1 … body.i6). */
.iv{position:relative;margin:120px 0 0}
.iv-lab{display:inline-block;font:400 11px/1 "Geist Mono",monospace;letter-spacing:.16em;text-transform:uppercase;color:#0F7A52}
.iv-p{margin:0;font:500 clamp(26px,3vw,46px)/1.22 "Onest",sans-serif;letter-spacing:-.03em;color:#0C0F0D}
.iv-p b{font-weight:800}
.iv-p em{font-style:normal;font-weight:800;color:#0F7A52}
.iv .wd{color:#C9CCC5;transition:color .5s ease}
.iv .wd.on{color:inherit}
.iv-facts{display:flex;flex-wrap:wrap;gap:12px 44px}
.iv-facts div{display:flex;flex-direction:column;gap:4px}
.iv-facts b{font:700 18px/1.2 "Onest";letter-spacing:-.02em}
.iv-facts span{font:400 11px/1.4 "Geist Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#646B66}
.iv-mark{display:block;color:#0C0F0D}
@media(prefers-reduced-motion:reduce){.iv .wd{color:inherit!important}}

/* 1 · Editorial: label on top, the paragraph runs edge to edge, a big faint mark behind */
.i1 .iv{padding:20px 0 10px}
.i1 .iv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}
.i1 .iv-p{font-size:clamp(28px,3.6vw,58px);max-width:none}
.i1 .iv-ghost{position:absolute;right:-2%;top:-40px;width:min(42vw,560px);color:#0C0F0D;opacity:.045;pointer-events:none}
.i1 .iv-facts{margin-top:56px;padding-top:22px;border-top:1px solid #E7E8E3}
.i1 .iv-top .iv-mark{width:34px}

/* 2 · Dark panel: the intro sits in a full-width black panel with a dotted texture */
.i2 .iv{background:#0C0F0D;border-radius:32px;padding:56px 28px 40px;overflow:hidden;color:#EEF1EC}
@media(min-width:900px){.i2 .iv{padding:84px 64px 56px}}
.i2 .iv:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(238,241,236,.07) 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:linear-gradient(120deg,#000 10%,transparent 70%);mask-image:linear-gradient(120deg,#000 10%,transparent 70%);pointer-events:none}
.i2 .iv-lab{color:#5BD39C}
.i2 .iv-top{position:relative;display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}
.i2 .iv-top .iv-mark{width:34px;color:#EEF1EC}
.i2 .iv-p{position:relative;color:#EEF1EC;font-size:clamp(26px,3.3vw,52px)}
.i2 .iv-p em{color:#5BD39C}
.i2 .wd{color:#3A403C}
.i2 .iv-facts{position:relative;margin-top:52px;padding-top:22px;border-top:1px solid #232A26}
.i2 .iv-facts span{color:#8E968F}

/* 3 · Tags: the key ideas become outlined tags inside the sentence */
.i3 .iv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.i3 .iv-top .iv-mark{width:34px}
.i3 .iv-p{font-size:clamp(26px,3.2vw,50px);line-height:1.42}
.i3 .iv-p b,.i3 .iv-p em{display:inline-block;padding:0 .34em;margin:.04em 0;border-radius:999px;box-shadow:inset 0 0 0 2px currentColor;line-height:1.18;font-weight:700}
.i3 .iv-p em{background:#0F7A52;color:#F5F5F1;box-shadow:none}
.i3 .iv-p em .wd.on{color:#F5F5F1}
.i3 .iv-facts{margin-top:52px;padding-top:22px;border-top:1px solid #E7E8E3}

/* 4 · Headline + paragraph: the first sentence is a headline, the rest runs full width below it */
.i4 .iv-top{margin-bottom:26px}
.i4 .iv-head{margin:0;font:800 clamp(38px,5.6vw,92px)/.95 "Onest";letter-spacing:-.05em}
.i4 .iv-head em{font-style:normal;color:#0F7A52}
.i4 .iv-rest{margin-top:44px;padding-top:30px;border-top:1px solid #E7E8E3;font:500 clamp(21px,2.2vw,34px)/1.4 "Onest",sans-serif;letter-spacing:-.02em;color:#3E4440;max-width:none}
/* key phrases: bold ink on a full green highlighter */
.i4 .iv-rest b{font-weight:700;color:#0C0F0D;background:#ACDEC4;padding:.02em .22em;border-radius:6px;box-decoration-break:clone;-webkit-box-decoration-break:clone;white-space:nowrap}
/* 5 · Ribbon: a slow ribbon of the craft runs across, the paragraph sits below */
.i5 .iv{padding-top:10px}
.i5 .iv-rib{position:relative;left:50%;width:100vw;margin-left:-50vw;overflow:hidden;border-top:1px solid #E7E8E3;border-bottom:1px solid #E7E8E3;padding:16px 0;white-space:nowrap;margin-bottom:64px}
.i5 .iv-rib .t{display:inline-flex;gap:38px;padding-right:38px;animation:iv-tk 50s linear infinite}
.i5 .iv-rib span{display:inline-flex;align-items:center;gap:38px;font:700 clamp(20px,2vw,30px)/1 "Onest";letter-spacing:-.02em}
.i5 .iv-rib span:after{content:"";width:8px;height:8px;border-radius:50%;background:#0F7A52}
.i5 .iv-rib span:nth-child(even){color:transparent;-webkit-text-stroke:1.2px #0C0F0D}
@keyframes iv-tk{to{transform:translateX(-50%)}}
.i5 .iv-grid{display:grid;grid-template-columns:1fr;gap:26px}
@media(min-width:900px){.i5 .iv-grid{grid-template-columns:160px 1fr;gap:40px}}
.i5 .iv-side{display:flex;flex-direction:column;gap:20px}
.i5 .iv-side .iv-mark{width:44px}
.i5 .iv-facts{margin-top:48px}
@media(prefers-reduced-motion:reduce){.i5 .iv-rib .t{animation:none}}

/* 6 · Profile card: a white card with a small portrait, like a premium profile */
.i6 .iv{background:#fff;border-radius:32px;box-shadow:inset 0 0 0 1px #E7E8E3;padding:28px;display:grid;grid-template-columns:1fr;gap:28px}
@media(min-width:900px){.i6 .iv{grid-template-columns:260px 1fr;gap:56px;padding:48px}}
.i6 .iv-who{display:flex;flex-direction:column;gap:18px}
.i6 .iv-ph{width:120px;height:120px;border-radius:50%;overflow:hidden;background:linear-gradient(160deg,#E8F5EE,#CBE7D8)}
.i6 .iv-ph img{width:170%;margin:-8% 0 0 -35%;display:block}
.i6 .iv-who b{font:800 24px/1.1 "Onest";letter-spacing:-.03em}
.i6 .iv-who small{font:400 11px/1.5 "Geist Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#646B66}
.i6 .iv-p{font-size:clamp(24px,2.6vw,40px)}
.i6 .iv-facts{margin-top:40px;padding-top:20px;border-top:1px solid #E7E8E3}
@media(max-width:899px){.i6 .iv-who{flex-direction:row;align-items:center}.i6 .iv-ph{width:72px;height:72px}}
/* highlight styles for the key phrases in layout 4, picked with ?h=1..10 (1 is the base above) */
.i4.h2 .iv-rest b{background:#0F7A52;color:#F5F5F1}
.i4.h3 .iv-rest b{background:#0C0F0D;color:#F5F5F1;border-radius:999px;padding:.02em .5em}
.i4.h4 .iv-rest b{background:none;padding:0;border-radius:0;text-decoration:underline;text-decoration-color:#0F7A52;text-decoration-thickness:.12em;text-underline-offset:.18em}
.i4.h5 .iv-rest b{background:none;box-shadow:inset 0 0 0 2px #0F7A52;border-radius:999px;padding:0 .45em}
.i4.h6 .iv-rest b{background:none;padding:0;color:#0F7A52;font-weight:800}
.i4.h7 .iv-rest b{position:relative;background:none;padding:0 .14em;z-index:0}
.i4.h7 .iv-rest b:after{content:"";position:absolute;z-index:-1;left:-.12em;right:-.12em;top:.12em;bottom:.04em;background:#BFE6D2;border-radius:.6em .2em .7em .25em;transform:rotate(-1.4deg) skewX(-6deg)}
.i4.h8 .iv-rest b{background:none;padding:0;text-decoration:underline wavy #0F7A52;text-decoration-thickness:.07em;text-underline-offset:.22em}
.i4.h9 .iv-rest b{background:linear-gradient(90deg,#BFE6D2,rgba(191,230,210,0));border-radius:6px 0 0 6px}
.i4.h10 .iv-rest b{background:#E1F1E8;border-radius:0;border-left:.16em solid #0F7A52;padding:.02em .3em}
