/* Jasu Wonder World – "The Watercolor Journey" (prototype, Oct 2026). Tokens from docs/02-design-brief.md. */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-600-normal.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-400-italic.woff2') format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('../fonts/work-sans-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('../fonts/work-sans-600-normal.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('../fonts/work-sans-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --orange: #BA6C00; --orange-dark: #8E5300; --olive: #3B4E00; --olive-dark: #2C3A00;
  --paper: #FBF7EF; --paper-2: #F3EBDD; --wash-peach: #F6E3CF; --wash-sage: #E4E9D0;
  --ink: #2A2418; --ink-soft: #5E5646; --line: #E2D8C6; --focus: #1F5FBF;
  --display: 'Fraunces', Georgia, serif; --body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-card: 20px; --r-img: 16px;
  --sh-card: 0 10px 30px -14px rgba(59,78,0,.35); --sh-lift: 0 22px 50px -20px rgba(59,78,0,.45); --sh-btn: 0 6px 16px -8px rgba(142,83,0,.6);
  --sec: clamp(72px, 9vw, 112px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
/* light watercolor wash made only from real wash areas of Jasu's paintings */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url('../img/brand/jww-watercolor-wash.webp') center / cover no-repeat; opacity: .35; pointer-events: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--olive); }
h1 { font-size: clamp(2.3rem, 4.5vw + 1rem, 4.1rem); letter-spacing: -.5px; }
h1 strong { color: var(--orange); font-weight: 600; font-style: italic; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.7rem); }
h3 { font-size: 1.35rem; }
h2 a, h3 a { color: inherit; text-decoration: none; } h2 a:hover, h3 a:hover { color: var(--orange); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.prose--narrow { max-width: 760px; }
.prose ul, .card ul { padding-left: 1.2em; } .prose li { margin: .3em 0; }
blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: rgba(255,255,255,.6); border-radius: 0 var(--r-img) var(--r-img) 0; font: italic 1.15rem/1.5 var(--display); color: var(--olive); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 68ch; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.small { font-size: .9rem; color: var(--ink-soft); }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.eyebrow { font: 600 .8rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 18px; flex: none; background: var(--orange); -webkit-mask: url('../img/brand/jww-mark-white.png') center / contain no-repeat; mask: url('../img/brand/jww-mark-white.png') center / contain no-repeat; }
.center .eyebrow { justify-content: center; }
.eyebrow a { color: inherit; text-decoration: none; } .eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: #F6D9A8; } .eyebrow--light::before { background: #F6D9A8; }

/* ---------- buttons: orange pill, olive "paint drop" spreads in on hover ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.center .btns { justify-content: center; }
.btn { --fill: var(--olive); display: inline-flex; align-items: center; gap: .5em; padding: 13px 26px; border-radius: 999px; font: 600 1rem var(--body); text-decoration: none; color: #fff; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 0%, var(--fill) 0 0, transparent 0) , var(--orange); background-size: 100% 100%; box-shadow: var(--sh-btn); transition: transform .2s, background .3s, box-shadow .2s; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ''; position: absolute; left: 50%; top: -10%; width: 0; height: 0; border-radius: 50%; background: var(--fill); transform: translate(-50%, -50%); transition: width .45s ease, height .45s ease; z-index: -1; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { width: 260%; height: 520%; }
.btn--small { padding: 8px 16px; font-size: .9rem; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); --fill: #fff; }
.btn--ghost:hover { color: var(--olive); }
.hero .btn--ghost { color: var(--olive); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 2px var(--olive); --fill: var(--olive); }
.hero .btn--ghost:hover { color: #fff; }
.btn--ghost-dark { background: #fff; color: var(--olive); box-shadow: inset 0 0 0 2px var(--olive); --fill: var(--olive); }
.btn--ghost-dark:hover { color: #fff; }
.pill { display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px; font: 600 .9rem var(--body); text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s; }
.pill:hover { transform: translateY(-2px); }
.pill--shop { background: var(--orange); color: #fff; }
.pill--pn { background: linear-gradient(135deg, #6B3FB0, #D43F8D); color: #fff; }

/* ---------- announcement + header ---------- */
.ann { display: flex; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--orange-dark); color: #fff; font: 600 .9rem var(--body); text-decoration: none; text-align: center; }
.ann:hover span { text-decoration: underline; }
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 3vw, 40px); background: var(--olive); color: #fff; min-height: 76px; transition: min-height .25s, box-shadow .25s; }
.hdr.is-small { min-height: 60px; box-shadow: 0 10px 30px -18px #000; }
.hdr__logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 1.25rem var(--display); white-space: nowrap; }
.hdr__logo img { width: 52px; height: 52px; transition: width .25s, height .25s; }
.hdr.is-small .hdr__logo img { width: 42px; height: 42px; }
.hdr__logo em { color: #F6D9A8; }
.hdr__nav { margin-left: auto; }
.hdr__nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.hdr__nav a, .hdr__subbtn { display: block; color: #fff; text-decoration: none; font: 500 .95rem var(--body); padding: 8px 11px; border-radius: 999px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.hdr__nav a:hover, .hdr__subbtn:hover, .hdr__nav [aria-current="page"] { background: rgba(255,255,255,.12); color: #F6D9A8; }
.has-sub { position: relative; }
.hdr__sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--olive-dark); border-radius: 14px; box-shadow: var(--sh-lift); }
.has-sub:hover .hdr__sub, .has-sub.is-open .hdr__sub, .has-sub:focus-within .hdr__sub { display: block; }
.hdr__sub a { border-radius: 10px; }
.hdr__dest { display: flex; gap: 8px; }
.lang { display: flex; gap: 2px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.lang a { color: #fff; font: 600 .78rem var(--body); padding: 5px 9px; border-radius: 999px; text-decoration: none; }
.lang a[aria-current] { background: #fff; color: var(--olive); }
.hdr__burger { display: none; align-items: center; gap: 8px; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; padding: 9px 14px; font: 600 .95rem var(--body); cursor: pointer; }
.bars { display: grid; gap: 4px; } .bars i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(20,24,0,.55); }
.drawer__in { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--olive); color: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; animation: slidein .3s ease; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer__x { align-self: flex-end; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 1rem var(--body); cursor: pointer; }
.drawer__dest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__dest .pill { justify-content: center; padding: 14px; font-size: 1.05rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; color: #fff; text-decoration: none; font: 500 1.15rem var(--display); padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 48px; }
.drawer__lang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.drawer__lang a { text-align: center; padding: 12px 4px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; }
.drawer__lang a[aria-current] { background: #fff; color: var(--olive); }
.preview-flag { position: fixed; left: 10px; bottom: 10px; z-index: 999; background: #FFD36B; color: var(--ink); font: 700 12px system-ui; padding: 6px 12px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.3); pointer-events: none; }

/* journey trail: thin orange brush line on the left edge that fills while scrolling */
.trail { position: fixed; left: 0; top: 0; bottom: 0; width: 4px; z-index: 60; pointer-events: none; }
.trail span { display: block; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--orange), #D98E2B 60%, var(--olive)); border-radius: 0 3px 3px 0; }

/* ---------- reveal + watercolor bloom (only when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .bloom { clip-path: circle(12% at 50% 55%); filter: blur(6px) saturate(.6); opacity: .4; transition: clip-path .9s cubic-bezier(.3,.6,.2,1), filter .9s ease, opacity .6s ease; }
  .js .bloom.is-in { clip-path: circle(75% at 50% 50%); filter: none; opacity: 1; }
}

/* ---------- home ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; }
.hero__art { margin: 0; position: relative; }
.hero__art img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: 46% 54% 48% 52% / 40% 42% 58% 60%; box-shadow: var(--sh-lift); }
.hero__art::after { content: ''; position: absolute; inset: -18px -14px -22px -20px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(186,108,0,.22), transparent), radial-gradient(closest-side at 70% 80%, rgba(59,78,0,.18), transparent); filter: blur(10px); }
.butterfly { position: absolute; width: 64px; top: 30%; left: -80px; opacity: 0; filter: drop-shadow(0 2px 2px rgba(59,78,0,.6)) brightness(.6) sepia(1) hue-rotate(5deg) saturate(4); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js .butterfly.fly { animation: flutter 7s ease-in-out forwards; }
  @keyframes flutter { 0% { opacity: 0; transform: translate(0, 0) rotate(-10deg); } 10% { opacity: .9; } 40% { transform: translate(38vw, -60px) rotate(8deg); } 70% { transform: translate(52vw, 30px) rotate(-6deg); opacity: .9; } 100% { transform: translate(47vw, -110px) rotate(4deg) scale(.7); opacity: .55; } }
}
.paths { padding-bottom: var(--sec); }
.paths__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: #fff; box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.path:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.path__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.path:hover .path__img img { transform: scale(1.05); }
.path__txt { padding: 16px 18px 20px; display: grid; gap: 4px; }
.path__txt b { font: 600 1.3rem var(--display); color: var(--olive); }
.path__txt span { font-size: .95rem; color: var(--ink-soft); }
.path__go { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; transition: transform .3s; }
.path:hover .path__go { transform: rotate(-45deg); }
.band { padding: var(--sec) 0; background: linear-gradient(180deg, rgba(243,235,221,.85), rgba(246,227,207,.7)); }
.band--green { background: var(--olive); color: #F4F1E6; position: relative; overflow: hidden; }
.band--green h2, .band--green h3 { color: #fff; }
.band--green::after { content: ''; position: absolute; right: -60px; bottom: -40px; width: 340px; height: 260px; background: url('../img/brand/jww-mark-white.png') center / contain no-repeat; opacity: .07; pointer-events: none; }
.band--green a:not(.btn) { color: #F6D9A8; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px max(20px, calc((100vw - 1200px) / 2)) 30px; scrollbar-width: thin; }
.strip__item { flex: 0 0 auto; width: clamp(220px, 24vw, 300px); scroll-snap-align: start; text-decoration: none; color: var(--olive); }
.strip__item img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-img); box-shadow: var(--sh-card); transition: transform .35s, box-shadow .35s; }
.strip__item:hover img { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--sh-lift); }
.strip__item span { display: block; font: 600 1.05rem var(--display); margin-top: 10px; }
.cal__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.cal__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.flip { perspective: 1100px; text-decoration: none; color: inherit; display: block; aspect-ratio: 3 / 4; }
.flip__in { position: relative; display: block; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,.8,.3,1); transform-style: preserve-3d; }
.flip:hover .flip__in, .flip:focus-visible .flip__in, .flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--r-img); overflow: hidden; background: #fff; box-shadow: 0 20px 40px -20px #000; }
.flip__face img { width: 100%; height: 100%; object-fit: cover; }
.flip__back { transform: rotateY(180deg); display: grid; place-content: center; gap: 12px; text-align: center; padding: 20px; background: var(--paper); color: var(--ink); }
.flip__back b { font: 600 1.4rem var(--display); color: var(--olive); }
.price { font: 600 1.15rem var(--body); color: var(--orange-dark); }
.flip__back .btn { justify-self: center; }
.pn { position: relative; padding: var(--sec) 0; background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(107,63,176,.55), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 90%, rgba(212,63,141,.35), transparent 70%), #0B0620; color: #DCD2F5; overflow: hidden; }
.pn h2 { color: #fff; }
.pn__stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fff, transparent), radial-gradient(2px 2px at 200px 160px, #FFD36B, transparent), radial-gradient(1px 1px at 60px 190px, #fff, transparent); background-size: 240px 240px; opacity: .8; }
.pn__in { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.pn .btn { --fill: #6B3FB0; background-color: #D43F8D; }
.pn__crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; }

@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; }
.prod { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: var(--r-card); padding: 12px 12px 16px; box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.prod__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); margin-bottom: 8px; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__type { font: 600 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.prod b { font: 600 1.05rem/1.25 var(--display); color: var(--orange-dark); }
.meet { padding: var(--sec) 0; }
.meet__in, .comm__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.meet__img { margin: 0; }
.meet__img img { border-radius: 50% 50% 46% 54% / 55% 50% 50% 45%; box-shadow: var(--sh-lift); }
.comm__in { grid-template-columns: 1.1fr .9fr; }
.comm__img { margin: 0; } .comm__img img { border-radius: var(--r-img); box-shadow: var(--sh-lift); transform: rotate(2deg); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; background: rgba(255,255,255,.75); border-radius: 16px; padding: 12px 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font: 600 1.2rem var(--display); }
.steps b { font: 600 1.1rem var(--display); color: var(--olive); }
.steps span { font-size: .95rem; color: var(--ink-soft); }
.news { padding: var(--sec) 0; }
.news__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.evlist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.evlist a, .ev { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); transition: transform .25s; }
.evlist a:hover, .ev:hover { transform: translateX(6px); }
.evlist small, .ev small { display: block; color: var(--ink-soft); }
.evlist b, .ev b { font: 600 1.05rem/1.3 var(--display); color: var(--olive); }
.datebadge { flex: none; width: 62px; height: 66px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-content: center; text-align: center; font: 600 .78rem/1.1 var(--body); text-transform: uppercase; }
.datebadge b { font: 600 1.6rem/1 var(--display); color: #fff; }
.datebadge--big { width: 76px; height: 82px; }
.minis { display: grid; gap: 10px; margin: 20px 0; }
.mini { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); transition: transform .25s; }
.mini:hover { transform: translateX(6px); }
.mini img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.mini small { display: block; color: var(--ink-soft); font-size: .82rem; }
.mini b { font: 600 1rem/1.3 var(--display); color: var(--olive); }
.more { font-weight: 600; }
.cta { padding: var(--sec) 0; background: radial-gradient(ellipse at 50% 100%, rgba(186,108,0,.18), transparent 70%); }

/* ---------- inner pages ---------- */
.ptop { padding: clamp(46px, 6vw, 84px) 0 clamp(30px, 4vw, 50px); }
.ptop__in { display: grid; gap: clamp(28px, 5vw, 60px); }
.ptop--img .ptop__in { grid-template-columns: 1.1fr .9fr; align-items: center; }
.ptop__imgs { display: grid; gap: 14px; }
.ptop__imgs figure { margin: 0; } .ptop__imgs img { width: 100%; border-radius: var(--r-img); box-shadow: var(--sh-lift); object-fit: cover; }
.ptop__imgs--1 img { border-radius: 48% 52% 46% 54% / 44% 46% 54% 56%; aspect-ratio: 1; }
.ptop__imgs--2, .ptop__imgs--3 { grid-template-columns: 1fr 1fr; } .ptop__imgs--3 figure:first-child { grid-column: span 2; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 40px; }
.stat { background: rgba(255,255,255,.75); border-radius: 18px; padding: 18px; text-align: center; box-shadow: var(--sh-card); }
.band--green .stat { background: rgba(255,255,255,.08); box-shadow: none; }
.stat b { display: block; font: 600 2.3rem/1.1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; }
.stat span { font-size: .92rem; color: var(--ink-soft); }
.psec { padding: clamp(36px, 5vw, 64px) 0; }
.psec.band { padding: var(--sec) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--flip .split__imgs { order: 2; }
.split__imgs { display: grid; gap: 14px; }
.split__imgs--2 { grid-template-columns: 1fr 1fr; }
.split__imgs a { display: block; } .split__imgs img { width: 100%; border-radius: var(--r-img); box-shadow: var(--sh-card); }
.split__imgs--2 a:nth-child(2) { margin-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: rgba(255,255,255,.85); border-radius: var(--r-card); padding: 22px 22px 18px; box-shadow: var(--sh-card); border-top: 4px solid var(--orange); }
.card h3 { margin-bottom: .35em; }
.card p { font-size: .98rem; color: var(--ink-soft); }
/* forms */
.formsec { padding-top: 10px; }
.form { display: grid; gap: 16px; background: #fff; border-radius: var(--r-card); padding: clamp(20px, 4vw, 34px); box-shadow: var(--sh-card); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--olive); }
.form input, .form textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(186,108,0,.15); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.form .check input { margin-top: 4px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.note { padding: 16px 20px; border-radius: 14px; font-weight: 600; }
.note--ok { background: var(--wash-sage); color: var(--olive); } .note--err { background: #FBE1D6; color: #8E2C00; }
/* gallery */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; margin-bottom: 40px; }
.col { text-decoration: none; color: var(--ink); display: grid; gap: 4px; }
.col__stack { position: relative; aspect-ratio: 4 / 3.3; margin-bottom: 12px; }
.col__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-img); box-shadow: var(--sh-card); transition: transform .45s cubic-bezier(.2,.8,.3,1.2); }
.col__peek--0 { transform: rotate(-5deg) translate(-8px, 6px) scale(.94); } .col__peek--1 { transform: rotate(4deg) translate(8px, 4px) scale(.95); } .col__peek--2 { transform: rotate(-2deg) scale(.97); }
.col:hover .col__peek--0 { transform: rotate(-12deg) translate(-40px, 10px) scale(.9); } .col:hover .col__peek--1 { transform: rotate(10deg) translate(40px, 6px) scale(.9); } .col:hover .col__peek--2 { transform: rotate(-4deg) translate(0, -16px) scale(.92); }
.col:hover .col__cover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.col b { font: 600 1.35rem var(--display); color: var(--olive); }
.col > span:last-child { color: var(--ink-soft); font-size: .92rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tabs a, .chip { padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--olive); text-decoration: none; font: 600 .9rem var(--body); border: 1.5px solid var(--line); cursor: pointer; }
.tabs a[aria-current], .chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.grp { margin-top: 30px; }
.masonry { columns: 4 240px; column-gap: 16px; margin-bottom: 40px; }
.tile { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-card); background: var(--paper-2); }
.tile img { width: 100%; transition: transform .5s; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(30,36,0,.75)); color: #fff; font: 600 .95rem var(--display); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.tile:hover img { transform: scale(1.04); } .tile:hover span, .tile:focus-visible span { opacity: 1; transform: none; }
/* viewer */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(18,20,6,.94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 50px 0 20px; max-height: 100vh; }
.lb img { max-height: calc(100vh - 130px); max-width: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px #000; user-select: none; -webkit-user-drag: none; }
.lb figcaption { color: #F4F1E6; font: 600 1.15rem var(--display); text-align: center; }
.lb__x { position: absolute; top: 12px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; cursor: pointer; }
.lb__nav { justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lb__nav:hover, .lb__x:hover { background: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .lb:not([hidden]) img { animation: zoomin .35s ease; } @keyframes zoomin { from { transform: scale(.94); opacity: .3; } } }
/* blog */
.blogtools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search { font: 400 1rem var(--body); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); min-width: 240px; background: #fff; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-card); text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.post[hidden] { display: none; }
.post:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__txt { padding: 16px 18px 20px; display: grid; gap: 6px; }
.post__txt small { color: var(--ink-soft); font-size: .82rem; }
.post__txt b { font: 600 1.2rem/1.25 var(--display); color: var(--olive); }
.post__txt > span { font-size: .93rem; color: var(--ink-soft); }
.post--big { grid-column: span 2; flex-direction: row; } .post--big .post__img { flex: 1.3; aspect-ratio: auto; } .post--big .post__txt { flex: 1; align-content: center; padding: 26px; } .post--big .post__txt b { font-size: 1.6rem; }
.posts--3 .post--big { grid-column: auto; flex-direction: column; }
.ptop--post { padding-bottom: 20px; }
.wpcontent { font-size: 1.05rem; padding-bottom: 30px; }
.wpcontent img { border-radius: 12px; margin: 1em auto; height: auto; }
.wpcontent figure { margin: 1.4em 0; } .wpcontent figcaption { font-size: .88rem; color: var(--ink-soft); text-align: center; }
.wpcontent .wp-block-gallery, .wpcontent .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.wpcontent .wp-block-gallery figure, .wpcontent .gallery figure { margin: 0; } .wpcontent .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.wpcontent iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.wpcontent h2 { font-size: 1.8rem; margin-top: 1.4em; }
.postnav { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 50px; border-top: 1px solid var(--line); font-weight: 600; }
.postnav a { text-decoration: none; max-width: 45%; }
/* events */
.evs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 40px; }
.ev__img { width: 110px; height: 80px; flex: none; border-radius: 10px; overflow: hidden; } .ev__img img { width: 100%; height: 100%; object-fit: cover; }
.past summary { cursor: pointer; font: 600 1.3rem var(--display); color: var(--olive); padding: 10px 0; }
.evs--past .datebadge { background: var(--ink-soft); }

/* ---------- footer ---------- */
.ftr { background: var(--olive); color: #E7E9D6; padding: 60px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.ftr h2 { font: 600 1.1rem var(--display); color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ftr a { color: #E7E9D6; text-decoration: none; } .ftr a:hover { color: #F6D9A8; text-decoration: underline; }
.ftr__social { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding: 18px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
.ftr__bottom .proto { background: #FFD36B; color: var(--ink); padding: 3px 10px; border-radius: 8px; font-weight: 600; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) { .hdr__nav { display: none; } .hdr__burger { display: inline-flex; } .lang { margin-left: auto; } }
@media (max-width: 1000px) {
  .paths__grid, .prods { grid-template-columns: repeat(2, 1fr); }
  .cols, .posts { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero__in, .cal__in, .pn__in, .meet__in, .comm__in, .news__in, .split, .ptop--img .ptop__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; } .hero__art img { max-height: 60vh; }
  .split--flip .split__imgs { order: 0; }
  .meet__img { max-width: 360px; }
  .evs { grid-template-columns: 1fr; }
  .post--big { grid-column: span 2; flex-direction: column; }
  .trail { left: 0; right: 0; top: auto; bottom: auto; width: auto; height: 3px; position: fixed; top: 0; } .trail span { transform-origin: left; transform: scaleX(var(--p, 0)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hdr { min-height: 60px; gap: 10px; padding: 8px 14px; }
  .hdr__logo img { width: 42px; height: 42px; } .hdr__logo span { display: none; }
  .hdr__dest { display: none; }
  .hdr__burger span:last-child { font-size: .9rem; }
  .lang a { padding: 5px 7px; }
  .paths__grid { grid-template-columns: 1fr 1fr; gap: 12px; } .path__txt span { display: none; } .path__txt { padding: 12px; } .path__txt b { font-size: 1.05rem; } .path__go { width: 32px; height: 32px; }
  .cal__cards { gap: 12px; }

  .prods { gap: 12px; }
  .cols, .posts { grid-template-columns: 1fr; } .post--big { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .lb { grid-template-columns: 44px 1fr 44px; } .lb__nav { width: 40px; height: 40px; font-size: 26px; }
  .strip__item img { height: 260px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat b { font-size: 1.8rem; }
  .path__txt b { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- PuffiNova characters: transparent cut-outs that glow on mouse hover, keyboard focus or a tap ---------- */
.pn__crew { grid-template-columns: repeat(4, 1fr); gap: 6px 10px; }
.pnc { position: relative; display: grid; place-items: center; height: 170px; border-radius: 50%; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.pnc::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,211,107,.75), rgba(242,92,158,.45) 45%, transparent 70%); opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.3,1.3); }
.pnc img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); transition: filter .35s ease, transform .45s cubic-bezier(.2,.8,.3,1.4); }
.pnc:hover::before, .pnc:focus-visible::before, .pnc.is-glow::before { opacity: 1; transform: scale(1.15); }
.pnc:hover img, .pnc:focus-visible img, .pnc.is-glow img { filter: drop-shadow(0 0 6px #FFF6D8) drop-shadow(0 0 16px #FFD36B) drop-shadow(0 0 32px #F25C9E) brightness(1.12) saturate(1.15); transform: translateY(-8px) scale(1.1) rotate(-3deg); }
/* a few sparkles burst out while glowing */
.pnc::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(2px 2px at 18% 22%, #fff, transparent), radial-gradient(3px 3px at 82% 30%, #FFD36B, transparent), radial-gradient(2px 2px at 70% 85%, #fff, transparent), radial-gradient(2.5px 2.5px at 25% 78%, #F9B7D6, transparent), radial-gradient(2px 2px at 50% 8%, #fff, transparent); }
.pnc:hover::after, .pnc:focus-visible::after, .pnc.is-glow::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .pnc:hover::after, .pnc:focus-visible::after, .pnc.is-glow::after { animation: sparkle 1.2s ease-in-out infinite; }
  @keyframes sparkle { 0%, 100% { transform: scale(.9) rotate(0); opacity: .5; } 50% { transform: scale(1.12) rotate(8deg); opacity: 1; } }
  .pn__crew .pnc { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
  .pnc:hover, .pnc:focus-visible, .pnc.is-glow { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .pnc:hover img, .pnc:focus-visible img, .pnc.is-glow img { transform: none; } }
@media (max-width: 600px) { .pn__crew { grid-template-columns: repeat(4, 1fr); gap: 4px; } .pnc { height: 92px; } }
/* longer menu words (Finnish, Swedish): the name next to the logo makes room on medium screens */
@media (max-width: 1420px) and (min-width: 601px) { .hdr__logo span { display: none; } }

/* ---------- "magazine" sections (Biography): the text flows around the pictures; pictures alternate left and right.
   Sections without pictures are set in two even columns. ---------- */
.mag__in { max-width: 1040px; }
.mag__head { text-align: center; margin-bottom: 26px; }
.mag__head .eyebrow { justify-content: center; }
.mag__head h2 { margin-bottom: .3em; }
.mag__head::after { content: ''; display: block; width: 120px; height: 5px; margin: 0 auto; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--orange) 20%, var(--orange) 80%, transparent); opacity: .7; }
.mag__body { font-size: 1.08rem; }
.mag__body::after { content: ''; display: block; clear: both; }
.mag__body > p:first-of-type::first-letter { font: 600 3.3em/.8 var(--display); color: var(--orange); float: left; padding: .08em .1em 0 0; }
.mag__body p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* tall pictures are shown narrower, so a picture is never much longer than the text beside it */
.mag__fig { width: fit-content; max-width: 42%; margin: 6px 0 18px; shape-outside: margin-box; }
.mag__fig img { max-height: 430px; width: auto !important; max-width: 100%; }
.mag__fig figcaption { max-width: 340px; margin: 0 auto; }
.mag__fig--left { float: left; clear: left; margin-right: 34px; }
.mag__fig--right { float: right; clear: right; margin-left: 34px; }
.mag__fig img { width: 100%; border-radius: 10px; background: #fff; border: 6px solid #fff; box-shadow: var(--sh-lift); transition: transform .45s cubic-bezier(.2,.8,.3,1.2); }
.mag__fig--left img { transform: rotate(-1.6deg); } .mag__fig--right img { transform: rotate(1.6deg); }
.mag__fig a:hover img { transform: rotate(0) scale(1.02); }
.mag__fig a { display: block; cursor: zoom-in; }
.mag__fig figcaption { font: italic .88rem/1.4 var(--display); color: var(--ink-soft); text-align: center; padding: 10px 8px 0; }
.mag--cols .mag__body { columns: 2; column-gap: 56px; column-rule: 1px solid var(--line); }
.mag--cols .mag__body p { break-inside: avoid-column; }
.mag + .mag { padding-top: 0; }
.mag .btns { justify-content: center; }
@media (max-width: 760px) {
  .mag__fig, .mag__fig--left, .mag__fig--right { float: none; width: fit-content; max-width: min(100%, 420px); margin: 8px auto 20px; }
  .mag--cols .mag__body { columns: 1; }
  .mag__body p { text-align: left; }
}

/* ----- cookie banner ----- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300; max-width: 760px; margin: 0 auto; background: var(--olive-dark, #2C3A00); color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); display: grid; gap: 12px; }
.cookie-banner[hidden], .cookie-choices[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; line-height: 1.5; }
.cookie-banner a { color: #F6D9A8; }
.cookie-banner__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-banner .btn { background: var(--orange, #BA6C00); }
.cookie-banner .btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); color: #fff; }
.cookie-banner .btn--ghost:hover { color: var(--olive, #3B4E00); }
.cookie-choices { display: grid; gap: 8px; }
.cookie-choice { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
.cookie-choice input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--orange, #BA6C00); }
.cookie-choices .btn { justify-self: start; }
.cf-turnstile { margin: 4px 0 14px; min-height: 65px; }
@media (max-width: 560px) { .cookie-banner__btns { justify-content: stretch; } .cookie-banner__btns .btn { flex: 1 1 auto; justify-content: center; } }
@media print { .cookie-banner { display: none; } }

/* the help desk chat comes from the shop (see js/helpdesk-embed.js) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hd { font-family: var(--body); }
@media print { .hd { display: none; } }
