@font-face {
  font-family: Bricolage;
  src: url('/assets/display.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 900;
}

@font-face {
  font-family: Bricolage Text;
  src: url('/assets/text.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 800;
}

:root {
  --paper: #fcf8ee;
  --white: #fffdf7;
  --ink: #132648;
  --muted: #4c5362;
  --blue: #20449f;
  --red: #b62d22;
  --sun: #ffdb60;
  --line: #d8d3c7;
  --display: Bricolage, Georgia, serif;
  --body: 'Bricolage Text', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 400 1.0625rem/1.55 var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3979de; outline-offset: 4px; }
button, summary { cursor: pointer; }
address { font-style: normal; }
p + p { margin-top: .85rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; line-height: 1.01; }
h1, h2 { letter-spacing: -.026em; word-spacing: .05em; }
h2 { font-size: clamp(2.3rem, 4.35vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.83rem); letter-spacing: -.02em; word-spacing: .04em; }
h2 + p, h3 + p { margin-top: .95rem; }
h2 + .terms { margin-top: 1.8rem; }
h2 + .faq { margin-top: 1.65rem; }
:target { scroll-margin-top: 1rem; }

.wrap { width: min(1280px, calc(100% - 2 * clamp(20px, 4.4vw, 74px))); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 8vw, 7.75rem); }
.section-tint { background: #eff2fa; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 7vw, 7.5rem); }
.split h2 { max-width: 15ch; }
.split p, .sunny p, .intro p { max-width: 54ch; }
.lead { color: var(--muted); font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.55; }
.label, .with-dot, .krs-label { font-size: .77rem; font-weight: 760; letter-spacing: .105em; text-transform: uppercase; }
.label { color: var(--blue); margin-bottom: .7rem; }
.small { font-size: .91rem; color: var(--muted); }
.skip { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .65rem 1.1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  width: fit-content;
  padding: .72rem 1.2rem;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-size: .94rem;
  text-align: center;
  font-weight: 760;
  line-height: 1.28;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.button:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.outline { color: var(--ink); border-color: #928f87; background: transparent; }
.button.outline:hover { background: #f1ead9; border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.85rem; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; font-weight: 760; text-decoration: underline; }
.text-link:hover .chevron { transform: translateX(4px) rotate(-45deg); }
.chevron { flex: 0 0 .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(-45deg); transition: transform .18s ease; }
p + .text-link, address + .text-link, .text-link + p, p + .button { margin-top: 1.2rem; }

.site-header { position: relative; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; flex: 0 0 clamp(118px, 12vw, 155px); margin-block: .45rem; }
.site-nav { display: flex; gap: clamp(.8rem, 2.05vw, 2.25rem); align-items: center; }
.site-nav > a { white-space: nowrap; }
.site-nav > a:not(.button) { position: relative; display: inline-block; padding-block: .7rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
.site-nav > a:not(.button)::after { content: ''; position: absolute; inset: auto 0 .4rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .17s ease; }
.site-nav > a:hover::after, .site-nav > a[aria-current]::after { transform: scaleX(1); }
.site-nav .button { margin-left: .25rem; background: var(--sun); color: var(--ink); border-color: transparent; }
.site-nav .button:hover { background: #f8c63a; }
.menu-toggle { display: none; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 6.15rem);
}
.with-dot { display: flex; align-items: center; gap: .62rem; margin-bottom: clamp(1rem, 2vw, 1.7rem); }
.with-dot::before { content: ''; flex: 0 0 .59rem; height: .59rem; background: var(--red); border-radius: 50%; }
.hero-copy h1 { font-size: clamp(3.5rem, 7vw, 7.65rem); font-weight: 830; line-height: .99; letter-spacing: -.025em; word-spacing: .04em; white-space: nowrap; text-wrap: initial; }
.hero-copy h1 em { display: inline-block; font-style: normal; color: var(--red); }
.hero-copy .lead { max-width: 35ch; margin-top: clamp(1.1rem, 2.6vw, 2rem); }
.hero-photo { position: relative; isolation: isolate; margin: 0 .55rem .53rem 0; }
.hero-photo::before { content: ''; position: absolute; inset: .62rem -.6rem -.62rem .6rem; border: 2px solid var(--blue); border-radius: 48% 47% 1.1rem 1.1rem / 16% 16% 1.1rem 1.1rem; z-index: -1; }
.hero-photo picture { display: block; overflow: hidden; border-radius: 48% 47% 1.1rem 1.1rem / 16% 16% 1.1rem 1.1rem; }
.hero-photo picture img { width: 100%; aspect-ratio: 1.34; object-fit: cover; object-position: 55% 55%; }
.hero-photo figcaption, .story-image figcaption { font-size: .73rem; }
.hero-photo figcaption { position: absolute; right: .9rem; bottom: .8rem; color: var(--ink); padding: .2rem .5rem; background: var(--paper); border-radius: 3px; }
.hero-sun { position: absolute; left: -1.5rem; bottom: -.9rem; width: clamp(4rem, 9vw, 8rem); rotate: -12deg; filter: drop-shadow(0 2px 2px #2c1c1655); pointer-events: none; }
.sun-mark { width: 100%; }

.tax-strip { color: white; background: var(--ink); }
.tax-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding-block: 1.4rem; }
.tax-title { font: 800 clamp(1.65rem, 3vw, 2.65rem)/1.05 var(--display); letter-spacing: -.02em; word-spacing: .04em; }
.tax-strip .text-link { color: #ffe28b; }
.tax-inner .text-link { margin-top: .35rem; font-size: .9rem; }
.copy-krs { position: relative; display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; align-items: center; padding-bottom: 1.2rem; }
.krs-label { display: block; color: #f2e3bc; }
.krs-number { display: block; font: 780 clamp(1.57rem, 3.7vw, 3.35rem)/1.1 var(--display); letter-spacing: .025em; font-variant-numeric: tabular-nums; }
.copy-button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 2.75rem; padding: .44rem .8rem; border: 1px solid #b0bdd4; border-radius: 6px; background: transparent; color: white; font-size: .89rem; font-weight: 700; transition: background .17s ease; }
.copy-button:hover { background: #ffffff21; }
.copy-icon { display: block; width: .7em; height: .85em; border: 1px solid currentColor; border-radius: 2px; position: relative; }
.copy-icon::before { position: absolute; content: ''; inset: -4px 3px 2px -4px; border: solid currentColor; border-width: 1px 0 0 1px; border-radius: 2px; }
.copy-status { position: absolute; bottom: -.25rem; font-size: .83rem; color: #ffe28b; }
.tax-detail p { color: #f1ecdf; }

.story-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.story-image figcaption { margin-top: .35rem; color: var(--muted); }
.editorial-image { position: relative; }
.editorial-image::before { position: absolute; content: ''; inset: 0.55rem .65rem 1.5rem -.62rem; border: 2px solid #b62d22; border-radius: 8px; z-index: -1; }
.about-teaser { padding-left: .62rem; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(1.65rem, 3vw, 2.5rem); }
.section-top .text-link { flex: 0 0 auto; }
.section-top p { color: var(--muted); }
.campaigns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.2vw, 1.8rem); }
.campaign { display: flex; flex-direction: column; background: var(--white); border: 1px solid #d3d9e8; border-radius: 10px; overflow: hidden; }
.campaign-art { display: grid; place-items: center; height: clamp(7.4rem, 14vw, 11.5rem); overflow: hidden; }
.campaign-art.sun { background: #183881; }
.campaign-art.sun img { width: 7.1rem; rotate: -11deg; }
.campaign-art.parcel { background: #ffe287; }
.campaign-art.heart { background: #f9ddd7; }
.art-parcel { position: relative; display: block; width: 5rem; height: 4.3rem; border: 3px solid #16346c; background: #efb848; border-radius: .35rem; rotate: -13deg; }
.art-parcel::before { content: ''; position: absolute; inset: -3px -.65rem auto; height: 1rem; border: 3px solid #16346c; border-radius: .25rem; background: #f8ca5e; }
.art-parcel::after { content: ''; position: absolute; left: 39%; top: -.18rem; bottom: -.17rem; width: 1rem; background: #16346c; }
.art-heart { position: relative; display: block; width: 3.2rem; height: 3.2rem; background: var(--red); border-radius: .18rem; rotate: -48deg; }
.art-heart::before, .art-heart::after { position: absolute; content: ''; width: 100%; height: 100%; background: inherit; border-radius: 50%; }
.art-heart::before { top: -50%; }
.art-heart::after { left: 50%; }
.campaign-body { flex: 1; display: flex; flex-direction: column; padding: clamp(1rem, 2.4vw, 1.85rem); }
.campaign-body p:not(.label) { color: var(--muted); }
.campaign-body .text-link { font-size: .91rem; margin-top: auto; padding-top: 1.15rem; }
.sunny { background: var(--sun); }
.sunny-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: clamp(2.4rem, 5vw, 4.6rem); }
.sunny h2 { font-size: clamp(2.05rem, 4vw, 3.5rem); }
.sunny .button { flex-shrink: 0; }

.page-hero { background: #f4eddc; overflow: hidden; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(165px, .42fr); align-items: center; gap: clamp(1.3rem, 5vw, 5rem); min-height: 20rem; padding-block: clamp(2.6rem, 6vw, 5.6rem); }
.page-hero h1 { margin: .82rem 0 1.14rem; font-size: clamp(2.8rem, 6.7vw, 7.2rem); line-height: .98; text-wrap: initial; }
.page-hero p { max-width: 52ch; }
.return { display: inline-block; font-weight: 690; color: var(--blue); font-size: .9rem; }
.page-art { display: grid; place-items: center; min-height: 10rem; width: min(100%, 18rem); justify-self: end; }
.year-mark { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--sun); border-radius: 50%; min-height: 0; width: min(100%, 15.6rem); aspect-ratio: 1; rotate: -7deg; font-weight: 750; }
.year-mark strong { font: 800 clamp(2.2rem, 5.4vw, 5.25rem)/1 var(--display); letter-spacing: -.06em; }
.page-sun .sun-mark { width: min(100%, 13rem); rotate: -10deg; }
.page-logo img { width: 100%; }
.page-parcel { border-radius: 50%; background: var(--sun); width: min(100%, 15rem); aspect-ratio: 1; }
.page-parcel .art-parcel { scale: 1.37; }
.page-heart { border-radius: 51% 49% 57% 43%; background: #f5d1c8; width: min(100%, 15rem); aspect-ratio: 1; }
.page-heart .art-heart { scale: 1.6; translate: 0 .65rem; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.1rem, 4vw, 2.5rem); }
.panel address { margin-top: .7rem; }
.terms > div { display: grid; grid-template-columns: minmax(4.8rem, .35fr) minmax(0, 1fr); gap: .65rem; border-top: 1px solid var(--line); padding-block: .85rem; }
.terms > div:last-child { border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 760; }
.terms dd { overflow-wrap: anywhere; }
.panel .terms { margin-top: 1rem; }
.contact-layout { align-items: start; }
.socials { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; gap: clamp(1.25rem, 6vw, 6rem); }
.help-panel { border-color: #e4c96d; background: #fff1bc; }
.help-panel .text-link { display: flex; margin-top: 1rem; }
.steps { padding: 0; margin: 1.6rem 0 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 1.2rem 0 1.2rem 3.5rem; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { position: absolute; left: 0; top: 1.1rem; content: counter(step); display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; border-radius: 50%; background: #e7edf8; font-weight: 800; color: var(--blue); }
.steps p { color: var(--muted); margin-top: .53rem; }
.faq-section { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .95rem .3rem; font-weight: 760; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq .answer { max-width: 65ch; padding: 0 .3rem 1rem; color: var(--muted); }
.faq details::details-content { height: 0; overflow: clip; transition: height .24s ease, content-visibility .24s allow-discrete; interpolate-size: allow-keywords; }
.faq details[open]::details-content { height: auto; }
.plus { flex: 0 0 1rem; height: 1rem; background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 100% no-repeat; transition: rotate .18s ease; }
details[open] .plus { rotate: 45deg; }

.footer { background: #101e38; color: #f6f0e5; padding-block: clamp(2rem, 5vw, 4rem) 1.15rem; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .85fr 1.25fr .8fr; gap: 1.3rem 2.5rem; }
.footer h2 { font: 760 1rem/1.25 var(--body); letter-spacing: 0; }
.footer p, .footer address { margin-top: .8rem; }
.footer p, .footer address, .footer li { font-size: .9rem; }
.footer ul { list-style: none; margin: .75rem 0 0; padding: 0; }
.footer li + li { margin-top: .32rem; }
.footer a { overflow-wrap: anywhere; }
.footer-brand { display: block; width: min(10.4rem, 100%); background: var(--white); padding: .4rem .5rem; border-radius: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .55rem 1.25rem; border-top: 1px solid #ffffff37; margin-top: 2.2rem; padding-top: 1rem; font-size: .79rem; }
.credit { display: flex; align-items: center; gap: .65rem; }
.credit a { display: block; padding: .25rem; }
.credit img { width: 90px; }

@media (max-width: 940px) {
  .header-inner { min-height: 75px; flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; padding-bottom: .8rem; }
  .has-menu .menu-toggle { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .75rem; min-height: 44px; border: 1px solid #aba797; border-radius: 6px; background: transparent; color: var(--ink); font-weight: 750; }
  .menu-icon { position: relative; display: block; width: 1rem; height: .95rem; border-block: 2px solid currentColor; transition: rotate .18s ease; }
  .menu-icon::before { content: ''; position: absolute; left: 0; top: calc(50% - 1px); width: 100%; height: 2px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-icon { rotate: 90deg; }
  .has-menu .site-nav { position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: .25rem; padding: .5rem max(20px, 4.4vw) 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 1rem 2rem #13264818; visibility: hidden; opacity: 0; transform: translateY(-.5rem); }
  .has-menu .site-nav.is-animated { transition: transform .19s ease, opacity .19s ease, visibility .19s; }
  .has-menu .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav .button { margin: .25rem 0 0; }
  .has-menu .site-nav > a:not(.button) { border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.button)::after { width: 2rem; }
  .home-hero { gap: 1.55rem; }
  .hero-copy h1 { font-size: clamp(3rem, 7.45vw, 5.3rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

@media (max-width: 660px) {
  .home-hero, .split, .help-layout, .campaigns { grid-template-columns: minmax(0, 1fr); }
  .home-hero { padding-top: 2.25rem; gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3rem, 12.65vw, 5.15rem); }
  .hero-copy .lead { margin-top: 1rem; }
  .hero-sun { left: -.68rem; bottom: -.54rem; width: 4.7rem; }
  .hero-photo picture img { aspect-ratio: 1.43; }
  .actions { margin-top: 1.2rem; }
  .tax-inner { flex-wrap: wrap; gap: 1.05rem 1.4rem; }
  .copy-krs { gap: .42rem .9rem; }
  .about-teaser { padding-left: 0; }
  .about-teaser .editorial-image { order: 1; margin-left: .62rem; }
  .section-top, .sunny-inner { align-items: start; flex-direction: column; }
  .campaign-art { height: 8rem; }
  .campaign-art.sun img { width: 6rem; }
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: .8rem; }
  .page-art { justify-self: start; width: 6.5rem; min-height: 0; }
  .page-parcel .art-parcel, .page-heart .art-heart { scale: .72; }
  .year-mark { width: 6rem; }
  .year-mark span { font-size: .75rem; }
  .footer-bottom { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .terms > div { grid-template-columns: minmax(0, 1fr); gap: .18rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, details::details-content { transition: none !important; }
}
