/* Rootstock (/initiatives/rootstock): the programme's own identity, forest dark and chlorophyll green, Fraunces.
   Copy is the client's content doc (November 2026). The emblem markup is _includes/rs-emblem.njk. */

.rk-page { --rs-base: #05150B; --rs-canopy: #1A5543; --rs-chl: #49BE55; --rs-light: #F3F8F1; --rs-ring: #DDEBEC; --rs-card: #F3F6EE; --rs-teal: #3F6569; --rk-ease: cubic-bezier(.2,.7,.2,1); }
.rk-pbar { background: var(--rs-base); border-bottom-color: rgba(221,235,236,.12); }
.rk-pbar .wrap, .rk-pbar a { color: rgba(243,248,241,.62); }
.rk-pbar b, .rk-pbar a:hover { color: var(--rs-light); }
.rk { background: var(--rs-card); color: var(--ink); }
.rk-wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter, 48px); }

/* Emblem (shared markup with the earlier Rootstock page) */
/* Emblem: rings grow from the pith outward, the cut slices through, the sprout unfurls */
.rs-em-ring { fill: none; stroke: var(--rs-ring); stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: rs-draw 1.1s cubic-bezier(.6, 0, .2, 1) forwards; animation-delay: calc(200ms + var(--i) * 150ms); }
.rs-em-channel path { fill: none; stroke: var(--rs-ring); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: rs-draw .9s cubic-bezier(.6, 0, .2, 1) forwards 1.55s; }
.rs-em-cutrect { transform: rotate(-45deg) scaleX(0); animation: rs-cut .9s cubic-bezier(.7, 0, .2, 1) forwards 1.5s; }
@keyframes rs-cut { to { transform: rotate(-45deg) scaleX(1); } }
@keyframes rs-draw { to { stroke-dashoffset: 0; } }
.rs-em-stem { fill: none; stroke: var(--rs-chl); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: rs-draw .6s ease-out forwards 2.25s; }
.rs-em-leaf { fill: var(--rs-chl); transform: scale(0); transform-box: fill-box; animation: rs-leaf .9s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.rs-em-leaf-r { transform-origin: 0% 100%; animation-delay: 2.6s; }
.rs-em-leaf-l { transform-origin: 100% 100%; animation-delay: 2.75s; }
@keyframes rs-leaf { to { transform: scale(1); } }
.rs-em-sprout { transform-box: fill-box; transform-origin: 50% 100%; animation: rs-sway 7s ease-in-out infinite 3.6s; }
@keyframes rs-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }

