/* Approved navy woodland palette, shared by the Japanese, English and CMS pages. */
body.forest-site {
  --paper:#f3f5f1; --ink:#20364f; --pine:#29445d; --moss:#728caa;
  --muted:#4a5b6b; --surface:#fbfcf8; --hero:#edf2f6; --ways:#dce6ec;
  --faq:#e8eef2; --contact:#d4e0ea; --brown:#23384f; --glade:#c5d7e5;
  --sun:#f0d97d; --citron:#f1d66b; --coral:#eeab95; --blue:#9dcbe3;
  --apricot:#e6c68e; --lilac:#c6c1e0; --mint:#b8d4bd;
  --cta:#f2ce41; --cta-hover:#ffda48; --cta-text:#20364f;
  --cta-shadow:#8e741e; --cta-edge:#977b12; --cta-border:#fffaf0;
  --white:#fbfcf8; --yellow:#f1d66b; --tan:#dce6ec; --line:#20364f26;
  --flora-filter:hue-rotate(95deg) saturate(.65);
  color:var(--ink); background:var(--paper); font-synthesis:none;
}
body.forest-site :is(a,button,input,textarea,select,summary):focus-visible {
  outline:3px solid #1b638d; outline-offset:5px;
}
body.forest-site :is(button,a,summary) { touch-action:manipulation; }
body.forest-site :is(.button,.clear-action,.card-action) { border-radius:999px; }
body.forest-site .button { background:var(--ink); color:var(--surface); border-color:transparent; }
body.forest-site .clear-action { background:var(--ink); color:var(--surface); }
body.forest-site .secondary-action { color:var(--ink); background:var(--ways); }
body.forest-site .button:hover,body.forest-site .clear-action:hover { background:var(--pine); color:var(--surface); }
body.forest-site :is(.forest-consult-cta,.button[href="/contact/"],.button[href^="/contact/?"],.button[href="/en/contact/"],.button[href^="/en/contact/?"],.primary-cta) {
  position:relative; isolation:isolate; overflow:hidden; background:var(--cta); color:var(--cta-text);
  border:1px solid var(--cta-edge); border-radius:999px;
  box-shadow:inset 0 0 0 2px var(--cta-border),0 4px 0 var(--cta-shadow);
  font-weight:700; transition:background-color .2s,box-shadow .2s,transform .2s;
}
body.forest-site :is(.forest-consult-cta,.button[href="/contact/"],.button[href^="/contact/?"],.button[href="/en/contact/"],.button[href^="/en/contact/?"],.primary-cta)::before {
  content:""; position:absolute; z-index:1; pointer-events:none; opacity:1; inset:-60% auto -60% -65%; width:35%;
  background:linear-gradient(90deg,transparent,#ffffffb8 50%,transparent); transform:skewX(-22deg) translateX(-200%);
}
@media(hover:hover) and (pointer:fine) {
  body.forest-site :is(.forest-consult-cta,.button[href="/contact/"],.button[href^="/contact/?"],.button[href="/en/contact/"],.button[href^="/en/contact/?"],.primary-cta):hover {
    background:var(--cta-hover); color:var(--cta-text); transform:translateY(-2px);
    box-shadow:inset 0 0 0 2px var(--cta-border),0 6px 0 var(--cta-shadow);
  }
  body.forest-site :is(.forest-consult-cta,.button[href="/contact/"],.button[href^="/contact/?"],.button[href="/en/contact/"],.button[href^="/en/contact/?"],.primary-cta):hover::before { animation:forest-cta-glint 760ms cubic-bezier(.2,.65,.3,1) both; }
}
@keyframes forest-cta-glint { from {transform:skewX(-22deg) translateX(-200%)} to {transform:skewX(-22deg) translateX(720%)} }
body.forest-site :is(.forest-consult-cta,.primary-cta):active { transform:translateY(2px); box-shadow:inset 0 0 0 2px var(--cta-border),0 2px 0 var(--cta-shadow); }

/* Inner pages retain their editorial structure and content. */
body.forest-site:not([data-forest-home]) main { overflow-x:clip; }
body.forest-site:not([data-forest-home]) .wrap { width:min(1120px,calc(100% - 80px)); }
body.forest-site:not([data-forest-home]) .section { padding-block:clamp(56px,6.5vw,94px); border:0; }
body.forest-site:not([data-forest-home]) :is(h1,h2,h3) { color:inherit; }
body.forest-site:not([data-forest-home]) p { line-height:1.95; }
body.forest-site:not([data-forest-home]) .breadcrumbs { color:var(--muted); padding-block:20px; }
body.forest-site:not([data-forest-home]) .subhero {
  position:relative; isolation:isolate; overflow:hidden; background:var(--hero); border:0;
  border-radius:0 0 8% 4% / 0 0 48px 28px; padding-block:clamp(38px,5vw,68px);
}
body.forest-site:not([data-forest-home]) .subhero::before {
  content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
  background:url('/sl-assets/forest/assets/forest-2000.webp') center 58% / 1540px auto no-repeat;
  filter:var(--flora-filter); opacity:.07;
}
body.forest-site:not([data-forest-home]) .subhero :is(.page-lead,p:not(.eyebrow):not(.kicker)) { color:var(--muted); }
body.forest-site:not([data-forest-home]) .subhero-art { mix-blend-mode:multiply; }
body.forest-site:not([data-forest-home]) .subhero :is(.a-about-portrait,.portrait) {
  object-fit:cover; border-radius:48% 48% 43% 44% / 40% 45% 32% 37%;
}
body.forest-site:not([data-forest-home]) :is(.paper,.section:not(.tan):not(.sand):not(.yellow):not(.accent-section):not(.consult):not(.dark)) { background:var(--paper); }
body.forest-site:not([data-forest-home]) :is(.section.tan,.section.sand,.accent-section,.work-modes,.a-work-flow) { background:var(--ways); border:0; border-radius:5% 7% 4% 6% / 28px 42px 30px 36px; }
body.forest-site:not([data-forest-home]) :is(.section.yellow,.consult) {
  position:relative; isolation:isolate; overflow:hidden; background:var(--contact); color:var(--ink);
  border-radius:6% 5% 0 0 / 40px 50px 0 0;
}
body.forest-site:not([data-forest-home]) :is(.section.yellow,.consult)::before {
  content:""; position:absolute; z-index:-1; pointer-events:none; inset:0;
  background:url('/sl-assets/forest/assets/ferns-clean-1000.webp') left bottom / 540px auto no-repeat;
  filter:var(--flora-filter); opacity:.12;
}
body.forest-site:not([data-forest-home]) .consult-grid { display:block; max-width:820px; text-align:center; }
body.forest-site:not([data-forest-home]) .consult-grid p { max-width:44em; margin:18px auto; }
body.forest-site:not([data-forest-home]) .consult .button { min-height:58px; }
body.forest-site:not([data-forest-home]) :is(.section.dark,.founder) { background:var(--brown); color:var(--surface); }
body.forest-site .founder :is(h2,h3,p,figcaption,figcaption span) { color:var(--surface); }
body.forest-site:not([data-forest-home]) :is(.portrait-story img,.profile figure,.profile img,.founder-photo) { border-radius:44% 48% 40% 44% / 36% 42% 28% 33%; }
body.forest-site:not([data-forest-home]) .chapter-list { border:0; }
body.forest-site:not([data-forest-home]) :is(.chapter-list>article,.service-overview,.service-row,.detail-step,.approach-step,.experience-item,.concern-step) {
  border:0; background:var(--ways); border-radius:30px 42px 28px 38px; padding:30px; margin-block:22px;
}
body.forest-site:not([data-forest-home]) :is(.chapter-list>article:nth-child(3n+2),.concern-step:nth-of-type(3n+2)) { background:#deeaef; }
body.forest-site:not([data-forest-home]) :is(.chapter-list>article:nth-child(3n),.concern-step:nth-of-type(3n)) { background:#e5e4ef; }
body.forest-site:not([data-forest-home]) :is(.chapter-number,.concern-step-number,.step-n) { color:var(--pine); }
body.forest-site:not([data-forest-home]) .concern-step-number { color:var(--surface); background:var(--pine); }
body.forest-site:not([data-forest-home]) :is(.specific-worries,.concern-outcome) { background:#e6e1c8; color:var(--ink); border-radius:30px 40px 28px 35px; }
body.forest-site:not([data-forest-home]) :is(.example-note,.source-link,.review-note,.form-note,.field-note) { color:var(--muted); }
body.forest-site:not([data-forest-home]) :is(.character-entry,.card) { color:var(--ink); background:var(--coral); border:0; border-radius:30px 38px 28px 34px; }
body.forest-site:not([data-forest-home]) :is(.character-entry:nth-child(3n+2),.card:nth-child(3n+2)) { background:var(--blue); }
body.forest-site:not([data-forest-home]) :is(.character-entry:nth-child(3n),.card:nth-child(3n)) { background:var(--mint); }
body.forest-site:not([data-forest-home]) :is(.card-action,.character-entry .card-action) { background:var(--surface); color:var(--ink); border-radius:999px; min-height:48px; }
body.forest-site:not([data-forest-home]) :is(.character-entry-art,.card-art) { border:0; background:transparent; }
body.forest-site:not([data-forest-home]) .service-picture { background:var(--glade)!important; }
body.forest-site:not([data-forest-home]) .service-chapter:nth-child(2) .service-picture { background:var(--blue)!important; }
body.forest-site:not([data-forest-home]) .service-chapter:nth-child(3) .service-picture { background:var(--mint)!important; }
body.forest-site:not([data-forest-home]) :is(.faq-list,.faq) { border:0; }
body.forest-site:not([data-forest-home]) :is(.faq-list details,.faq details) { background:var(--surface); border:0; border-radius:24px 28px 22px 26px; padding:0 24px; margin:0 0 14px; }
body.forest-site:not([data-forest-home]) :is(.faq-list summary,.faq summary) { padding-block:21px; min-height:64px; color:var(--ink); }
body.forest-site:not([data-forest-home]) :is(.faq-list details[open],.faq details[open]) { background:var(--ways); }
body.forest-site:not([data-forest-home]) :is(.faq-list details>p,.faq details>p) { padding-bottom:22px; }
body.forest-site:not([data-forest-home]) .contact-layout { align-items:start; }
body.forest-site:not([data-forest-home]) .contact-form { min-width:0; }
body.forest-site:not([data-forest-home]) .contact-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  min-width:0; width:100%; background:var(--surface); border:1px solid #718393; border-radius:14px; color:var(--ink);
  min-height:50px; font-size:17px; line-height:1.7;
}
body.forest-site:not([data-forest-home]) .contact-form :is(fieldset,#contact-review,#contact-done,#contact-success) { border-color:var(--line); border-radius:22px; }
body.forest-site:not([data-forest-home]) .contact-form :is(input[type=radio],input[type=checkbox]) { accent-color:var(--pine); }
body.forest-site:not([data-forest-home]) .contact-form :is(.consent,.privacy-check) { line-height:1.7; }
body.forest-site:not([data-forest-home]) .contact-form button:not(#contact-edit):not(#edit-inquiry) { border-radius:999px; min-height:52px; }
body.forest-site:not([data-forest-home]) .contact-form :is(#contact-edit,#edit-inquiry) { background:transparent; color:var(--ink); box-shadow:none; }
body.forest-site:not([data-forest-home]) :is(.info-list,.company-info) { color:var(--ink); }
body.forest-site:not([data-forest-home]) :is(.policy-copy,.legal-content,.privacy-copy) { max-width:820px; }
body.forest-site:not([data-forest-home]) :is(.policy-copy,.legal-content,.privacy-copy) a { text-decoration:underline; text-underline-offset:4px; }
body.forest-site:not([data-forest-home]) .sl-cms-main { background:var(--paper); padding-top:clamp(40px,6vw,80px); }
body.forest-site:not([data-forest-home]) .sl-cms-main>h1 { max-width:20em; }
body.forest-site:not([data-forest-home]) .sl-cms-main>article { padding:clamp(20px,3vw,38px); background:var(--surface); border:0; border-radius:30px 40px 28px 35px; }
body.forest-site:not([data-forest-home]) .sl-cms-main>article+article { margin-top:24px; }
body.forest-site:not([data-forest-home]) .sl-cms-main .sl-post-image img { border-radius:22px; }
body.forest-site:not([data-forest-home]) .sl-cms-main .sl-post-body a { text-decoration:underline; }
body.forest-site:not([data-forest-home]) .sl-cms-main .sl-post-body :is(table,pre) { display:block; overflow-x:auto; max-width:100%; }

/* Existing hidden fortune remains a small, welcoming pause. */
body.forest-site :is(.fortune-dialog,#sloth-dialog) { background:var(--surface); color:var(--ink); border:0; border-radius:30px 38px 26px 32px; }
body.forest-site :is(.fortune-dialog,#sloth-dialog)::backdrop { background:#142536b8; }
body.forest-site .fortune-head { background:var(--ways); color:var(--ink); border:0; }
body.forest-site .fortune-head button { color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:999px; }
body.forest-site .fortune-welcome { background:#e5e9d7; color:var(--ink); }
body.forest-site :is(.fortune-buttons button,.fortune-dismiss) { color:var(--ink); background:var(--ways); border:0; border-radius:999px; }
body.forest-site .fortune-buttons button:first-child { background:var(--citron); }
body.forest-site .page-curtain { display:none!important; }

/* One section reveal replaces the old nested line and paragraph animations. */
body.forest-site:not([data-forest-home]) :is(.reveal-ready,.a-copy-in,.a-picture-in,.a-line-content) { opacity:1; transform:none; transition:none; }
body.forest-site:not([data-forest-home]) .forest-reveal { transition:opacity 720ms ease,transform 850ms cubic-bezier(.22,1,.36,1); }
body.forest-site:not([data-forest-home]) .forest-reveal:not(.forest-entered) { opacity:0; transform:translateY(25px); }
body.forest-site:not([data-forest-home]) .forest-reveal.forest-entered { opacity:1; transform:none; }
@keyframes forest-art-float { 0%,100% {translate:0 0;rotate:0deg} 50% {translate:0 -7px;rotate:-.7deg} }
@media(prefers-reduced-motion:no-preference) {
  body.forest-site:not([data-forest-home]) .forest-art-float { animation:forest-art-float 5.8s ease-in-out infinite; animation-play-state:paused; }
  body.forest-site:not([data-forest-home]) .forest-art-float.forest-art-visible { animation-play-state:running; }
  body.forest-site.forest-document-hidden .forest-art-float,body.forest-site:has(dialog[open]) .forest-art-float { animation-play-state:paused!important; }
}
@media(max-width:680px) {
  body.forest-site:not([data-forest-home]) .wrap { width:calc(100% - 36px); }
  body.forest-site:not([data-forest-home]) .section { padding-block:52px; }
  body.forest-site:not([data-forest-home]) .subhero { padding-block:32px; border-radius:0 0 34px 24px; }
  body.forest-site:not([data-forest-home]) .subhero::before { background-size:1000px auto; opacity:.055; }
  body.forest-site:not([data-forest-home]) :is(.subhero h1) { font-size:clamp(30px,8vw,44px); }
  body.forest-site:not([data-forest-home]) :is(.chapter-list>article,.concern-step,.service-overview,.service-row,.detail-step,.approach-step,.experience-item) { padding:24px; border-radius:25px 32px 24px 28px; }
  body.forest-site:not([data-forest-home]) .chapter-list article { grid-template-columns:32px minmax(0,1fr); gap:16px; }
  body.forest-site:not([data-forest-home]) .chapter-list article>span { font-size:23px; }
  body.forest-site:not([data-forest-home]) .concern-step.step-text-only { padding:24px; }
  body.forest-site:not([data-forest-home]) :is(.faq-list details,.faq details) { padding-inline:20px; }
  body.forest-site:not([data-forest-home]) :is(.faq-list summary,.faq summary) { font-size:16px; }
  body.forest-site:not([data-forest-home]) .consult-grid { text-align:left; }
  body.forest-site:not([data-forest-home]) .consult-grid .button { width:min(100%,380px); }
  body.forest-site:not([data-forest-home]) .contact-form :is(input,select,textarea) { font-size:16px; }
  body.forest-site:not([data-forest-home]) .sl-cms-main { padding-inline:18px; }
}
@media(prefers-reduced-motion:reduce),print {
  body.forest-site .forest-reveal { opacity:1!important; transform:none!important; transition:none!important; }
  body.forest-site .forest-art-float { animation:none!important; translate:none!important; rotate:none!important; }
  body.forest-site :is(.forest-consult-cta,.primary-cta,.button)::before { animation:none!important; display:none!important; }
}

/* Founder experience and an un-cropped photograph of his own mountain trips. */
body.forest-site:not([data-forest-home]) .forest-about-stats {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:38px 0 0;
}
body.forest-site:not([data-forest-home]) .forest-about-stats>div {
  padding:26px 24px;background:var(--ways);border-radius:26px 34px 24px 30px;
}
body.forest-site:not([data-forest-home]) .forest-about-stats dt {
  font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 10px;font-weight:700;
}
body.forest-site:not([data-forest-home]) .forest-about-stats dd {
  margin:0;font-size:clamp(22px,2.4vw,31px);font-weight:700;line-height:1.5;color:var(--ink);
}
body.forest-site:not([data-forest-home]) .forest-about-stats>div:last-child dd {font-size:clamp(20px,2vw,26px)}
body.forest-site:not([data-forest-home]) .forest-about-story {
  grid-template-columns:minmax(0,43fr) minmax(0,50fr);gap:7%;align-items:start;
}
body.forest-site:not([data-forest-home]) .forest-about-story figure {margin:0;min-width:0}
body.forest-site:not([data-forest-home]) .forest-about-story figure>img {
  width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:contain;
  border-radius:24px 32px 22px 28px;filter:none;
}
body.forest-site:not([data-forest-home]) .forest-about-story figcaption {
  margin-top:13px;font-size:14px;line-height:1.8;color:var(--muted);
}
@media(max-width:680px) {
  body.forest-site:not([data-forest-home]) .forest-about-stats {grid-template-columns:1fr;gap:14px;margin-top:28px}
  body.forest-site:not([data-forest-home]) .forest-about-stats>div {padding:22px 24px}
  body.forest-site:not([data-forest-home]) .forest-about-story {grid-template-columns:1fr;gap:28px}
}

/* Skip navigation is visible only when a keyboard user focuses it. */
body.forest-site > :is(.skip,.skip-link){position:fixed;inset:12px auto auto 12px;z-index:1000;padding:12px 18px;min-height:44px;border-radius:18px;background:var(--cta);color:var(--ink);transform:translateY(-200%);font-size:15px;font-weight:700}
body.forest-site > :is(.skip,.skip-link):focus{transform:translateY(0)}
