@font-face {
  font-family: Bricolage;
  src: url("assets/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #faf6e9;
  --ink: #203d31;
  --green: #244d39;
  --rust: #a74728;
  --gold: #f2c650;
  --rule: #d4cbb7;
  --display: Bricolage, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand, .button, .folio, summary, nav { font-family: var(--display); }
h1, h2, h3 { font-weight: 760; line-height: 1; letter-spacing: -.027em; text-wrap: balance; }
h1 { font-size: clamp(4.35rem, 7.7vw, 7.2rem); }
h2 { font-size: clamp(2.6rem, 4.55vw, 4.5rem); }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); }
em { color: var(--rust); font-style: normal; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ae541c; outline-offset: 5px; }
img { height: auto; display: block; max-width: 100%; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1180px, calc(100% - clamp(38px, 10vw, 160px))); margin-inline: auto; }
.paper { background-color: var(--paper); background-image: url("assets/papel.svg"); }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .6rem 1rem; background: white; }
.skip-link:focus { transform: none; }
.masthead { background: #fffdf5; border-bottom: 1px solid var(--rule); position: relative; z-index: 3; }
.nav-row, .brand, nav, .button, .hero-links, .overline, .text-arrow, .footer-row, .footer-row p { display: flex; align-items: center; }
.nav-row { min-height: 82px; justify-content: space-between; gap: 2rem; }
.brand { gap: .65rem; text-decoration: none; line-height: 1; }
.brand img { width: 52px; height: 52px; border-radius: 50%; mix-blend-mode: multiply; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.64rem; letter-spacing: -.035em; font-weight: 800; }
.brand small { font-family: var(--body); font-weight: 650; font-size: .75rem; letter-spacing: .015em; margin-top: .3em; }
nav { gap: clamp(16px, 2.8vw, 40px); }
nav a { font-size: .98rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer-row a:hover { text-decoration: underline; }
.nav-play { display: inline-flex; gap: .55rem; align-items: center; background: var(--green); color: white; padding: .6rem 1.1rem; border-radius: 999px; }
.nav-play .icon { color: var(--gold); }
.nav-toggle { display: none; border: 1px solid var(--rule); border-radius: 50%; width: 44px; height: 44px; background: transparent; padding: 11px; }
.nav-toggle span { display: block; border-radius: 2px; height: 2px; background: var(--ink); margin: 4px 0; }
.overline { gap: .65rem; text-transform: uppercase; font-size: .72rem; line-height: 1.4; letter-spacing: .15em; font-weight: 800; margin-bottom: 1.1rem; }
.overline .icon { width: 22px; height: 22px; }
.sun { color: var(--rust); }
.hero { position: relative; }
.hero-grid { min-height: clamp(485px, 44vw, 634px); display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: clamp(2rem, 4vw, 4.3rem); padding-block: 42px 50px; }
.hero-copy { position: relative; z-index: 1; }
.hero .overline { margin-bottom: 1.3rem; }
.hero h1 em { position: relative; display: inline-block; z-index: 0; }
.hero h1 em::after { content: ""; position: absolute; bottom: .04em; left: .05em; right: -.04em; height: .11em; z-index: -1; transform: rotate(-2deg); border-radius: 70% 20% 50% 12%; background: #f3cd62; }
.lead { max-width: 29.6rem; font-size: clamp(1.02rem, 1.46vw, 1.22rem); line-height: 1.54; margin: 1.5rem 0 1.65rem; }
.hero-links { flex-wrap: wrap; gap: 1.24rem 1.6rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1.15rem; }
.button { justify-content: center; gap: .8rem; width: fit-content; min-height: 48px; padding: .68rem 1.25rem; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 720; line-height: 1.2; text-decoration: none; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--green); color: #fffdf4; }
.primary:hover, .nav-play:hover { background: #18392b; }
.ink-link, .text-arrow { font-weight: 720; font-size: .96rem; }
.text-arrow { width: fit-content; gap: .55rem; }
.keepsake { position: relative; isolation: isolate; height: clamp(345px, 34.5vw, 493px); margin: 0 3% 0 4%; }
.green-sheet { position: absolute; inset: 6% 0 4% 8%; background-color: #365a43; background-image: url("assets/curvas.svg"); background-size: 300px; transform: rotate(4deg); border-radius: 3px 14px 4px 8px; }
.hero-print { position: absolute; inset: 2% 3% 7% 3%; padding: clamp(7px, .8vw, 12px); background: #fffcf0; transform: rotate(-3deg); box-shadow: 0 8px 14px #3b392629; display: flex; flex-direction: column; }
.hero-print > img { width: 100%; min-height: 0; flex: 1; object-fit: cover; object-position: 50% 64%; }
.hero-print figcaption { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: .65rem .5rem .1rem 0; font-family: Georgia, serif; font-style: italic; line-height: 1; font-size: clamp(.74rem, 1.15vw, .98rem); }
.hero-print .icon { width: 1rem; height: 1rem; color: var(--rust); }
.tape { position: absolute; left: 39%; width: 26%; top: -1.1%; height: 7%; transform: rotate(5deg); background: #e4d3a5e3; clip-path: polygon(0 8%,4% 12%,3% 2%,95% 0,98% 9%,100% 7%,96% 98%,94% 91%,92% 100%,1% 92%,4% 80%); z-index: 1; }
.cover-cutout { position: absolute; width: 25%; bottom: 0; left: -4%; transform: rotate(-11deg); background: #fffcf0; padding: 5px; border-radius: 5px; box-shadow: 1px 5px 9px #2c341e44; transition: transform .2s; }
.cover-cutout:hover { transform: rotate(-7deg) translateY(-3px); }
.cover-cutout img { width: 100%; border-radius: 2px; }
.pencil-dash { position: absolute; bottom: -2%; left: 22%; width: 14%; fill: none; stroke: #786346; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.album-intro { border-top: 1px solid var(--rule); background-color: #efe8d7; padding-block: clamp(48px, 6vw, 88px); }
.intro-grid, .family-grid, .chasque-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6.8vw, 110px); }
.inside-photo { border-radius: 5px 72px 5px 5px; overflow: hidden; }
.inside-photo img { width: 100%; aspect-ratio: 1.54; object-fit: cover; }
.intro-copy p:not(.overline), .family-copy p:not(.overline), .chasque-copy > p:not(.overline) { max-width: 33rem; margin-top: 1.03rem; }
.album-facts { display: flex; flex-wrap: wrap; gap: .65rem clamp(1.3rem, 3.4vw, 2.8rem); margin: 1.25rem 0 0; padding-block: .85rem; border-block: 1px dashed #aa9f82; }
.album-facts dt { font: 760 clamp(1.55rem, 2.9vw, 2.25rem)/1 var(--display); color: var(--rust); }
.album-facts dd { margin: .25rem 0 0; font-size: .88rem; font-weight: 650; }
.field-game { background: #254936 url("assets/curvas.svg") center/430px; color: var(--paper); padding-block: clamp(54px, 6vw, 92px); position: relative; }
.game-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.game-intro .overline { color: #f7d66e; }
.game-intro > p { max-width: 26rem; margin-bottom: .25rem; }
.bird-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.7vw, 38px); align-items: start; }
.clue-controls { display: flex; justify-content: flex-end; align-items: center; gap: .65rem; margin: -.7rem 0 .6rem; }
.clue-controls button { min-height: 44px; padding: .35rem .7rem; border: 1px solid #f7d66e; border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: .9rem; font-weight: 730; }
.clue-controls button:enabled:hover { background: #f7d66e; }
.clue-controls button:disabled { opacity: .55; cursor: default; }
.clue-controls p { font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clue-controls button:focus-visible, .clue-track:focus-visible { outline-color: var(--gold); }
.clue-track { --clue-gap: clamp(20px, 2.7vw, 38px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--clue-gap)) / 2); gap: var(--clue-gap); align-items: start; overflow-x: auto; padding: 5px 5px 13px; scroll-snap-type: x mandatory; scroll-padding-inline: 5px; scrollbar-width: thin; scrollbar-color: var(--gold) #183c2a; }
.clue-track > .bird-card { scroll-snap-align: start; }
.bird-card { padding: 10px; background: var(--paper) url("assets/papel.svg"); border-radius: 12px; color: var(--ink); box-shadow: 0 6px 0 #183c2a; }
.bird-card figure { position: relative; }
.bird-card figure img { width: 100%; aspect-ratio: 1.99; object-fit: cover; border-radius: 5px; }
.bird-card .clue-crop img { object-fit: contain; background: #e9dfc9; }
.bird-card figcaption { padding: 2px 7px; position: absolute; right: .55rem; bottom: .5rem; background: #102519da; border-radius: 3px; color: #fff; font-size: .71rem; font-weight: 570; }
.bird-body { padding: 1rem clamp(12px, 1.7vw, 28px) .4rem; }
.folio { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--rust); margin-bottom: .55rem; }
.bird-body h3 { line-height: 1.09; margin-bottom: 1rem; }
details { border-top: 1px dashed #aa9f82; }
summary { display: flex; list-style: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; font-size: .98rem; font-weight: 730; }
summary::-webkit-details-marker { display: none; }
.plus { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.plus::before { content: "+"; font-size: 1.25rem; line-height: 1; }
details[open] .plus::before { content: "−"; }
.open-label, details[open] .closed-label { display: none; }
details[open] .open-label { display: inline; }
.answer { border-top: 1px dashed var(--rule); padding: .85rem 0; font-size: 1rem; }
.answer strong { display: block; font-size: 1.3rem; font-family: var(--display); }
.answer a { display: block; width: fit-content; margin-top: .55em; font-weight: 670; }
.family, .chasques, .journal { padding-block: clamp(54px, 6vw, 90px); }
.field-note { margin-top: 1.35rem; padding: 1.05rem 1.25rem; border: 1px solid var(--rule); border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; background: #fffaf0; }
.field-note h3 { font-size: 1.25rem; line-height: 1.2; }
.field-note ol { margin: .65rem 0 0; padding-inline-start: 1.35rem; font-size: .93rem; }
.field-note li + li { margin-top: .35rem; }
.field-note li::marker { color: var(--rust); font-weight: 750; }
.guide-link { margin-top: 1rem; }
.family-prints { position: relative; height: clamp(300px, 33vw, 440px); }
.family-main, .family-small { position: absolute; border: 7px solid #fffcf1; background: white; box-shadow: 0 5px 14px #30391e26; }
.family-main { inset: 0 5% 3% 12%; transform: rotate(2deg); }
.family-main img, .family-small img { height: 100%; width: 100%; object-fit: cover; }
.family-main img { object-position: 50% 38%; }
.family-small { width: 34%; height: 53%; left: 0; bottom: -2%; transform: rotate(-8deg); }
.chasques { background-color: #f4de9c; }
.chasque-grid { grid-template-columns: .8fr 1.2fr; }
.chasque-art { border-radius: 46% 46% 7px 7px; overflow: hidden; background: #c4b07a; max-width: 400px; width: 100%; justify-self: center; }
.chasque-art img { width: 100%; aspect-ratio: 1.03; object-fit: cover; object-position: center 55%; }
.share-box { margin-top: 1.15rem; }
.share-box p { max-width: 34rem; }
.share { background: transparent; border: 1px solid var(--green); color: var(--ink); }
.share:hover { background: #fffaf0; }
.share-status:empty { display: none; }
.share-status, [data-share-fallback] { font-size: .92rem; margin-top: 1rem; }
.copy-row { display: flex; max-width: 410px; gap: .4rem; }
.copy-row input, .copy-row button { border: 1px solid #8b7752; padding: .5rem; color: var(--ink); background: #fffaf0; border-radius: .4rem; }
.copy-row input { min-width: 0; flex: 1; }
.journal { background-color: #efe8d7; border-top: 1px solid var(--rule); }
.journal-heading { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 1.35rem clamp(2rem, 7vw, 7rem); margin-bottom: 2rem; }
.journal-heading .icon { color: var(--rust); }
.journal-lead .text-arrow { margin-top: .7rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 30px); }
.story { display: flex; flex-direction: column; align-items: start; padding: clamp(1rem, 2.5vw, 1.75rem); background: #fffcf0; border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: 4px 4px 14px 4px; box-shadow: 0 3px 0 #ddd2b9; }
.story:nth-child(2) { border-top-color: var(--rust); }
.story:nth-child(3) { border-top-color: #bd901b; }
.story h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.1; }
.story > p:not(.folio) { margin-block: .75rem 1rem; font-size: .93rem; }
.story .text-arrow { margin-top: auto; font-size: .9rem; }
footer { background: #fbf8ef; border-top: 1px solid var(--rule); }
.footer-row { gap: 1.25rem 2rem; flex-wrap: wrap; min-height: 98px; padding-block: 1rem; font-size: .88rem; }
.footer-row .brand { margin-right: auto; }
.footer-row .brand img { width: 42px; height: 42px; }
.footer-row .brand strong { font-size: 1.3rem; }
.footer-row p { gap: .45rem; }
.footer-row .icon { color: var(--rust); }
.footer-row > a:not(.brand) { font-weight: 660; }
@media (max-width: 900px) {
  .hero-grid { gap: 1rem; }
  .wrap { width: calc(100% - 56px); }
  .hero-links { gap: .7rem 1.1rem; }
  .hero h1 { font-size: clamp(4.15rem, 8.8vw, 5.5rem); }
  .game-intro > p { max-width: 20rem; }
}
@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 36px), 590px); }
  .nav-row { flex-wrap: wrap; gap: .5rem; min-height: 66px; padding-block: .4rem; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 1.42rem; }
  .brand small { font-size: .68rem; }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .5rem; }
  .js .nav-toggle { display: block; }
  .js nav { display: none; }
  .js nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding: .65rem 0 .4rem; }
  .js nav a { padding: .45rem .65rem; }
  .js .nav-play { width: fit-content; padding-inline: 1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 39px 29px; }
  .hero h1 { font-size: clamp(3.65rem, 17.2vw, 6rem); }
  .hero .overline { margin-bottom: 1rem; }
  .lead { margin-block: 1.05rem 1.25rem; }
  .hero-links { gap: .8rem 1.15rem; }
  .button, .ink-link { font-size: .92rem; }
  .keepsake { height: auto; aspect-ratio: 1.32; margin: 0 3% 0 5%; }
  .hero-print figcaption { padding-top: .47rem; }
  .intro-grid, .family-grid, .chasque-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .journal-heading, .story-grid { grid-template-columns: 1fr; }
  .intro-copy { grid-row: 1; }
  .inside-photo img { aspect-ratio: 1.55; }
  .game-intro { align-items: start; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
  .game-intro > p { max-width: 32rem; }
  .bird-grid { grid-template-columns: 1fr; }
  .clue-controls { justify-content: space-between; margin-top: -.3rem; }
  .clue-track { grid-auto-columns: 100%; }
  .bird-card { padding: 8px; }
  .family-prints { height: auto; aspect-ratio: 1.35; }
  .chasque-art { max-width: 340px; }
  .chasque-art img { aspect-ratio: 1.28; }
  .footer-row { gap: .9rem 1.2rem; padding-block: 1.5rem; }
  .footer-row .brand { flex: 1 1 45%; }
  .footer-row p { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.activity-guide { max-width: 830px; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.activity-guide h1 { font-size: clamp(2.55rem, 6vw, 4.6rem); }
.activity-guide .lead { max-width: 38rem; }
.guide-section { margin-top: 2.25rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.guide-section h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); line-height: 1.08; }
.guide-section > p { margin-top: .85rem; }
.guide-photos { margin-block: 1.2rem; }
.guide-photos figure { height: 100%; padding: .55rem; border: 1px solid var(--rule); border-radius: 5px; background: #fffcf0; }
.guide-photos img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 3px; }
.guide-photos figcaption { padding: .6rem .25rem .15rem; font-size: .88rem; }
.observation { margin: .65rem 0; }
.observation div { padding-block: .4rem; border-bottom: 1px dashed var(--rule); }
.observation dt { font-weight: 720; }
.observation dd { margin-inline-start: 0; }