/* ---------- Hero ---------- */
.rk-hero { position: relative; overflow: hidden; background: radial-gradient(900px 600px at 78% 46%, #0D3220, var(--rs-base) 70%); color: var(--rs-light); padding: 88px 0 96px; }
.rk-glow { position: absolute; inset: -20%; background: radial-gradient(420px 320px at 74% 48%, rgba(73,190,85,.16), transparent 70%); animation: rk-breathe 9s ease-in-out infinite; pointer-events: none; }
@keyframes rk-breathe { 50% { opacity: .55; transform: scale(1.06); } }
.rk-hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.rk-kick { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--rs-chl); }
.rk-word { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(56px, 9vw, 120px); line-height: .95; letter-spacing: -.03em; margin: 18px 0 26px; }
.rk-lead { font-family: 'Fraunces', serif; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 28ch; color: var(--rs-light); }
.rk-with { margin-top: 22px; font-size: 14px; line-height: 1.6; color: rgba(243,248,241,.62); max-width: 46ch; }
.rk-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.rk-ctas-c { justify-content: center; }
.rk-btn { display: inline-flex; align-items: center; font-weight: 600; font-size: 14.5px; text-decoration: none; border-radius: 999px; padding: 15px 26px; transition: transform .25s var(--rk-ease), background .25s ease, box-shadow .25s ease; }
.rk-btn:hover { transform: translateY(-2px); }
.rk-btn-solid { background: var(--rs-chl); color: #04130A; box-shadow: 0 12px 30px -14px rgba(73,190,85,.8); }
.rk-btn-solid:hover { background: #5BD067; }
.rk-btn-ghost { color: var(--rs-light); border: 1px solid rgba(243,248,241,.3); }
.rk-btn-ghost:hover { border-color: var(--rs-light); }
.rk-emblem { justify-self: center; width: min(420px, 100%); text-align: center; }
.rk-emblem svg { width: 100%; height: auto; overflow: visible; }
.rk-seat { fill: rgba(221,235,236,.35); opacity: 0; animation: rk-pop .5s var(--rk-ease) forwards; animation-delay: calc(3s + var(--k) * 70ms); }
.rk-seat.is-w { fill: var(--rs-chl); }
@keyframes rk-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
.rk-seat { transform-box: fill-box; transform-origin: center; }
.rk-seat-key { margin-top: 18px; font-size: 13px; color: rgba(243,248,241,.7); display: inline-flex; align-items: center; gap: 10px; }
.rk-seat-key i { width: 10px; height: 10px; border-radius: 50%; background: var(--rs-chl); }

/* ---------- Sections ---------- */
.rk-sec { padding: 96px 0; }
.rk-tight { padding-top: 0; }
.rk-paper { background: var(--rs-card); }
.rk-forest { background: var(--rs-canopy); color: var(--rs-light); }
.rk-split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.rk-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rs-teal); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.rk-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.rk-label-l { color: #9EDBA6; }
.rk-h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.01em; max-width: 24ch; }
.rk-h2-l { color: var(--rs-light); }
.rk-body p { font-size: 17px; line-height: 1.75; color: #3D4A41; max-width: 58ch; }
.rk-split-bar { display: flex; margin-top: 34px; border-radius: 14px; overflow: hidden; height: 64px; font-size: 13px; }
.rk-split-bar span { width: var(--w); display: flex; align-items: center; gap: 8px; padding: 0 16px; white-space: nowrap; transition: width 1.2s var(--rk-ease); }
.rk-split-bar b { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; }
.rk-sb-theory { background: var(--rs-ring); color: var(--rs-base); }
.rk-sb-venture { background: var(--rs-canopy); color: var(--rs-light); }
.js-reveal .rk-body:not(.is-in) .rk-sb-theory { width: 50%; } .js-reveal .rk-body:not(.is-in) .rk-sb-venture { width: 50%; }

.rk-name { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rk-ask { background: #fff; border-radius: 22px; padding: 34px 34px 38px; border: 1px solid #E1E9DF; transition: transform .4s var(--rk-ease), box-shadow .4s var(--rk-ease); }
.rk-ask:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(5,21,11,.5); }
.rk-ask svg { width: 64px; height: 64px; color: var(--rs-teal); }
.rk-ask-2 svg { color: #2F8A3B; }
.rk-ask h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.02em; margin: 18px 0 10px; }
.rk-ask p { font-size: 16.5px; line-height: 1.65; color: #3D4A41; max-width: 38ch; }

.rk-figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(243,248,241,.2); }
.rk-fig { padding: 30px 24px 26px 0; }
.rk-fig + .rk-fig { padding-left: 24px; border-left: 1px solid rgba(243,248,241,.14); }
.rk-fig-n { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; margin-top: 18px; }
.rk-fig p { font-size: 14.5px; line-height: 1.55; color: rgba(243,248,241,.72); margin-top: 8px; }
.rk-weeks { width: 64px; height: 64px; }
.rk-weeks line { stroke: var(--rs-chl); stroke-width: 3; stroke-linecap: round; transition: opacity .3s ease calc(var(--k) * 40ms); }
.js-reveal .rk-fig:not(.is-in) .rk-weeks line { opacity: .15; }
.rk-twenty { display: grid; grid-template-columns: repeat(10, 10px); gap: 6px; height: 64px; align-content: center; }
.rk-twenty i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243,248,241,.85); transition: transform .3s var(--rk-ease) calc(var(--k) * 30ms); }
.rk-twenty i.is-w { background: var(--rs-chl); }
.rk-fig:nth-child(3) .rk-twenty i:not(.is-w) { background: rgba(243,248,241,.25); }
.js-reveal .rk-fig:not(.is-in) .rk-twenty i { transform: scale(0); }
.rk-cal { width: 64px; height: 64px; border-radius: 12px; background: var(--rs-light); color: var(--rs-base); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.rk-cal span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--rs-chl); width: 100%; text-align: center; padding: 3px 0; }
.rk-cal b { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; padding: 8px 0; }

.rk-how { list-style: none; counter-reset: h; border-top: 1px solid var(--rs-canopy); }
.rk-how li { counter-increment: h; display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid #DCE5D9; }
.rk-how li::before { content: "0" counter(h); font-family: 'Fraunces', serif; font-size: 15px; color: var(--rs-teal); grid-row: span 2; padding-top: 4px; }
.rk-how b { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; }
.rk-how p { font-size: 16px; line-height: 1.65; color: #3D4A41; margin-top: 6px; max-width: 54ch; }

.rk-aurora { position: relative; overflow: hidden; background: var(--rs-base); color: var(--rs-light); padding: 140px 0 120px; }
.rk-aurora img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rk-aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,21,11,.2), rgba(5,21,11,.85)); }
.rk-aurora-in { position: relative; z-index: 1; }
.rk-aurora-p { font-size: 18px; line-height: 1.7; color: rgba(243,248,241,.82); max-width: 54ch; margin-top: 22px; }
.rk-close { background: var(--rs-base); padding: 96px 0; text-align: center; }
.rk-close .rk-h2 { margin: 0 auto; }

