/* Yummy Journey · La mesa de Navidad
   Tokens from the Yummy Journey design system (warm tones only). */
@font-face{font-family:"Tusca";src:url(fonts/tusca.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Aston Script";src:url(fonts/aston-script.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-300.woff2) format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-600.woff2) format("woff2");font-weight:600;font-display:swap}

:root{
  color-scheme:light;
  --pearl:#E9D4C3;--pearl-light:#F3E6DA;--pearl-deep:#DBBFA8;
  --forest:#36492E;--forest-deep:#26331F;
  --wine:#4E0000;--wine-deep:#380000;
  --cocoa:#2B1810;--cocoa-soft:#4A3226;
  --gold:#C4A06E; /* the ebook's warm gold rule — frames and ornaments only */
  --border-soft:rgba(43,24,16,.14);
  --font-display:"Tusca",Georgia,serif;
  --font-script:"Aston Script","Brush Script MT",cursive;
  --font-body:"Fraunces",Georgia,"Times New Roman",serif;
  --radius-md:8px;--radius-lg:14px;--radius-pill:999px;
  --shadow-md:0 4px 14px rgba(43,24,16,.12);--shadow-lg:0 12px 32px rgba(43,24,16,.16);
  --ease:cubic-bezier(.25,.1,.25,1);
}
*{box-sizing:border-box;min-width:0}
html,body{margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{background:var(--pearl);color:var(--cocoa);font:17px/1.6 var(--font-body);overflow-x:clip;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--forest)}
p{margin:0 0 14px}
strong{font-weight:600}
:focus-visible{outline:3px solid rgba(78,0,0,.45);outline-offset:3px}

/* type */
.display{font-family:var(--font-display);font-weight:400;letter-spacing:.02em;line-height:1.05;margin:0;text-wrap:balance}
.h2{font-family:var(--font-display);font-weight:400;font-size:clamp(28px,5.4vw,44px);letter-spacing:.04em;line-height:1.1;margin:0 0 18px;text-wrap:balance}
.h3{font-family:var(--font-display);font-weight:400;font-size:clamp(20px,3vw,24px);letter-spacing:.06em;line-height:1.2;margin:0 0 8px}
.label{font-size:13px;letter-spacing:.24em;text-transform:uppercase;color:var(--forest);margin:0 0 14px;font-weight:400}
.on-dark .label{color:var(--gold)}
.lead{font-size:clamp(18px,2.4vw,21px);font-weight:300;line-height:1.55}
.muted{color:var(--cocoa-soft)}
.script{font-family:var(--font-script);font-weight:400;line-height:1.2}

/* layout */
.wrap{width:min(1080px,100% - 40px);margin-inline:auto}
.prose{max-width:62ch}
.section{padding:clamp(64px,10vw,112px) 0}
.on-dark{background:var(--cocoa);color:var(--pearl)}
.on-dark a{color:var(--pearl)}
.raised{background:var(--pearl-light)}
.center{text-align:center}
.center .prose{margin-inline:auto}

/* ornament (from the ebook) */
.orn{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--gold);margin:18px auto}
.orn i{display:block;width:56px;height:1.5px;background:currentColor}
.orn b{width:7px;height:7px;border-radius:50%;background:currentColor}
.orn.left{justify-content:flex-start}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:14px 30px;border-radius:var(--radius-pill);font:600 17px/1.2 var(--font-body);letter-spacing:.02em;text-decoration:none;cursor:pointer;border:0;transition:background-color .2s var(--ease),transform .2s var(--ease)}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--wine);color:var(--pearl)}
.btn-primary:hover{background:var(--wine-deep)}
.btn-pearl{background:var(--pearl);color:var(--cocoa)}
.btn-pearl:hover{background:var(--pearl-deep)}
.btn-forest{background:var(--forest);color:var(--pearl)}
.btn-forest:hover{background:var(--forest-deep)}
.btn-outline{background:transparent;color:var(--forest);box-shadow:inset 0 0 0 1.5px var(--forest)}
.btn-outline:hover{background:rgba(54,73,46,.08)}
.btn-block{width:100%}
.btn .arrow{font-weight:300;transition:transform .2s var(--ease)}
.btn:hover .arrow{transform:translateX(3px)}

/* header */
.topbar{padding:18px 0;border-bottom:1px solid var(--border-soft)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wordmark{font-size:13px;letter-spacing:.32em;text-decoration:none;color:var(--cocoa);white-space:nowrap}
.topbar a.small{font-size:14px;text-decoration:none;color:var(--forest);font-weight:600;white-space:nowrap}

/* footer */
.footer{padding:40px 0 calc(40px + env(safe-area-inset-bottom));font-size:14px;color:var(--cocoa-soft);text-align:center}
.footer p{margin:0 0 6px}
