/* Banana Bros: design tokens and components.
   Palette from the brief: cream for space, forest for structure, banana for highlights, coral for actions.
   Signature: the "maker's table": a forest-green cutting mat with grid lines and ruler ticks, with the logo stuck on it. */
:root {
  --banana: #F4D35E;
  --banana-soft: #FCEFBF;
  --forest: #172E27;
  --forest-2: #1F3D34;
  --coral: #FF8066;
  --coral-soft: #FFE3DB;
  --mint-soft: #DDEFE2;
  --sky-soft: #DDEBF7;
  --cream: #F6F0E5;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --ink: #17221F;
  --muted: #4B5853;
  --line: #E4DAC7;

  --f-display: 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Nunito', ui-rounded, 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;

  --step-0: 1.0625rem;
  --step-1: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
  --h4: 1.15rem;
  --h3: clamp(1.3rem, 1.15rem + .6vw, 1.55rem);
  --h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --h1: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  --display: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem);

  --r-mat: 32px;
  --r-card: 20px;
  --r-small: 10px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --space: clamp(56px, 8vw, 96px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); font: 400 var(--step-0)/1.6 var(--f-body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--forest); letter-spacing: -.005em; }
p, ul, ol, dl, figure { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.mat :focus-visible, .footer :focus-visible { outline-color: var(--banana); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.center .art--big { margin-inline: auto; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--banana); color: var(--ink); padding: 10px 16px; border-radius: var(--r-small); font-weight: 800; }
.skip:focus { top: 12px; }
main { flex: 1; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.display { font-size: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.015em; }
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }
.h4 { font-size: var(--h4); font-weight: 600; margin-bottom: .35em; }
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 62ch; }
.link { color: var(--forest); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--coral); }
.link:hover { text-decoration-color: var(--forest); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2.5px solid var(--ink);
  font: 600 1.05rem/1.1 var(--f-display); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 4px 0 var(--ink); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--banana { background: var(--banana); color: var(--ink); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--quiet { background: var(--white); color: var(--forest); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 0 4px 0 rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: 0 5px 0 rgba(255, 255, 255, .35); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .98rem; box-shadow: 0 3px 0 var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.row--center { justify-content: center; }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(246, 240, 229, .94); border-bottom: 2px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .masthead { background: rgba(246, 240, 229, .85); backdrop-filter: blur(8px); } }
.masthead__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand img { width: 76px; height: auto; margin-block: 4px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 600 1rem var(--f-display); color: var(--forest); text-decoration: none; }
.nav a:hover { background: var(--banana-soft); }
.nav a[aria-current="page"] { background: var(--banana); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px; border-radius: 999px; border: 2.5px solid var(--forest); background: var(--white); color: var(--forest); font: 600 1rem var(--f-display); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu-btn__bars::before { position: absolute; top: -6px; } .menu-btn__bars::after { position: absolute; top: 6px; }
@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { position: absolute; inset: 100% 0 auto 0; background: var(--cream); border-bottom: 2px solid var(--line); padding: 8px var(--gut) 18px; display: none; }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { padding: 14px 16px; font-size: 1.1rem; }
  html:not(.js) .masthead__bar { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .nav { margin-left: 0; }
}

/* ---------- hero: the maker's table ---------- */
.hero { padding-block: clamp(16px, 3vw, 36px) 0; }
.mat { position: relative; display: grid; gap: 28px; align-items: center; overflow: hidden; border-radius: var(--r-mat); color: var(--white);
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px) clamp(36px, 5vw, 64px);
  background-color: var(--forest);
  background-image:
    linear-gradient(rgba(244, 211, 94, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 211, 94, .16) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px; }
/* ruler ticks along the top edge of the mat */
.mat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(244, 211, 94, .85) 0 2px, transparent 2px 24px) 0 0 / 100% 18px no-repeat,
              repeating-linear-gradient(90deg, rgba(244, 211, 94, .55) 0 1.5px, transparent 1.5px 12px) 0 0 / 100% 9px no-repeat; }
.mat__copy { position: relative; z-index: 1; }
.mat .display { color: var(--white); max-width: 11ch; }
.mat__lede { font-size: var(--step-1); line-height: 1.55; max-width: 46ch; color: #E9F1EC; margin-bottom: 1.6em; }
.mat__tag { margin: 28px 0 0; font: 500 1.05rem var(--f-display); color: var(--banana); }
.mat__sticker { position: relative; justify-self: center; width: min(320px, 62vw); order: -1; }
.sticker { width: 100%; transform: rotate(-4deg); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .35)); }
.cutout { position: absolute; width: 22%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .3)); }
.cutout--plane { top: -4%; left: -10%; transform: rotate(-12deg); }
.cutout--puzzle { bottom: 2%; left: -6%; width: 18%; transform: rotate(14deg); }
.cutout--star { top: 6%; right: -8%; width: 17%; transform: rotate(10deg); }
@media (min-width: 960px) {
  .mat { grid-template-columns: 1.1fr .9fr; min-height: 520px; }
  .mat__sticker { width: 100%; max-width: 440px; order: 0; }
}
/* The one orchestrated moment: the sticker is pressed onto the mat when the page loads. */
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: stick .7s cubic-bezier(.2, 1.4, .4, 1) .1s both; }
  .cutout { animation: drop .5s ease-out .55s both; }
}
@keyframes stick { from { opacity: 0; transform: rotate(-12deg) scale(1.12); filter: drop-shadow(0 40px 30px rgba(0, 0, 0, .25)); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
@keyframes drop { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }

/* ---------- sections ---------- */
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * .6); }
.section--white { background: var(--paper); border-block: 2px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section__head .h2 { margin: 0; }
.page-head { padding-block: clamp(40px, 7vw, 80px) clamp(8px, 2vw, 16px); }
.page-head__inner { border-left: 8px solid var(--banana); padding-left: clamp(16px, 3vw, 28px); }
.page-head .lede { margin-bottom: 0; }
.split { display: grid; gap: 32px 56px; align-items: center; }
.split--text, .split--form { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; } .split--text { grid-template-columns: 1fr 1fr; } .split--form { grid-template-columns: .8fr 1.2fr; } }
.split__art { margin: 0; justify-self: center; width: min(340px, 70vw); max-width: 100%; padding: 12px; }
.sticker--small { transform: rotate(3deg); }
.polaroid { background: var(--white); padding: 12px 12px 6px; border: 2px solid var(--line); border-radius: 6px; transform: rotate(2.5deg); box-shadow: 0 14px 24px rgba(23, 46, 39, .14); width: min(380px, 80vw); }
@media (max-width: 899px) { .polaroid { order: -1; width: min(300px, 76vw); } }
.polaroid img { width: 100%; height: auto; border-radius: 3px; }
.polaroid figcaption { padding: 10px 4px 6px; text-align: center; font: 500 1.15rem var(--f-display); color: var(--forest); }
.signoff { font: 600 var(--step-1)/1.4 var(--f-display); color: var(--forest); }
.prose { max-width: 66ch; }
.prose--doc h2 { font-size: var(--h3); margin-top: 1.8em; }
.prose--doc h3 { font-size: var(--h4); margin-top: 1.4em; }
.prose--doc a { color: var(--forest); font-weight: 700; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.callout { background: var(--banana-soft); border: 2px solid var(--banana); border-radius: var(--r-small); padding: 14px 18px; }
.callout p { margin: 0; }
.note { margin-top: 32px; }

/* ---------- cards ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 620px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card:has(.card__link:hover) { border-color: var(--forest); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 10px; font-size: .88rem; color: var(--muted); }
.card__title { font-size: 1.3rem; margin-bottom: .35em; }
.card__text { color: var(--muted); margin-bottom: .8em; }
.card__by { margin: auto 0 0; font: 500 .95rem var(--f-display); color: var(--forest); }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 8px; background: var(--cream); color: var(--forest); font-weight: 700; font-size: .85rem; text-decoration: none; }
a.tag:hover { background: var(--banana-soft); }
.tag--sample { background: var(--ink); color: var(--white); }
.tag--sale { background: var(--coral-soft); color: #8A2E1C; }
.tag--sold { background: var(--forest); color: var(--white); }
.status { display: inline-block; padding: 3px 10px; border-radius: 8px; font-weight: 800; font-size: .85rem; }
.status--coming-soon { background: var(--banana); color: var(--ink); }
.status--available { background: var(--mint-soft); color: var(--forest); }
.status--unavailable { background: #ECE7DD; color: var(--muted); }
.price { margin: 0; font: 600 1.25rem var(--f-display); color: var(--forest); }
.facts { display: flex; gap: 16px; font-size: .92rem; } .facts dt { font-weight: 800; } .facts dd { margin: 0; }

/* image or illustration area: a consistent 4:3 frame */
.media { aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* artwork: never cropped. Cards show the whole canvas on a wall-like background; the project page shows its real shape. */
.media--contain { background: #EFE8DA; padding: 14px; }
.media--contain img { object-fit: contain; filter: drop-shadow(0 6px 8px rgba(23, 46, 39, .22)); }
.media--natural { aspect-ratio: auto; background: #EFE8DA; padding: clamp(16px, 3vw, 32px); }
.media--natural img { height: auto; max-height: 80vh; object-fit: contain; margin-inline: auto; width: auto; max-width: 100%; filter: drop-shadow(0 10px 14px rgba(23, 46, 39, .25)); }
.artfacts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 6px 0 1.2em; padding: 16px 18px; border-radius: var(--r-small); background: var(--white); border: 2px solid var(--line); }
.artfacts div { display: contents; } .artfacts dt { font-weight: 800; color: var(--forest); } .artfacts dd { margin: 0; }
.media--art { display: grid; place-items: center;
  background-image: linear-gradient(rgba(23, 46, 39, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 46, 39, .06) 1px, transparent 1px);
  background-size: 20px 20px; }
.media--art .art { width: 42%; }
.media--art[data-art="palette"], .media--art[data-art="star"] { background-color: var(--banana-soft); }
.media--art[data-art="plane"], .media--art[data-art="scissors"] { background-color: var(--sky-soft); }
.media--art[data-art="sticks"], .media--art[data-art="coaster"], .media--art[data-art="pack"] { background-color: var(--coral-soft); }
.media--art[data-art="bulb"], .media--art[data-art="puzzle"], .media--art[data-art="book"] { background-color: var(--mint-soft); }

/* ---------- home: bros ---------- */
.bros { display: grid; gap: 24px; }
@media (min-width: 760px) { .bros { grid-template-columns: 1fr 1fr; } }
.bro { position: relative; padding: 28px 28px 24px 132px; border-radius: var(--r-card); border: 2px solid var(--line); background: var(--white); min-height: 180px; }
.bro p:last-child { margin-bottom: 0; }
.bro__badge, .profile__badge { position: absolute; left: 24px; top: 28px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid var(--ink); }
.bro__badge .art, .profile__badge .art { width: 62%; }
.bro--eklenam .bro__badge, .profile--eklenam .profile__badge { background: var(--banana-soft); }
.bro--kekeli .bro__badge, .profile--kekeli .profile__badge { background: var(--mint-soft); }
.bro__role { margin: 0 0 2px; font: 500 1rem var(--f-display); color: var(--muted); }
.bro__name { font-size: var(--h3); margin-bottom: .4em; }
/* Kekeli's card sits on squared paper, Eklenam's has a paint-stripe edge */
.bro--kekeli, .profile--kekeli { background-image: linear-gradient(rgba(23, 46, 39, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 46, 39, .055) 1px, transparent 1px); background-size: 22px 22px; }
.bro--eklenam, .profile--eklenam { border-top: 8px solid var(--coral); }
@media (max-width: 520px) { .bro { padding: 120px 22px 22px; } }

/* ---------- home: creative world ---------- */
.world { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 620px) { .world { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .world { grid-template-columns: repeat(4, 1fr); } }
.world a { display: grid; gap: 6px; height: 100%; padding: 24px 22px 26px; border-radius: var(--r-card); border: 2.5px solid var(--ink); color: var(--ink); text-decoration: none; box-shadow: 0 5px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.world a:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.world__art { width: 72px; margin-bottom: 8px; }
.world__name { font: 600 1.3rem/1.15 var(--f-display); color: var(--forest); }
.world__text { color: var(--ink); }
.world__item--art a { background: var(--banana-soft); }
.world__item--crafts a { background: var(--sky-soft); }
.world__item--stories a { background: var(--coral-soft); }
.world__item--maths a { background: var(--white); background-image: linear-gradient(rgba(23, 46, 39, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 46, 39, .07) 1px, transparent 1px); background-size: 18px 18px; }

/* ---------- videos ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--forest); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--ink); background: var(--coral); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink); }
.video__play svg { width: 34px; fill: currentColor; margin-left: 4px; }
.video__play:hover { background: var(--banana); }
.video--wide { border-radius: var(--r-card); max-width: 900px; }
.toolbar { display: grid; gap: 16px; margin-bottom: 28px; }
.search input { width: 100%; max-width: 420px; min-height: 50px; padding: 10px 18px; border-radius: 999px; border: 2.5px solid var(--forest); background: var(--white); font: inherit; color: var(--ink); }
.empty { padding: 32px 28px; border: 2.5px dashed var(--line); border-radius: var(--r-card); background: var(--paper); }
.empty p:last-child { margin-bottom: 0; }
.empty--video { text-align: center; padding-block: 48px; }
.empty__art { width: 88px; margin: 0 auto 14px; transform: rotate(-8deg); }
.empty__title { font: 600 var(--h3)/1.2 var(--f-display); color: var(--forest); margin-bottom: .4em; }

/* channel player + subscribe */
.channel { display: grid; gap: 24px 40px; align-items: center; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-card); background: var(--white); border: 2px solid var(--line); margin-bottom: 40px; }
@media (min-width: 900px) { .channel { grid-template-columns: 1.35fr 1fr; } }
.channel:only-child, .section .channel:last-child { margin-bottom: 0; }
.video--channel { border-radius: 14px; }
.channel__poster { position: absolute; inset: 0; display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 6%; padding: 0 8% 0 7%;
  background-color: var(--forest); color: var(--white); font: 600 clamp(1rem, .8rem + 1vw, 1.5rem)/1.2 var(--f-display);
  background-image: linear-gradient(rgba(244, 211, 94, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 211, 94, .16) 1px, transparent 1px); background-size: 40px 40px; }
.channel__poster img { width: 100%; max-width: 220px; height: auto; object-fit: contain; align-self: center; transform: rotate(-5deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.video--channel .video__play { inset: auto 5% 7% auto; margin: 0; }
@media (max-width: 559px) { .channel__poster { grid-template-columns: 1fr; justify-items: center; padding: 0; } .channel__poster span { display: none; } .channel__poster img { width: 46%; } }
.channel__body p { max-width: 46ch; }
.channel__body .row { margin-bottom: 14px; }
.subscribe-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 28px; }
.subscribe-strip p { margin: 0; font: 500 1.1rem var(--f-display); color: var(--forest); }
.videos-title { margin-top: 8px; }

/* ---------- filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.toolbar .chips { margin: 0; }
.chip { min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--forest); background: var(--white); color: var(--forest); font: 600 .98rem var(--f-display); cursor: pointer; }
.chip:hover { background: var(--banana-soft); }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--white); }
html:not(.js) .chips, html:not(.js) .search { display: none; }

/* ---------- featured product ---------- */
.feature { display: grid; gap: 28px 48px; align-items: center; padding: clamp(22px, 4vw, 44px); border-radius: var(--r-mat); background: var(--white); border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
@media (min-width: 900px) { .feature { grid-template-columns: .9fr 1.1fr; } }
.feature__cover .media { border-radius: var(--r-card); border: 2px solid var(--line); aspect-ratio: 1; }
.feature .h2 { margin-bottom: .35em; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg); }
.steps { padding-left: 1.4em; } .steps li { margin-bottom: 6px; padding-left: 4px; } .steps li::marker { font: 600 1rem var(--f-display); color: var(--forest); }

.grownups { display: grid; gap: 20px; align-items: center; padding: 28px clamp(22px, 4vw, 40px); border-radius: var(--r-card); background: var(--banana-soft); border: 2px solid var(--banana); }
.grownups p { margin: 0; max-width: 62ch; }
@media (min-width: 800px) { .grownups { grid-template-columns: 1fr auto; } }

/* ---------- meet the bros ---------- */
.profiles { display: grid; gap: 32px; }
.profile { position: relative; padding: 32px 28px 28px; border-radius: var(--r-card); border: 2px solid var(--line); background-color: var(--white); }
.profile__badge { position: static; width: 104px; height: 104px; margin-bottom: 18px; }
@media (min-width: 760px) { .profile { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 40px; } }
.highlight { display: inline-block; margin: 8px 0 0; padding: 10px 16px; border-radius: var(--r-small); background: var(--banana-soft); font-weight: 700; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 2px solid var(--forest); font: 500 1.05rem var(--f-display); color: var(--forest); }
.principles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { padding: 22px; border-radius: var(--r-card); background: var(--cream); border-left: 6px solid var(--banana); }
.principles p { margin: 0; }

/* ---------- project detail ---------- */
.detail { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; } }
.detail__media .media { border-radius: var(--r-card); border: 2px solid var(--line); }
.detail .card__by { margin-bottom: 1em; }
.aside { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-small); background: var(--banana-soft); }
.aside p { margin-bottom: .4em; }

/* ---------- buy or support ---------- */
.buybox { margin: 4px 0 24px; padding: 18px 20px; border-radius: var(--r-card); background: var(--white); border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.buybox__state { margin-bottom: 14px; }
.buybox .row { margin-bottom: 10px; }
.buybox .small { margin: 0; }
.payitem { position: sticky; top: 100px; }
.payitem__media { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--r-card); background: #EFE8DA; padding: 16px; margin-bottom: 16px; border: 2px solid var(--line); }
.payitem__media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(23, 46, 39, .22)); }
.payitem__media .art { width: 40%; }
@media (max-width: 899px) { .payitem { position: static; display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; align-items: center; } .payitem__media { grid-row: span 3; margin: 0; padding: 8px; } .payitem .small { grid-column: 1 / -1; } .payitem .h3 { margin: 0; } }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choice legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.choice__opt { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; padding: 14px 16px; border-radius: 14px; border: 2px solid #8A958F; cursor: pointer; background: var(--white); }
.choice__opt input { grid-row: span 2; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--forest); }
.choice__opt:has(input:checked) { border-color: var(--forest); background: var(--mint-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.choice__opt.is-off { opacity: .6; cursor: not-allowed; }
.choice__t { font: 600 1.1rem var(--f-display); color: var(--forest); }
.field .choice__opt { font-weight: 400; }
.choice__d { color: var(--muted); font-size: .95rem; font-weight: 400; }
.chips--amounts { margin: 0 0 4px; }
.paystate .artfacts--center { display: inline-grid; text-align: left; margin-inline: auto; }

/* ---------- parents ---------- */
.audiences { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .audiences { grid-template-columns: repeat(5, 1fr); } }
.audiences li { padding: 20px; border-radius: var(--r-card); border: 2px solid var(--line); background: var(--white); }
.audiences p { margin: 0; color: var(--muted); }

/* ---------- form ---------- */
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-card); background: var(--white); border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid #8A958F; background: var(--white); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--forest); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { margin: 0; color: #B3261E; font-weight: 700; font-size: .95rem; }
.field--check { grid-template-columns: 28px 1fr; align-items: start; gap: 10px; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--forest); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 700; }
.form__status.is-error { color: #B3261E; }
.form__status.is-ok { color: var(--forest); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- "to come" notes (preview builds only) ---------- */
.todo { margin: 18px 0; padding: 12px 16px; border: 2px dashed #B98900; border-radius: var(--r-small); background: #FFF4C7; font-size: .95rem; }
.todo p { margin: 0; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: auto; background: var(--forest); color: #E3ECE7; padding-top: 18px; }
.ruler { height: 18px; position: absolute; inset: 0 0 auto 0;
  background: repeating-linear-gradient(90deg, var(--banana) 0 2px, transparent 2px 24px) 0 0 / 100% 18px no-repeat,
              repeating-linear-gradient(90deg, rgba(244, 211, 94, .6) 0 1.5px, transparent 1.5px 12px) 0 0 / 100% 9px no-repeat; }
.footer__grid { display: grid; gap: 32px 48px; padding-block: 48px 32px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: auto 1.2fr 1fr; } }
.footer__brand img { width: 120px; transform: rotate(-4deg); }
.footer__tag { margin: 14px 0 0; font: 500 1.05rem var(--f-display); color: var(--banana); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.footer a { color: var(--white); text-underline-offset: 3px; }
.footer__links a { display: inline-block; padding: 6px 0; text-decoration: none; font-weight: 700; }
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--banana); }
.footer__note { font-size: .95rem; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 18px 28px; font-size: .88rem; color: #BFD0C7; }
.footer__base p { margin: 0; }

.art--big { width: 120px; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .masthead, .footer, .menu-btn { display: none; } body { background: #fff; } }