@media (max-width: 900px) {
  .rk-hero-in, .rk-split, .rk-name { grid-template-columns: 1fr; }
  .rk-emblem { width: min(320px, 86%); }
  .rk-figs { grid-template-columns: 1fr 1fr; }
  .rk-fig:nth-child(3) { padding-left: 0; border-left: 0; }
  .rk-sec { padding: 72px 0; } .rk-tight { padding-top: 0; }
}
@media (max-width: 520px) { .rk-figs { grid-template-columns: 1fr; } .rk-fig + .rk-fig { padding-left: 0; border-left: 0; border-top: 1px solid rgba(243,248,241,.14); } .rk-split-bar { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .rs-em-ring, .rs-em-channel path, .rs-em-cutrect, .rs-em-stem, .rs-em-leaf, .rs-em-sprout, .rk-seat, .rk-glow { animation: none !important; }
  .rs-em-ring, .rs-em-channel path, .rs-em-stem { stroke-dashoffset: 0; }
  .rs-em-cutrect { transform: rotate(-45deg) scaleX(1); } .rs-em-leaf { transform: none; } .rk-seat { opacity: 1; }
}

/* ---------- Apply ---------- */
.rk-hero-s { padding: 80px 0 72px; }
.rk-word-s { font-size: clamp(40px, 6vw, 76px); max-width: 15ch; }
.ap-dates { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 1px solid rgba(243,248,241,.2); position: relative; }
.ap-dates li { padding: 22px 18px 0 0; position: relative; }
.ap-dates li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--rs-base); border: 2px solid var(--rs-chl); }
.ap-dates li:first-child::before { background: var(--rs-chl); }
.ap-dates b { display: block; font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; }
.ap-dates span { font-size: 13.5px; color: rgba(243,248,241,.66); }
.ap-list { list-style: none; border-top: 1px solid var(--rs-canopy); }
.ap-list li { padding: 18px 0 18px 30px; border-bottom: 1px solid #DCE5D9; font-size: 17px; line-height: 1.6; position: relative; }
.ap-list li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 10px; height: 10px; border-radius: 50%; background: var(--rs-chl); }
.ap-free { margin-top: 22px; font-family: 'Fraunces', serif; font-size: 22px; color: var(--rs-canopy); }
.ap-form-list { list-style: none; counter-reset: a; border-top: 1px solid rgba(243,248,241,.2); }
.ap-form-list li { counter-increment: a; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(243,248,241,.14); font-size: 17px; line-height: 1.55; }
.ap-form-list li::before { content: "0" counter(a); font-family: 'Fraunces', serif; color: #9EDBA6; }
.ap-soon { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; padding: 14px 22px; border: 1px dashed rgba(243,248,241,.4); border-radius: 999px; }
.ap-soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--rs-chl); animation: live 2.4s ease-out infinite; }
@media (max-width: 760px) { .ap-dates { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
