/* SkillSteps shared styles: home and privacy pages. */
/* Design tokens */
:root {
  --background: #f1e9f7;
  --surface: #faf8fc;
  --text: #201730;
  --muted: #634f72;
  --primary: #448413;
  --secondary: #29c233;
  --accent: #921ded;
  --on-primary: #ffffff;
  --font-heading: "Josefin Slab", Georgia, serif;
  --font-body: "Josefin Sans", Arial, sans-serif;
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: 6rem; --space-10: 8rem;
  --radius-sm: .35rem; --radius-md: 1rem; --radius-lg: 2rem;
  --shadow-1: 0 3px 9px #921ded13, 0 1px 3px #44841313;
  --shadow-2: 0 14px 32px #921ded22, 0 3px 10px #44841316;
  --shadow-3: 0 26px 65px #921ded30, 0 8px 22px #44841320;
  --line: #634f7238; --ease: cubic-bezier(.2,.8,.2,1);
}
/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .55vw + 11px, 22px); overflow-x: clip; scroll-behavior: smooth; scrollbar-color: var(--accent) var(--background); scrollbar-width: thin; }
body { margin: 0; overflow-x: clip; background: var(--background); color: var(--text); }
img,svg { display: block; max-width: 100%; }
a { color: inherit; }
/* Base typography */
body { font-family: var(--font-body); font-size: 1.06rem; line-height: 1.7; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: var(--font-heading); letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
p { max-width: 65ch; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
/* Layout and container */
.container { width: min(100% - 2.5rem, 1360px); margin-inline: auto; }
.site-header { position: relative; z-index: 4; background: var(--surface); border-bottom: 3px solid var(--text); }
.header-inner { height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: var(--space-3); text-decoration: none; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.brand img, .footer-brand img { width: 2.3rem; height: 2.3rem; object-fit: contain; border-radius: var(--radius-sm); }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header nav { flex: none; }
/* Components */
.ticket { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 3rem; padding: .75rem 1.4rem; background: var(--primary); color: var(--on-primary); border: 2px solid var(--text); box-shadow: 5px 5px 0 var(--text); text-decoration: none; font-weight: 700; line-height: 1.1; clip-path: polygon(0 0,100% 0,100% 36%,calc(100% - 7px) 50%,100% 64%,100% 100%,0 100%,0 64%,7px 50%,0 36%); transition: transform .2s var(--ease),box-shadow .2s var(--ease); }
.ticket:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--text); }
.ticket--header { font-size: .89rem; }
.skip-link { position: fixed; z-index: 50; top: -8rem; left: 1rem; background: var(--surface); padding: 1rem; }
.skip-link:focus { top: 1rem; }
.scroll-line { position: fixed; right: 0; top: 0; height: 100dvh; width: 3px; z-index: 10; pointer-events: none; background: #921ded18; }
.scroll-line span { display: block; height: 0; background: var(--accent); }
.back-top { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 6; width: 3rem; height: 3rem; display: grid; place-items: center; text-decoration: none; background: var(--surface); border: 2px solid var(--text); box-shadow: var(--shadow-1); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
/* Page sections */
.hero-shell { height: 100vh; height: 100svh; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr); }
.hero-shell main { min-height: 0; }
.hero { --hs: 1; position: relative; height: 100%; min-height: 0; isolation: isolate; background: radial-gradient(ellipse at 75% 70%, #29c2331e, transparent 45%),linear-gradient(125deg,#f1e9f7 30%,#faf8fc 80%); }
.hero-letter { position: absolute; pointer-events: none; inset: -8% auto auto -6%; z-index: -1; font: 700 min(115svh,120vw)/1 var(--font-heading); color: #921ded15; user-select: none; }
.hero-inner { height: 100%; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: calc(var(--hs) * min(2svh,20px)); padding-block: calc(var(--hs) * min(2svh,24px)); }
.hero-body { width: min(100%, 62rem); }
.hero-index,.section-kicker,.detail-number,.policy-label { font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-index { display: block; font-size: calc(var(--hs) * clamp(.8rem,1.8svh,1.1rem)); color: var(--primary); margin-bottom: calc(var(--hs) * min(2svh,20px)); }
.hero h1 { margin: 0 0 calc(var(--hs) * min(2svh,24px)); font-size: calc(var(--hs) * clamp(2.1rem,min(8vw,9svh),8.2rem)); line-height: .9; letter-spacing: -.065em; }
.hero-body p { font-size: calc(var(--hs) * clamp(1rem,min(2.4vw,2.5svh),1.55rem)); max-width: 40ch; line-height: 1.25; margin-bottom: calc(var(--hs) * min(2.5svh,26px)); }
.hero-ribbons { width: min(100%,calc(var(--hs) * 38svh),39rem); height: calc(var(--hs) * min(29svh,300px)); align-self: flex-end; margin-top: calc(var(--hs) * -9svh); filter: drop-shadow(0 18px 15px #921ded20); animation: levitate 7s ease-in-out infinite; pointer-events: none; }
.hero-ribbons svg { height: 100%; width: 100%; }
.hero--compact .hero-ribbons { display: none; }
.marquee { overflow: hidden; white-space: nowrap; background: var(--secondary); border-block: 3px solid var(--text); transform: rotate(-.4deg); }
.marquee__track { width: max-content; padding: .5rem 0; font-size: 1.1rem; font-weight: 700; letter-spacing: .12em; animation: ticker 30s linear infinite; }
.content-section { padding-block: clamp(4rem,10vw,8rem); min-height: 75svh; position: relative; border-bottom: 3px solid var(--text); }
.content-section:nth-of-type(even) { background: var(--surface); }
.section-intro { position: relative; max-width: 63rem; margin-bottom: 3rem; }
.section-kicker { color: var(--primary); font-size: .88rem; }
.section-intro h2 { max-width: 19ch; margin: .6rem 0 1.4rem; }
.section-intro > p { color: var(--muted); font-size: 1.16rem; }
.detail-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.detail-item { display: flex; gap: 1.4rem; padding: 2rem; min-width: 0; background: var(--surface); border: 2px solid var(--text); box-shadow: 6px 6px 0 var(--text); transition: transform .2s var(--ease); }
.detail-item:hover { transform: translateY(-3px); }
.detail-item h3 { margin-bottom: .7rem; }
.detail-item p { margin-bottom: 0; color: var(--muted); }
.detail-number { color: var(--accent); font-size: 1.25rem; }
.content-section--about .section-intro { padding: 2rem; background: var(--secondary); border: 2px solid var(--text); box-shadow: 8px 8px 0 var(--text); }
.content-section--about .section-intro p { color: var(--text); }
.content-section--about .detail-grid { margin-left: clamp(0px,5vw,70px); }
.section-art { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.section-art span { display: inline-block; padding: .6rem 1.2rem; background: var(--accent); color: var(--on-primary); font-weight: 700; transform: rotate(-2deg); }
.section-art span:nth-child(2) { background: var(--primary); transform: rotate(2deg); }
.section-art span:nth-child(3) { background: var(--secondary); color: var(--text); }
.content-section--zigzag .detail-item:nth-child(4n+2), .content-section--zigzag .detail-item:nth-child(4n+3) { background: #29c23324; }
.content-section--zigzag .detail-item:nth-child(odd) { transform: translateX(-.5rem); }
.content-section--zigzag .detail-item:nth-child(even) { transform: translateX(.5rem); }
.content-section--steps .detail-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; }
.content-section--steps .detail-item { display: block; padding: 1.25rem; margin-right: -3px; box-shadow: var(--shadow-2); }
.content-section--steps .detail-item:nth-child(even) { background: #921ded15; margin-top: 1.5rem; }
.content-section--steps .detail-item h3 { margin-top: 1rem; }
.section-mark { font-family: var(--font-heading); font-size: clamp(7rem,22vw,21rem); font-weight: 700; color: #921ded16; line-height: .6; text-align: right; margin-block: -1rem 2.5rem; }
.content-section--glance .detail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pull-quote { font-family: var(--font-heading); font-size: clamp(2rem,4vw,4rem); line-height: 1.2; max-width: 22ch; padding-left: 2rem; border-left: .7rem solid var(--accent); margin-bottom: 3rem; }
.content-section--rights .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-section--rights .detail-item { border-radius: 4rem; box-shadow: var(--shadow-1); }
.content-section--reasons .detail-grid { grid-template-columns: 1fr; }
.content-section--reasons .detail-item { display: grid; grid-template-columns: 5rem 1fr; }
.closing-band { padding-block: clamp(4rem,10vw,8rem); background: linear-gradient(105deg,var(--primary) 0 50%,var(--accent) 50% 100%); color: var(--on-primary); }
.closing-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.closing-inner h2 { max-width: 15ch; }
.closing-inner p { max-width: 43ch; }
.closing-inner .section-kicker { color: var(--on-primary); }
.ticket--closing { background: var(--surface); color: var(--text); }
.site-footer { background: var(--surface); border-top: 3px solid var(--text); padding: 4rem 0 2rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.footer-ornament { display: flex; align-items: center; gap: 1rem; color: var(--accent); }
.footer-ornament span { display: inline-block; width: 7rem; height: 2px; background: var(--text); }
.footer-brand { display: flex; align-items: center; gap: .75rem; font: 700 1.5rem var(--font-heading); }
.footer-inner p { margin: 0; color: var(--muted); }
.policy-main { padding: 4rem 1.25rem 8rem; }
.policy-wrap { max-width: 760px; margin-inline: auto; }
.policy-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 3px solid var(--text); }
.policy-heading h1 { margin: 0; font-size: clamp(2.5rem,6vw,4.6rem); }
.policy-heading p { margin: .6rem 0 0; }
.policy-heading > span { font-family: var(--font-heading); font-weight: 700; }
.policy-intro { font-size: 1.1rem; font-weight: 700; margin-top: 1.5rem; }
.policy-block { position: relative; margin-top: 3rem; padding: 2rem; background: var(--surface); border: 1px solid #634f7245; box-shadow: var(--shadow-1); }
.policy-label { display: inline-block; background: var(--text); color: var(--on-primary); margin: -2.75rem 0 1.3rem; padding: .25rem .8rem; font-size: .82rem; }
.policy-block h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin-bottom: 1.5rem; }
.policy-block p, .policy-block li { overflow-wrap: anywhere; }
.policy-block p:last-child { margin-bottom: 0; }
.policy-block ul { padding-left: 1.5rem; }
.policy-block li { padding-bottom: .4rem; }
/* Utilities */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-revealed { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
/* Responsive rules */
@media (min-width:768px) { .container { width: min(100% - 4rem,1360px); } }
@media (min-width:1280px) { .container { width: min(100% - 6rem,1360px); } }
@media (max-width:1023px) { .content-section--steps .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; } .content-section--glance .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { .detail-grid,.content-section--steps .detail-grid,.content-section--glance .detail-grid,.content-section--rights .detail-grid { grid-template-columns: 1fr; } .content-section--zigzag .detail-item:nth-child(n) { transform: none; } .content-section--about .detail-grid { margin-left: 0; } .content-section--steps .detail-item:nth-child(n) { margin: 0; } .policy-block { padding: 1.5rem; } .hero-ribbons { margin-top: 0; align-self: center; } .section-mark { display: none; } .hero h1 { font-size: calc(var(--hs) * clamp(2rem,min(13vw,8svh),5.5rem)); } }
@media (max-width:480px) { .brand { font-size: 1.15rem; gap: .5rem; } .brand img { width: 2rem; height: 2rem; } .ticket--header { padding-inline: .8rem; font-size: .81rem; } .header-inner { height: 4rem; } .hero-ribbons { width: 100%; } .detail-item { padding: 1.5rem; } .policy-heading { align-items: start; } .policy-heading > span { font-size: .85rem; } .content-section--reasons .detail-item { grid-template-columns: 2.4rem 1fr; } }
@media (max-height:600px) and (min-width:560px) { .hero-inner { flex-direction: row; align-items: center; } .hero-body { flex: 1; } .hero-ribbons { flex: 0 0 32%; height: 36svh; margin: 0; } .hero h1 { font-size: calc(var(--hs) * clamp(2rem,min(6vw,11svh),6rem)); } }
@media (max-height:420px) { .hero-ribbons { display: none; } .hero-index { margin-bottom: .2rem; } }
/* Motion and reduced motion */
@keyframes levitate { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ticker { to { transform: translateX(-45%); } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; } .reveal { opacity: 1; transform: none; } }
/* Print */
@media print { .site-header nav,.back-top,.scroll-line,.marquee { display: none; } .content-section { break-inside: avoid; } .reveal { opacity: 1; transform: none; } }
