/* Monta & Festeja — Pegue e Monte (marca fictícia, site de demonstração da TypeMaster) */
:root {
  --brand: #f0532f;
  --brand-d: #b8361a;
  --brand-l: #ffe0d4;
  --deep: #3b1f4f;
  --deep-d: #2a1539;
  --sun: #ffc94a;
  --mint: #cdeedd;
  --cream: #fffaf3;
  --paper: #ffffff;
  --ink: #2b1d33;
  --mute: #6d6173;
  --line: #f1e1d8;
  --head: "Fraunces", Georgia, serif;
  --body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--body); font-size: 1.06rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1; letter-spacing: -.02em; margin: 0; font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.motion [data-split] { visibility: hidden; }
.ln { padding: .16em 0 .08em; margin-top: -.16em; }
.tag { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; padding: .85em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 6px 0 var(--brand-d); }
.btn--brand:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--brand-d); }
.btn--line { border-color: var(--ink); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--sm { padding: .6em 1.15em; font-size: .92rem; box-shadow: 0 4px 0 var(--brand-d); }

/* logo: wordmark with a burst of confetti over the ampersand */
.logo { position: relative; display: inline-flex; align-items: baseline; gap: .12em; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.03em; color: var(--deep); font-variation-settings: "SOFT" 100, "WONK" 1; white-space: nowrap; }
.logo__amp { font-style: italic; font-weight: 600; font-size: 1.35em; color: var(--brand); transform: translateY(.06em) rotate(-8deg); display: inline-block; }
.logo::after { content: ""; position: absolute; left: 3.15em; top: -.55em; width: 1.3em; height: .7em; background:
  radial-gradient(circle at 15% 70%, var(--sun) 0 .1em, transparent .11em),
  radial-gradient(circle at 55% 20%, var(--brand) 0 .08em, transparent .09em),
  radial-gradient(circle at 90% 65%, #39b58a 0 .09em, transparent .1em); pointer-events: none; }
.logo--sm { font-size: 1.3rem; }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 80px; padding: 0 var(--pad); transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s; }
.header.is-scrolled { background: rgba(255,250,243,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--brand); }
.menu-btn { display: none; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 100svh; padding: 120px var(--pad) 70px; overflow: hidden; background: radial-gradient(700px 420px at 90% 20%, var(--brand-l), transparent 70%), radial-gradient(600px 400px at 70% 90%, var(--mint), transparent 70%), var(--cream); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); max-width: 11.5ch; text-wrap: balance; color: var(--ink); }
.hero__lead { font-size: 1.18rem; color: var(--mute); max-width: 42ch; margin-top: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--mute); }
.hero__facts b { font-family: var(--head); font-size: 1.6rem; color: var(--ink); margin-right: 4px; }
.hero__stack { position: relative; height: min(78svh, 680px); }
.hero__stack .p { position: absolute; width: 58%; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid #fff; border-bottom-width: 42px; box-shadow: 0 30px 50px -25px rgba(43,29,51,.45); border-radius: 4px; }
.p1 { left: 4%; top: 4%; transform: rotate(-8deg); z-index: 2; }
.p2 { right: 0; top: 0; transform: rotate(6deg); z-index: 1; }
.p3 { left: 18%; bottom: 0; transform: rotate(3deg); z-index: 3; }
.p4 { right: 6%; bottom: 8%; transform: rotate(-4deg); z-index: 4; width: 44%; }

.marquee-wrap { overflow: hidden; padding: 14px 0; }
.marquee { background: var(--deep); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scaleX(1.03); }
.marquee__track { display: flex; width: max-content; }
.marquee__track span { font-family: var(--head); font-size: 1.7rem; font-weight: 700; padding: 0 22px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--sun); margin-left: 44px; font-size: 1.1rem; vertical-align: .2em; }

/* how */
.how { padding: 130px var(--pad) 110px; }
.how h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 14ch; margin-bottom: 56px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how__steps li { background: #fff; border-radius: 26px; padding: 28px 24px; position: relative; border: 2px solid var(--line); }
.how__steps li:nth-child(even) { transform: translateY(26px); }
.how__steps span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sun); font-family: var(--head); font-weight: 800; font-size: 1.6rem; margin-bottom: 18px; }
.how__steps li:nth-child(2) span { background: var(--brand-l); }
.how__steps li:nth-child(3) span { background: var(--mint); }
.how__steps li:nth-child(4) span { background: #e6dcf5; }
.how__steps h3 { font-size: 1.6rem; margin-bottom: 8px; }
.how__steps p { color: var(--mute); margin: 0; font-size: .98rem; }

/* kits */
.kits { padding: 110px var(--pad); background: #fff; border-radius: 48px 48px 0 0; }
.kits__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.kits h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font-family: var(--body); font-weight: 600; font-size: .95rem; border: 2px solid var(--line); background: var(--cream); color: var(--ink); padding: .5em 1.05em; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--brand); }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.kits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kit { background: var(--cream); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.3,1.4,.5,1), box-shadow .35s; }
.kit:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -26px rgba(43,29,51,.5); }
.kit[hidden] { display: none; }
.kit img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kit__b { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.kit h3 { font-size: 1.45rem; margin-bottom: 6px; }
.kit p { color: var(--mute); font-size: .94rem; margin-bottom: 14px; }
.kit a { margin-top: auto; align-self: start; font-weight: 700; color: var(--brand); text-decoration: none; border-bottom: 2px solid currentColor; }
.kit a::after { content: " →"; }
.kits__note { margin: 40px 0 0; font-size: 1.1rem; text-align: center; }
.kits__note a { color: var(--brand); font-weight: 700; }

/* anatomy */
.anatomy { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 6vw, 100px); align-items: center; padding: 120px var(--pad); background: var(--brand-l); }
.anatomy h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 12ch; }
.anatomy__copy > p:not(.tag):not(.anatomy__note) { color: #5d4a52; margin-top: 1.2rem; }
.anatomy__list { list-style: none; padding: 0; margin: 1.6rem 0; counter-reset: a; }
.anatomy__list li { counter-increment: a; display: flex; align-items: baseline; gap: 10px; padding: 12px 0 12px 46px; position: relative; border-top: 1.5px solid rgba(43,29,51,.12); cursor: default; transition: padding-left .25s; }
.anatomy__list li::before { content: counter(a); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; transition: background .2s, color .2s; }
.anatomy__list li.is-on { padding-left: 54px; }
.anatomy__list li.is-on::before { background: var(--brand); color: #fff; }
.anatomy__list b { font-family: var(--head); font-size: 1.2rem; }
.anatomy__note { font-size: .85rem; color: #7d6870; }
.anatomy__img { position: relative; margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(43,29,51,.5); }
.anatomy__img img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-family: var(--body); font-weight: 800; cursor: pointer; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ping 2.2s infinite; transition: background .2s, color .2s, transform .2s; }
.pin.is-on, .pin:hover { background: var(--brand); color: #fff; transform: translate(-50%, -50%) scale(1.15); }
@keyframes ping { 70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* themes */
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: center; padding: 130px var(--pad); }
.themes h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); max-width: 15ch; }
.themes__copy > p { color: var(--mute); margin-top: 1.4rem; max-width: 46ch; }
.sizes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 10px; }
.sizes li { display: flex; justify-content: space-between; gap: 16px; background: #fff; border-radius: 16px; padding: 14px 18px; color: var(--mute); }
.sizes b { color: var(--ink); }
.themes__fan { position: relative; height: 520px; }
.themes__fan img { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid #fff; border-radius: 6px; box-shadow: 0 24px 40px -22px rgba(43,29,51,.5); transform-origin: 50% 120%; }
.themes__fan img:nth-child(1) { transform: translate(-50%, -50%) rotate(-14deg); }
.themes__fan img:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); z-index: 2; }
.themes__fan img:nth-child(3) { transform: translate(-50%, -50%) rotate(14deg); z-index: 1; }

/* faq */
.faq { padding: 120px var(--pad); background: var(--deep-d); color: #fff; border-radius: 48px; margin: 0 clamp(8px, 2vw, 24px); }
.faq h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); max-width: 16ch; margin-bottom: 48px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; }
.faq details { background: rgba(255,255,255,.07); border-radius: 22px; padding: 4px 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--head); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--deep-d); font-family: var(--body); font-weight: 800; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: #dcd2e6; }

/* delivery */
.shop { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 100px); align-items: center; padding: 130px var(--pad); }
.shop__img { margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; transform: rotate(-2deg); }
.shop__img img { width: 100%; height: 100%; object-fit: cover; }
.shop h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 12ch; }
.shop dl { margin: 2rem 0; }
.shop dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 13px 0; border-top: 1.5px solid var(--line); }
.shop dt { font-weight: 700; color: var(--brand); }
.shop dd { margin: 0; }
.shop__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.footer { display: flex; align-items: center; gap: 28px; padding: 30px var(--pad) 40px; color: var(--mute); font-size: .9rem; border-top: 1.5px solid var(--line); }
.footer p { margin: 0; }
.footer a { color: var(--ink); font-weight: 600; }

/* demo badge: the brand is fictional, so the first screen says so */
.demo { display: inline-flex; margin-top: 2.2rem; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.demo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4bffa5; }
.demo:hover { background: var(--deep); }

@media (max-width: 1080px) {
  .kits__grid { grid-template-columns: repeat(3, 1fr); }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .how__steps li:nth-child(even) { transform: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-btn span { height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header .btn--sm { display: none; }
  .nav { position: fixed; inset: 80px 0 auto 0; display: none; flex-direction: column; gap: 0; padding: 6px var(--pad) 22px; background: var(--cream); box-shadow: 0 10px 20px -10px rgba(0,0,0,.15); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1.5px solid var(--line); font-size: 1.1rem; }
  .hero, .anatomy, .themes, .shop { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; min-height: 0; }
  .hero__stack { height: 420px; }
  .kits__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .how, .kits, .anatomy, .themes, .shop, .faq { padding-top: 80px; padding-bottom: 80px; }
  .faq__grid { grid-template-columns: 1fr; }
  .themes__fan { height: 400px; }
  .shop__img { max-width: 420px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: 3.1rem; }
  .hero__cta .btn { width: 100%; }
  .hero__stack { height: 360px; }
  .how__steps { grid-template-columns: 1fr; }
  .kit h3 { font-size: 1.15rem; }
  .kit p { display: none; }
  .kit__b { padding: 12px 12px 14px; }
  .faq summary { font-size: 1.12rem; }
  .shop dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer { flex-direction: column; align-items: start; }
  .marquee__track span { font-size: 1.3rem; }
  .demo { font-size: .72rem; }
}
